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

mathias dufresne infractory at gmail.com
Thu Nov 19 15:26:06 UTC 2015


I don't know much that tool but I would have expected "--newpassword="
needs some password.

samba-tool user setpassword user2 --newpassword=1NewPass
or just
samba-tool user setpassword user2

The first one would be to avoid interactive behaviour (no password asked,
you have already given it to the command)
The second would be to start that command in interactive mode : no password
given on command line, the command ask you for a password.

Perhaps I'm wrong, perhaps you tried to set a blank password for that user
(NT_STATUS_BUFFER_TOO_SMALL as an error seems to mean the password you gave
is too small for your password rules).
In that case just try to set a complex password to your user when the
command ask you for a password.

2015-11-19 12:54 GMT+01:00 Javier Amor Garcia <jamor at zentyal.com>:

> 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:
> 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?.
> --
> Javier Amor GarcĂ­a - Developer
> Zentyal - Active Exchange - www.zentyal.com
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list