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

Re: Why?



On Thu, 27 Jul 2000, Javi Polo wrote:
> but when I try to add some user, it says:
> 
> bash# ldapadd -W -D "cn=Manager, dc=oninet, dc=es" -f passwd.ldif
> Enter LDAP Password:
> adding new entry uid=javipolo,ou=People,dc=oninet,dc=es
> ldap_add: No such object

May be ou=people doesn't exist.

In my case:
dc=ubiobio,dc=cl
dc=ubiobio
objectclass=top
objectclass=domain

ou=People,dc=ubiobio,dc=cl
ou=People
objectclass=top
objectclass=organizationalUnit

After that, I added a group such as:
cn=gpoo,ou=Group,dc=ubiobio,dc=cl
objectclass=posixGroup
objectclass=top
cn=gpoo
gidnumber=500

And after, I added the user:

uid=gpoo,ou=People,dc=ubiobio,dc=cl
uid=gpoo
cn=German Poo Caaman~o
objectclass=account
objectclass=posixAccount
objectclass=top
objectclass=shadowAccount
shadowlastchange=11010
shadowmax=99999
shadowwarning=7
shadowinactive=-1
shadowexpire=-1
shadowflag=134540380
loginshell=/bin/bash
uidnumber=500
gidnumber=500
homedirectory=/home/gpoo
gecos=German Poo Caaman~o

-- 
German Poo Caaman~o
mailto:gpoo@ubiobio.cl
http://www.ubiobio.cl/~gpoo/chilelindo.html