Quellcode |
|
1 2 3 |
follow symlinks = yes wide symlinks = yes unix extensions = no |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Fermi18« (08.06.2010, 16:34)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
[global] follow symlinks = yes wide symlinks = yes unix extensions = no workgroup = work netbios name = tux server string = tux printcap name = cups printing = cupslog file = /var/log/samba/log.%m max log size = 50 hosts allow = 192.168.1. 192.168.2. 127.0.0.1 192.168.1.1/24 hosts deny = 0.0.0.0/0 map to guest = bad user guest account = test security = user guest ok = yes encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = lo wlan0 bind interfaces only = yes dns proxy = no [homes] comment = Home Directories browseable = no read only = no [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no printable = yes [print$] comment = Drucker-Treiber path = /etc/samba/printer write list = @adm root [public] comment = Public Files path = /home/samba/public create mask = 0777 read only = no [z] path = /home/fermi/test valid users = fermi read list = fermi write list = fermi read only = no [fermi] path = /home/fermi valid users = fermi read list = fermi write list = fermi read only = no [Green] path = /home/fermi/Green valid users = fermi read list = fermi write list = fermi read only = no [BERGEN] path = /home/samba/public/Bergen/ |
Quellcode |
|
1 |
hosts allow = 192.168.1. 192.168.2. 127.0.0.1 192.168.1.1/24 |
Quellcode |
|
1 |
unix extensions = no |
Quellcode |
|
1 |
/home/samba/public/Bergen/ |
Quellcode |
|
1 |
Bergen -> /home/fermi/Bilder/Urlaub/Bergen/ |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# cat /etc/samba/smb.conf [global] workgroup = QIS server string = LANFEAR # security = share security = user encrypt passwords = Yes guest account = nobody map to guest = Bad User interfaces = lo, eth0, eth1 bind interfaces only = Yes log level = 3 log file = /var/log/samba/samba.log max log size = 1000 debug uid = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain master = No dns proxy = No ldap ssl = no invalid users = root create mask = 0774 force create mode = 0775 force directory mode = 0775 force directory security mode = 0775 case sensitive = No hide special files = Yes wide links = Yes follow symlinks = Yes unix password sync = No unix extensions = No client lanman auth = Yes lanman auth = Yes dos charset = 1255 unix charset = UTF-8 display charset = UTF-8 [copy] comment = public copy share path = /home/smb/copy force group = users read only = No create mask = 0775 directory mask = 0775 guest ok = yes browseable = yes [readonly] comment = readonly share for guests path = /home/smb/readonly force group = users read only = No create mask = 0775 directory mask = 0775 guest ok = yes browseable = yes read list = nobody |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »dyle« (08.06.2010, 16:17)
Quellcode |
|
1 |
mount -o bind /home/fermi/Bilder/Urlaub/Bergen /home/samba/public/Bergen |
Quellcode |
|
1 |
/home/fermi/Bilder/Urlaub/Bergen /home/samba/public/Bergen none bind 0 0 |