acct_ctrl in context_sam_enum_accounts

Andrew Bartlett abartlet at
Sun Sep 29 05:05:01 GMT 2002

"Stefan (metze) Metzmacher" wrote:
> At 18:27 26.09.2002 +0200, Jelmer Vernooij wrote:
> >Hi all!
> >
> >What kind of a value is the acct_ctrl argument of
> >context_sam_enum_accounts supposed to be?
> >
> >It should be possible to list all accounts, that's why the current
> >implementation isn't very usable...
> list all accounts with    acct_ctrl = (ACB_NORMAL | ACB_WSTRUST |
> I add a patch for this

I think this is the wrong way to do it.  If the acb_mask is 0, then the
backend should return all accounts.  Reasoning:  This is how the SAMR
pipe code behaves, so it makes some sense to do the same.  Otherwise, a
'list all accounts' should be just (~0)

I'll take the rest of this patch however :-)

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at

More information about the samba-technical mailing list