I will have to test it, but it could be that the problem I have with using
ldapclient -v manual \
-a credentialLevel=self \
-a authenticationMethod=sasl/gssapi \
...
is that as all the users are in Active Directory OUs named things like "EMEA ENG" or "APR ENG".
As I reported earlier I had a number of problems with whitespace in the ldapclient command line. It could be that this was another problem with whitespace. However, this problem was masked by occurring at a stage where it appeared everything was working successfully.
Hopefully I can rename the OUs to be EMEA, APR, etc and resolve the issue.
Showing posts with label ldapclient. Show all posts
Showing posts with label ldapclient. Show all posts
Saturday, June 7, 2008
Saturday, May 31, 2008
Whitespace in Solaris 10 LDAP configuration
Spaces are allowed in the ldapclient command line if attribute is surrounded by "", i.e.
-a "proxyDN=cn=admin,cn=emea users,dc=example,dc=com"
or
-a "defaultServerList=123.123.123.1 123.123.123.2"
Failing to quote either attribute statement will cause the ldapclient command line to fail with a parsing error.
However, there are instances where quoting the attribute definition will cause the command line parsing to work and for the command to succeed but ldap lookups can still fail.
May 22 18:09:44 server1 nscd[4012]: [id 293258 user.error] libsldap: Status: 49 Mesg: openConnection: simple bind failed - Invalid credentials
The problem is resolved when the proxy user is replaced with another from an OU which doesn't contain a space, i.e.
-a "proxyDN=cn=admin,cn=users,dc=example,dc=com"
-a "proxyDN=cn=admin,cn=emea users,dc=example,dc=com"
or
-a "defaultServerList=123.123.123.1 123.123.123.2"
Failing to quote either attribute statement will cause the ldapclient command line to fail with a parsing error.
However, there are instances where quoting the attribute definition will cause the command line parsing to work and for the command to succeed but ldap lookups can still fail.
May 22 18:09:44 server1 nscd[4012]: [id 293258 user.error] libsldap: Status: 49 Mesg: openConnection: simple bind failed - Invalid credentials
The problem is resolved when the proxy user is replaced with another from an OU which doesn't contain a space, i.e.
-a "proxyDN=cn=admin,cn=users,dc=example,dc=com"
Subscribe to:
Posts (Atom)