LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba as File & Printer Server with Windows XP Pro as client (https://www.linuxquestions.org/questions/linux-newbie-8/samba-as-file-and-printer-server-with-windows-xp-pro-as-client-218660/)

FrontRunner 08-17-2004 04:45 AM

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.


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