[OGo-Users] LDAPInitialBindSpecific not working

Juuso Alasuutari users@opengroupware.org
Mon, 5 Mar 2007 16:07:01 +0200


On Monday 05 March 2007 13:13, Adam Tauno Williams wrote:
> On Mon, 2007-03-05 at 06:05 -0500, Adam Tauno Williams wrote:
> > > > > I'm configuring OGo 1.0 to authenticate against LDAPv3 (OpenLDAP)
> > > > > by using the LDAPInitialBind settings as instructed in this manual:
> > > > > http://docs.opengroupware.org/Members/whitemice/wmogag/download.
> > > > > Here's what I have in NSGlobalDomain.plist (don't worry, I'm only
> > > > > using the root account temporarily for testing):
> > > > >     LSAuthLDAPServer = "ldap.foo.bar";
> > > > >     LSAuthLDAPServerRoot = "dc=foo,dc=bar";
> > > > >     LSAuthLDAPServerPort = 389;
> > > > >     LDAPLoginAttributeName = "uid";
> > > > >     DisablePasswordModification = YES;
> > > > >     LDAPInitialBindSpecific = YES;
> > > > >     LDAPInitialBindDN = "uid=root,ou=people,dc=foo,dc=bar";
> > > > >     LDAPInitialBindPW = "xxx";
>
> You can also try setting "LDAPDebugEnabled" to "YES"

Well, what do we have here, some noise 
in /var/log/opengroupware.org/ogo/webui.log:

Mar 05 14:01:06 ogo-webui-1.0 [5325]: LDAP: check pwd of login 'root' on 
ldap.foo.bar,389,dc=foo,dc=bar ...
Mar 05 14:01:06 ogo-webui-1.0 [5325]: <0xB7A620E0[NGLdapConnection]>   no 
password provided.
Mar 05 14:01:06 ogo-webui-1.0 [5325]: <0xB7B6D000[LSCommandContext]> 
+[LSCommandContext(LDAPSupport) isLDAPLoginAuthorized:password:]: LDAP 
server 'ldap.foo.bar:389' did not authenticate user 'root'

"No password provided"? I do have this line in NSGlobalDomain.plist:

LDAPInitialBindPW = "mypassword";

-- 
Juuso Alasuutari
      seclan.com