[Samba] Cannot change SID on NTUSER.DAT file

Jobst Schmalenbach jobst at barrett.com.au
Tue Nov 29 15:45:22 MST 2011


Hi.

I have just changed to the latest version of samba on a CentOS 5.4 machine as I now have Win7 computers in the domain.

[root] #>smbd -V
Version 3.5.4-0.83.el5_7.2

On the old version (I think 3.0.29) I was able to change the SID on any NTUDER.DAT file happily.
Now I cannot change SID on any NTUSER.DAT file.

However, I can log into the domain using the username that is attached to the NTUSER.DAT file, no problem there, so there is not anything wrong with the registry file.

I get this:

[root] #>/usr/bin/profiles -c S-1-5-21-DELETED-5424 -n S-1-5-21-DELETED-5560 NTUSER.DAT
ndr_pull_error(11): Pull bytes 1 (../librpc/ndr/ndr_basic.c:74)
ndr_pull_security_descriptor failed: NDR_ERR_BUFSIZE
prs_grow: Buffer overflow - unable to expand buffer by 36 bytes.
ndr_pull_error(11): Pull bytes 1 (../librpc/ndr/ndr_basic.c:74)
ndr_pull_security_descriptor failed: NDR_ERR_BUFSIZE
prs_grow: Buffer overflow - unable to expand buffer by 36 bytes.
ndr_pull_error(11): ndr_pull_relative_ptr1 rel_offset(229376) > ndr->data_size(4096)
ndr_pull_security_descriptor failed: NDR_ERR_BUFSIZE


Any ideas anyone?
Jobst



-- 
'Two things are infinite: the universe and human stupidity, and I'm not sure about the first one. - Albert Einstein

  | |0| |   Jobst Schmalenbach, jobst at barrett.com.au, General Manager
  | | |0|   Barrett Consulting Group P/L & The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia


More information about the samba mailing list