[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapadd problem
Hi,
I have migrate my passwd
./migrate_passwd.pl /etc/passwd ~shahin/passwd.ldif
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
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword: {crypt}$1$oGRsbfgm$J/ifAAm6a8dMtxXjYe2um1
shadowLastChange: 12074
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 500
gidNumber: 500
homeDirectory: /home/erce
gecos: erhan cetin
----------------------
what is the problem with this..
Thanks
Shahin