Ignore:
Timestamp:
Nov 26, 2007, 9:24:27 AM (18 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.27a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/auth/auth_util.c

    r44 r105  
    950950        if (lp_winbind_nested_groups()) {
    951951
     952                become_root();
     953
    952954                /* Now add the aliases. First the one from our local SAM */
    953955
     
    967969                        return NULL;
    968970                }
     971
     972                unbecome_root();
    969973        }
    970974
     
    11131117
    11141118        if (sid_check_is_in_our_domain(&user_sid)) {
     1119                BOOL ret;
    11151120
    11161121                /* This is a passdb user, so ask passdb */
     
    11231128                }
    11241129
    1125                 if (!pdb_getsampwsid(sam_acct, &user_sid)) {
     1130                become_root();
     1131                ret = pdb_getsampwsid(sam_acct, &user_sid);
     1132                unbecome_root();
     1133
     1134                if (!ret) {
    11261135                        DEBUG(1, ("pdb_getsampwsid(%s) for user %s failed\n",
    11271136                                  sid_string_static(&user_sid), username));
Note: See TracChangeset for help on using the changeset viewer.