[Pkg-samba-maint] Bug#520012: Bug#520012: Logs

Fabio Muzzi kurgan at kurgan.org
Mon Mar 30 14:38:08 UTC 2009


Christian Perrier wrote:


> What is the output of "testparm /etc/samba/smb.conf" ?

Here it comes. Sorry I was so late, but I have a LOT of work to do, and 
only one (defective) brain. It is now configured as a BDC to run the 
"net rpc vampire" command...



[global]
         workgroup = GIEPR
         server string = %h server (Samba %v)
         interfaces = eth0, lo
         bind interfaces only = Yes
         passdb backend = tdbsam
         passwd program = /usr/bin/passwd %u
         passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
         lanman auth = Yes
         syslog = 0
         max log size = 1000
         name resolve order = wins bcast hosts
         time server = Yes
         lpq cache time = 3
         socket options = IPTOS_LOWDELAY TCP_NODELAY
         printcap name = cups
         show add printer wizard = No
         add user script = /usr/sbin/useradd -g users -m '%u'
         delete user script = /usr/sbin/userdel -r '%u'
         add group script = /usr/sbin/groupadd '%g'
         delete group script = /usr/sbin/groupdel '%g'
         add user to group script = /usr/sbin/usermod -G '%g' '%u'
         add machine script = /usr/sbin/useradd -g 65534 -d /dev/null -s 
/bin/false '%u'
         logon script = logon.bat
         logon path =
         domain logons = Yes
         os level = 64
         preferred master = Yes
         domain master = No
         dns proxy = No
         utmp = Yes
         panic action = /usr/share/samba/panic-action %d
         create mask = 0771
         force create mode = 0660
         directory mask = 0770
         force directory mode = 0770
         cups options = "raw"
         map hidden = Yes
         map system = Yes
         dos filemode = Yes

[netlogon]
         comment = Logon Service
         path = /ud0/netlogon
         guest ok = Yes
         browseable = No

[profiles]
         comment = Roaming Profiles (NT)
         path = /ud0/profiles
         read only = No
         profile acls = Yes

[print$]
         comment = Printer drivers
         path = /ud0/print
         write list = @ntadmins, root
         force create mode = 0664
         force directory mode = 0775
         guest ok = Yes
         map archive = No
         map hidden = No
         map system = No
         browseable = No[homes]
         comment = Cartella Personale
         path = /home/%u
         valid users = %S
         read only = No
         create mask = 0711
         force create mode = 00
         directory mask = 0700
         force directory mode = 00
         browseable = No
         vfs objects = recycle
         recycle:maxsize = 100000000
         recycle:touch = Yes
         recycle:versions = Yes

[dis_imp]
         comment = Disegni Impianti
         path = /ud0/dis_imp
         read only = No
         vfs objects = recycle
         recycle:maxsize = 100000000
         recycle:touch = Yes
         recycle:versions = Yes

[dis_pc]
         comment = Disegni Parti Calde
         path = /ud0/dis_pc
         read only = No
         vfs objects = recycle
         recycle:maxsize = 100000000
         recycle:touch = Yes
         recycle:versions = Yes

[dis_coal]
         comment = Disegni Compressori
         path = /ud0/dis_coal
         read only = No
         vfs objects = recycle
         recycle:maxsize = 100000000
         recycle:touch = Yes
         recycle:versions = Yes

[dis_raster]
         comment = Disegni rasterizzati
         path = /ud0/dis_raster
         read only = No
         browseable = No

[dis_coll]
         comment = Disegni Collaudo
         path = /ud0/dis_coll
         read only = No
         browseable = No

[raster_attrezz]
         comment = Cartella temporanea per i raster delle attrezzature
         path = /ud1/raster_attrezzature
         read only = No
         map archive = No
         map hidden = No
         map system = No
         store dos attributes = Yes
[ordini_acqu]
         comment = Dati Ordini Ufficio Acquisti
         path = /ud0/ordini_acqu
         read only = No
         map archive = No
         map hidden = No
         map system = No

[dati]
         comment = share enorme per tutto, da mappare come Q:
         path = /ud1/dati
         read only = No
         map archive = No
         map hidden = No
         map system = No
         store dos attributes = Yes

[test]
         comment = share di test da non usare
         path = /ud1/test
         read only = No
         inherit acls = Yes
         map archive = No
         map hidden = No
         map system = No
         store dos attributes = Yes

[elda]
         comment = Dati ufficio elda
         path = /ud0/elda
         read only = No
         vfs objects = recycle
         recycle:maxsize = 100000000
         recycle:touch = Yes
         recycle:versions = Yes

[temp]
         comment = Cartella temporanea pubblica
         path = /ud0/temp
         read only = No

[installa]
         comment = Pacchetti da installare
         path = /ud0/installa
         read only = No
         force create mode = 0664
         directory mask = 0771
         force directory mode = 0775

[backup_macchine]
         comment = Per fare i backup dei dati locali dei PC
         path = /ud1/backup_macchine
         read only = No
         map archive = No
         map hidden = No
         map system = No
         store dos attributes = Yes

[printers]
         comment = Stampanti
         path = /tmp
         create mask = 0700
         printable = Yes
         map archive = No
         map hidden = No
         map system = No
         browseable = No






-- 

Fabio "Kurgan" Muzzi







More information about the Pkg-samba-maint mailing list