Andrew Bartlett
474fbfb7b7
s3-lib: Remove unused is_myworkgroup()
...
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:14 +11:00
Andrew Bartlett
45123530e5
s3-charcnv: Remove unused rpcstr_push()
...
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:14 +11:00
Andrew Bartlett
a7835f4736
s3-libsmb: Remove unused smb_krb5_mk_error()
...
Also remove now-unused configure checks for krb5_mk_error().
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:13 +11:00
Andrew Bartlett
3d63100890
s3-param: Remove unused share_defined()
...
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:13 +11:00
Andrew Bartlett
40bf23d862
s3-lib: Remove unused pid_path()
...
piddir.c calls lp_piddir() directly.
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:12 +11:00
Andrew Bartlett
3b88c1e605
s3-charcnv: Remove unused pull_string_fn
...
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:12 +11:00
Björn Baumbach
5ec12732c3
s3-printing: Add new printers to registry.
...
This fixes bug #8554 , #8612 and #8748 .
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Feb 9 16:39:04 CET 2012 on sn-devel-104
2012-02-09 16:39:04 +01:00
Andreas Schneider
2464a7b0dd
s3-libsmb: Remove obsolete smb_krb5_locate_kdc.
...
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 9 14:58:57 CET 2012 on sn-devel-104
2012-02-09 14:58:57 +01:00
Jeremy Allison
502186fe0c
Remove unused get_file_size() function.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Feb 7 20:56:28 CET 2012 on sn-devel-104
2012-02-07 20:56:28 +01:00
Andreas Schneider
03c3a613c5
s3-libsmb: Remove dead prototype.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Feb 2 10:33:13 CET 2012 on sn-devel-104
2012-02-02 10:33:13 +01:00
Andreas Schneider
8080dbad78
s3-lib: Fix util_cmdline which doesn't use popt.
...
This creates its own header file for util_cmdline so it doesn't need to
link against popt.
This should fix linking on FreeBSD.
2012-02-01 21:54:21 +01:00
Andrew Bartlett
93366586d8
s3-auth Remove unused nt_status_squash from auth_context
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Feb 1 04:18:50 CET 2012 on sn-devel-104
2012-02-01 04:18:50 +01:00
Simo Sorce
e6c39a292c
s3-pdb: Break SECRETS3 dependency on PDB.
...
This is causing circular depdnendcies that bring libpdb in all code and this is
BAD.
This change 'protects' the sid and guid of the domain by adding a special key
that makes them effectively read only.
Limit this temporarily to the samba 4 build, once it gets some good testing the
samba4 ifdefs can be dropped.
fix pdb dependencies
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-01-27 18:11:10 +01:00
Günther Deschner
e75c436fe6
s3-passdb: trying to decouple passdb and secrets a little.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 18 14:46:18 CET 2012 on sn-devel-104
2012-01-18 14:46:18 +01:00
Stefan Metzmacher
7d83d379ad
s3:lib/messages: remove unused messaging_event_context()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan 17 09:45:30 CET 2012 on sn-devel-104
2012-01-17 09:45:29 +01:00
Volker Lendecke
cfebba96bd
s3: Put an indirection layer into share_mode_lock
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-01-12 23:59:22 +01:00
Andrew Bartlett
138121c516
s3-libsmb: split out auth_generic client functions into auth_generic.c
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-11 09:04:56 +01:00
Andrew Bartlett
cfe68f2d5f
krb5: Require krb5_set_real_time is available to build with krb5
2012-01-10 21:50:07 +01:00
Günther Deschner
ab269deb5e
s3-passdb: remove a forward declaration.
...
Guenther
2012-01-09 10:34:06 +01:00
Jeremy Allison
d6950d4ec9
Comment out sys_get_number_of_cores() as we're no longer using this.
2012-01-06 14:55:30 -08:00
Andrew Bartlett
fd69ebda26
s3-ntlmssp Remove unused ntlmssp_set_hashes() and do not set an invalid LM hash
...
When E_deshash() returns false, it indicates that the password is either > 14 chars
in length, or could not be represented as an LM hash value for some other
reason. In this case, we should not regard the LM hash being missing
as an error or a no-password situation.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jan 6 14:59:13 CET 2012 on sn-devel-104
2012-01-06 14:59:12 +01:00
Andrew Bartlett
a00032a92d
s3-libsmb Make auth_ntlmssp client more generic
...
As well as renaming, this allows us to start the mech by DCE/RPC auth
type or OID.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-06 08:12:49 +01:00
Jeremy Allison
e8a7d9c822
Add a sys_get_number_of_cores() function that calls sysconf or sysctl
...
and tunes the aio threads.
2012-01-06 02:42:25 +01:00
Andrew Bartlett
16e463e169
s3-auth Remove ntlmssp_wrap.h which is no longer required
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-05 17:17:28 +01:00
Andrew Bartlett
3042e38d51
s3-auth use gensec directly rather than via auth_generic_state
...
This is possible because the s3 gensec modules are started as
normal gensec modules, so we do not need a wrapper any more.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-05 17:17:28 +01:00
Andrew Bartlett
e22b1b4f9e
s3-auth re-create the auth context in the s3 ntlmssp server module
...
This removes the abstraction violation in auth_generic.c.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-05 17:17:28 +01:00
Stefan Metzmacher
e1679fe2f1
s3: Happy New Year 2012
...
metze
2012-01-01 20:45:37 +01:00
Andrew Bartlett
5e038432f7
s3-auth split the auth_generic functions into a seperate file
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-12-22 19:25:11 +01:00
Andrew Bartlett
6391fff9da
s3-auth rename auth_ntlmssp_state -> auth_generic_state
...
This structure handles more than NTLMSSP now, at least when we are an AD DC
and so changing the name may avoid some confusion in the future.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-12-22 19:25:10 +01:00
Günther Deschner
fdcbb7e03b
s3-includes: remove PRIMARY_* SID_INDEX defines defined elsewhere already.
...
They really do not belong to smb.h.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 14 21:15:39 CET 2011 on sn-devel-104
2011-12-14 21:15:39 +01:00
Volker Lendecke
f7e84f2809
s3: Remove UNUSED_SHARE_MODE_ENTRY
2011-12-14 17:34:21 +01:00
Stefan Metzmacher
78582da8b5
s3:smbd/server: maintain the list of child processes under smbd_parent_context
...
metze
2011-12-14 08:15:06 +01:00
Stefan Metzmacher
611ab8aaa7
s3:lib/dummyparam: remove unused conn_snum_used() dummy
...
metze
2011-12-13 15:45:36 +01:00
Stefan Metzmacher
1399e6bdf5
s3:param: don't reference conn_snum_used directly in load_usershare_shares()
...
This uses the same logic as lp_killunused().
metze
2011-12-13 15:45:36 +01:00
Volker Lendecke
0f9d14820e
s3: Remove a bunch of calls to procid_self()
...
All callers to messaging_[re]init only used procid_self()
2011-12-12 21:50:25 +01:00
Stefan Metzmacher
6d84b24d76
s3:smbd: make struct pending_message_list private
...
metze
2011-12-12 14:35:42 +01:00
Stefan Metzmacher
8b2b7d1c87
s3:smbd: remember the smbd_server_connection on pending_message_list
...
metze
2011-12-12 14:35:42 +01:00
Richard Sharpe
422494a8e6
vfs: Make function pointer names consistent. They all end in _fn
...
Autobuild-User: Richard Sharpe <sharpe@samba.org>
Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
2011-12-12 04:58:40 +01:00
Jelmer Vernooij
05bc4de083
Revert making public of the samba-module library.
...
This library was tiny - containing just two public functions than were
themselves trivial. The amount of overhead this causes isn't really worth the
benefits of sharing the code with other projects like OpenChange. In addition, this code
isn't really generically useful anyway, as it can only load from the module path
set for Samba at configure time.
Adding a new library was breaking the API/ABI anyway, so OpenChange had to be
updated to cope with the new situation one way or another. I've added a simpler
(compatible) routine for loading modules to OpenChange, which is less than 100 lines of code.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
2011-12-03 08:36:30 +01:00
Volker Lendecke
1c46fb5c3e
s3: Use autogenerated open_files.idl
2011-12-02 22:43:05 +01:00
Jeremy Allison
af76d2588c
After a discussion with Volker, sdd a backup_intent state to the client struct.
...
This causes the backup_intent flags to be added to findfirst/findnext
and ntcreate/nttrans_create calls.
cli_set_backup_intent() sets the flag and returns the old value of
its state.
2011-12-01 13:24:22 -08:00
Volker Lendecke
99f2177e8f
s3-ctdb: Make use of CTDB_CONTROL_CHECK_SRVIDS
...
This should be a lot quicker than PROCESS_EXISTS followed by looking at
serverid.tdb
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 30 12:47:27 CET 2011 on sn-devel-104
2011-11-30 12:47:27 +01:00
Volker Lendecke
29735327f6
s3: Add some const
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Nov 25 10:21:07 CET 2011 on sn-devel-104
2011-11-25 10:21:07 +01:00
Stefan Metzmacher
9ebdee2817
s3:libsmb: implement cli_state based functions on top of smbXcli_conn/smbXcli_req
...
metze
2011-11-24 19:02:31 +01:00
Stefan Metzmacher
99b3d57fc3
s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 signing
...
metze
2011-11-24 19:02:31 +01:00
Stefan Metzmacher
7e7bca4188
s3:smb2cli: implement smb2cli_negprot() on top of smbXcli_negprot()
...
metze
2011-11-24 19:02:31 +01:00
Stefan Metzmacher
349977e1a0
s3:smb2cli: replace smb2cli_base.c code with the more generic smbXcli_base.c code
...
metze
2011-11-24 19:02:30 +01:00
Volker Lendecke
d126414b47
s3: Move server_info_struct to nmbd
...
That's the only place where it's used.
2011-11-23 16:17:03 +01:00
Volker Lendecke
b4ca1fa538
s3: Replace delete_token_list by an array
...
This will make it easier to convert locking.tdb to IDL, and I don't think there
will be enough entries to justify a linked list over an array.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 23 09:02:12 CET 2011 on sn-devel-104
2011-11-23 09:02:10 +01:00
Günther Deschner
8a4c8e3f85
s3-smbldap: move ldap_open_with_timeout out of smb_ldap.h to ads where it lives.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Nov 17 03:47:53 CET 2011 on sn-devel-104
2011-11-17 03:47:53 +01:00
Günther Deschner
8eb0747c1a
s3-smbldap: remove duplicate LDAP_OPT_SUCCESS define.
...
Guenther
2011-11-17 02:11:46 +01:00
Günther Deschner
7de6e6fbc7
s3-smbldap: include talloc.h and tevent.h in smbldap.h
...
Guenther
2011-11-17 02:11:46 +01:00
Günther Deschner
f9df88eca7
s3-smbldap: improve smbldap.h readability and rearrange some defines.
...
Guenther
2011-11-17 02:11:46 +01:00
Günther Deschner
7d71747897
s3-smbldap: remove duplicate prototype.
...
Guenther
2011-11-17 02:11:46 +01:00
Andrew Bartlett
9524e2fce1
param: calculate server role from security, and security from server role
...
This allows smb.conf files from either the samba3 or samba4 tradition
to come to the same value of server role, using the information in the
smb.conf file.
This is important so that tools like 'net getlocalsid' work against a
Samba4 AD installation (yes, users have tried this).
Andrew Bartlett
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17 00:34:08 +01:00
Andrew Bartlett
f099feaa01
s3-param remove lp_domain_logons(), always use IS_DC
...
This makes the code internally consistant.
Andrew Bartlett
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17 00:34:08 +01:00
Amitay Isaacs
d97acc8fb9
s3-param: Add "server role" as global parameter
...
This will help extracting server role processing code in common
library.
2011-11-17 00:34:08 +01:00
Björn Baumbach
e4934a1e42
s3-libsmb: introduce option to disable dos error mapping
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-16 19:02:12 +01:00
Günther Deschner
65e2944c67
s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.
...
Guenther
2011-11-16 12:26:26 +01:00
Günther Deschner
af50d7a57f
s3-smbldap: remove duplicate prototype of smbldap_init().
...
Guenther
2011-11-16 12:26:26 +01:00
Günther Deschner
8312ee1367
s3-passdb: split out passdb/pdb_ldap_schema.c
...
Guenther
2011-11-16 12:26:26 +01:00
Günther Deschner
25a00b44d3
s3-smbldap: use include/smb_ldap.h in smbldap.h
...
Guenther
2011-11-16 12:26:26 +01:00
Jeremy Allison
3ede4ffe96
Fix bug #8561 - Password change settings not fully observed.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Nov 16 00:22:41 CET 2011 on sn-devel-104
2011-11-16 00:22:41 +01:00
Andreas Schneider
6cf090070e
s3-winbind: Increase the negative cache entry timout.
...
The timout for the cache entry of a negative connection should be the
double of a connect timeout (which is 30 seconds).
2011-11-15 14:22:00 +01:00
Stefan Metzmacher
e99017af72
s3:libsmb: also remember the optional server name from the negprot response
...
W2K (at least sp4) and higher also send the server name.
metze
2011-11-04 14:16:29 +01:00
Günther Deschner
16627ca313
s3-trustdomcache: make enumerate_domain_trusts() static.
...
Guenther
2011-11-02 16:59:32 +01:00
Andrew Bartlett
87354c9a6d
lib/util Split samba-modules library into public and private parts
...
This will allow OpenChange to get at the symbols it needs, without
exposing any more of this as a public API than we must.
Andrew Bartlett
2011-10-28 13:10:28 +02:00
Günther Deschner
2330e52cac
s3-passdb: use tevent_context in passdb.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Oct 28 13:09:47 CEST 2011 on sn-devel-104
2011-10-28 13:09:47 +02:00
Günther Deschner
0b6ced6209
s3-smbldap: use tevent_context in smbldap.
...
Guenther
2011-10-28 11:35:28 +02:00
Volker Lendecke
37d7d52358
s3: Add serverids_exist
2011-10-27 20:28:31 +02:00
Volker Lendecke
ba0171f724
s3: Add processes_exist
2011-10-27 20:28:31 +02:00
Volker Lendecke
1c4fe39033
s3-ctdb: Add ctdb_processes_exist
...
This sends out a number of process_exists controls in parallel and collects the
replies as they come in.
2011-10-27 20:28:31 +02:00
Volker Lendecke
22ccbf2bd4
s3: Fix some nonempty blank lines
2011-10-27 20:28:31 +02:00
Andreas Schneider
cdb7ef9118
s3: Enable uid wrapper.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Oct 27 15:06:58 CEST 2011 on sn-devel-104
2011-10-27 15:06:58 +02:00
Stefan Metzmacher
7682f61e10
s3:include: implement trans_oob() as wrapper to smb_buffer_oob()
...
metze
2011-10-26 15:33:30 +02:00
Stefan Metzmacher
0d9bd56afb
libcli/smb: merge NEGOTIATE_SECURITY_* flags to smb_constants.h
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Oct 26 11:27:12 CEST 2011 on sn-devel-104
2011-10-26 11:27:12 +02:00
Stefan Metzmacher
e947acaa8a
s3:libsmb: s/event_context/tevent_context/ in async_smb.[ch]
...
metze
2011-10-25 17:58:33 +02:00
Stefan Metzmacher
1fa7300037
libcli/smb: move smb_signing.[ch] to the toplevel
...
metze
2011-10-25 01:47:21 +02:00
Stefan Metzmacher
f3c25bc6a5
libcli/smb: merge LOCKING_ANDX_* and OPLOCK_* defines to smb_constants.h
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Oct 24 17:46:47 CEST 2011 on sn-devel-104
2011-10-24 17:46:47 +02:00
Stefan Metzmacher
ec7cc700b2
libcli/smb: move more defines to smb_constants.h
...
metze
2011-10-24 16:10:36 +02:00
Stefan Metzmacher
6fef69562b
libcli/smb: move CAP_* defines to smb_constants.h
...
metze
2011-10-24 16:10:36 +02:00
Jeremy Allison
662e9c04fb
Fix bug #8541 - readlink() on Linux clients fails if the symlink target is outside of the share.
...
The key is to only allow the lookup to succeed if it's a UNIX level lookup or readlink,
but disallow all other operations.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Oct 22 01:37:41 CEST 2011 on sn-devel-104
2011-10-22 01:37:41 +02:00
Stefan Metzmacher
75d146d3ed
libcli/smb: move smb_seal.c to the toplevel
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104
2011-10-21 10:22:39 +02:00
Andrew Bartlett
0fe4192054
s3-ntlmssp Remove references to auth_ntlmssp_context from the smb sealing code
...
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21 08:44:48 +02:00
Andrew Bartlett
0a0839821a
s3-ntlmssp Remove auth_ntlmssp_session_key()
...
We now just call the gensec_session_key() directly.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21 08:43:38 +02:00
Andrew Bartlett
3f079885b2
s3-ntlmssp Remove auth_ntlmssp_want_feature()
...
We now just call the gensec_want_feature() directly.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21 08:43:33 +02:00
Andrew Bartlett
bd29f79463
s3-ntlmssp use gensec_{seal,unseal,sign,check}_packet
...
This avoids the indirection via the auth_ntlmsssp wrapper functions.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21 08:43:23 +02:00
Andrew Bartlett
487545d48f
s3-ntlmssp Remove auth_ntlmssp_negotiated_sign() and auth_ntlmssp_negotiated_seal()
...
We now just call the gensec_have_feature() directly.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21 08:43:18 +02:00
Andrew Bartlett
083025ccd5
s3-ntlmssp Remove auth_ntlmssp_update wrapper
...
We now just call gensec_update directly.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21 08:43:10 +02:00
Stefan Metzmacher
6d2aaef787
s3:include: make smb_setlen() a macro
...
metze
2011-10-21 08:43:00 +02:00
Stefan Metzmacher
32938ce60d
libcli/smb: move some common defines to smb_constants.h
...
metze
2011-10-21 08:42:59 +02:00
Stefan Metzmacher
d825a2add6
s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static there
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Oct 19 19:06:35 CEST 2011 on sn-devel-104
2011-10-19 19:06:35 +02:00
Stefan Metzmacher
0e0e44a626
s3:libsmb/smb_seal: s/uint16/uint16_t
...
metze
2011-10-19 17:32:23 +02:00
Stefan Metzmacher
1b9c8d4867
s3:include: move smb_seal.c prototypes to smb_crypt.h
...
metze
2011-10-19 17:32:23 +02:00
Stefan Metzmacher
da32fb6b40
s3:include: use smb_[set]len_[nbt|tcp]() macros
...
metze
2011-10-19 15:44:29 +02:00
David Disseldorp
d5ea379428
s3: Remove duplicate fsctl function definitions
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-19 15:44:29 +02:00
Simo Sorce
605d7d965a
pdb-interface: Do not use unid_t here
...
This interface needs to be publicly available, unid_t here is not really useful
and makes it harder to use it as unid_t is not a public union.
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Tue Oct 18 20:57:16 CEST 2011 on sn-devel-104
2011-10-18 20:57:16 +02:00
Andrew Bartlett
fa1275610b
s3-libsmb Use a gensec module to provide the ntlmssp client in ntlmssp_wrap.c
...
This removes the need to have if (ans->gensec_security) everywhere.
Andrew Bartlett
2011-10-18 12:25:30 +02:00
Andrew Bartlett
f9b042641f
s3-ntlmssp split auth_ntlmssp_client_start() into two parts
...
This will allow it to be a wrapper around a gensec module, which
requires that they options be set on a context, but before the
mechanism is started.
This also simplfies the callers, by moving the lp_*() calls
into one place.
Andrew Bartlett
2011-10-18 12:25:30 +02:00
Andrew Bartlett
9068a3080b
s3-auth: use typedefs in auth.h
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18 13:13:33 +11:00