Hi All,

Somebody already modified scripts "migrationtools"
(http://www.padl.com/OSS/MigrationTools.html) to convert
"master.passwd" for ldap? Using scripts original (migrate_passwd.pl)
the conversion is wrong, as below

dn: uid=test,ou=People,dc=padl,dc=com
uid: test
cn: User by test
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword: {crypt}$1$QLrRpB8e$2doc9Ks9GkOdyc2xAvEYi1
shadowLastChange: 1002
shadowMin: 1002
shadowExpire: User by test
shadowFlag: /home/test
loginShell: /bin/csh
uidNumber: 1002
gidNumber: 1002
homeDirectory: /home/test
gecos: User by test

The objects had below received values wrong

shadowLastChange: 1002 -> uid
shadowMin: 1002 -> gid
shadowExpire: User by test -> gecos
shadowFlag: /home/test -> directory home of the user

Thanks
-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

63 8404-8559
Palmas/TO
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to