| Subject: | svn commit: samba r6278 - in trunk/source: include passdb utils |
|---|---|
| From: | vlendec@xxxxxxxxx |
| Date: | Sun, 10 Apr 2005 15:27:25 +0000 (GMT) |
Author: vlendec Date: 2005-04-10 15:27:24 +0000 (Sun, 10 Apr 2005) New Revision: 6278 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6278 Log: 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 Modified: trunk/source/include/passdb.h trunk/source/passdb/pdb_interface.c trunk/source/utils/net.c Changeset: Sorry, the patch is too large (491 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6278 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | svn commit: samba r6277 - in branches/SAMBA_3_0/source: include passdb utils, vlendec |
|---|---|
| Next by Date: | svn commit: samba r6279 - in branches/SAMBA_3_0/source/smbd: ., vlendec |
| Previous by Thread: | svn commit: samba r6277 - in branches/SAMBA_3_0/source: include passdb utils, vlendec |
| Next by Thread: | svn commit: samba r6279 - in branches/SAMBA_3_0/source/smbd: ., vlendec |
| Indexes: | [Date] [Thread] [Top] [All Lists] |