Re: How to cennect to a windows network?

From: me (secad_at_netspace.net.au)
Date: 01/29/04


Date: Fri, 30 Jan 2004 05:40:25 +1100

I am assuming (always hopeful) that you have normal TCP/IP setup running
with minimal (zero) fail error messages during bootup. This was a
trial for me as some of the data entry fields would have a label like
"Name" or "Host", which could be any of half a dozen things. The
number of possible combinations for random experiments are huge.

Anyhow, the following is my /etc/samba/smb.conf file. It allows a W2K
box to "see" a home directory [homes], browse the full filesystem
[allfiles], and use my LaserJet printer. At one point, Yast2 screwed
the file and could no longer work with it, so I had to hand-build this
one from examples, then tinker with it in Yast2. I do not know if it
could be done better, so treat it with caution.

If you are still having probs with TCP/IP or PPP (internet modem), drop
us an email, and I will show you how I managed to get working. There
is an ugly tie-up between Internet & LAN config'ing which can cause
probs.

Anyhow here's /etc/samba/smb.conf, ignore any cut/paste line wrapping.
The word SECAD comes from our bizz name, Secad Systems. Gordon is the
other half of it.

# 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: 2003-09-23
[global]
   workgroup = SECAD
   os level = 2
   time server = Yes
   unix extensions = Yes
   encrypt passwords = yes
   map to guest = Bad User
   printing = CUPS
   printcap name = CUPS
   socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
   wins support = No
   veto files = /*.eml/*.nws/riched20.dll/*.{*}/
   security = user
   server string = Samba Server
   add user script =
   domain master = false
   domain logons = no
   local master = no
   preferred master = auto
;; ldap server = 127.0.0.1
[homes]
   comment = Home Directories
   valid users = %S
   browseable = yes
   read only = No
   create mask = 0640
   directory mask = 0750
   guest ok = yes
   printable = no
   path = /home/gordon
[printers]
   comment = All Printers
   path = /var/tmp
   printable = yes
   create mask = 0600
   browseable = yes
   guest ok = yes
[allfiles]
   available = yes
   browseable = yes
   comment = All files
   create mask = 0640
   guest ok = yes
   path = /
   printable = no

# End of my smb.conf



Relevant Pages

  • Re: [SLE] Samba Probs
    ... Ben Higginbottom wrote: ... when the server was in WinXP... ... map to guest = Bad User ... directory mask = 0750 ...
    (SuSE)
  • Re: [SLE] SUSE 9.1, Samba 3.0.4-1.2 and Windows NT Domain
    ... map to guest = Bad User ... server string = Samba Server-AF ... directory mask = 0750 ... comment = All Printers ...
    (SuSE)
  • Authentication problem of Samba 3.0721 under NT4 Server
    ... Samba is not authenticating my winNt4 domain user, ... guest account = nobody ... server string = File Server Ufficio ... # the default is to use the user's home directory ...
    (comp.os.linux)
  • Re: LAN and linux pc (newbie)
    ... >> from the linux PC, but the linux PC ... >Check that all machines have the same subnet mask. ... DHCP server 192.168.1.1 ... map to guest = Bad User ...
    (alt.os.linux.suse)
  • Re: Printing with Samba
    ... > Whats your Samba conf fig look like. ... map to guest = Bad User ... server string = Samba Server ... directory mask = 0750 ...
    (alt.os.linux.suse)