Il 19:42, martedì 16 dicembre 2003, Marcello Missiroli ha scritto:
> In questa mia configurazione, succede una cosa un po' strana.
>
Sono proprio strunz.
Non so come, ma non è il file che volevo spedire.
Mi è venuto il dubbio che il problema sia tra "profiles" e "profile". ....
;
; /etc/smb.conf
;
; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany.
;
[global]
server string = Samba PDC v. %v su %h
# admin users = root
workgroup = INFORMATICA
guest account = nobody
keep alive = 30
os level = 65
kernel oplocks = false
security = user
time server = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
; printer driver file=data/pdef/printers.def
; 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.0.254
encrypt passwords = yes
# This boolean parameter controlls whether Samba attempts to sync. the Unix
# password with the SMB password when the encrypted SMB password in the
# /etc/samba/smbpasswd file is changed.
unix password sync = yes
# For Unix password sync. to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Augustin Luton <aluton@xxxxxxxxxxxxxx> for
# sending the correct chat script for the passwd program in Debian Potato).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX
\spassword:* %n\n .
; invalid users = root
printing = bsd
printcap name = /etc/printcap
load printers = no
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
map to guest = Bad User
; Uncomment this, if you want to integrate your server
; into an existing net e.g. with NT-WS to prevent nettraffic
; local master = no
; Please uncomment the following entry and replace the
; ip number and netmask with the correct numbers for
; your ethernet interface.
;interfaces = 192.168.0.254/255.255.0.0
; If you want Samba to act as a wins server, please set
; 'wins support = yes'
wins support = yes
; If you want Samba to use an existing wins server,
; please uncomment the following line and replace
; the dummy with the wins server's ip number.
; wins server = 192.168.0.1
; Do you wan't samba to act as a logon-server for
; your windows 95/98 clients, so uncomment the
; following:
logon path=\\%L\profiles\%U.pds
logon home=\\wormhole\%U
logon drive = H:
nt acl support = no
logon script = test.bat
domain logons = yes
domain master = yes
[netlogon]
comment = The Domain Logon Service
path = /data/dos/netlogon
read only = yes
guest ok = yes
# oplocks = no
write list = @teachers
[homes]
comment = home-directory
hide dot files = yes
browseable = no
read only = no
create mode = 0755
; 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
;
[studenti]
comment = tutte le dir degli utenti
path = /home
browseable = yes
read only = no
read list = @teacher
create mode = 0755
#[LaserJet Informatica]
# comment = Stampante Lasejet posta in Informatica
# path = /tmp
# printable = yes
# guest ok = yes
# print command = /bin/printpdf.sh %s
# printer driver = HP LaserJet 4 Plus
# printer driver location = \\%h\PRINTER$
[profiles]
comment = User profiles
browseable = yes
writeable = yes
create mode = 600
force user = %U
force group = %G
directory mode = 700
path = /data/dos/profiles
guest ok = no
[share]
comment = Area di scambio
path = /samba/share
browseable = yes
read only = no
create mask = 777
directory mask = 777
force user = nobody
force group = users
public = yes
guest ok = yes
[risorse]
comment = Dispense, software, varie
path = /samba/risorse
browseable = yes
read only = yes
write list = @teacher
create mode = 775
directory mode = 2775
public = yes
;
; Share dei Gruppi Informatica
;
[gruppi]
comment = Gruppi di lavoro
path=/samba/gruppi
browseable = yes
create mode = 775
directory mode = 2775
write list = @users,@teacher
read list = @users,@teacher
;
; Mailbox per studenti
;
[mailbox]
comment = Mailbox
path=/samba/mailbox
browseable = yes
create mode = 755
directory mode = 755
write list = @users,@teacher
--
Marcello Missiroli
(1) marcello.missiroli@xxxxxx [general]
(2) marcello.missiroli@xxxxxxxxxxxxx [old address]
(2) piffy@xxxxxxxxxxx [game-related stuff]
(3) m.missiroli@xxxxxxxxxxxxx [school-related]
|