which I will confirm once I can find a box it would break on in the first place.
(this is the pam accounts as nobody thing we had with 2.2.0)
Andrew Bartlett
}
if (nt_status == NT_STATUS_NOPROBLEMO) {
+ /* We might not be root if we are an RPC call */
+ become_root();
nt_status = smb_pam_accountcheck(user_info->smb_username.str);
+ unbecome_root();
}
if (nt_status == NT_STATUS_NOPROBLEMO) {
}
if (nt_status == NT_STATUS_NOPROBLEMO) {
+ /* We might not be root if we are an RPC call */
+ become_root();
nt_status = smb_pam_accountcheck(user_info->smb_username.str);
+ unbecome_root();
}
if (nt_status == NT_STATUS_NOPROBLEMO) {