From b21b012756dbb9e7022280b34d7103a5dcbea6d6 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 6 Oct 2011 19:34:50 +1100 Subject: lib/param move source4 param code to the top level This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett --- source4/libcli/raw/libcliraw.h | 2 +- source4/libcli/raw/signing.h | 4 ---- source4/libcli/wscript_build | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) (limited to 'source4/libcli') diff --git a/source4/libcli/raw/libcliraw.h b/source4/libcli/raw/libcliraw.h index 773fa878d0..b7b02c668e 100644 --- a/source4/libcli/raw/libcliraw.h +++ b/source4/libcli/raw/libcliraw.h @@ -103,7 +103,7 @@ struct smbcli_options { uint32_t max_xmit; uint16_t max_mux; int request_timeout; - enum smb_signing_state signing; + enum smb_signing_setting signing; }; /* this is the context for the client transport layer */ diff --git a/source4/libcli/raw/signing.h b/source4/libcli/raw/signing.h index 56e977ed7c..933db4df74 100644 --- a/source4/libcli/raw/signing.h +++ b/source4/libcli/raw/signing.h @@ -26,10 +26,6 @@ enum smb_signing_engine_state { SMB_SIGNING_ENGINE_ON }; -enum smb_signing_state { - SMB_SIGNING_OFF, SMB_SIGNING_SUPPORTED, - SMB_SIGNING_REQUIRED, SMB_SIGNING_AUTO}; - struct smb_signing_context { enum smb_signing_engine_state signing_state; DATA_BLOB mac_key; diff --git a/source4/libcli/wscript_build b/source4/libcli/wscript_build index 7718e52e7c..6c9454ba13 100644 --- a/source4/libcli/wscript_build +++ b/source4/libcli/wscript_build @@ -33,7 +33,7 @@ bld.SAMBA_SUBSYSTEM('LIBCLI_SMB_COMPOSITE', bld.SAMBA_PYTHON('pysmb', source='pysmb.c', deps='LIBCLI_SMB_COMPOSITE LIBCLI_SMB2 tevent-util pyparam_util', - public_deps='cli_composite samba-credentials gensec LIBCLI_RESOLVE tevent', + public_deps='cli_composite samba-credentials gensec LIBCLI_RESOLVE tevent param_options', realname='samba/smb.so' ) -- cgit