Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-02-10 | s3: Align tldap_add and tldap_add_send | Volker Lendecke | 1 | -3/+3 | |
2011-02-06 | s3: Add primary group in pdb_ads_enum_group_memberships | Volker Lendecke | 1 | -21/+27 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 6 18:41:08 CET 2011 on sn-devel-104 | |||||
2011-02-06 | s3: Fix auth_netlogond to cope with netlogon_creds_CredentialState | Volker Lendecke | 1 | -25/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 6 17:30:48 CET 2011 on sn-devel-104 | |||||
2011-02-06 | s3: Fix a potential memleak in secrets_fetch_trusted_domain_password | Volker Lendecke | 1 | -1/+3 | |
2011-02-06 | s3: In pdb_ads, cope with artificial samu structs | Volker Lendecke | 1 | -2/+10 | |
2011-02-06 | s3: Use strlcpy in pdb_ads_connect | Volker Lendecke | 1 | -2/+2 | |
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-12-01 | s3-waf: avoid module name uppercasing. | Günther Deschner | 1 | -10/+10 | |
This finally allows mixed case module names like the classic build (./configure --shared_modules=charset_CP850) Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 1 18:39:14 CET 2010 on sn-devel-104 | |||||
2010-10-20 | Make getpwnam_alloc() static to lib/username.c, and ensure all username ↵ | Jeremy Allison | 3 | -5/+5 | |
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-18 | s3-waf: fix pdb modules build. | Günther Deschner | 1 | -14/+13 | |
Guenther | |||||
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 15 | -9/+15 | |
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-27 | s3-waf: rework CLDAP and LIBCLI_LDAP subsystems. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-09-27 | s3-waf: move pdb subsystem to pdb/wscript_build. | Günther Deschner | 1 | -0/+48 | |
Guenther | |||||
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-26 | s3: Remove talloc_autofree_context() from lookup_unix_user_name() | Volker Lendecke | 1 | -1/+1 | |
pwd is freed in this routine immediately | |||||
2010-09-26 | s3: Remove talloc_autofree_context() from pdb_init_ads() | Volker Lendecke | 1 | -1/+1 | |
2010-09-20 | s3: Replace sid_binstring and sid_guidstring with PIDL-based alternatives | Andrew Bartlett | 1 | -10/+11 | |
This reduces the manual marshalling of these structures by removing the duplication here. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-20 | s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions. | Günther Deschner | 9 | -17/+26 | |
Guenther | |||||
2010-09-11 | s3-auth Change type of num_sids to uint32_t | Andrew Bartlett | 1 | -2/+3 | |
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-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: use dbwrap.h only where needed. | Günther Deschner | 5 | -0/+5 | |
Guenther | |||||
2010-08-26 | s3-idmap: only include idmap headers where needed. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
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 | 2 | -0/+2 | |
Guenther | |||||
2010-08-14 | s3:pdb_ldap: move some code in ldapsam_create_dom_group() | Michael Adam | 1 | -22/+25 | |
to make the flow more similar to ldapsam_create_user(). This prepares for calling winbind_sid_to_gid() instead of winbind_allocate_gid(): we need the group_sid for this... Michael | |||||
2010-08-06 | s3-passdb: include samr.h where needed. | Günther Deschner | 3 | -0/+3 | |
Guenther | |||||
2010-08-05 | s3-secrets: only include secrets.h when needed. | Günther Deschner | 8 | -0/+8 | |
Guenther | |||||
2010-07-11 | s3: [ug]id_to_unix_... can not fail | Volker Lendecke | 1 | -4/+12 | |
Remove some silly failure checks | |||||
2010-07-06 | s3:pdb_ldap: change LDAP password before samba password hashes | Björn Jacke | 1 | -33/+34 | |
this way we can catch up with password change refuses from ldap password policy overlays and abort the password change early. Thanks to Andy Hanton <andyhanton@gmail.com> for the initial patch. | |||||
2010-07-06 | s3: Fix another aspect of bug 7262 and make paged results work again | Volker Lendecke | 1 | -4/+4 | |
2010-07-05 | s3: Make talloc_attrs() static | Volker Lendecke | 1 | -1/+1 | |
2010-07-01 | s3-libads: only include libds flags where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-06-28 | s3-passdb: Make sure dn is initialized and don't free it. | Andreas Schneider | 1 | -3/+1 | |
dn is just a pointer to a memory which hasn't been duplicated. Found by clang-analyzer. | |||||
2010-06-28 | s3-passdb: Make sure we don't call free on a garbage pointer. | Andreas Schneider | 1 | -1/+1 | |
Found by clang-analyzer. | |||||
2010-06-28 | s3-passdb: Make sure that we don't assign garbage. | Andreas Schneider | 1 | -1/+1 | |
2010-06-10 | s3: Fix EnumDomainAliases when no aliases are in LDAP | Volker Lendecke | 1 | -6/+4 | |
We used to return NT_STATUS_ACCESS_DENIED, now we just return 0 entries, just like W2k8 does. usrmgr.exe was pretty unhappy with the NT_STATUS_ACCESS_DENIED | |||||
2010-06-10 | s3:pdb_ldap: fix bug 7505 - init_sam_from_ldap stores group in sid2uid cache | Michael Adam | 1 | -1/+1 | |
2010-06-10 | s3-passdb: Fix typo in comment. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2010-06-09 | s3: Fix bug 7253 | Volker Lendecke | 1 | -1/+8 | |
acct_ctrl is 32 bit in LOGIN_CACHE, but "w" as a format specifier for tdb_unpack only writes 16 bits. Okay on x86, not okay on Solaris. Thanks to Vladimir.Marek@Sun.COM! Volker | |||||
2010-06-07 | s3:passdb Export function to calculate the proper primary group sid | Simo Sorce | 2 | -86/+132 | |
Don't keep it buried in passdb, this function need to be available for use in places where we do not want to construct an artificial samu struct just to play tricks. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-02 | s3: Allow previous password to be stored and use it to check tickets | Matthieu Patou | 1 | -4/+77 | |
This patch is to fix bug 7099. It stores the current password in the previous password key when the password is changed. It also check the user ticket against previous password. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-31 | s3-build: only use ndr_security.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-29 | s3:passdb Fix memory leak | Simo Sorce | 1 | -0/+1 | |
We were allocating this passwd structure on sampass, but never freeing it nor assigning it to unix_pw where it could be reused. | |||||
2010-05-21 | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 15 | -221/+221 | |
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 | 5 | -229/+229 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | s3-passdb: move get_logon_hours_from_pdb() into samr server. | Günther Deschner | 1 | -23/+0 | |
Guenther | |||||
2010-05-18 | s3:split secrets.c to put machine account secrets in a new file | Andrew Bartlett | 2 | -366/+398 | |
This helps the s3compat effort by allowing these functions to be replaced by functions that query the cli_credentials and secrets.ldb APIs. Also, this changes a couple of DOM_SID to struct dom_sid along the way. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> |