Samba Problems
I am very new to Linux. I have FC2 loaded on my "server" and I am trying to connect the kids PCs (1 XPpro the other Win98) to it for file sharing and printing.
I do not want them to have to use passwords I have been playing with Samba At the moment : Win98 I can connect to the server I can print via the server. I can copy files from the server to PC I CANNOT COPY FROM THE PC TO THE SERVER. XPPro I can see the server from the PC when I try to look at it it asks me for a password. I have tried all the passwords I have but none seem to work. When I try to select a printer, again I am prompted for a password ........ I can connect from win98 PC to the XPPro and the converse ok [global] workgroup = WORKGROUP printer = bsd printcap name = /etc/printcap load printers = yes os level = 20 null passwords = yes encrypt passwords = yes security = share allow hosts = 2.0.0.0/255.255.255.0 127.0.0.1 [printers] comment = All Printers printable = yes public = yes [data] writeable = yes path = /home/data I cannot copy from the PC to the server |
A couple of things. First, since you aren't using samba as a PDC and, from the looks of it, you don't have one at all you might run into some problems. Especially with the passwords stuff. You can get around this by making samba handle the password but not be a PDC.
In your globals section add the following line 'smb passwd file = /etc/samba/smbpasswd'. This is the file that stores the users and passwords you'll allow on to the system. If you do that, then you'll need to specify who can access each share. In the block for the share you specify this with 'write list = @groupNameHere'. This is the group on the Linux system, not on Windoze. But, if you don't want to go that route, just stick guest ok = yes read only = no in the share block and that should clear up the problem you are seeing. |
If I am not set-up with a PDC it is because I dont know what it is. I said I was a "Newbie"
Having made the changes, I hope correctly, I still have problems. [global] workgroup = WORKGROUP printer = bsd printcap name = /etc/printcap load printers = yes os level = 20 null passwords = yes encrypt passwords = yes security = share allow hosts = 2.0.0.0/255.255.255.0 127.0.0.1 smb passwd file = /etc/samba/smbpasswd [printers] comment = All Printers printable = yes public = yes guest ok = yes [data] writeable = yes path = /home/data guest ok = yes read only = no I can stiil copy from the server but not TO it....? |
this is something very dangerous from the security perspective but will work without passwords
#mkdir <new directory> #chmod 777 <new directory> edit /etc/samba/smb.conf [openacess] writeable = yes path = <new directory> guest ok = yes read only = no # service smb reload |
http://images.linuxquestions.org/que...ons/icon14.gif
Thanks for that. I was so involved with SAMBA that I totally forgot about the folders permissions |
Samba Problems
I am also a newbie to Linux and Samba, but have worked with Unix. I am having a problem with Samba, which I am told is probably related to permissions. I am using a database environment which runs on a stripped-down version of Linux Version 5.2 (Red Hat). It has a program interface to Samba in order to allow remote files. The Linux System is in a network with dozens of Windoze machines - Sql Server database machines, mail servers, etc. When I use the interface to get onto the Windoze machines, I can see the machine (such as my own), but none of the shared folders. Our Network Admin is sure it is a permissions problem, but doesn't know how or where to fix it. Do any of you have any suggestions short of jacking up the Linux machine and rolling in a Windoze machine in it's place? Thanx.
|
All times are GMT -5. The time now is 04:58 AM. |