Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-25-2011, 01:59 AM   #1
Registered: Feb 2009
Posts: 98

Rep: Reputation: 15
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 // -U bigbob

it prompts password . If i give password i got


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
Old 06-25-2011, 08:27 AM   #2
Registered: Jun 2011
Location: Chester, SC
Distribution: Slackware Current
Posts: 123

Rep: Reputation: 26
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:


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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
smbclient command allowing only root? avinash.rao Ubuntu 6 08-02-2009 08:36 AM
password and ps command vm_devadas Linux - Security 3 09-22-2007 03:56 AM
specifying password in the ssh command alix123 Linux - Software 2 06-03-2007 05:00 AM
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 11:55 AM
How to include password with su-command? Ollir Mandriva 2 08-16-2004 06:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration