Re: [openupload-devel] Open Upload LDAP-AD setup
Status: Beta
Brought to you by:
tsdogs
|
From: Alessandro B. <ts...@br...> - 2010-12-17 17:57:05
|
On Thu, 2 Dec 2010 15:20:20 -0500, Jay Lehr <ok_...@ho...> wrote: > I can't seem to get the ldap/AD configuraiton going. I copied/pasted the > AD specific default text from the example config file and pasted it below. > Not sure if there are some other generic labels I need to replace with my > domain's specific info. Where in here do I specify the default group(s)? I > created a "Domain Admins" group in the admin area and gave admin rights to > it... I'm sure I'm probably just missing something > > $CONFIG['ldap']['host'] = '10.0.2.14'; > $CONFIG['ldap']['type'] = 'AD'; > $CONFIG['ldap']['user'] = 'adm...@do...'; > $CONFIG['ldap']['password'] = 'AdministratorPassword'; > $CONFIG['ldap']['domain'] = 'domain.org'; > $CONFIG['ldap']['basedn'] = 'dc=domain,dc=org'; > $CONFIG['ldap']['userdn'] = 'dc=domain,dc=org'; > $CONFIG['ldap']['userclass'] = 'user'; > $CONFIG['ldap']['uid'] = 'cn'; > $CONFIG['ldap']['userfields'] = 'Array'; > $CONFIG['ldap']['groupdn'] = 'dc=domain,dc=org'; > $CONFIG['ldap']['groupclass'] = 'group'; > $CONFIG['ldap']['gid'] = 'distinguishedname'; > $CONFIG['ldap']['groupfields'] = 'Array'; It seems you used openupload configuration option to setup with active directory. Please don't do that as it will mess up the LDAP configuration, instead edit the configuration file directly Those 'Array' values are wrong and probably the source of your problems. Please also check this ticket [1] which should give you an idea on what the values should be. Greetz, Alessandro [1] http://sourceforge.net/tracker/?func=detail&aid=3042088&group_id=242018&atid=1117805 |