diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-07-24 06:03:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:01:18 -0500 |
commit | a7416c08945c5eae5ef5e896439119fb3379f482 (patch) | |
tree | 05d703daf455e280768558597e755f9a4651d26e | |
parent | 4a517b14331a8e3f4e22936470a9dfb771a7d48c (diff) | |
download | samba-a7416c08945c5eae5ef5e896439119fb3379f482.tar.gz samba-a7416c08945c5eae5ef5e896439119fb3379f482.tar.xz samba-a7416c08945c5eae5ef5e896439119fb3379f482.zip |
r24012: Remove duplicate code block (from bad merge).
Andrew Bartlett
(This used to be commit 68bdbd732fc02ce5a8ef8eb0107459ff3b7eb723)
-rw-r--r-- | source4/scripting/ejs/smbcalls_auth.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source4/scripting/ejs/smbcalls_auth.c b/source4/scripting/ejs/smbcalls_auth.c index 33d7f2cf0e..2624084f02 100644 --- a/source4/scripting/ejs/smbcalls_auth.c +++ b/source4/scripting/ejs/smbcalls_auth.c @@ -149,23 +149,6 @@ static int ejs_doauth(MprVarHandle eid, mprSetPropertyValue(auth, "username", mprString(server_info->account_name)); mprSetPropertyValue(auth, "domain", mprString(server_info->domain_name)); - if (security_token_is_system(session_info->security_token)) { - mprSetPropertyValue(auth, "report", mprString("SYSTEM")); - } - - if (security_token_is_anonymous(session_info->security_token)) { - mprSetPropertyValue(auth, "report", mprString("ANONYMOUS")); - } - - if (security_token_has_builtin_administrators(session_info->security_token)) { - mprSetPropertyValue(auth, "report", mprString("ADMINISTRATOR")); - } - - if (security_token_has_nt_authenticated_users(session_info->security_token)) { - mprSetPropertyValue(auth, "report", mprString("USER")); - } - - done: return 0; } |