LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-11-2004, 08:16 AM   #1
pantera
Member
 
Registered: May 2004
Posts: 80

Rep: Reputation: 15
samba


i have following in my smb.conf file
when ever i try to acess my "smb://mshome" it asks me for password
also i have shared the folder /root/song but iin "smb://mshome" it doesnt show anything
and in the other network the pc has windows XP there it asks for password for samba too???what shall i do??

#GlobalParameters

workgroup = MSHOME
netbios name = Samba
encrypt passwords = yes

[homes]
read only = no
browseable = no

[everyone]
path = /root/songs/
read only = no
browseable = no
 
Old 06-11-2004, 09:41 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
To stop it asking for passwords, you need to add "smb passwd file = /etc/samba/smbpasswd" to the Global section. Then at a commandline, add users to the Samba password file with "smbpasswd -a username".

It would be better to create a directory /home/songs to share all your music. /root is root's home, and normally isn't accessable by regular users. You also need to change browseable to yes, so that you can actually browse the share on the network.
 
  


Reply


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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:43 AM.

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