LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command for smbclient with no password (https://www.linuxquestions.org/questions/linux-newbie-8/command-for-smbclient-with-no-password-888257/)

asifbasha 06-25-2011 12:59 AM

command for smbclient with no password
 
Hai to all,

I have a samba server setup it works fine for the users with their username and passwords. by executing the following command.

smbclient //fedora.com/one -U bigbob

it prompts password . If i give password i got

smb\>

my question is that how can i login if the users dosent have their passwords(public share) ?.. I mean smbclient command !!

Thanks in advance to all

liberalchrist 06-25-2011 07:27 AM

Samba Conf
 
For shares to be totally public (no password), your smb.conf file in /etc/samba/ must be changed to allow it. For instance, if you have a specific folder that you want to share, the smb.conf entry might look like this:

[yourfolder]

comment = Share
path = /home/yourfolder
read only = No
guest ok = Yes
guest account = nobody
browsable = yes

Not sure if this is what you were asking, but hope it helps.


All times are GMT -5. The time now is 09:46 AM.