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

Re: ldapadd problem



Hi Tony ,
My idea was to migrate all users on  my host to ldap
Where I was wrong and what is right command ...

Thanks
Shahin

On 10 Apr 2003, Tony Earnshaw wrote:

> tor, 10.04.2003 kl. 16.03 skrev Shahin:
>
> > then tried to add with
> > ldapadd -x -D "cn=Manager,dc=Ege,dc=tr" -W -f passwd.ldif
> >
> > and it generate an error
> > ----------------------------
> > [root@proxy shahin]# ldapadd -x -D "cn=Manager,dc=Ege,dc=tr" -W -f
> > passwd.ldif
> > Enter LDAP Password:
> > adding new entry "uid=erce,ou=People,dc=Ege,dc=tr"
> > ldap_add: Undefined attribute type
> >         additional info: shadowLastChange: attribute type undefined
>
> > ldif_record() = 17
> > ---------------------
> >
> > and my passwd.ldif includes
> > ------------------------
> > dn: uid=erce,ou=People,dc=Ege,dc=tr
> > uid: erce
> > cn: erhan cetin
> > objectClass: account
>
> Can't be 'account', must be 'person', and if the 'person' has a mail
> account - and many other things as well - inetOrgPerson in addition.
>
> Here again for Gnome GQ will teach you this sort of thing very quickly.
>
> Best,
>
> Tony
>
> --
>
> Tony Earnshaw
>
> e-post:		tonni@billy.demon.nl
> www:		http://www.billy.demon.nl
>