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

Re: LDAP for accounts



Re,

Russell Coker wrote:

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.

Did you made the ldap entrys in the nsswitch.conf ?

--- [ SNIP ] ---

passwd:         ldap compat
group:          compat
shadow:         ldap compat

--- [ SNAP ] ---

L8ter Daniel

--
daniel.sand@innominate.de
system engineer 					innominate AG
                                                 the linux architects
fon: +49.40.307098-0  fax: -79   	           www.innominate.com



Reply to: