mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
f9147c4e40
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
|
||
---|---|---|
.. | ||
login_cache.c | ||
lookup_sid.c | ||
machine_sid.c | ||
passdb.c | ||
pdb_compat.c | ||
pdb_get_set.c | ||
pdb_interface.c | ||
pdb_ldap.c | ||
pdb_nds.c | ||
pdb_plugin.c | ||
pdb_smbpasswd.c | ||
pdb_tdb.c | ||
secrets.c | ||
util_builtin.c | ||
util_unixsids.c | ||
util_wellknown.c |