[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

LDAP for accounts



dn: cn=test2, ou=Users, dc=coker, dc=com, dc=au
objectClass: posixAccount
cn: test2
uid: test2
uidNumber: 505
gidNumber: 100
homeDirectory: /tmp
userPassword:: encrypted-string
loginShell: /bin/sh
gecos: testing
description: testing

I have the above in my LDAP directory.  I have the following in 
/etc/libnss-ldap.conf:
host 127.0.0.1
base "ou=Users, dc=coker,dc=com,dc=au"
ldap_version 2
port 389


My LDAP server (latest OpenLDAP) is running but I get the following results:

root@lyta:/#!chown test2 /tmp/t
chown: test2: invalid user

I am at my wits end here.  I have tried every combination possible.  I am 
sure that I am missing something that is trivial but really important.

Please reply direct to me as I am not subscribed to this list.

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page



Reply to: