Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-06-20 | tdb_traverse/tdb_traverse_read: check returns for negative, not -1. | Rusty Russell | 1 | -1/+1 | |
TDB2 returns a negative error number on failure. This is compatible if we always check for < 0 instead of == -1. Also, there's no tdb_traverse_read in TDB2: we don't try to make traverse reliable any more, so there are no write locks anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-06-20 | tdb_compat.h: divert every tdb build and includes to tdb_compat | Rusty Russell | 1 | -1/+1 | |
We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 2 | -2/+2 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-05-31 | s3:groupdb/proto.h: add _GROUPDB_PROTO_H_ guard | Michael Adam | 1 | -0/+5 | |
2011-05-31 | s3:groupdb/proto.h: add GPL/Copyright header | Michael Adam | 1 | -0/+22 | |
2011-05-18 | s3-lib Replace StrCaseCmp() with strcasecmp_m() | Andrew Bartlett | 1 | -7/+7 | |
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett | |||||
2011-05-06 | A couple more off-by-one calculations with strlcpy. | Jeremy Allison | 1 | -2/+2 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 18:39:17 CEST 2011 on sn-devel-104 | |||||
2011-05-06 | s3: only include tdb headers where needed. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
2011-05-04 | Fix warning messages caused by addition of null check in fstrcpy macro. | Jeremy Allison | 1 | -2/+2 | |
2011-03-30 | s3-passdb: add passdb.h where needed. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
2011-03-30 | s3-groupdb: move groupdb headers to groupdb/proto.h. | Günther Deschner | 1 | -0/+75 | |
Guenther | |||||
2011-03-30 | s3-includes: only include system/filesys.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-includes: only include system/passwd.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-winbind: remove global inclusion of libwbclient. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-02-20 | s3: Improve a debug message, we have more than pdb_tdb. | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 20 16:50:05 CET 2011 on sn-devel-104 | |||||
2011-02-02 | s3:groupdb: allow machine accounts as members. | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 2 | -1/+2 | |
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104 | |||||
2010-09-20 | s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions. | Günther Deschner | 1 | -4/+5 | |
Guenther | |||||
2010-09-11 | s3-auth Change type of num_sids to uint32_t | Andrew Bartlett | 1 | -3/+10 | |
size_t is overkill here, and in struct security_token in the num_sids is uint32_t. This includes a change to the prototype of add_sid_to_array() and add_sid_to_array_unique(), which has had a number of consequnetial changes as I try to sort out all the callers using a pointer to the number of sids. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-08-26 | s3-build: use dbwrap.h only where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-14 | s3:groupdb: allocate a gid after allocating a rid in pdb_default_create_alias() | Michael Adam | 1 | -6/+7 | |
Michael | |||||
2010-05-21 | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 3 | -57/+57 | |
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | s3-rpc_misc: clean out include/rpc_misc.h. | Günther Deschner | 1 | -1/+1 | |
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther | |||||
2010-04-14 | s3: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2010-03-14 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -17/+15 | |
2010-03-02 | s3: Fix some C++ warnings | Volker Lendecke | 1 | -1/+1 | |
2010-03-02 | s3: Fix an uninitialized variable warning | Volker Lendecke | 1 | -1/+1 | |
2010-03-01 | s3:groupmap revert to tdb storage | Simo Sorce | 3 | -732/+268 | |
Group mapping needs to be cluster aware, and this means using the tdb backend. Remove ldb group mapping as this is not cluster aware. | |||||
2010-02-27 | s3: Copy the mapping.c license header to mapping.h | Volker Lendecke | 1 | -0/+22 | |
We need some license header there. If this does incorrect copyright attributions, please correct this. | |||||
2010-01-10 | s3: Replace most calls to sid_append_rid() by sid_compose() | Volker Lendecke | 1 | -2/+1 | |
2009-06-08 | Pass a talloc_ctx to pdb_enum_aliasmem | Volker Lendecke | 4 | -8/+14 | |
2009-06-07 | s3-groupdb: fix enum_aliasmem in ldb branch. | Günther Deschner | 1 | -1/+1 | |
It is totally valid to have an alias with no members. Tridge, please check. Found by RPC-SAMR torture test. Guenther | |||||
2009-05-21 | Don't steal when we know the ptr will be null. Thanks to Simo for | Jeremy Allison | 1 | -2/+1 | |
pointing this out. Jeremy. | |||||
2009-05-21 | Revert the last two commits (fix for #6386). The actual problem | Jeremy Allison | 1 | -7/+9 | |
was a bug in ldb in 3.2 which could return a freed pointer on ret != LDAP_SUCCESS. The main thing we must ensure is that we never talloc_steal until we know LDAP_SUCCESS was returned. Jeremy. | |||||
2009-05-21 | Ensure all possible uses of indirection through res are checked after | Jeremy Allison | 1 | -6/+6 | |
an ldb_search. Jeremy. | |||||
2009-05-21 | Attempt to fix bug #6386 - Samba Panic triggered by Sophos Control Centre. | Jeremy Allison | 1 | -1/+1 | |
Don't indirect a potentially null pointer. Jeremy. | |||||
2009-05-11 | Fix a bunch of compiler warnings about wrong format types. | Jeremy Allison | 1 | -3/+3 | |
Should make Solaris 10 builds look cleaner. Jeremy. | |||||
2009-04-23 | samba3/ldb: Update the ldb_dn API to match that of the Samba 4 LDB: | Jelmer Vernooij | 1 | -4/+4 | |
* ldb_dn_new() now takes an initial DN string * ldb_dn_string_compose() -> ldb_dn_new_fmt() * dummy ldb_dn_validate(), since LDB DNs in the current implementation are always valid if they could be created. | |||||
2009-04-23 | ldb/samba3: Support event context argument to ldb_init(). | Jelmer Vernooij | 1 | -1/+1 | |
This argument is ignored (Samba3's LDB is synchronous) but having it there is useful for API compatibility with the LDB used by Samba 4 and available on some systems. | |||||
2009-02-07 | Fix a couple of memleaks in mapping_ldb.c | Volker Lendecke | 1 | -35/+52 | |
2009-01-21 | Replace ldb_search() with ldb_search_exp_fmt(), like in Samba 4. | Jelmer Vernooij | 1 | -36/+12 | |
2009-01-21 | Reorder arguments to ldb_search() to match what is in Samba 4. | Jelmer Vernooij | 1 | -6/+6 | |
2008-11-04 | Ignore 3.0 style invalid group mappings during upgrade to ldb | Volker Lendecke | 1 | -0/+7 | |
2008-10-18 | Use separate make variables for libutil and libcrypto. | Jelmer Vernooij | 1 | -2/+2 | |
2008-09-29 | s3:mapping_tdb: fix the del_aliasmem() function | Stefan Metzmacher | 1 | -3/+2 | |
We should not cancel the transaction, when we want to delete a key. metze | |||||
2008-08-27 | Be explicit about setting perms for the ldb. Helps others who may use this api. | Jeremy Allison | 1 | -0/+3 | |
Jeremy. (This used to be commit f0ea0f3502037db878238942ee0729f6940e0b01) | |||||
2008-08-27 | ldb: Fix permissions of group_mapping.ldb. | Andrew Tridgell | 1 | -1/+7 | |
This one fixes bug #5715 and CVE-2008-3789. (cherry picked from commit a94f44c49f668fcf12f4566777a668043326bf97) (This used to be commit 2eaf4ed62220246bcc1a9702166b0b4f381fdae3) | |||||
2008-08-13 | fixed lots of places that paniced on a failed transaction_commit, | Andrew Tridgell | 1 | -2/+2 | |
thinking it was a failure of a transaction cancel (This used to be commit 22dbe158ed62ae47bbcb41bba3db345294f75437) | |||||
2008-08-13 | first cut at adding full transactions for ctdb to samba3 | Andrew Tridgell | 1 | -1/+1 | |
(This used to be commit f91a3e0f7b7737c1d0667cd961ea950e2b93e592) | |||||
2008-07-14 | Add fix from Simo for bug #5540 - missing code to substitute | Jeremy Allison | 1 | -3/+6 | |
%u. Make this the same as other uses. Jeremy. (This used to be commit c4a137e9789b06047ce53e5828fb5e1bb76aca06) |