[Samba] rpcclient netsharegetinfo against linux server

Henrik Zagerholm henke at mac.se
Wed Jul 26 13:47:23 GMT 2006

Is there anyway for me to patch that code to suit my needs or is it  
hard to make that distinction between servers internally in samba?
In other words could this be done with some code modifications  
without having suicidal dreams at night.. :)


26 jul 2006 kl. 13:29 skrev Gerald (Jerry) Carter:

> Hash: SHA1
> Henrik Zagerholm wrote:
>> Hi list,
>> I wonder why rpcclient -c 'netsharegetinfo tmp' returns
>> "C:\tmp" as physical path when run against a samba server
>> on a linux box. It should return "/tmp".
> The srvsvc calls always convert Unix paths to c:\ style
> paths to make Windows clients happy.
>> As I understand it the rpcclient command is not actively
>> maintained, if so, is there any other utils or libs that
>> will let me do this?
> It's more of a developer tool than abandoned code.
> cheers, jerry
> =====================================================================
> Samba                                    ------- http://www.samba.org
> Centeris                         -----------  http://www.centeris.com
> "What man is a man who does not make the world better?"      --Balian
> Version: GnuPG v1.4.4 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> iD8DBQFEx1IpIR7qMdg1EfYRAnx5AJ0atickOhZBUkK0OuBlJsA0GhWVZACggH62
> e5zeq4y677Mo/+8C8seiAZ4=
> =sT4x

More information about the samba mailing list