Changeset 105 for branches/samba-3.0/source/auth
- Timestamp:
- Nov 26, 2007, 9:24:27 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/auth/auth_util.c
r44 r105 950 950 if (lp_winbind_nested_groups()) { 951 951 952 become_root(); 953 952 954 /* Now add the aliases. First the one from our local SAM */ 953 955 … … 967 969 return NULL; 968 970 } 971 972 unbecome_root(); 969 973 } 970 974 … … 1113 1117 1114 1118 if (sid_check_is_in_our_domain(&user_sid)) { 1119 BOOL ret; 1115 1120 1116 1121 /* This is a passdb user, so ask passdb */ … … 1123 1128 } 1124 1129 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) { 1126 1135 DEBUG(1, ("pdb_getsampwsid(%s) for user %s failed\n", 1127 1136 sid_string_static(&user_sid), username));
Note:
See TracChangeset
for help on using the changeset viewer.