[global]
    ; nopeusoptimointia
    log level = 1                     
    socket options = TCP_NODELAY IPTOS_LOWDELAY
    read raw = yes                   
    write raw = yes                   
    oplocks = yes                     
    max xmit = 65535                  
    dead time = 15                    
    getwd cache = yes
 
    ;Domain nimet ja kuvaukset
    netbios name = Gateway
    workgroup = HOME
    server string = Domain Controller

    os level = 64
    preferred master = yes
    domain master = yes
    local master = yes
   
    security = domain
   
    encrypt passwords = yes
   
    ; domain logonit p��lle
    domain logons = yes
   
    ; minne tallennetaan profiilit
    ; logon path = \\%N\homes\.profiles

    ; miss� on k�ytt�j�n kotihakemisto ja mihin asemaan se liitet��n
    ;logon drive = H:
    ;logon home = \\%N\%u

    #synkronoidaan palvelinkoneen salasanat
    ;unix password sync = Yes
    ;passwd program = /usr/bin/passwd %u
    ;passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

    ;
    ; jos verkossa my�s win9x koneita, k�yt� t�t�, sill� 9x laittaa profiilinsa home kansioon - jaiks!!
    ;
    ;logon home =\\%N\%u\.profiles9x
    ;
   
    ; logon skripti, ajetaan loggauksen yhteydess�. pit�� olla dos muodossa
    logon script = logon.bat

    ; aikapalvelin k�ytt��n
    timeserver = yes

   # charset settings
   display charset = ISO8859-15
   unix charset = ISO8859-15
   dos charset = ISO8859-15
   
    ; jos halutaan k�ytt�� winssi�
    wins support=true
    wins proxy=yes
   
    dos filetime resolution=yes
    ; tietoturva
    ; hosts allow = 192.168.0 127.0.0.1
    ; kuunnellaan vaan eth0, koska eth1 on paha paha interne

   # domain admin group = @wheel

   ; otetaan network recycle bin k�ytt��n, vaatii samba 2.2.5 (+) version
   ; ja sen ett� tuki on k��nnetty mukaan.
   ;vfs object = /usr/lib/samba/recycle.so
   ;vfs options = /etc/samba/recycle.conf

; t�m� tarvitaan domain kontrollerille
[netlogon]
    path = /var/samba/netlogon
    read only = yes
    write list = @wheel
    browseable = no
   
; jaetut profiilit, s�ilytyspaikka
;[Profiles]
;	path = /%G/%U/.profile
;	browseable = no
;	guest ok = yes 
;	read only = no
[apps]
    path = /var/samba/apps
    read only = yes
    write list = @wheel
    browseable = yes

[homedir]
  comment = PC Directories
  path = /home/%U
  public = no
  writeable = yes
  read only = no  

[kotihak]
    path = /home
    read only = no
    write list = root
    browseable = no
    writeable = yes


