summaryrefslogtreecommitdiff
path: root/source4/param/secrets.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-06s4-param Remove 'secrets database' parameterAndrew Bartlett1-1/+1
This is now just secrets.ldb in the private dir, which remains.
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett1-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
2011-05-03s4-param Rename secrets_init() -> randseed_init()Andrew Bartlett1-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
2011-04-29s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett1-1/+1
This is consistent with lock_path() Andrew Bartlett
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell1-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>
2010-10-11s4-param Refactor secrets code to not require an event context.Andrew Bartlett1-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
2010-10-10ldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not ↵Jelmer Vernooij1-1/+1
samdb-specific.
2010-09-24s4-kerberos Move 'set key into keytab' code out of credentials.Andrew Bartlett1-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
2010-09-15s4-secrets: fixed shadowed variable warningAndrew Tridgell1-4/+4
we already have a 'v' in scope
2010-09-15s4-secrets: fetch secure channel type with domain SIDAndrew Tridgell1-1/+15
The secure channel type is needed to work out what DC to connect to Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-11s4:param/secrets.c - reorganise importsMatthias Dieter Wallnöfer1-4/+0
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-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>
2010-06-29s4:secrets Ensure secrets.ldb uses the same hooks as the rest of SambaAndrew Bartlett1-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
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-1/+1
2010-04-06s4:param/secrets.c - add some "char *" castsMatthias Dieter Wallnöfer1-3/+3
Also this quiets some warnings.
2010-02-19s4:winbind Make the 'no SID found' message even more detailedAndrew Bartlett1-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
2010-02-18s4:param Modify secrets_get_domain_sid to give more useful errorsAndrew Bartlett1-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
2009-09-07s4: the secrets.ldb module needs the loadparm opaque setupAndrew Tridgell1-0/+7
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-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
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-2/+2
2008-09-16Use single copy of tdb in both samba3 and samba4.Jelmer Vernooij1-1/+1
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce1-3/+6
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-04-01Add context pointer to secrets functions.Jelmer Vernooij1-23/+10
(This used to be commit 873941d8a8dca8e7ace83f9af9939e4264f78c96)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-1/+1
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2007-12-21r26318: Don't rely on SAMDB functions in secrets database.Jelmer Vernooij1-3/+17
(This used to be commit 791285f66c8f35b4f6bb9fc676bc0adc3e5b172d)
2007-12-21r26250: Avoid global_loadparm in a couple more places.Jelmer Vernooij1-4/+4
(This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
2007-12-21r26205: Pass loadparm_context to secrets_db_connect() rather than using ↵Jelmer Vernooij1-4/+7
global context. (This used to be commit 5718b6cfee86ddfc9cf405c98c68ba848df4d9d7)
2007-12-21r26203: Avoid using ldb_wrap for secrets database.Jelmer Vernooij1-3/+9
(This used to be commit b45093f01fc71714e14422a80a81cf1cc25df3e2)
2007-12-21r26183: The idea of a self-seeding secrets.ldb is nice, but in practice we doAndrew Bartlett1-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)
2007-12-21r26128: Some formatting fixes in secrets.c, fix free of filename, update ↵Jelmer Vernooij1-10/+19
ignores for source/.. (This used to be commit 2d0bd4b3670eaa77d417b2308e7f40ca35082726)
2007-12-21r26123: Use utility function for secrets.tdb path.Jelmer Vernooij1-1/+2
(This used to be commit 48b03ceeff78a1e8af62395abdb47aa8567c9ac5)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij1-1/+3
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-10-10r25547: Convert to standard bool type.Jelmer Vernooij1-2/+2
(This used to be commit 97a241692c4b8dc45e086aa9b959f2cd30b8d6c9)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-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)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-5/+5
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-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)
2007-10-10r20806: make it possible to configure the secrets.ldb urlStefan Metzmacher1-2/+8
via "secrets database = my_secrets.ldb" metze (This used to be commit a096a9741597105140845f59e54a76060da0010b)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce1-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)
2007-10-10r19573: Move secrets.o into param/ (subsystems haven't been integrated yet).Jelmer Vernooij1-0/+177
(This used to be commit 8143de855c0b65346b2d8e59ecdb78952927de4a)