mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
9f4c0afa0a
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
|
||
---|---|---|
.. | ||
login_cache.c | ||
lookup_sid.c | ||
machine_sid.c | ||
passdb.c | ||
pdb_compat.c | ||
pdb_get_set.c | ||
pdb_guest.c | ||
pdb_interface.c | ||
pdb_ldap.c | ||
pdb_mysql.c | ||
pdb_nds.c | ||
pdb_pgsql.c | ||
pdb_plugin.c | ||
pdb_smbpasswd.c | ||
pdb_sql.c | ||
pdb_tdb.c | ||
pdb_xml.c | ||
secrets.c | ||
util_sam_sid.c |