diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-07-12 09:11:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:57:32 -0500 |
commit | 88002b851bd30e3c03a5a9442baf3ced7aa6090f (patch) | |
tree | 8547a06b7e5af9c4cb5e73f6190035aefd7fd75c /source4/param | |
parent | b62e6f1ec13c6cad5a94a2a27dc14d3fdfdd4cfc (diff) | |
download | samba-88002b851bd30e3c03a5a9442baf3ced7aa6090f.tar.gz samba-88002b851bd30e3c03a5a9442baf3ced7aa6090f.tar.bz2 samba-88002b851bd30e3c03a5a9442baf3ced7aa6090f.zip |
r1462: GENSEC Kerberos and SPENGO work:
- Spelling - it's SPNEGO, not SPENGO
- SMB signing - Krb5 logins are now correctly signed
- SPNEGO - Changes to always tell GENSEC about incoming packets, empty or not.
Andrew Bartlett
(This used to be commit cea578d6f39a2ea4a24e7a0064c95193ab6f6df7)
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/loadparm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 68a16501d2..5493b2617c 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -212,6 +212,7 @@ typedef struct BOOL bNTLMAuth; BOOL bUseSpnego; BOOL server_signing; + BOOL client_signing; BOOL bClientLanManAuth; BOOL bClientNTLMv2Auth; BOOL bHostMSDfs; @@ -654,6 +655,7 @@ static struct parm_struct parm_table[] = { {"unix extensions", P_BOOL, P_GLOBAL, &Globals.bUnixExtensions, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER}, {"use spnego", P_BOOL, P_GLOBAL, &Globals.bUseSpnego, NULL, NULL, FLAG_DEVELOPER}, {"server signing", P_ENUM, P_GLOBAL, &Globals.server_signing, NULL, enum_smb_signing_vals, FLAG_ADVANCED}, + {"client signing", P_ENUM, P_GLOBAL, &Globals.client_signing, NULL, enum_smb_signing_vals, FLAG_ADVANCED}, {"rpc big endian", P_BOOL, P_GLOBAL, &Globals.bRpcBigEndian, NULL, NULL, FLAG_DEVELOPER}, {"Tuning Options", P_SEP, P_SEPARATOR}, @@ -1103,7 +1105,8 @@ static void init_globals(void) Globals.bUseSpnego = True; - Globals.server_signing = False; + Globals.client_signing = SMB_SIGNING_SUPPORTED; + Globals.server_signing = SMB_SIGNING_SUPPORTED; string_set(&Globals.smb_ports, SMB_PORTS); } @@ -1375,6 +1378,7 @@ FN_GLOBAL_INTEGER(lp_winbind_cache_time, &Globals.winbind_cache_time) FN_GLOBAL_BOOL(lp_hide_local_users, &Globals.bHideLocalUsers) FN_GLOBAL_INTEGER(lp_name_cache_timeout, &Globals.name_cache_timeout) FN_GLOBAL_INTEGER(lp_server_signing, &Globals.server_signing) +FN_GLOBAL_INTEGER(lp_client_signing, &Globals.client_signing) /* local prototypes */ |