[Samba] Problem with /usr/bin/profiles "Could not get rootkey"

Jobst Schmalenbach jobst at barrett.com.au
Sun Feb 3 18:27:24 MST 2013


Hi.

Current host OS: CentOS5.9
Current client OS: Windows XP (all the latest stuff)
Current Samba: 3.6.6-0.129.el5

Ever since 3.4 I am having problems with the "/usr/bin/profiles" binary, it does NOT allow me to change a SID within a registry file.
However, using an older version of the binary (3.0.33-3.29.el5_5.1) it does.

If I execute the following command (note the last 4 digits on the SID)

  /usr/bin/profiles -c S-1-5-21-HIDDEN-HIDDEN-581009308-5424 -n S-1-5-21-HIDDEN-HIDDEN-581009308-5452 NTUSER.DAT

I get the following error messages:

    ndr_pull_security_descriptor failed: Buffer Size Error
    prs_grow: Buffer overflow - unable to expand buffer by 36 bytes.
    ndr_pull_security_descriptor failed: Buffer Size Error
    prs_grow: Buffer overflow - unable to expand buffer by 36 bytes.
    ndr_pull_security_descriptor failed: Buffer Size Error
    prs_grow: Buffer overflow - unable to expand buffer by 36 bytes.
    ...
    ...
    ...
    ndr_pull_security_descriptor failed: Buffer Size Error
    prs_grow: Buffer overflow - unable to expand buffer by 36 bytes.
    regfio_rootkey: corrupt registry file ?  No root key record located
    Could not get rootkey


Any ideas anyone?

Has the format of the NTUSER.DAT changed, and if so which one do I need to use?


Jobst

-- 
It took the power of 3 Commodore 64's to go to the moon, but it takes a 2GHz Pentium 4 to run XP... Something is desperately wrong here!

  | |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