[Samba] NetShareEnum bug on Win 2003 Server
henke at mac.se
Fri Dec 2 07:45:21 GMT 2005
rpcclient COMPUTERNAME -c 'netshareenum' -I 192.168.1.11 -U
Which gives me:
But running: rpcclient COMPUTERNAME -c 'netsharegetinfo Test' -I
192.168.1.11 -U Administrator
ACL Num ACEs: 1 revision: 2
type: ACCESS ALLOWED (0) flags: 0
Specific bits: 0x1ff
Permissions: 0x1f01ff: SYNCHRONIZE_ACCESS
WRITE_OWNER_ACCESS WRITE_DAC_ACCESS READ_CONTROL_ACCESS DELETE_ACCESS
Owner SID: S-1-5-32-544
Parent SID: S-1-5-21-1291655818-2083803856-2975106597-513
[henke at fedora ~]$
So I can connect and get info about the share but it is not
enumerated. BTW there are about 10+ shares on the computer but only
one is enumerated.
It is not a big problem as you could combine NET command but I wanted
to let you know so you could research it a little. =)
1 dec 2005 kl. 23.23 skrev Jeremy Allison:
> On Thu, Dec 01, 2005 at 09:57:51AM +0100, Henrik Zagerholm wrote:
>> Hi all!
>> I believe there is a bug regarding NetShareEnum command when run
>> against a Win 2003 server.
>> When run I only get back one share and then I get Segmentation fault.
>> Using NetShareGetInfo 'sharename' works perfectly and also NET LIST
>> Any suggestions?
> What command are you running on the client ?
More information about the samba