Support > cpg1.5 bridge contributions

LDAP Bridge

<< < (2/6) > >>

deserteagle:
This can't work for active directory.

my environment
wamp2.1, coppermine 1,6.16

I have made mantisbt 1.2.8 authenticate user against windows active directory successfully.Some guys said in windows a username and password is required anonymouse can't work to retrieve the info.

In mantis, the config is like this:
config_inc.php

--- Code: ---$g_login_method = LDAP;
$g_ldap_server = 'dc01.mydomain.net';
$g_ldap_port = 389; # Default is 389
$g_ldap_root_dn = "OU=Users,OU=Region,OU=AP,DC=dc01,DC=mydomain,DC=net";
$g_ldap_bind_dn = 'dc01\john';
$g_ldap_bind_passwd = 'welcome';
$g_use_ldap_email = ON;
$g_use_ldap_realname = ON;
$g_ldap_protocol_version = 3;
$g_ldap_uid_field= 'sAMAccountName'; # Use ‘sAMAccountName’ for Active Directory - this is the name of the attribute used to search a user
$g_ldap_realname_field  = 'cn';
$g_ldap_follow_referrals = OFF;
--- End code ---

I think below two is needed for windows active directory

ldap_bind_dn = '';
ldap_bind_passwd = '';

but I don't know how to coding it. If  you can update it, that's will be great.

deserteagle:
My Coppermine version is 1.5.16

Cyrolancer:
Yes, the bridge uses anonymous bind to search for DN. Probably this bridge won't work when the LDAP server is not accepting anonymous bind.

For me, it is impossible to use a Windows Server, as I don't have a licensed copy of it. I can only try it on a LDAP server running under Linux. I think, it is possible to disable anonymous bind in a OpenLDAP server. I will try to find a solution for it.

deserteagle:
After I disable the bridge, the original user and group which I created gone. the user list is empty.

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FqpbOn.png&hash=91c2afb146dd3947919be773ff5a5e0eeee69662)

deserteagle:
It's better to be able to do the search with username and password.
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FqpbOn.png&hash=91c2afb146dd3947919be773ff5a5e0eeee69662)
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FqpbOn.png&hash=91c2afb146dd3947919be773ff5a5e0eeee69662)


--- Quote from: deserteagle on June 11, 2012, 09:25:01 am ---After I disable the bridge, the original user and group which I created gone. the user list is empty.

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FqpbOn.png&hash=91c2afb146dd3947919be773ff5a5e0eeee69662)

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version