[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: how to replace multiple attributes?
Buchan Milne wrote:
In the meantime, while ldapmodify does not comply (as Philip pointed
out),
convert the file to unix format with dos2unix or similar.
Regards,
Buchan
Thanks, that worked! I never thought to try that.
[root@roark ldap]# dos2unix profilepaths.ldif
[root@roark ldap]# ldapmodify -D
"cn=Manager,dc=mdah,dc=state,dc=ms,dc=us" -w xxxxxxxxx -x -v -f
profilepaths.ldif
ldap_initialize( <DEFAULT> )
replace sambaProfilePath:
\\preshs\profiles\panderson
replace sambaHomePath:
\\preshs\panderson
replace sambaLogonScript:
scripts\panderson.bat
replace sambaHomeDrive:
R:
modifying entry "uid=panderson,ou=People,dc=mdah,dc=state,dc=ms,dc=us"
modify complete