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! |
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.
|
 |
06-20-2004, 06:37 AM
|
#1
|
LQ Newbie
Registered: Jun 2004
Posts: 20
Rep:
|
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
|
|
|
06-20-2004, 10:00 AM
|
#2
|
Member
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193
Rep:
|
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.
|
|
|
06-21-2004, 06:21 AM
|
#3
|
LQ Newbie
Registered: Jun 2004
Posts: 20
Original Poster
Rep:
|
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....?
|
|
|
06-21-2004, 06:35 AM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
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
|
|
|
03-14-2005, 11:49 AM
|
#6
|
LQ Newbie
Registered: Mar 2005
Location: Southern California
Distribution: 5.2
Posts: 1
Rep:
|
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 08:48 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
|
|