diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-05-26 12:48:58 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-03 17:54:37 +0200 |
commit | e16e7146b378e8e89bf25adc66d806bac7feaeb6 (patch) | |
tree | 3749acfaa0e0121050f6ff8cfebb3e60e37533ac /source3/smbd/reply.c | |
parent | f20ded603b488b4eaca8b4bf1009e61ead851f85 (diff) | |
download | samba-e16e7146b378e8e89bf25adc66d806bac7feaeb6.tar.gz samba-e16e7146b378e8e89bf25adc66d806bac7feaeb6.tar.bz2 samba-e16e7146b378e8e89bf25adc66d806bac7feaeb6.zip |
s3:smbd: move negprot related globals to struct smbd_server_connection
metze
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 8657bd6e18..f6d5f11f13 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -685,6 +685,7 @@ void reply_tcon_and_X(struct smb_request *req) char *path = NULL; const char *p, *q; uint16 tcon_flags; + struct smbd_server_connection *sconn = smbd_server_conn; START_PROFILE(SMBtconX); @@ -710,7 +711,7 @@ void reply_tcon_and_X(struct smb_request *req) return; } - if (global_encrypted_passwords_negotiated) { + if (sconn->smb1.negprot.encrypted_passwords) { password = data_blob_talloc(talloc_tos(), req->buf, passlen); if (lp_security() == SEC_SHARE) { /* |