1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/passdb
Jeremy Allison f9147c4e40 r16241: Fix Klocwork #106 and others like it.
Make 2 important changes. pdb_get_methods()
returning NULL is a *fatal* error. Don't try
and cope with it just call smb_panic. This
removes a *lot* of pointless "if (!pdb)" handling
code. Secondly, ensure that if samu_init()
fails we *always* back out of a function. That
way we are never in a situation where the pdb_XXX()
functions need to start with a "if (sampass)"
test - this was just bad design, not defensive
programming.
Jeremy.
(This used to be commit a0d368197d)
2007-10-10 11:17:27 -05:00
..
login_cache.c r13576: This is the beginnings of moving the SAM_ACCOUNT data structure 2007-10-10 11:10:15 -05:00
lookup_sid.c r16064: Bug fix for another one Tom Bork has reported: 2007-10-10 11:17:19 -05:00
machine_sid.c r13316: Let the carnage begin.... 2007-10-10 11:06:23 -05:00
passdb.c r16241: Fix Klocwork #106 and others like it. 2007-10-10 11:17:27 -05:00
pdb_compat.c r13679: Commiting the rm_primary_group.patch posted on samba-technical 2007-10-10 11:10:23 -05:00
pdb_get_set.c r16241: Fix Klocwork #106 and others like it. 2007-10-10 11:17:27 -05:00
pdb_interface.c r16241: Fix Klocwork #106 and others like it. 2007-10-10 11:17:27 -05:00
pdb_ldap.c r16121: Fix a eDir related memory leak. 2007-10-10 11:17:21 -05:00
pdb_nds.c r15542: Close the LDAP connection and free the struct, regardless whether the 2007-10-10 11:16:57 -05:00
pdb_plugin.c r13460: by popular demand.... 2007-10-10 11:10:04 -05:00
pdb_smbpasswd.c r16155: Janitor for jelmer. 2007-10-10 11:17:23 -05:00
pdb_tdb.c r16014: Correctly set the group RID in init_sam_from_buffer. 2007-10-10 11:17:17 -05:00
secrets.c r16197: Fix Klocwork id 1338 2007-10-10 11:17:24 -05:00
util_builtin.c r13316: Let the carnage begin.... 2007-10-10 11:06:23 -05:00
util_unixsids.c r13571: Replace all calls to talloc_free() with thye TALLOC_FREE() 2007-10-10 11:10:14 -05:00
util_wellknown.c r13791: Having S-1-1-0 show up in winbind lookupsid does not really make sense. 2007-10-10 11:10:54 -05:00