1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/passdb
Volker Lendecke 9f4c0afa0a r6277: This implements a new caching API for enumerating the pdb elements. It is
modeled after query_displayinfo and should hide the differences between users,
groups and aliases while allowing a cache analog load_sampw_entries:

struct pdb_search *pdb_search_users(uint16 acct_flags);
struct pdb_search *pdb_search_groups(void);
struct pdb_search *pdb_search_aliases(const DOM_SID *sid);
uint32 pdb_search_entries(struct pdb_search *search, uint32 start_idx,
                          uint32 max_entries,
                          struct samr_displayentry **result);
void pdb_search_destroy(struct pdb_search *search);

Why this API? Eventually we will need to apply the work gd has started on
enumerating users with paged ldap searches to groups and aliases. Before doing
that I want to clean up the search routines we have.

The sample application (more to follow) is 'net maxrid'.

Volker
(This used to be commit 8b4f67a1e9)
2007-10-10 10:56:34 -05:00
..
login_cache.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
lookup_sid.c r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation 2007-10-10 10:53:32 -05:00
machine_sid.c r6263: Get rid of generate_wellknown_sids, they are const static and initializable 2007-10-10 10:56:33 -05:00
passdb.c r5951: gotta love that SGI compiler :-) (thanks Jason) 2007-10-10 10:56:10 -05:00
pdb_compat.c Merge passdb from HEAD -> 3.0 2002-11-02 03:47:48 +00:00
pdb_get_set.c r6149: Fixes bugs #2498 and 2484. 2007-10-10 10:56:24 -05:00
pdb_guest.c * only install swat html files once 2003-11-07 23:04:06 +00:00
pdb_interface.c r6277: This implements a new caching API for enumerating the pdb elements. It is 2007-10-10 10:56:34 -05:00
pdb_ldap.c r6263: Get rid of generate_wellknown_sids, they are const static and initializable 2007-10-10 10:56:33 -05:00
pdb_mysql.c r4847: Hand over a acb_mask to pdb_setsampwent in load_sampwd_entries(). 2007-10-10 10:53:59 -05:00
pdb_nds.c r5817: Patch from Vince Brimhall <vbrimhall@novell.com> to change the way pdb_nds 2007-10-10 10:56:03 -05:00
pdb_pgsql.c r5733: Don't crash when the SID column contains NULL (Fixes #2316) 2007-10-10 10:55:58 -05:00
pdb_plugin.c More tuning from cachegrind. Change most trim_string() calls to trim_char(0, 2003-09-05 19:59:55 +00:00
pdb_smbpasswd.c r4847: Hand over a acb_mask to pdb_setsampwent in load_sampwd_entries(). 2007-10-10 10:53:59 -05:00
pdb_sql.c r5718: Don't update fields that haven't changed (fixes #1957) 2007-10-10 10:55:57 -05:00
pdb_tdb.c r4847: Hand over a acb_mask to pdb_setsampwent in load_sampwd_entries(). 2007-10-10 10:53:59 -05:00
pdb_xml.c r4847: Hand over a acb_mask to pdb_setsampwent in load_sampwd_entries(). 2007-10-10 10:53:59 -05:00
secrets.c r5767: Get rid of some compiler warnings 2007-10-10 10:56:00 -05:00
util_sam_sid.c r6263: Get rid of generate_wellknown_sids, they are const static and initializable 2007-10-10 10:56:33 -05:00