Linux - SoftwareThis 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.
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.
Hi. I am trying to setup samba so I can move a big ISO off my windows HDD to my Linux one. Whenever I try to log into samba, I get reprompeted for a password. I followed several documents on how to set-up my config file, but I am having no luck. Here is my config
Code:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2008/12/28 12:16:42
[global]
workgroup = MSHOME
server string = %h server
obey pam restrictions = Yes
passdb backend = tdbsam
guest account = smbguest
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0775
directory mask = 0775
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
I am using SWAT to set it up. Is there something obvious I am missing?
I run Debian Etch. I don't know if I started the lisa deamon or not. I just typed /etc/init.d/samba start to start the server. If that didn't start eveything, then I don't know.
Does the user smbguest exist (this would need to be a unix user, since this ties in with who owns guest files, etc.)
Note that if you go for share security, you would need to define a generic share drive, since [homes] looks for the home directory associated with that user
Note that for your current setup to work, you would need a unix user "user1", with a home directory /home/user1, AND a samba user "user1").
All right. I am now able to conncet to the server. I still need to define a share drive. However, I decided to try to print to this from my Mom's new Lenovo, and got a connect error. It tells me access denided even though I have security as share.
Could be lots of things, but I'd try a firewall issue. I don't know the Debian firewall interface off hand, but you need to allow access through ports 137-139 and optionally 445.
If it isn't that, take look at the samba logs for useful error messages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.