[Samba] Enumeratings shares on Samba (3/4) servers with vbs
Achim Gottinger
achim at ag-web.biz
Wed Nov 20 15:07:48 MST 2013
Am 19.11.2013 21:24, schrieb Volker Lendecke:
> On Sat, Nov 09, 2013 at 11:51:46PM +0100, Achim Gottinger wrote:
>> Hi,
>>
>> Working on an login script here for my samba4 servers. I try to get
>> an list of the shares on server with this vb code.
>>
>> Set shares = GetObject("WinNT://SERVER/LanmanServer")
>>
>> For Each s In shares
>>
>> WScript.Echo s.Name
>>
>> Next
> It seems that this vbs code assumes that we run the RPC
> services we offer on smb named pipes also on TCP. With a
> pure source3 based file server this is not the case. Can you
> send network traces running this code against us and against
> 2003?
>
> Thanks,
>
> Volker
Thank you for the reply and of course, will grab the traces this
weekend. No 2003 here but i can test agains XP/7 and samba 3.6.x/4.0.x.
achim~
More information about the samba
mailing list