[Samba] Correcting "incorrect userParameters value on object...." ???

Adam Tauno Williams awilliam at whitemice.org
Tue Oct 25 14:39:34 UTC 2016


On Fri, 2016-10-21 at 12:04 -0400, Adam Tauno Williams via samba wrote:
> On Fri, 2016-10-21 at 23:25 +1300, Andrew Bartlett wrote:
> > > > Checking 1743 objects
> > > > ERROR: incorrect userParameters value on object
> > > ... it appears this attribute cannot be edited or deleted via
> > > LDAP
> > > [ADSI Edit]. :(
> > comprehensive multi-protocol tests will untangle this mess.  I've
> > written before about what is required, as we have to get LDAP,
> > SAMR,
> > NETLOGON and Kerberos (for the PAC) all handling this 'binary data
> > shoved in a string by a simple cast' data consistently.  LDAP is a
> > particular difficulty as it is traditionally utf8, but encoding
> > binary data as if it was utf16 to convert to utf8 is not safe or
> reversible
> > in general.
> So there is not way to simply clear/reset this value?

It appears I have been able to move past this particular error by using
ldapmodify to delete the userParameters attribute.

  dn: CN=$USER,OU=Industries Users,DC=EXAMPLE,DC=COM
  changetype: modify
  delete: userParameters

-- 
Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA





More information about the samba mailing list