summaryrefslogtreecommitdiffstats
path: root/source4/auth
Commit message (Collapse)AuthorAgeFilesLines
* s4:auth/ntlmssp: let _unwrap fallback to seal if sign only doesn't workStefan Metzmacher2009-07-081-6/+57
| | | | | | | | s4:auth/ntlmssp: let _unwrap fallback to seal if sign only doesn't work Windows always uses SEAL with NTLMSSP on LDAP connection even if not negotiated. metze
* s4:auth It is easier to copy the session key than get talloc right.Andrew Bartlett2009-07-071-4/+3
| | | | | | | | The session keys as supplied already have a reference on them, so stealing them creates challenges. For 16 bytes, it is just easier to be consistant and copy them. Andrew Bartlett
* gensec_start now steals the auth_contextAndrew Tridgell2009-07-011-1/+3
|
* another case that should use py_talloc_referenceAndrew Tridgell2009-07-011-1/+1
|
* removed a redundent talloc_stealAndrew Tridgell2009-07-011-2/+0
|
* fixed the use of talloc_steal in ntlmssp_server Andrew Tridgell2009-07-011-3/+2
| | | | | The previous use of talloc_steal could cause a steal of a pointer that had references. This ensures that doesn't happen
* Rework the kerberos-notes.txt in order and formatDon Davis2009-06-301-0/+803
| | | | | | | | This reworks the notes file to be less stream-of-consciousness and more task for porting, with a very particular focus on a potential port of Samba4 to use MIT Kerberos. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4 auth_winbind: Internally, info3 has utf8 buffers, not utf16 buffers.Kai Blin2009-06-251-63/+16
| | | | Thanks to gd for the catch.
* s4 auth_winbind: Don't allocate the rids for the info3 structure within the loopKai Blin2009-06-251-4/+4
|
* s4: Add libwbclient backend to auth_winbindKai Blin2009-06-252-1/+216
|
* Fixed some uninitialised variablesMatthias Dieter Wallnöfer2009-06-191-5/+1
| | | | I tried hard to not change the program logic. Should fix bug #6439.
* Remove unused variableAndrew Bartlett2009-06-181-3/+0
|
* s4:kdc Allow a password change when the password is expiredAndrew Bartlett2009-06-183-7/+9
| | | | | | | | | | | | | | This requires a rework on Heimdal's windc plugin layer, as we want full control over what tickets Heimdal will issue. (In particular, in case our requirements become more complex in future). The original problem was that Heimdal's check would permit the ticket, but Samba would then deny it, not knowing it was for kadmin/changepw Also (in hdb-samba4) be a bit more careful on what entries we will make the 'change_pw' service mark that this depends on. Andrew Bartlett
* s4:gensec Print GSSAPI error message when unable to find PACAndrew Bartlett2009-06-181-1/+3
|
* pycredentials: Raise MemoryError when unable to create objects.Jelmer Vernooij2009-06-171-1/+6
|
* pycredentials: Fix memory leak.Jelmer Vernooij2009-06-171-1/+7
|
* s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵Andrew Bartlett2009-06-126-15/+27
| | | | | | | | | | | 904d0124b46eed7a8ad6e5b73e892ff34b6865ba) Also including the supporting changes required to pass make test A number of heimdal functions and constants have changed since we last imported a tree (for the better, but inconvenient for us). Andrew Bartlett
* Clarify and expand the Kerberos notes made by Andrew Bartlett in 2005Donald T. Davis2009-06-101-154/+448
| | | | | | | | Compiled with Andrew over a series of phone calls and gobby sessions, with the aim of documenting Kerberos requirements for Samba to us an alternate (ie, MIT) Kerberos library. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Remove copy of kerberos-notes.txt added in incorrect locationAndrew Bartlett2009-06-101-760/+0
|
* Clarify and expand the Kerberos notes made by Andrew Bartlett in 2005Donald T. Davis2009-06-101-0/+760
| | | | | | | | Compiled with Andrew over a series of phone calls and gobby sessions with Andrew, with the aim of documenting Kerberos requirements for Samba to us an alternate (ie, MIT) Kerberos library. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* changed the auth path to use extended DN ops to avoid non-indexed searchesAndrew Tridgell2009-06-042-65/+66
| | | | | | | | | | | | | | | | | | Logs showed that every SAM authentication was causing a non-indexed ldb search for member=XXX. This was previously indexed in Samba4, but since we switched to using the indexes from the full AD schema it now isn't. The fix is to use the extended DN operations to allow us to ask the server for the memberOf attribute instead, with with the SIDs attached to the result. This also means one less search on every authentication. The patch is made more complex by the fact that some common routines use the result of these user searches, so we had to update all searches that uses user_attrs and those common routines to make sure they all returned a ldb_message with a memberOf filled in and the SIDs attached.
* Fix more unresolved symbols.Jelmer Vernooij2009-06-022-10/+1
|
* python: Move helper functions for using param into a separate file ratherJelmer Vernooij2009-06-022-2/+2
| | | | than linking against the python module.
* Fix dependencies when using shared libraries.Jelmer Vernooij2009-06-022-1/+2
|
* use domain_dn not ncnameAndrew Tridgell2009-05-261-3/+2
| | | | fixed up from previous patch that removed the use of crossref records
* Don't use crossRef records to find our own domainAndrew Bartlett2009-05-263-154/+47
| | | | | | | | A single AD server can only host a single domain, so don't stuff about with looking up our crossRef record in the cn=Partitions container. We instead trust that lp_realm() and lp_workgroup() works correctly. Andrew Bartlett
* fixed interpretation of ACB_PWNOTREQAndrew Tridgell2009-05-251-14/+0
| | | | | | This bit actually means that we should ignore the minimum password length field for this user. It doesn't mean that the password should be seen as empty
* Remove unused headersAndrew Bartlett2009-04-194-9/+2
|
* Fix Samba4 build errors with common libcli/samsyncAndrew Bartlett2009-04-165-6/+5
|
* Rework to use new API for common netlogon credential chainingAndrew Bartlett2009-04-141-1/+1
|
* Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett2009-04-146-23/+31
| | | | | | | In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett
* Push schannel_state.c into the top level.Andrew Bartlett2009-04-142-284/+1
| | | | | | This is the server side state for netlogon credential chaining Andrew Bartlett
* Port Samba4 to the new combined libcli/auth functionsAndrew Bartlett2009-04-142-6/+1
| | | | | | | For example, some of the new shared functionality was previously in the wkssvc torture test. Andrew Bartlett
* Move ntlm_check.h into the common libcli/authAndrew Bartlett2009-04-141-76/+0
|
* Move MSRPC-PARSE into the common libcli/authAndrew Bartlett2009-04-142-374/+0
| | | | This is a depenceny of smbencrypt.c
* Move libcli/auth to the top levelAndrew Bartlett2009-04-141-603/+0
|
* Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij2009-03-262-5/+2
|\
| * s4:auth/credentials: use krb5_data_free()Stefan Metzmacher2009-03-261-5/+1
| | | | | | | | metze
| * s4:auth/credentials: include gssapi/gssapi_krb5.hStefan Metzmacher2009-03-261-0/+1
| | | | | | | | metze
* | Strip /usr/include from include flags, so we don't end up includingJelmer Vernooij2009-03-151-0/+2
|/ | | | the system tevent if it's too old.
* Remove -L/usr/lib from a couple more make variables.Jelmer Vernooij2009-03-151-0/+1
|
* Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij2009-03-011-16/+20
|
* s4: Use same function signature for convert_* as s3.Jelmer Vernooij2009-03-011-1/+1
|
* Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij2009-03-011-1/+1
| | | | consistency with Samba 3.
* Push sam_get_server_info_principal into the auth subsystemAndrew Bartlett2009-02-138-63/+122
| | | | | | | | | This means it must be accessed via the supplied auth_context in the GENSEC server, and should remove the hard depenceny of GENSEC on the auth subsystem and ldb (allowing LDB not to rely on LDB is considered a good thing, apparently) Andrew Bartlett
* Remove auth/ntlm as a dependency of GENSEC by means of function pointers.Andrew Bartlett2009-02-1310-31/+136
| | | | | | | | | | | When starting GENSEC on the server, the auth subsystem context must be passed in, which now includes function pointers to the key elements. This should (when the other dependencies are fixed up) allow GENSEC to exist as a client or server library without bundling in too much of our server code. Andrew Bartlett
* s4:auth/ntlm: fix c++ warningStefan Metzmacher2009-02-051-1/+1
| | | | metze
* s4:pyauth: fix compiler warningsStefan Metzmacher2009-02-051-1/+1
| | | | metze
* s4:pycredentials: fix compiler warningsStefan Metzmacher2009-02-052-26/+25
| | | | metze
* s4:auth/credentials: the python bindings don't use swig anymoreStefan Metzmacher2009-02-021-4/+2
| | | | metze