Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-21 | s3-passdb: Only delete 1 entry from memcache. | Andreas Schneider | 1 | -1/+4 | |
If we delete or update one user we shouldn't flush the complete memcache. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Sun Aug 21 16:39:10 CEST 2011 on sn-devel-104 | |||||
2011-08-21 | s3-passdb: Remove always the user from getpwsid cache. | Andreas Schneider | 1 | -3/+8 | |
We should do it always, not only in the pdb_default_delete_user() function. Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2011-08-21 | s3-passdb: Keep caches coherent | Andreas Schneider | 1 | -1/+23 | |
When deleting a user send a message to all interested parties so they can purge their caches. Otherwise some processes may positively respond with a cached getpwnam, when the user have actully been removed. Without this some tests that remove and then immediately create users are flakey. Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2011-08-15 | s3-passdb Use supplied pdb_methods in default passdb search handlers | Andrew Bartlett | 1 | -5/+7 | |
2011-08-13 | passdb: Call with correct backend methods instead of default methods | Amitay Isaacs | 1 | -3/+5 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-13 | passdb: Add a function to expose loaded backend list. | Amitay Isaacs | 1 | -0/+6 | |
This function is used in python wrapper to list available python backends. | |||||
2011-07-31 | s3-secrets: add lsa_secret passdb api. | Günther Deschner | 1 | -3/+11 | |
Guenther | |||||
2011-07-31 | s3-passdb: add dummy calls to control global (replicated) secrets. | Günther Deschner | 1 | -0/+68 | |
Guenther | |||||
2011-06-12 | s3-passdb: Implement new pdb trust calls for the default backend | Sumit Bose | 1 | -2/+102 | |
Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Sun Jun 12 06:45:25 CEST 2011 on sn-devel-104 | |||||
2011-06-09 | s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-03-30 | s3-passdb: add passdb.h where 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 | lib/util/util_pw: share sys_get{pw,gr} group of calls. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-02-22 | s3:auth: change num_groups to from size_t to uint32_t | Stefan Metzmacher | 1 | -5/+5 | |
This will help with the change from UNIX_USER_TOKEN to security_unix_token metze | |||||
2011-02-16 | s3-ipasam: add ipasam_get_trusted_domain_by_sid() | Sumit Bose | 1 | -0/+16 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-02-16 | s3-passdb: add {get,set,del,enum}_trusted_domain calls | Sumit Bose | 1 | -0/+65 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-01-17 | s3-auth: Fixed account lockout check. | Andreas Schneider | 1 | -1/+1 | |
2010-12-07 | Make sure that user exists after running add user script before adding sam ↵ | Bjoern Baumbach | 1 | -0/+5 | |
account. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 7 17:37:52 CET 2010 on sn-devel-104 | |||||
2010-10-20 | Make getpwnam_alloc() static to lib/username.c, and ensure all username ↵ | Jeremy Allison | 1 | -2/+2 | |
lookups go through Get_Pwnam_alloc(), which is the correct wrapper function. We were using it *some* of the time anyway, so this just makes us properly consistent. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 20 16:02:12 UTC 2010 on sn-devel-104 | |||||
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 1 | -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 | |||||
2010-10-03 | s3: Remove talloc_autofree_context from pdb_interface | Volker Lendecke | 1 | -1/+1 | |
None of the pdb backends have special destructors that need to be run at program exit. | |||||
2010-09-26 | s3: Remove talloc_autofree_context() from guest_user_info() | Volker Lendecke | 1 | -1/+2 | |
pwd is freed a few lines down | |||||
2010-09-20 | s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2010-08-30 | s3-passdb: Try to unlock the account if it is locked out. | Andreas Schneider | 1 | -10/+53 | |
Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-08-30 | s3-passdb: Added a pdb_try_account_unlock function. | Andreas Schneider | 1 | -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> | |||||
2010-08-26 | s3-build: only include nsswitch header where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-26 | s3-build: only include memcache.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-06 | s3-passdb: include samr.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-05 | s3-secrets: only include secrets.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-06-10 | s3-passdb: Fix typo in comment. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2010-05-21 | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 1 | -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> | |||||
2010-05-21 | s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 types | Andrew Bartlett | 1 | -41/+41 | |
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 | -3/+3 | |
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther | |||||
2010-02-05 | s3: Make guest_user_info() static | Volker Lendecke | 1 | -1/+1 | |
2010-01-10 | s3: Replace most calls to sid_append_rid() by sid_compose() | Volker Lendecke | 1 | -2/+1 | |
2009-11-14 | s3:passdb: remove the uid_to_rid method - we only need uid_to_sid | Michael Adam | 1 | -28/+0 | |
Michael | |||||
2009-11-14 | s3:pdb_default_uid_to_sid: fix some debug statements. | Michael Adam | 1 | -3/+3 | |
Michael | |||||
2009-07-14 | s3-account_policy: add pdb_policy_type enum. | Günther Deschner | 1 | -8/+8 | |
Guenther | |||||
2009-07-04 | Add pdb_get_domain_info | Volker Lendecke | 1 | -0/+13 | |
2009-06-28 | Turn the pdb_rid_algorithm into a capabilities call that returns flags | Volker Lendecke | 1 | -6/+6 | |
2009-06-08 | Fix some nonempty blank lines | Volker Lendecke | 1 | -34/+34 | |
2009-06-08 | Pass a talloc_ctx to pdb_enum_aliasmem | Volker Lendecke | 1 | -2/+3 | |
2009-06-06 | s3/passdb: Fix debug message: 'net setmaxrid' does not exist. | Karolin Seeger | 1 | -2/+2 | |
This is aiming bug #6351. Karolin | |||||
2009-05-29 | util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique. | Günther Deschner | 1 | -20/+0 | |
Guenther | |||||
2009-05-28 | TALLOC_ZERO_P->talloc_zero | Volker Lendecke | 1 | -1/+2 | |
2009-05-28 | Do not segfault in pdb_search_destructor if no real search was started | Volker Lendecke | 1 | -1/+2 | |
2009-05-11 | Fix a bunch of compiler warnings about wrong format types. | Jeremy Allison | 1 | -1/+1 | |
Should make Solaris 10 builds look cleaner. Jeremy. | |||||
2009-03-07 | Shape up pdb_search a bit by making it a talloc ctx with a destructor | Volker Lendecke | 1 | -35/+28 | |
2009-02-21 | Fix a typo | Volker Lendecke | 1 | -1/+1 | |