[clug] Removing Shares from Samba

David Tulloh david at tulloh.id.au
Sat Aug 8 08:08:31 MDT 2009


Ian McLeod wrote:
> Hi David,
>>
>>
>> If that you are still getting shares check that they are actually 
>> shared: smbclient -L localhost
>> It's possible that the Mediagate system is caching old shares that 
>> have been removed.
> I received the error "session setup failed: NT_STATUS_LOGON_FAILURE" 
> when entering that command using localhost, and 127.0.0.1 :-(
>
> You could be right that the Mediagate unit is caching the shares - 
> interesting point - I  had not considered that.
>
> If I knew how to code I could dive in to the firmware to fix it as 
> it's open source - a good incentive to learn I suppose.
>
If you reply to the list other people more knowledgeable than I can 
chime in.

You can supply a username and password to smbclient if it's required.  
smbclient -L localhost -U <username>

In general to get help on using a command there are two nice methods,
    for quick help on usage do: <command> --help
    for the manual page of the command: man <command>


David


More information about the linux mailing list