[Samba] problem loading ldif

Adam Williams awilliam at mdah.state.ms.us
Fri Mar 21 15:31:22 GMT 2008


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: mawhite at mdah.state.ms.us
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




More information about the samba mailing list