summaryrefslogtreecommitdiffstats
path: root/source4/utils/ntlm_auth.c
Commit message (Collapse)AuthorAgeFilesLines
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-101-1/+1
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth Rework auth subsystem to remove struct auth_serversupplied_infoAndrew Bartlett2011-02-091-2/+2
| | | | | | | | | | | | | This changes auth_serversupplied_info into the IDL-defined struct auth_user_info_dc. This then in turn contains a struct auth_user_info, which is the only part of the structure that is mainted into the struct session_info. The idea here is to avoid keeping the incomplete results of the authentication (such as session keys, lists of SID memberships etc) in a namespace where it may be confused for the finalised results. Andrew Barltett
* s4:security Change struct security_token->sids from struct dom_sid * to ↵Andrew Bartlett2010-08-231-1/+1
| | | | | | | | | struct dom_sid This makes the structure much more like NT_USER_TOKEN in the source3/ code. (The remaining changes are that privilages still need to be merged) Andrew Bartlett
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-16/+16
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:utils/ntlm_auth.c - fix "asprintf" callsMatthias Dieter Wallnöfer2010-05-281-6/+11
|
* s4:auth Allow the operational module to get a user's tokenGroups from authAndrew Bartlett2010-05-201-0/+1
| | | | | | | | This creates a new interface to the auth subsystem, to allow an auth_context to be created from the ldb, and then tokenGroups to be calculated in the same way that the auth subsystem would. Andrew Bartlett
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-2/+1
|
* s4:ntlmssp: rename gensec_ntlmssp_state => ntlmssp_stateStefan Metzmacher2010-03-241-4/+4
| | | | | | | | Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
* Various source4 spelling fixes.Brad Hards2010-02-221-1/+1
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* Fixed some uninitialised variablesMatthias Dieter Wallnöfer2009-06-191-2/+11
| | | | I tried hard to not change the program logic. Should fix bug #6439.
* Port Samba4 to the new combined libcli/auth functionsAndrew Bartlett2009-04-141-1/+0
| | | | | | | For example, some of the new shared functionality was previously in the wkssvc torture test. Andrew Bartlett
* Remove auth/ntlm as a dependency of GENSEC by means of function pointers.Andrew Bartlett2009-02-131-2/+19
| | | | | | | | | | | 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:ntlm_auth: s/private/private1Stefan Metzmacher2009-02-021-16/+16
| | | | metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
* Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2008-11-021-2/+4
| | | | should in the future only contain some settings required for gensec.
* Remove use of lp_*() from ntlm_check.c.Jelmer Vernooij2008-11-011-1/+2
|
* Repel pstring to nsswitch/.Jelmer Vernooij2008-10-221-1/+0
|
* Remove pstring usages.Jelmer Vernooij2008-10-221-14/+10
|
* Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with SambaJelmer Vernooij2008-10-181-3/+3
| | | | 3.
* ntlm_auth: eliminate "cast pointer from integer of different size" warnings ↵Michael Adam2008-06-271-2/+2
| | | | | | | on 64bit. Michael (This used to be commit a0b2440c70a3f453c22159a02ff4a82fe6439cad)
* Use a custom init function for samba4 that sets a samba4Simo Sorce2008-06-141-1/+1
| | | | | | | | specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
* Move NTLM authentication details into auth/ntlmAndrew Bartlett2008-05-051-0/+1
| | | | | | | | This should help clarify the role of the various files around here (done on Jelmer's request). Andrew Bartlett (This used to be commit efa399037511ced8978f2e7661a71aac7a384883)
* Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2008-04-211-5/+5
| | | | | | | | the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
* ntlm_auth: Improve compliance to the Squid helper protocol.Kai Blin2008-03-201-10/+10
| | | | | This fixes bug #4235 for Samba4. (This used to be commit b6bb7621053bccc9d06b1b2ee9f71b1b1acf3b70)
* r26540: Revert my previous commit after concerns raised by Andrew.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
* r26539: Remove unnecessary statics.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
* r26465: ntlm_auth: Remoce pstring.Kai Blin2007-12-211-3/+12
| | | | (This used to be commit 15b388ce51cafcf09301fe6d8a50922a3b9b43d1)
* r26441: Remove global_loadparm uses.Jelmer Vernooij2007-12-211-1/+2
| | | | (This used to be commit 32007c6277efa46341da7741b749a98633d71640)
* r26430: require explicit specification of loadparm context.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 1b947fe0e6e16318e5a8127bb4932d6b5d20bcf6)
* r26355: Eliminate global_loadparm in more places.Jelmer Vernooij2007-12-211-11/+13
| | | | (This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
* r26260: Store loadparm context in gensec context.Jelmer Vernooij2007-12-211-2/+2
| | | | (This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
* r26250: Avoid global_loadparm in a couple more places.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
* r26249: Remove a couple more uses of global_loadparm.Jelmer Vernooij2007-12-211-6/+7
| | | | (This used to be commit 80a61200508a00d5b16a3e748ce92d54b9fefcd2)
* r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij2007-12-211-1/+1
| | | | | | explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
* r26231: Spell check: credentails -> credentials.Jelmer Vernooij2007-12-211-2/+2
| | | | (This used to be commit 4b46888bd0195ab12190f76868719fc018baafd6)
* r26230: Use task-provided loadparm context in a couple more places, avoid ↵Jelmer Vernooij2007-12-211-5/+13
| | | | | | loadparm context inside ntlm_auth. (This used to be commit 3a946d1ffd7739e40beab673ecb0100c178c2e28)
* r26228: Store loadparm context in auth context, move more loadparm_contexts ↵Jelmer Vernooij2007-12-211-2/+5
| | | | | | up the call stack. (This used to be commit ba75f1613a9aac69dd5df94dd8a2b37820acd166)
* r26226: Avoid more uses of global_loadparm.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 6cbce47a3eaef76a89db7cd0ab0d4f6441fc720d)
* r25454: Use standard bool types in a couple more places.Jelmer Vernooij2007-10-101-18/+18
| | | | (This used to be commit 9243b551f30c7aa2763115516a6adcfe5bbddc58)
* r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij2007-10-101-1/+1
| | | | | | | | 2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
* r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2007-10-101-10/+10
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* r25213: use talloc_strdup_append_buffer() instead of talloc_append_string()Stefan Metzmacher2007-10-101-3/+2
| | | | | metze (This used to be commit d0306ed16b55034f48cb514ea1f4dcd1d388ac50)
* r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r25007: Remove more uses of pstring, move ntlmauth-specific utility function ↵Jelmer Vernooij2007-10-101-1/+19
| | | | | | to ntlm-auth.c (This used to be commit 6f224480b230ab7ccfc0417c13e7f4fc3f6f2a13)
* r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
* r24796: Add bounds checking to ntlm_auth, increase initial buffer size to ↵Kai Blin2007-10-101-2/+12
| | | | | | | | 300 to avoid one talloc/fgets loop in the common case, which is slightly over 200 for the KK response. (This used to be commit ba5ac4eeb8086d50e829e1a9944ea89a28eeef2c)
* r24795: When talking to squid, allocate the buffer size dynamically.Kai Blin2007-10-101-27/+36
| | | | (This used to be commit 2b72738e4ecc6ad25a08ce7bf41d8d46fcee4115)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett2007-10-101-1/+4
| | | | | | | | | Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)