ldb error codes

Stefan Metzmacher metze at samba.org
Tue Nov 1 10:54:44 GMT 2005


On Tue, Nov 01, 2005 at 10:32:44AM +1100, tridge at samba.org wrote:
> int ldb_search(struct ldb_context *ldb, 
> 	       const struct ldb_dn *base,
> 	       enum ldb_scope scope,
> 	       const char *expression,
> 	       const char * const *attrs, struct ldb_result **res);
> 
> where ldb_result is this:
> 
> struct ldb_result {
> 	uint_t count;
> 	struct ldb_message **msgs;
> }

sold! I also had this idea month ago, but I didn't wanted to fix all the callers:-)

metze


More information about the samba-technical mailing list