1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/passdb
Steve Langasek 31db7d2985 Fix bug 8920, null dereference
Description: Avoid null dereference in initialize_password_db()
 When initialize_password_db() is called with reload=True, it's assumed that
 the free_private_data member of pdb_methods is non-null.  This is not
 necessarily the case, as the tdb backend has no private data and therefore
 no free function.  Check to see if we have private data that needs freed
 before calling.
Author: Steve Langasek <steve.langasek@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/829221

Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Thu May 10 11:07:27 CEST 2012 on sn-devel-104
2012-05-10 11:07:27 +02:00
..
account_pol.c s3: Add a "lock_order" argument to db_open 2012-01-18 14:48:04 +01:00
login_cache.c tdb_compat: Higher level API fixes. 2011-06-20 11:18:35 +02:00
lookup_sid.c s3-idmap: convert most idmap_cache callers to unixid API 2012-05-02 13:18:03 +02:00
lookup_sid.h s3:passdb: remove a forward declaration of wbcSidToUnixId that has become unnecessary 2012-05-02 13:17:54 +02:00
machine_account_secrets.c s3-secrets: Remove unused secrets_delete_machine_password() 2012-02-18 07:28:07 +01:00
machine_sid.c s3-passdb: trying to decouple passdb and secrets a little. 2012-01-18 14:46:18 +01:00
machine_sid.h s3-passdb: add define guards for machine_sid.h. 2011-10-14 12:07:24 +02:00
passdb.c s3: Use hex_encode_buf 2012-05-04 20:32:37 +02:00
pdb_ads.c s3:passdb fix a compiler warning 2012-05-03 23:22:05 +02:00
pdb_compat.c s3-passdb: add passdb.h where needed. 2011-03-30 01:13:07 +02:00
pdb_get_set.c s3-passdb: Remove unused sampass->pass_must_change_time 2012-04-19 12:34:33 +02:00
pdb_interface.c Fix bug 8920, null dereference 2012-05-10 11:07:27 +02:00
pdb_ipa.c s3-pdb: Make ADS-type backends updates secrets.tdb. 2012-01-27 19:42:17 +01:00
pdb_ipa.h s3-passdb: split out passdb/pdb_ipa.h. 2011-10-11 12:15:36 +02:00
pdb_ldap_schema.c s3-passdb: split out passdb/pdb_ldap_schema.c 2011-11-16 12:26:26 +01:00
pdb_ldap_schema.h s3-passdb: split out passdb/pdb_ldap_schema.c 2011-11-16 12:26:26 +01:00
pdb_ldap_util.c s3-smbldap: remove duplicate prototype. 2011-11-17 02:11:46 +01:00
pdb_ldap_util.h s3: move smbldap_util to pdb_ldap_util. 2011-11-16 12:26:26 +01:00
pdb_ldap.c s3-idmap: convert most idmap_cache callers to unixid API 2012-05-02 13:18:03 +02:00
pdb_ldap.h s3-passdb: split out passdb/pdb_ldap.h. 2011-10-11 10:41:29 +02:00
pdb_nds.c s3-passdb: split out passdb/pdb_nds.h. 2011-10-11 10:41:29 +02:00
pdb_nds.h s3-passdb: split out passdb/pdb_nds.h. 2011-10-11 10:41:29 +02:00
pdb_samba4.c s3-passdb: Change pdb_sid_to_id() to return struct unixid 2012-05-02 12:45:29 +02:00
pdb_secrets.c s3-passdb: trying to decouple passdb and secrets a little. 2012-01-18 14:46:18 +01:00
pdb_secrets.h s3-passdb: trying to decouple passdb and secrets a little. 2012-01-18 14:46:18 +01:00
pdb_smbpasswd.c build: Remove SMB_OFF_T, replace with off_t 2012-04-06 01:47:43 +02:00
pdb_smbpasswd.h s3-passdb: split out passdb/pdb_smbpasswd.h. 2011-10-10 20:14:46 +02:00
pdb_tdb.c s3: Add a "lock_order" argument to db_open 2012-01-18 14:48:04 +01:00
pdb_tdb.h s3-passdb: split out passdb/pdb_tdb.h. 2011-10-10 18:40:33 +02:00
pdb_util.c s3: create_builtin_users/administrators belongs to passdb not auth. 2011-03-30 01:13:07 +02:00
pdb_wbc_sam.c s3-group-mapping: Remove fstrings from GROUP_MAP. 2011-10-12 19:28:12 +02:00
pdb_wbc_sam.h s3-passdb: split out passdb/pdb_wbc_sam.h. 2011-10-10 18:40:40 +02:00
py_passdb.c s3-pypassdb: add wrapper for enum_group_memberships 2012-05-03 08:09:09 +10:00
secrets_lsa.c s3-secrets: add lsa_secret passdb api. 2011-07-31 22:37:26 +02:00
secrets.c lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
wscript_build s3-waf: Link tdbsam against needed libraries. 2012-02-07 12:49:59 +01:00