summaryrefslogtreecommitdiff
path: root/source3/utils/smbcquotas.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-07-30 23:49:29 +0000
committerJeremy Allison <jra@samba.org>2003-07-30 23:49:29 +0000
commit29ca70cd34d3ba927ea1a9915ebd247f64965bd5 (patch)
tree6771fb7dbb2efbf224c46cb8ce9010c20f799d15 /source3/utils/smbcquotas.c
parentd6ee1d167c81d3b632af0415445745a180d58b3c (diff)
downloadsamba-29ca70cd34d3ba927ea1a9915ebd247f64965bd5.tar.gz
samba-29ca70cd34d3ba927ea1a9915ebd247f64965bd5.tar.bz2
samba-29ca70cd34d3ba927ea1a9915ebd247f64965bd5.zip
Add a command line option (-S on|off|required) to enable signing on client
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
Diffstat (limited to 'source3/utils/smbcquotas.c')
-rw-r--r--source3/utils/smbcquotas.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c
index 9c7379ca2a..64321d5bfc 100644
--- a/source3/utils/smbcquotas.c
+++ b/source3/utils/smbcquotas.c
@@ -371,7 +371,8 @@ static struct cli_state *connect_one(const char *share)
&ip, 0,
share, "?????",
cmdline_auth_info.username, lp_workgroup(),
- cmdline_auth_info.password, 0, NULL))) {
+ cmdline_auth_info.password, 0,
+ cmdline_auth_info.signing_state, NULL))) {
return c;
} else {
DEBUG(0,("cli_full_connection failed! (%s)\n", nt_errstr(nt_status)));