summaryrefslogtreecommitdiffstats
path: root/source4/auth
Commit message (Collapse)AuthorAgeFilesLines
...
* s3/s4 build: Fix execinfo and sasl build error when the libs/headers are in ↵Tim Prouty2008-11-181-1/+5
| | | | | | | non-standard locations. These configure checks have the correct flags at configure time, so let's pass them through so they are used at compile time.
* Fix the build.Jelmer Vernooij2008-11-023-19/+43
|
* Remove use of global_loadparm for disabled gensec backends.Jelmer Vernooij2008-11-023-4/+25
|
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-021-0/+1
| | | | | | Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters.
* Fix the build.Jelmer Vernooij2008-11-022-2/+3
|
* Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2008-11-029-77/+98
| | | | should in the future only contain some settings required for gensec.
* Remove two debug parameters, not used anywhere.Jelmer Vernooij2008-11-021-6/+2
| | | | | Andrew, I was pretty sure these could be removed but if not, please let me know.
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-021-0/+1
|
* Remove unused argument iconv_convenience.Jelmer Vernooij2008-11-014-8/+1
|
* Remove use of lp_*() from ntlm_check.c.Jelmer Vernooij2008-11-013-16/+18
|
* Remove unused include param/param.h.Jelmer Vernooij2008-10-243-3/+0
|
* Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij2008-10-241-1/+1
| | | | make them wrappers around convert_string{,talloc}_convenience().
* Eliminate another instance of global_loadparm.Jelmer Vernooij2008-10-241-0/+2
|
* Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij2008-10-245-14/+7
| | | | functions.
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-2014-16/+14
| | | | remove some unused functions.
* Create a 'straight paper path' for UTF16 passwords.Andrew Bartlett2008-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | This uses a virtual attribute 'clearTextPassword' (name chosen to match references in MS-SAMR) that contains the length-limited blob containing an allegidly UTF16 password. This ensures we do no validation or filtering of the password before we get a chance to MD4 it. We can then do the required munging into UTF8, and in future implement the rules Microsoft has provided us with for invalid inputs. All layers in the process now deal with the strings as length-limited inputs, incluing the krb5 string2key calls. This commit also includes a small change to samdb_result_passwords() to ensure that LM passwords are not returned to the application logic if LM authentication is disabled. The objectClass module has been modified to allow the clearTextPassword attribute to pass down the stack. Andrew Bartlett
* Remove unused variable.Jelmer Vernooij2008-10-151-1/+0
|
* Use common util_file code.Jelmer Vernooij2008-10-121-1/+1
|
* Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij2008-10-121-1/+1
|
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-117-7/+7
|
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-1/+1
| | | | | | Conflicts: source4/Makefile
* Provide the same set of helper functions for DEBUG in Samba 3 and SambaJelmer Vernooij2008-10-111-11/+11
| | | | | | | 4, even though the macros are still different. This makes it possible to use object code compiled with one DEBUG() macro from the other sourceX directory.
* s4:gensec: pass down want_features to the spnego backend mechStefan Metzmacher2008-10-063-1/+24
| | | | metze
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2008-09-301-0/+1
|\
| * Pass session options around; saves another use of global_loadparm.Jelmer Vernooij2008-09-301-0/+1
| |
* | make the schannel creentials persistentAndrew Tridgell2008-09-291-1/+1
|/ | | | | this makes testing with the WSPP test suite much easier over samba restarts
* Cosmetic corrections for the KERBEROS libraryMatthias Dieter Wallnöfer2008-09-241-3/+1
| | | | This commit applies some cosmetic corrections for the KERBEROS library.
* Kerberos cosmetic changes: Revert a part of the patchMatthias Dieter Wallnöfer2008-09-241-1/+3
| | | | Reverts a part of the patch because it changes the function of the code (suggested by Jelmer).
* Cosmetic corrections for the KERBEROS libraryMatthias Dieter Wallnöfer2008-09-244-15/+13
| | | | This commit applies some cosmetic corrections for the KERBEROS library.
* Merge branch 'master' of ssh://git.samba.org/data/git/samba into cryptoJelmer Vernooij2008-09-242-6/+8
|\
| * Fix nasty bug that would come up only if a client connection to a remoteSimo Sorce2008-09-242-6/+8
| | | | | | | | | | | | | | | | | | ldap server suddenly dies. We were creating a wrong talloc hierarchy, so the event.fde was not freed automatically as expected. This in turn made the event system call the ldap io handlers with a null packet structure, causing a segfault. Fix also the ordering in ldap_connection_dead() Thanks to Metze for the huge help in tracking down this one.
* | Move source4/lib/crypto to lib/crypto.Jelmer Vernooij2008-09-246-6/+6
|/
* Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce2008-09-231-1/+1
| | | | | The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
* gensec_krb5: only give away the session key, when the authentication is doneStefan Metzmacher2008-09-231-0/+4
| | | | metze
* gensec_gssapi: only give away the session key, when the authentication is doneStefan Metzmacher2008-09-231-4/+5
| | | | metze
* ntlmssp: only give away the session key, when the authentication is doneStefan Metzmacher2008-09-231-0/+4
| | | | metze
* NTLMSSP Server: Correctly fills in the DNS server name and server domainMatthias Dieter Wallnöfer2008-09-191-21/+17
| | | | | | Don't rely on "get*" system calls but rather on SAMBA "lp_*" calls. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Generate with 1.3.36.Jelmer Vernooij2008-09-184-27/+38
|
* Implement NETLOGON PAC verfication on the server-sideAndrew Bartlett2008-09-031-5/+5
| | | | | | | | This is implemented by means of a message to the KDC, to avoid having to link most of the KDC into netlogon. Andrew Bartlett (This used to be commit 82fcd7941f5c54da2d994c8bd99dd8d86299a296)
* Heimdal provides Kerberos PAC parsing routines. Use them.Andrew Bartlett2008-08-284-89/+170
| | | | | | | | | | | | | | This uses Heimdal's PAC parsing code in the: - LOCAL-PAC test - gensec_gssapi server - KDC (where is was already used, the support code refactored from here) In addition, the service and KDC checksums are recorded in the struct auth_serversupplied_info, allowing them to be extracted for validation across NETLOGON. Andrew Bartlett (This used to be commit 418b440a7b8cdb53035045f3981d47b078be6c1e)
* Put the internal gensec_gssapi state into a header.Andrew Bartlett2008-08-272-43/+69
| | | | | | | | This will allow a torture suite to inspect some otherwise internal details. Andrew Bartlett (This used to be commit 9701149ef75f9771f42000e2b6f44963abfee938)
* gensec_gssapi: only cache the session key in STAGE_DONEStefan Metzmacher2008-08-141-5/+9
| | | | | | | | The key may change because we switch from initiator to acceptor subkey. metze (This used to be commit 66244092a457b2cde6339cb31dcfa73b122ba9b5)
* gensec_gssapi: add support for GENSEC_FEATURE_NEW_SPNEGOStefan Metzmacher2008-08-121-0/+25
| | | | | metze (This used to be commit 9246924effd4d0b08ca1ef87e45ad510020df93e)
* gensec_gssapi: fix compiler warningsStefan Metzmacher2008-08-121-2/+2
| | | | | metze (This used to be commit f4f4bb7fe977301e468ab164ba750b69d9a92306)
* gensec_gssapi: add a function to load the lucid structure onceStefan Metzmacher2008-08-121-15/+44
| | | | | metze (This used to be commit daa986d1d04e59550bb5d33b5075daa414d087ba)
* gensec: add support for new style spnego and correctly handle mechListMICStefan Metzmacher2008-08-123-7/+135
| | | | | metze (This used to be commit 05a3403967d3cf64bca8b06536dc1b20cf835396)
* gensec_gssapi: use the correct signature size for cfx/rfc4121 style signaturesStefan Metzmacher2008-08-081-1/+1
| | | | | metze (This used to be commit fcabe24f96c9677146ca754a502f336c23050339)
* gensec_gssapi: use gsskrb5_get_subkey() to get the session keyStefan Metzmacher2008-08-081-3/+3
| | | | | | | This is needed to get the correct key, when aes keys are used. metze (This used to be commit 7587a7d8b65f27a5865d6873f63a450488da02c9)
* Always set a session key, even for the 'no password' case.Andrew Bartlett2008-08-081-0/+2
| | | | | | | This is for bug 5664 reported by Tom <hto@arcor.de>. Andrew Bartlett (This used to be commit b345c9cf535af35c83da040ac965d9690dc802fe)
* Clarify commentAndrew Bartlett2008-08-081-2/+2
| | | | (This used to be commit 580cce9de38ddd9d59b272b58caadce528321d09)