search for: delete_sid

Displaying 2 results from an estimated 2 matches for "delete_sid".

Did you mean: delete_if
2005 Mar 17
0
usrmgr.exe and problems
...update_group_mapping_entry(&map)) { - return NT_STATUS_NO_SUCH_GROUP; + if(!ret) { + return NT_STATUS_NO_SUCH_GROUP; } return NT_STATUS_OK; @@ -4430,6 +4449,7 @@ BOOL is_user = False; NTSTATUS result; enum SID_NAME_USE type = SID_NAME_UNKNOWN; + BOOL ret; sid_copy( &delete_sid, &q_u->sid.sid ); @@ -4466,18 +4486,27 @@ pdb_init_sam(&sam_pass); - if ( pdb_getsampwsid(sam_pass, &delete_sid) ) { - is_user = True; + become_root(); + + ret = pdb_getsampwsid(sam_pass, &delete_sid); + + if ( ret ) { + is_user = True; } else { - /* maybe it i...
2005 May 11
1
SV: Error with usrmgr and groups.
It's exactly the same. Except that I use tdbsam instead of ldap and the error message therefore also is different in the log file. But the example and result is the same. Do you have any idea of workaround or fix? Cheers, Joel -----Ursprungligt meddelande----- Fr?n: Doug Campbell [mailto:doug@bpta.net] Skickat: den 11 maj 2005 10:49 Till: Joel Larsson, PF, Posten; samba@lists.samba.org