1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-29 02:50:28 +03:00

put a check around become_user(). doesn't authenticate the user, but doesn't

quit the whole pipe, either...
(This used to be commit 14f0c2ddb05a690e671efad8c47da9ff1e39c8ce)
This commit is contained in:
Luke Leighton 1997-10-13 17:11:07 +00:00
parent 106410a376
commit c87abfc565

View File

@ -271,7 +271,11 @@ static BOOL update_dcinfo(int cnum, uint16 vuid,
unbecome_user();
smb_pass = get_smbpwnam(mach_acct);
become_user(cnum, vuid);
if (!become_user(cnum, vuid))
{
DEBUG(0,("update_dcinfo: become_user failed\n"));
return False;
}
if (smb_pass != NULL)
{