[Samba] Problem setting password: : failed to pull old supplementalCredentialsBlob: NT_STATUS_BUFFER_TOO_SMALL

Andrew Bartlett abartlet at samba.org
Tue Nov 24 07:49:47 UTC 2015


On Thu, 2015-11-19 at 12:54 +0100, Javier Amor Garcia wrote:
> Hello,
> 
> I am stuck with a error when setting password for a couple of
> specific 
> users. This error makes impossible to set the password for the
> affected 
> users.
> 
> In Windows I get an operation error but the samba-tool output is more
> informative:
> 
> 
> samba-tool user setpassword user2 --newpassword=
> New Password:
> ndr_pull_error(11): Pull bytes 2 (../librpc/ndr/ndr_basic.c:103)
> ERROR: Failed to set password for user 'user2': (1, 
> 'setup_supplemental_field: failed to pull old 
> supplementalCredentialsBlob: NT_STATUS_BUFFER_TOO_SMALL')
> File "/opt/samba4/lib/python2.7/site-packages/samba/netcmd/user.py", 
> line 587, in run
> username=username)
> File "/opt/samba4/lib/python2.7/site-packages/samba/samdb.py", line
> 484, 
> in setpassword
> self.modify_ldif(setpw)
> File "/opt/samba4/lib/python2.7/site-packages/samba/__init__.py",
> line 
> 235, in modify_ldif
> self.modify(msg, controls)
> 
> Someone knows how to workaround this error?.

Sounds like a corrupt DB to me.  How did it get there?

If this is corrupt, then there is likely more trouble in the DB, we
have never seen that before. 

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba mailing list