[Samba] [OT] ldapmodify options for changing AD attributes

simo idra at samba.org
Thu Aug 24 16:55:18 GMT 2006


On Thu, 2006-08-24 at 18:41 +0200, Gianluca Cecchi wrote:
> # ldapmodify -r -v -h w2k3_domain -x -D
> "CN=adm_user,cn=users,DC=companymail,DC=local" -W -f
> ldap_gcecchi_modify.txt
> ldap_init( w2k3_domain, 0 )
> Enter LDAP Password:
> replace pwdLastSet:
>         127969313462031250
> modifying entry "CN=Gianluca Cecchi,CN=Users,DC=companymail,DC=local"
> ldap_modify: Unknown error
>         additional info: 00000057: SysErr: DSID-031A0FB6, problem 22
> (Invalid argument), data 0
> 
> 
> ldif_record() = 80
> 
> perhaps anyone with experience in ldap for samba can help?
> Do I have to specify also the format of the value in some way?

I think you simply cannot change this value against the AD ldap server,
if I recall it correctly it is marked as systemOnly.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba mailing list