jens.hatlak.de / Über mich    
Atari   PHP    
Dreamweaver Manual   Linux / R40 / Debian  
Akronyme   Mozilla   Notebook  
  SciTE   Samba  
  FASTA-Parser   Archos  
  Ich spreche...   Genius EM700  

Samba

Samba Ich fand es recht schwierig, Samba so konfiguriert zu bekommen, dass es so funktionierte, wie ich es wollte: Es sollte wie ein gewöhnlicher Rechner mit Windows 98-Freigabe arbeiten. Deshalb präsentiere ich hier meine /etc/samba/smb.conf. Die vorliegende Version ermöglicht Folgendes:

Damit Windows-Rechner im Netzwerk den Samba-Server auch sehen können, muss übrigens zusätzlich zum smbd der Dienst nmbd laufen!

# Samba config file
# for jhatlak
# Docs: /usr/share/doc/packages/samba

# Global parameters
[global]
    workgroup = JHATLAK
;   interfaces = 192.168.0.10/16
    security = share
    character set = ISO8859-1
    valid chars = [ ... ]
    keepalive = 30
    os level = 2
    kernel oplocks = No
    guest account = nobody
    local master = No
    domain master = No
    printing = bsd
    printcap name = /etc/printcap
;   printing = CUPS
;   printcap name = CUPS
    load printers = Yes
    socket options = TCP_NODELAY
    map to guest = Bad User
;   message command = csh -c 'xedit %s;rm %s' &
    message command = ksalup -winpopup "%m" "%t" %s; rm %s
    wins support = no
    veto files = /*.eml/*.nws/riched20.dll/*.{*}/
    time server = yes
    unix extensions = yes
    encrypt passwords = no
    log level = 1
    syslog = 0
    socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY

[homes]
    user = jens,j_hatlak,jhatlak
    valid users = jens,j_hatlak,jhatlak
;   valid users = %S
    comment = home-directory
    read only = No
    create mask = 0640
    directory mask = 750
    browseable = No
    writeable = Yes

[installdaten]
    comment = Installdaten
    path = /windows/C/Installdaten
    read only = Yes
    guest ok = Yes
    locking = No
    public = Yes
    browsable = Yes

[printers]
    comment = All Printers
    path = /tmp
    create mask = 0600
    printable = Yes
    browseable = No

[print$]
    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @ntadmin root
    force group = ntadmin
    create mask = 0664
    directory mask = 0775

 

Valid HTML 4.0!
Jens Hatlak
10. März 2003