uint8 attr = mem[count].attr;
char *name = mem[count].name;
- become_root(True);
+ become_root();
status = lookup_grp_rid(name, &rid, &type);
- unbecome_root(True);
+ unbecome_root();
if (status == 0x0)
{
DEBUG(5,("lookup_user_name: rid: %d", rid));
/* find the user account */
- become_root(True);
+ become_root();
disp_info = getsamdisprid(rid);
- unbecome_root(True);
+ unbecome_root();
if (disp_info != NULL)
{
(*grp_rid) = 0;
/* find the user account */
- become_root(True);
+ become_root();
sam_pass = getsam21pwnam(user_name);
- unbecome_root(True);
+ unbecome_root();
if (sam_pass != NULL)
{
(*type) = SID_NAME_USER;
/* find the user account */
- become_root(True);
+ become_root();
sam_pass = getsam21pwnam(user_name);
- unbecome_root(True);
+ unbecome_root();
if (sam_pass != NULL)
{