LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 06-20-2004, 07:37 AM   #1
scotlin
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Rep: Reputation: 0
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
 
Old 06-20-2004, 11:00 AM   #2
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
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.
 
Old 06-21-2004, 07:21 AM   #3
scotlin
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Angry

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....?
 
Old 06-21-2004, 07:35 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 49
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
 
Old 06-21-2004, 09:01 AM   #5
scotlin
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Thumbs up

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
 
Old 03-14-2005, 12:49 PM   #6
bobwms
LQ Newbie
 
Registered: Mar 2005
Location: Southern California
Distribution: 5.2
Posts: 1

Rep: Reputation: 0
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.
 
  


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 02:33 AM
Samba Problems again :) Iztari Linux - Networking 18 06-24-2004 12:00 PM
samba problems... Digital_Err0r Linux - Networking 1 03-20-2004 05:46 PM
Samba problems. Zombie13 Mandriva 4 03-11-2004 03:34 AM
[Samba] Problems since update to samba 3 ffred Linux - Networking 6 01-02-2004 07:19 PM


All times are GMT -5. The time now is 10:10 PM.

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