Netapi example question

Henrik henke at mac.se
Mon Aug 4 20:19:34 GMT 2008


30 jul 2008 kl. 18.37 skrev Guenther Deschner:

> 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
Amazing!

> Thanks for the patience :)
No worries! I just kicked back with a 6-pack of some cold ones while  
waiting. :)

//Henke


More information about the samba-technical mailing list