LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-12-2003, 09:52 PM   #1
avoll
LQ Newbie
 
Registered: Oct 2003
Location: Ottumwa, IA
Posts: 6

Rep: Reputation: 0
linux / sumba


Ok I am trying to set up sumba server on my linux computer.
And I need to be able to share files/printers with windows xp users.
Im new to Linux
and I need some kind of step by step sumba setup
also a step by step setup for windows xp so I can share files/printers with my sumba server
If any one can give me any help
That would be great
thank you for your time

my Email is
dropmeahit@hotmail.com
 
Old 10-13-2003, 12:58 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

What problem are you having?

Have you got the printer configured in smb.conf?
Can you print from linux?
 
Old 10-13-2003, 01:44 PM   #3
mrmdls
LQ Newbie
 
Registered: Sep 2003
Location: New Brunswick, Canada
Distribution: JDS
Posts: 17

Rep: Reputation: 0
linux/samba

I''ll try to walk you through setting up your Server

On Server as root

1) add your users
adduser jim
2) add your user passwords
passwd jim
3) add your group
groupadd family
gpasswd -a jim family
4) add your group directory,set permissions of directory
mkdir /home/family
chmod a+rw /home/family
5) edit /etc/samba/smb.conf (add to the very bottom of it)
[family]
comment = our samba server
path = /home/family
writeable = yes
writelist = jim

(if you need encryption, ensure that the following lines are not commented out)
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

6) create samba passwords
(for RedHat users) cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
(for SuSE users) smbpasswd -a jim
7) make smbpasswd readable and writeable by root only
chmod 600 /etc/samba/smbpasswd
8) add your client machines to your server
(for RedHat users) edit /etc/hosts allow - add your client ip address (192.168.0.1)
(for SuSE users) edit /etc/samba/lmhosts - add your client ip address (192.168.0.2)
9) configure your Services
(for RedHat users) ntsysv -- level 345 start ( ensure that smb and nmb are enabled)
service smb start
(for SuSE users) use webmin program in your browser ( https://localhost:10000/)
under boot process ensure that smb nmb are enabled at boot, restart services
10) test your Server
testparm (you should see your group loaded)


Hope this helps, Sorry it's so long,

Dave S.
 
  


Reply



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
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM
printing with sumba avoll Linux - Newbie 2 10-13-2003 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:33 AM.

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
Open Source Consulting | Domain Registration