summaryrefslogtreecommitdiffstats
path: root/source3/passdb/pdb_interface.c
Commit message (Collapse)AuthorAgeFilesLines
...
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-1/+1
| | | | | | | | | | | | | | 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
* s3: Remove talloc_autofree_context from pdb_interfaceVolker Lendecke2010-10-031-1/+1
| | | | | None of the pdb backends have special destructors that need to be run at program exit.
* s3: Remove talloc_autofree_context() from guest_user_info()Volker Lendecke2010-09-261-1/+2
| | | | pwd is freed a few lines down
* s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner2010-09-201-1/+2
| | | | Guenther
* s3-passdb: Try to unlock the account if it is locked out.Andreas Schneider2010-08-301-10/+53
| | | | Signed-off-by: Simo Sorce <idra@samba.org>
* s3-passdb: Added a pdb_try_account_unlock function.Andreas Schneider2010-08-301-0/+74
| | | | | | | | The function checks if the account has been autolocked. If we have a lockout_duration and a bad password time it checks if we can unlock the account. Signed-off-by: Simo Sorce <idra@samba.org>
* s3-build: only include nsswitch header where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-build: only include memcache.h where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-passdb: include samr.h where needed.Günther Deschner2010-08-061-0/+1
| | | | Guenther
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3-passdb: Fix typo in comment.Karolin Seeger2010-06-101-1/+1
| | | | Karolin
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-44/+44
| | | | | | | | | | 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>
* s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 typesAndrew Bartlett2010-05-211-41/+41
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner2010-05-181-3/+3
| | | | | | | Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
* s3: Make guest_user_info() staticVolker Lendecke2010-02-051-1/+1
|
* s3: Replace most calls to sid_append_rid() by sid_compose()Volker Lendecke2010-01-101-2/+1
|
* s3:passdb: remove the uid_to_rid method - we only need uid_to_sidMichael Adam2009-11-141-28/+0
| | | | Michael
* s3:pdb_default_uid_to_sid: fix some debug statements.Michael Adam2009-11-141-3/+3
| | | | Michael
* s3-account_policy: add pdb_policy_type enum.Günther Deschner2009-07-141-8/+8
| | | | Guenther
* Add pdb_get_domain_infoVolker Lendecke2009-07-041-0/+13
|
* Turn the pdb_rid_algorithm into a capabilities call that returns flagsVolker Lendecke2009-06-281-6/+6
|
* Fix some nonempty blank linesVolker Lendecke2009-06-081-34/+34
|
* Pass a talloc_ctx to pdb_enum_aliasmemVolker Lendecke2009-06-081-2/+3
|
* s3/passdb: Fix debug message: 'net setmaxrid' does not exist.Karolin Seeger2009-06-061-2/+2
| | | | | | This is aiming bug #6351. Karolin
* util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.Günther Deschner2009-05-291-20/+0
| | | | Guenther
* TALLOC_ZERO_P->talloc_zeroVolker Lendecke2009-05-281-1/+2
|
* Do not segfault in pdb_search_destructor if no real search was startedVolker Lendecke2009-05-281-1/+2
|
* Fix a bunch of compiler warnings about wrong format types.Jeremy Allison2009-05-111-1/+1
| | | | | Should make Solaris 10 builds look cleaner. Jeremy.
* Shape up pdb_search a bit by making it a talloc ctx with a destructorVolker Lendecke2009-03-071-35/+28
|
* Fix a typoVolker Lendecke2009-02-211-1/+1
|
* Memory leaks and other fixes found by Coveritytodd stecher2009-01-211-0/+6
|
* Fix more ‘asprintf’, declared with attribute warn_unused_result.Jeremy Allison2008-12-231-8/+14
| | | | Jeremy.
* Make memcache_add_talloc NULL out the source pointerVolker Lendecke2008-11-141-7/+7
| | | | | | This is an orthogonality measure to make clear this pointer now belongs to the cache. (cherry picked from commit e6080c6e87d6fe3995b121a772bf3f6343fa666f)
* Make us clean under valgrind --leak-check=full by using ↵Jeremy Allison2008-11-061-2/+2
| | | | | | | | | | talloc_autofree_context() instead of NULL. Remove the code in memcache that does a TALLOC_FREE on stored pointers. That's a disaster waiting to happen. If you're storing talloc'ed pointers, you can't know their lifecycle and they should be deleted when their parent context is deleted, so freeing them at some arbitrary point later will be a double-free. Jeremy.
* Fix bug #5825 - Account locking out doesnt work with an LDAP backend.Based ↵Jeremy Allison2008-11-061-1/+3
| | | | | | on a problem found by Boyang. Only the pdb_nds backend implements login attempts so this was broken for tdbsam and ldap. Jeremy.
* pdb_interface: Fix typo in debug message.Karolin Seeger2008-07-291-1/+1
| | | | | Karolin (This used to be commit e04da654c0db6b0fb2e2ce9754e5eba80751c14c)
* nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macrosStefan Metzmacher2008-02-131-2/+2
| | | | | metze (This used to be commit 5f623f54a919cc687d0ff16c16038c05a501008d)
* Fix typo.Karolin Seeger2008-02-081-1/+1
| | | | | Karolin (This used to be commit 53b83bb53ff02878748fada589fd2faf3520d260)
* Convert csamuser to memcacheVolker Lendecke2007-12-281-27/+26
| | | | (This used to be commit 476d3abf9c6142d99822212141fc3d843aca4798)
* Remove the sampwent interfaceVolker Lendecke2007-12-261-122/+1
| | | | (This used to be commit 9e80b969fb40766de2c9b1a05d16bf4d4c6e46f7)
* Remove Get_Pwnam and its associated static variableVolker Lendecke2007-12-191-1/+2
| | | | | All callers are replaced by Get_Pwnam_alloc (This used to be commit 735f59315497113aebadcf9ad387e3dbfffa284a)
* s/sid_to_string/sid_to_fstring/Volker Lendecke2007-12-151-1/+1
| | | | | least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
* Replace sid_string_static with sid_to_stringVolker Lendecke2007-12-151-1/+2
| | | | | | This adds 28 fstrings on the stack, but I think an fstring on the stack is still far better than a static one. (This used to be commit c7c885078be8fd3024c186044ac28275d7609679)
* Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2007-12-151-4/+4
| | | | (This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
* More pstring elimination.Jeremy Allison2007-11-201-15/+32
| | | | | Jeremy. (This used to be commit 15074de938539e7a9c527d9a6d81792adc2ac3d0)
* remove faked_create_user() BUILD_FARM hack as we have nss_wrapper nowStefan Metzmacher2007-11-091-8/+0
| | | | | metze (This used to be commit fc98c1904865608509a01911afa46de74873ef41)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-57/+57
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r25401: BUG 4982: Don't delete lanman hashes on invalid logins whenGerald Carter2007-10-101-1/+1
| | | | | using the "lanman auth = no". Tested by Guenter Kukkukk. (This used to be commit 611fdd95a583ebd22ffa17e2f39c5a1bb0936c63)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)