[patch] become_root() in srv_samr_nt.c for group operations

Matthew Mastracci matt at aclaro.com
Sun Apr 9 17:43:13 GMT 2006

Matthew Mastracci wrote:

> When adding or removing users from groups in the NT USRMGR as a Domain 
> Admin user that isn't root, Samba doesn't call into the LDAP code as 
> root, causing the operation to fail.
> This patch adds become_root()/unbecome_root() around three other calls 
> to pdb_getsampwsid() in srv_samr_nt.c to fix this problem.

D'oh - just checked the latest 3.0 Subversion code and it looks like 
this has already been fixed.  I should have checked this first!

Please ignore this patch...


More information about the samba-technical mailing list