diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-08 23:32:27 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:55 +0100 |
commit | 5c6eacdb04cd18d96dc6313c2a6f934925967e79 (patch) | |
tree | a594790ba614a4ee6ee473c63635657e602f03d4 /source4/smb_server/smb | |
parent | 5991108c81afa820f811d8520c51d42e9ca0ec49 (diff) | |
download | samba-5c6eacdb04cd18d96dc6313c2a6f934925967e79.tar.gz samba-5c6eacdb04cd18d96dc6313c2a6f934925967e79.tar.bz2 samba-5c6eacdb04cd18d96dc6313c2a6f934925967e79.zip |
r26350: More tests.
(This used to be commit 87799f55d5d85bf9a15a9637143faa32183b181b)
Diffstat (limited to 'source4/smb_server/smb')
-rw-r--r-- | source4/smb_server/smb/signing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/signing.c b/source4/smb_server/smb/signing.c index 146d8c7256..3693579c46 100644 --- a/source4/smb_server/smb/signing.c +++ b/source4/smb_server/smb/signing.c @@ -114,7 +114,7 @@ bool smbsrv_init_signing(struct smbsrv_connection *smb_conn) smb_conn->signing.mandatory_signing = true; break; case SMB_SIGNING_AUTO: - if (lp_domain_logons(smb_conn->lp_ctx)) { + if (lp_server_role(smb_conn->lp_ctx) == ROLE_DOMAIN_CONTROLLER) { smb_conn->signing.allow_smb_signing = true; } else { smb_conn->signing.allow_smb_signing = false; |