I have an ldif I'm trying to load for sambaprofilepath and sambahomepath getting an error, and I'm not sure why. any help?

ldapmodify -D "cn=Manager,dc=mdah,dc=state,dc=ms,dc=us" -w xxxxxxx -x -v -f modifywelty.ldif
ldap_initialize( <DEFAULT> )
ldapmodify: invalid format (line 5) entry: "uid=mawhite,ou=People,dc=mdah,dc=state,dc=ms,dc=us"

the .ldif file is:

cat modifywelty.ldif
dn: uid=mawhite,ou=People,dc=mdah,dc=state,dc=ms,dc=us
changetype: add
add: objectClass
objectClass: sambaSamAccount
-
add: sambaProfilePath
add: sambaHomePath
sambaProfilePath: \\welty\profiles\mawhite
sambaHomePath: \\welty\mawhite

and user info is:

dn: uid=mawhite,ou=People,dc=mdah,dc=state,dc=ms,dc=us
uid: mawhite
cn: Mary Alice White
givenName: Mary Alice
sn: White
mail: [EMAIL PROTECTED]
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: hostObject
userPassword:: xxxxxxxxxxxxxxxx
shadowLastChange: 13923
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 651
homeDirectory: /home/mawhite
gecos: Mary Alice White
structuralObjectClass: inetOrgPerson
creatorsName: cn=Manager,dc=mdah,dc=state,dc=ms,dc=us
host: roark
host: welty
host: manship
host: archives4
gidNumber: 100


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to