Netapi example question
Guenther Deschner
gd at samba.org
Wed Jul 30 16:37:02 GMT 2008
Henrik wrote:
>
> 16 jun 2008 kl. 13.35 skrev Guenther Deschner:
>
>> Hi,
>>
>> Henrik wrote:
>>> Hi list,
>>> I'm using the user_enum.c example to enumerate users and it works great.
>>
>> Cool, glad to hear it's useful for you :)
>>
>>> I know wonder if its possible to use the USER_INFO structure to also
>>> resolve users SID?
>>
>> Not yet, these are in other USER_INFO levels (USER_INFO_23 I think),
>> that have just not been implemented yet. It's really just a matter of
>> doing, maybe I find some time to work on these later this week.
>
> Any updates on this :)
Yep, with current 3-3-test git, you should now be able to call
NetUserEnum with level 23.
Just call example code like this:
lib/netapi/examples/bin/user_enum yourdc 23
Thanks for the patience :)
Guenther
--
Günther Deschner GPG-ID: 8EE11688
Red Hat gdeschner at redhat.com
Samba Team gd at samba.org
More information about the samba-technical
mailing list