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

Re: how to replace multiple attributes?



Dieter Kluenter wrote:
[...]
remove the colon next to sambaLogonScript

-Dieter
 
  

thanks for fixing that typo, I still have the same error. ldif file is:

dn: uid=panderson,ou=People,dc=mdah,dc=state,dc=ms,dc=us
changetype: modify
replace: sambaProfilePath
sambaProfilePath: \\preshs\profiles\panderson
-
replace: sambaHomePath
sambaHomePath: \\preshs\panderson
-
replace: sambaLogonScript
sambaLogonScript: scripts\panderson.bat
-
replace: sambaHomeDrive
sambaHomeDrive: R:

and I run it with:

[root@roark ldap]# ldapmodify -D "cn=Manager,dc=mdah,dc=state,dc=ms,dc=us" -w xxxxxxxxxx -x -v -f profilepaths.ldif
ldap_initialize( <DEFAULT> )
ldapmodify: invalid format (line 5) entry: "uid=panderson,ou=People,dc=mdah,dc=state,dc=ms,dc=us"