Javier Amor Garcia
2015-Nov-19 11:54 UTC
[Samba] Problem setting password: : failed to pull old supplementalCredentialsBlob: NT_STATUS_BUFFER_TOO_SMALL
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 --newpasswordNew 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?. -- Javier Amor García - Developer Zentyal - Active Exchange - www.zentyal.com
mathias dufresne
2015-Nov-19 15:26 UTC
[Samba] Problem setting password: : failed to pull old supplementalCredentialsBlob: NT_STATUS_BUFFER_TOO_SMALL
Hi, I don't know much that tool but I would have expected "--newpassword=" needs some password. Ex: 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: > 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?. > > > -- > 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 >
Andrew Bartlett
2015-Nov-24 07:49 UTC
[Samba] Problem setting password: : failed to pull old supplementalCredentialsBlob: NT_STATUS_BUFFER_TOO_SMALL
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
Javier Amor Garcia
2015-Nov-24 14:45 UTC
[Samba] Problem setting password: : failed to pull old supplementalCredentialsBlob: NT_STATUS_BUFFER_TOO_SMALL
Thanks for your answer, Andrew Bartlett. We had abandoned this problem but if you want I can request files for debug. On 11/24/2015 08:49 AM, Andrew Bartlett wrote:> 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 >
Seemingly Similar Threads
- Problem setting password: : failed to pull old supplementalCredentialsBlob: NT_STATUS_BUFFER_TOO_SMALL
- samba-tool ntacl sysvolreset - NT_STATUS_BUFFER_TOO_SMALL
- samba-tool ntacl sysvolreset - NT_STATUS_BUFFER_TOO_SMALL
- Samba 4.2.0rc4 can't authenticate users
- Samba4 KDC - no such entry found in hdb