LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   list smb shares (https://www.linuxquestions.org/questions/linux-newbie-8/list-smb-shares-4175478612/)

JJJCR 09-26-2013 05:19 AM

list smb shares
 
hi guys, i entered this command to list smb shares.

root@serverx:/var/backup# smbclient -L serverx -Uusername -I 192.168.1.16
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

i'm sure i entered a correct root password, but still logon failure.

any ideas?

thanks.

SAbhi 09-26-2013 05:40 AM

why does a root password is needed here ?

-Uusername then password of username should be provided, the one which you gave while you add the user username.

Doug G 09-26-2013 10:40 PM

You need to provide the windows user/password not the linux password if you're trying to view shares from a windows computer. In any case, you need to use a set of credentials accepted by the target computer, not your own machine.


All times are GMT -5. The time now is 06:51 AM.