NetShareEnumAll returns truncated strings
ricardo.swat.samba at gmail.com
Tue Jun 28 02:53:27 MDT 2011
Completly forgot to mention that I am using the lastest git version and
I will try to revert to an older version.
py_srvsvc.c (bin/default/librpc/gen_ndr) is generated after you build
samba4. I assume it's the file that's used to generate the srvsvc module.
Thank you for your help. I will post here when I am done.
On Tue, Jun 28, 2011 at 7:39 AM, Dhananjay Sathe
<dhananjaysathe at gmail.com>wrote:
> Forgot to mention one more thing , there is not much in py_srvsvc.c (i
> don't even have it in my tree)
> You may want to look at 2 files that have the code to do with srvsvc
> - librpc/idl/srvsvc.idl
> - source4/rpc_server/srvsvc/dcesrv_srvsvc.c
> Cheers !
> Dhananjay Deepak Sathe | +919764871950
> dhananjaysathe at gmail.com,f2009260 at bits-goa.ac.in
> Blog : http://dsathe.blogspot.com
> 2nd Year Undergraduate,
> BE(Hons) Electronics and Instrumentation,
> BITS Pilani Goa Campus.
> On Tue, Jun 28, 2011 at 5:34 AM, Ricardo Jorge <
> ricardo.swat.samba at gmail.com> wrote:
>> For some reason I cannot understand NetShareEnumAll (NetShareEnum as well)
>> is returning truncated strings (names, comments, paths). This code worked
>> well some time ago.
>> *Test Code*
>> *Output (in my case) is: *
>> netl (should be netlogon)
>> sys (should be sysvol)
>> mi (should be mine)
>> IP (should be IPC$)
>> *Debug Mode*
>> I setup Samba4 to run with debug level 10 and I got the following:
>> The results are not truncated there. I cannot find anyting in py_srvsvc.c
>> that could cause this.
>> Any tips?
>> Thank you,
More information about the samba-technical