[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: no userPassword?

The userPassword field is not returned on an anonymous bind unless your
LDAP server is very poorly configured.  Try binding as the rootdn
with -D '<rootdn>' -W.

ldapsearch -x -b 'dc=somewhere,dc=net' -D 'cn=root,dc=somewhere,dc=net' -W \
'(objectClass=*)' 'userPassword'

The userPassword field is also not displayed by default. (don't know if that's
server side behavior or ldapsearch). However, if you use the command above,
I think you'll get what you expect.


--On Thursday, February 24, 2005 22:50 -0800 HK <thelistbox@yahoo.com> wrote:

my /etc/openldap/slapd.conf begins with
include           /etc/openldap/schema/core.schema
include           /etc/openldap/schema/cosine.schema
include           /etc/openldap/schema/inetorgperson.schema
include           /etc/openldap/schema/nis.schema
include           /etc/openldap/schema/samba.schema

ldapsearch -x -b "dc=somewhere,dc=net" "(ObjectClass=*)"
seems to return everything expected

ldapsearch -x -b "dc=somewhere,dc=net" "(ObjectClass=*)" | grep
userPassword returns nothing

Shouldn't nis.schema have included the userPassword attr?

suse 9.2 pro

__________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250

-- If this message was not signed with gpg key 0FE2AA3D, it's probably a forgery.

Attachment: pgpo72bkKJbBQ.pgp
Description: PGP signature