summaryrefslogtreecommitdiffstats
path: root/source/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
commitd3998307adc50ba50defe610cb656c73799ae3b9 (patch)
tree180321618af26ed022af400a540eb6afcfcb263e /source/auth/auth_builtin.c
parent3ce520785369c319a93b3f33a8e1f73c12cab18a (diff)
downloadsamba-d3998307adc50ba50defe610cb656c73799ae3b9.tar.gz
samba-d3998307adc50ba50defe610cb656c73799ae3b9.tar.xz
samba-d3998307adc50ba50defe610cb656c73799ae3b9.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
Diffstat (limited to 'source/auth/auth_builtin.c')
-rw-r--r--source/auth/auth_builtin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/auth/auth_builtin.c b/source/auth/auth_builtin.c
index d54a8660b35..f55f662a408 100644
--- a/source/auth/auth_builtin.c
+++ b/source/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;
}