diff options
author | Nadezhda Ivanova <nivanova@samba.org> | 2010-07-14 10:30:40 +0300 |
---|---|---|
committer | Nadezhda Ivanova <nivanova@samba.org> | 2010-07-14 10:30:40 +0300 |
commit | ee56f74cae1d7387465f966dbe751398eaf01f10 (patch) | |
tree | 3f141935dc9e60e8a77019fb07db165cc917456f /source4/auth | |
parent | 0d95cee58f80e46636fa4b826d248c9ce9983c9b (diff) | |
download | samba-ee56f74cae1d7387465f966dbe751398eaf01f10.tar.gz samba-ee56f74cae1d7387465f966dbe751398eaf01f10.tar.bz2 samba-ee56f74cae1d7387465f966dbe751398eaf01f10.zip |
Fixed system_session_anon to actually make an anonymous session
It seems that because the flag is false, this always used the supplied credentials
rhather than establish anonymous connection.
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/system_session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/system_session.c b/source4/auth/system_session.c index 8fdf52792e..31c9bd1a78 100644 --- a/source4/auth/system_session.c +++ b/source4/auth/system_session.c @@ -225,7 +225,7 @@ _PUBLIC_ struct auth_session_info *system_session_anon(TALLOC_CTX *mem_ctx, stru { NTSTATUS nt_status; struct auth_session_info *session_info = NULL; - nt_status = _auth_system_session_info(mem_ctx, lp_ctx, false, &session_info); + nt_status = _auth_system_session_info(mem_ctx, lp_ctx, true, &session_info); if (!NT_STATUS_IS_OK(nt_status)) { return NULL; } |