Peter: Berechtigungen Linux

Beitrag lesen

Hallo fastix!

Hier die ganze smb.conf:

[global]
 workgroup = CH
 server string = Samba Server
 obey pam restrictions = Yes
 passdb backend = tdbsam, guest
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
 syslog = 0
 log file = /var/log/samba/log.%m
 max log size = 1000
 printcap name = /etc/printcap
 logon script = netlogon.bat
 logon path = \%L\profiles%U.pds
 logon drive = Z:
 domain logons = Yes
 domain master = Yes
 dns proxy = No

[homes]
 comment = Home Directories
 path = /home/%u
 read only = No
 create mask = 0700
 directory mask = 0700
 writeable = yes

[public]
 comment = Public Folder
 path = /home/public
 read only = No

[tmp]
 comment = Temporary Folder
 path = /home/tmp
 read only = No

[profiles]
 comment = Profiles Folder
 path = /home/profiles
 read only = No
 browseable = No

[www]
 comment = Web Folder
 path = /home/www/%u
 read only = No

[netlogon]
 comment = Network Logon Service
 path = /home/netlogon
 browseable = No
 share modes = No

[printers]
 comment = All Printers
 path = /var/spool/samba
 guest ok = Yes
 printable = Yes
 browseable = No

[print$]
 comment = Printer Drivers
 path = /etc/samba/drivers
 browseable = yes
 guest ok = yes
 read only = yes
 write list = @ntadmin, root

[cdrom]
 comment = Samba server's CD-ROM
 path = /cdrom
 guest ok = Yes
 locking = No
 exec = /bin/mount /cdrom
 postexec = /bin/umount /cdrom

Gruss Peter