; ; /etc/smb.conf ; ; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany. ; [global] workgroup = tei-lin-net server string = Samba %v guest account = nobody keep alive = 30 os level = 34 security = user name resolve order = wins ; Uncomment the following, if you want to use an existing ; NT-Server to authenticate users, but don't forget that ; you also have to create them locally!!! ; security = server ; password server = 192.168.1.10 encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd ; hosts deny = ALL ; hosts allow = 192.168.0. 127. printing = bsd printcap name = /etc/printcap ; load printers = yes log level = 3 log file = /var/log/samba/samba.log.%U max log size = 1000 socket options = TCP_NODELAY kernel oplocks = false ; map to guest = Bad User wide links = no character set = ISO8859-15 client code page = 850 local master = yes preferred master = yes interfaces = 192.168.0.20/255.255.255.0 ; If you want Samba to act as a wins server, please set wins support = yes ;logon script =%U.bat logon script =login.bat ; logon path = \\%L\profiles logon path = \\%L\profiles logon home = \\%L\profiles logon drive = N: domain logons = yes domain master = yes domain admin group = heiko ; printer driver file = /win_home/printers/%a/printers.def time server = yes map archive = yes map system = yes map hidden = yes [netlogon] comment = Network Logon Service path = /win_home/netlogon public = no writable = no browsable = yes write list = heiko ; share modes = no ; force group = users ; force user = heiko create mode = 0640 directory mode = 0750 [profiles] path = /win_home/profile/%U writeable = yes create mode = 0600 directory mode = 0700 [homes] comment = Windows-home-directorys path = /win_home/daten/%U browseable = yes read only = no create mode = 0660 directory mode = 0750 force group = %ul [all_home] comment = Alle Homeverzeichnisse! path = /win_home/daten browseable = yes read only = no create mode = 0660 directory mode = 0770 ; force group = users [www] comment = alle Websites lokal! path = /all/www browseable = no read only = no create mode = 0664 directory mode = 0775 force group = admwww force user = heiko [my_prog] comment = User-spezif. Programmverzeichnis path = /my_prog/%u browseable = yes read only = no create mode = 0664 directory mode = 0775 force group = %ul [all_prog] comment = Gemeinsames Programmverzeichnis path = /win_prog/all browseable = yes read only = no create mode = 0666 directory mode = 0777 force group = users ; The following share gives all users access to the Server's CD drive, ; assuming it is mounted under /cd. To enable this share, please remove ; the semicolons before the lines ; ; [cdrom] ; comment = Linux CD-ROM ; path = /cdrom ; read only = yes ; locking = no ;[printers] ; comment = All Printers ; browseable = no ; printable = yes ; public = no ; read only = yes ; create mode = 0700 ; directory = /tmp ; geht in dieser Version auch ohne Druck-Kommandos, nur Anzeige Fehlermeldung ; wenn man versucht den Druckjob eines anderen zu löschen, kommt nicht hoch [Print$] path = /win_home/printers/%a read only = yes browseable = no guest ok = yes [S_500_0] browseable = yes printable = yes public = yes read only = yes create mode = 0700 directory = /tmp comment = Canon_S500 print command = lpr -r -Plp_raw %s lpq command = lpq -Plp_raw lprm command = lprm -Plp_raw %j ; printer driver = Canon S500 ; printer driver location = \\%L\Printer$\canon\s500 ; printer driver file = print_canon_s500.def [ASCII] comment = ASCII_IBM browseable = yes printable = yes public = yes read only = yes create mode = 0700 directory = /tmp print command = lpr -r -Plp_ascii %s lpq command = lpq -Plp_ascii lprm command = lprm -Plp_ascii %j [ASCII_2S] comment = ASCII_2St browseable = yes printable = yes public = yes read only = yes create mode = 0700 directory = /tmp print command = lpr -r -Plp_2s_ascii %s lpq command = lpq -Plp_2s_ascii lprm command = lprm -Plp_2s_ascii %j [pdfwrite] comment = PDF_erzeugen browsable = yes printable = yes public = yes directory = /tmp/pdfwrite create mode = 0666 print command = "/usr/bin/ps2pdf /tmp/pdfwrite/%s /win_home/daten/all/pdf-write/%u-`/usr/local/bin/datetime`.pdf; rm %s"