summaryrefslogtreecommitdiffstats
path: root/source4/param/secrets.c
Commit message (Collapse)AuthorAgeFilesLines
* s4-param Remove 'secrets database' parameterAndrew Bartlett2011-06-061-1/+1
| | | | This is now just secrets.ldb in the private dir, which remains.
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-061-1/+1
| | | | | | | | | This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
* s4-param Rename secrets_init() -> randseed_init()Andrew Bartlett2011-05-031-5/+5
| | | | | | | | | This only sets up the random number generator callback these days, so use a different database for that. (All secrets data in Samba4 is in secrets.ldb) Andrew Bartlett
* s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett2011-04-291-1/+1
| | | | | | This is consistent with lock_path() Andrew Bartlett
* 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-param Refactor secrets code to not require an event context.Andrew Bartlett2010-10-111-4/+2
| | | | | | | | A new event context is constructed by LDB when required for secrets.ldb This will be essentially unused, as LDB on TDB will only trigger 'fake' events, and blocks on transactions and lock operations anyway. Andrew Bartlett
* ldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not ↵Jelmer Vernooij2010-10-101-1/+1
| | | | samdb-specific.
* s4-kerberos Move 'set key into keytab' code out of credentials.Andrew Bartlett2010-09-241-0/+25
| | | | | | | | This code never really belonged in the credentials layer, and is easier done with direct access to the ldb_message that is in secrets.ldb. Andrew Bartlett
* s4-secrets: fixed shadowed variable warningAndrew Tridgell2010-09-151-4/+4
| | | | we already have a 'v' in scope
* s4-secrets: fetch secure channel type with domain SIDAndrew Tridgell2010-09-151-1/+15
| | | | | | The secure channel type is needed to work out what DC to connect to Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:param/secrets.c - reorganise importsMatthias Dieter Wallnöfer2010-09-111-4/+0
|
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-1/+1
| | | | | | | 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:secrets Ensure secrets.ldb uses the same hooks as the rest of SambaAndrew Bartlett2010-06-291-40/+3
| | | | | | | This ensures that, for example, the utf8 functions are the same, the GUID handler is the same and the NOSYNC flag is applied. Andrew Bartlett
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-1/+1
|
* s4:param/secrets.c - add some "char *" castsMatthias Dieter Wallnöfer2010-04-061-3/+3
| | | | Also this quiets some warnings.
* s4:winbind Make the 'no SID found' message even more detailedAndrew Bartlett2010-02-191-3/+7
| | | | | | | Now we give the user a clue as to what may be wrong, and the file path that we could not find the domain SID in. Andrew Bartlett
* s4:param Modify secrets_get_domain_sid to give more useful errorsAndrew Bartlett2010-02-181-27/+16
| | | | | | | | | This also moves the calls to secrets_get_domain_sid back into winbind_task_init(), so that we can terminate with a much more detailed error message. (The previous message was simply NT_STATUS_CANT_ACCESS_DOMAIN_INFO). Andrew Bartlett
* s4: the secrets.ldb module needs the loadparm opaque setupAndrew Tridgell2009-09-071-0/+7
|
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-2/+2
| | | | | | | | | | | | | | | | | | | | 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
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-111-2/+2
|
* Use single copy of tdb in both samba3 and samba4.Jelmer Vernooij2008-09-161-1/+1
|
* Make up the right dependencies now that ldb depends on libeventsSimo Sorce2008-06-141-3/+6
| | | | (This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
* Add context pointer to secrets functions.Jelmer Vernooij2008-04-011-23/+10
| | | | (This used to be commit 873941d8a8dca8e7ace83f9af9939e4264f78c96)
* r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij2008-01-011-1/+1
| | | | | | library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
* r26318: Don't rely on SAMDB functions in secrets database.Jelmer Vernooij2007-12-211-3/+17
| | | | (This used to be commit 791285f66c8f35b4f6bb9fc676bc0adc3e5b172d)
* r26250: Avoid global_loadparm in a couple more places.Jelmer Vernooij2007-12-211-4/+4
| | | | (This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
* r26205: Pass loadparm_context to secrets_db_connect() rather than using ↵Jelmer Vernooij2007-12-211-4/+7
| | | | | | global context. (This used to be commit 5718b6cfee86ddfc9cf405c98c68ba848df4d9d7)
* r26203: Avoid using ldb_wrap for secrets database.Jelmer Vernooij2007-12-211-3/+9
| | | | (This used to be commit b45093f01fc71714e14422a80a81cf1cc25df3e2)
* r26183: The idea of a self-seeding secrets.ldb is nice, but in practice we doAndrew Bartlett2007-12-211-11/+0
| | | | | | | | this with the provision, which sets up a very different database. Removing this ensures we are consistant. Andrew Bartlett (This used to be commit 6d4d20ebaf5ae5c9e2629cd58c0dc5d699aad450)
* r26128: Some formatting fixes in secrets.c, fix free of filename, update ↵Jelmer Vernooij2007-12-211-10/+19
| | | | | | ignores for source/.. (This used to be commit 2d0bd4b3670eaa77d417b2308e7f40ca35082726)
* r26123: Use utility function for secrets.tdb path.Jelmer Vernooij2007-12-211-1/+2
| | | | (This used to be commit 48b03ceeff78a1e8af62395abdb47aa8567c9ac5)
* r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij2007-12-211-1/+3
| | | | (This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
* r25547: Convert to standard bool type.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit 97a241692c4b8dc45e086aa9b959f2cd30b8d6c9)
* r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij2007-10-101-2/+2
| | | | | | | | 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-5/+5
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* 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)
* r20806: make it possible to configure the secrets.ldb urlStefan Metzmacher2007-10-101-2/+8
| | | | | | | via "secrets database = my_secrets.ldb" metze (This used to be commit a096a9741597105140845f59e54a76060da0010b)
* r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce2007-10-101-1/+1
| | | | | | | | | | | | | | | | | This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
* r19573: Move secrets.o into param/ (subsystems haven't been integrated yet).Jelmer Vernooij2007-10-101-0/+177
(This used to be commit 8143de855c0b65346b2d8e59ecdb78952927de4a)