Zdravim
nevim co delam blbe
chci udelat sdileni tak aby rizni uuivatele mely rozna prava
ale funguje pouze uzivatel imhotep ale jiny ne, poradte co sem udelal blbe
tot konfuuraky
smb.conf
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2007/08/26 09:04:16
[global]
workgroup = THEBZ.CZ
netbios name = ANUBIS3
server string = Samba Server %v
map to guest = Bad User
log file = /var/log/samba/%m.log
max log size = 50
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap cache time = 60
printcap name = cups
dns proxy = No
printing = cups
print command =
lpq command = %p
lprm command =
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
[print$]
path = /var/lib/samba/printers
write list = @adm, root
inherit permissions = Yes
guest ok = Yes
[pdf-gen]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
printing = bsd
print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
lpq command = /bin/true
lprm command = lprm -P'%p' %j
[root]
comment = p
path = /data
[homes]
comment = Home Directories
read only = No
browseable = No
[ee]
comment = ee
path = /
valid users = pokus, @pokus
force group = 0777
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
[pepca]
path = /pepicek/
comment = pepca
public = no
create mask = 0777
directory mask = 0777
valid users = pokus
force create mode = 0777
force group = 0777
smbpasswd
imhotep:501:A9C604D244C4E99DAAD3B435B51404EE:ACB98FD0478427CD18949050C5E87B47:[U ]:LCT-46D0448D:
pepicek:500:10E04305D47BFF9D8A9F9F8AD8BC3027:51BA6860E83BBAE80D1A61DB985F87B2:[U ]:LCT-46D0471C:
pokus:502:66B4159AF5A7C45CAAD3B435B51404EE:1910BD9285A6B8C9344D9F5CC74E0878:[U ]:LCT-46D11BB0:
root:501:66B4159AF5A7C45CAAD3B435B51404EE:1910BD9285A6B8C9344D9F5CC74E0878:[U ]:LCT-46D11268:
smbusers
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest