summaryrefslogtreecommitdiff
path: root/source3/auth/auth_builtin.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-11-29 02:58:59 +0000
committerTim Potter <tpot@samba.org>2002-11-29 02:58:59 +0000
commitf3e3a56ea9085b186af24b0b4e911863fd9ceacc (patch)
tree994a10565d8ce8ff296fe3153433090e7570b271 /source3/auth/auth_builtin.c
parent8986bdf7072a9d9f100767a4546c70cdf69a72b2 (diff)
downloadsamba-f3e3a56ea9085b186af24b0b4e911863fd9ceacc.tar.gz
samba-f3e3a56ea9085b186af24b0b4e911863fd9ceacc.tar.bz2
samba-f3e3a56ea9085b186af24b0b4e911863fd9ceacc.zip
Merge a bunch of trivial changes from HEAD. The difference remaining
should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code (This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
Diffstat (limited to 'source3/auth/auth_builtin.c')
-rw-r--r--source3/auth/auth_builtin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/auth/auth_builtin.c b/source3/auth/auth_builtin.c
index d54a8660b3..f55f662a40 100644
--- a/source3/auth/auth_builtin.c
+++ b/source3/auth/auth_builtin.c
@@ -41,8 +41,9 @@ static NTSTATUS check_guest_security(const struct auth_context *auth_context,
NTSTATUS nt_status = NT_STATUS_LOGON_FAILURE;
if (!(user_info->internal_username.str
- && *user_info->internal_username.str))
+ && *user_info->internal_username.str)) {
nt_status = make_server_info_guest(server_info);
+ }
return nt_status;
}