Netapi example question

Henrik henke at
Thu Aug 7 15:34:46 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

Never mind my last e-mail. I got it working. I hade some old samba  
files installed and after cleaning them out and running make install  
again the example code worked :)

Great job!


More information about the samba-technical mailing list