Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-21-2006, 09:23 PM
|
#1
|
Member
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81
Rep:
|
samba won't share, why?
heres my smb.conf
Quote:
[global]
workgroup = MIDEARTH
[Media]
path = /media/Library
guest ok = yes
guest only = yes
guest account = nobody
writable = yes
|
i can get to the login in wondows but dont now what username and password to use. i thought it wouldnt ask for one with this configuration
|
|
|
03-21-2006, 10:45 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
Try
[global]
workgroup = MIDEARTH
security = share
Also have you added root user to samba:
smbpasswd -a root
Also check the permissions on the folders themselves, you may need to change the permissions, as root at the console:
chmod 755 /media/library
Last edited by fotoguy; 03-21-2006 at 10:47 PM.
|
|
|
03-22-2006, 04:11 AM
|
#3
|
Member
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132
Rep:
|
I think u mean is user level share
1.change in smb.conf
security = user
encrypt_passwords = yes
2.add samba user
add unix user
#adduser test
add samba user
#smbadduser test:test
restart service.
|
|
|
03-22-2006, 05:38 AM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
If you use security = share it will display the share first before asking for a password
|
|
|
03-22-2006, 09:29 AM
|
#5
|
LQ Newbie
Registered: Aug 2004
Distribution: Redhat/Suse/Enterprise versions
Posts: 7
Rep:
|
Novice06,
Did this config work for you: setting the level to share? and adding the users to smbpasswd?
|
|
|
03-22-2006, 06:53 PM
|
#6
|
Member
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81
Original Poster
Rep:
|
smbpasswd was the answer
sorry it took so long to respond
|
|
|
03-22-2006, 08:21 PM
|
#7
|
Member
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132
Rep:
|
To jeanpd001
Hi jeanpd001,
do u read carefully? who say share? before complain, read carefully.
Thanks,
novice06
|
|
|
03-22-2006, 10:21 PM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
Quote:
Originally Posted by surban99
smbpasswd was the answer
sorry it took so long to respond
|
Good to hear it's working
|
|
|
All times are GMT -5. The time now is 04:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|