diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/pipenetlog.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/pipenetlog.c b/source/pipenetlog.c index 0191d2fa5e5..b4f0db766bf 100644 --- a/source/pipenetlog.c +++ b/source/pipenetlog.c @@ -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) { |