LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-17-2004, 04:45 AM   #1
FrontRunner
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
Samba as File & Printer Server with Windows XP Pro as client


I must have read a thousand threads on this topic but still i cant seem to configure my system right so that i can use my Linux box(SUSE 9.1 Pro) as a File and Printer Server for my Windows XP Pro - box. Let me point out this is my first time on Linux so i must have overseen something.

Configuration:
- Linux Box: Suse 9.1. Pro on IP 192.168.1.12
- Windows Box: Windows XP Pro + SP1 on IP 192.168.1.10
- Draytek Vigor 2200e Router

What i've done so far:
- Installed Samba Server and Samba Client on my Linux Box
- Set an domain name in Yast/Samba Server --> WorkGroup
- Tried to connect my XP box to the domain name (As described on Samba.org)

My Samba Config file
Code:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-07-21
[global]
   workgroup = WORKGROUP
   printing = cups
   printcap name = cups
   printcap cache time = 750
   cups options = raw
   printer admin = @ntadmin, root, administrator
   username map = /etc/samba/smbusers
   map to guest = Bad User
   logon path = \\%L\profiles\.msprofile
   logon home = \\%L\%U\.9xprofile
   logon drive = P:
   security = user
   encrypt passwords = yes
   server string = Samba Server
   netbios name = Samba
   add machine script = 
   domain logons = no
   local master = no
   preferred master = auto
   ldap suffix = dc=example,dc=com
[homes]
   comment = Home Directories
   valid users = %S
   browseable = no
   read only = No
   inherit permissions = Yes
   guest ok = no
   printable = no
[profiles]
   comment = Network Profiles Service
   path = %H
   read only = No
   store dos attributes = Yes
   create mask = 0600
   directory mask = 0700
   browseable = yes
   guest ok = no
   printable = no
[users]
   comment = All users
   path = /home
   read only = No
   inherit permissions = Yes
   veto files = /aquota.user/groups/shares/
   browseable = yes
   guest ok = no
   printable = no
[groups]
   comment = All groups
   path = /home/groups
   read only = No
   inherit permissions = Yes
   browseable = yes
   guest ok = no
   printable = no
[pdf]
   comment = PDF creator
   path = /var/tmp
   printable = yes
   print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
   create mask = 0600
   browseable = yes
   guest ok = no
[printers]
   comment = All Printers
   path = /var/tmp
   printable = yes
   create mask = 0600
   browseable = no
   guest ok = no
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/drivers
   write list = @ntadmin root
   force group = ntadmin
   create mask = 0664
   directory mask = 0775
   browseable = yes
   guest ok = no
   printable = no
What i've seen:
- no connection from my Windows XP box to my Linux Box (looking in My Network Connections in Win XP)
- no connection from my Linux Box to Win Box (looking in services:/ --> smb:/ -> No workgroup found)
- In terminal: smbclient -L WorkGroup --> Connection to workgroup failed

Anyone got a thought on how to solve this problem? Hopefully somebody's got a good step-by-step guide on how to install SAMBA as File and Printer server on Linux with a Windows XP Pro Client.
 
  


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
Connecting Windows XP client to Samba server srini2001 Linux - Networking 5 03-15-2006 09:25 AM
FC3 Samba Server + Windows ME Client DoubleOTeC Linux - Networking 4 07-25-2005 11:46 AM
samba w/printer & file sharing ? westverg Linux - Networking 8 05-12-2005 10:42 PM
SAMBA server & client babyface Linux - Networking 1 03-20-2005 08:56 AM
client Linux Redhat 8.0 cannot use Windows 2000 Printer Server tthai01 Linux - Networking 0 12-10-2002 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:04 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
Open Source Consulting | Domain Registration