Henrik Zagerholm
2006-Jul-26 11:05 UTC
[Samba] rpcclient netsharegetinfo against linux server
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". 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? Cheers, Henrik
Gerald (Jerry) Carter
2006-Jul-26 11:30 UTC
[Samba] rpcclient netsharegetinfo against linux server
-----BEGIN PGP SIGNED MESSAGE----- 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEx1IpIR7qMdg1EfYRAnx5AJ0atickOhZBUkK0OuBlJsA0GhWVZACggH62 e5zeq4y677Mo/+8C8seiAZ4=sT4x -----END PGP SIGNATURE-----