AW: [Samba] Linux Netzwerk + userverwaltung Samba Version ist: 3.0.12-5-SUSE
Hier die smb.conf:
# smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed. # Date: 2005-03-22
[global]
domain logons = No
idmap gid = 10000-20000
idmap uid = 10000-20000
security = user
workgroup = XGAMING
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = No
winbind gid = 10000-20000
winbind uid = 10000-20000
restrict anonymous = no
preferred master = no
max protocol = NT
lap ssl = No
server signing = Auto
smbpasswd = Yes
encrypt passwords = Yes
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes
[markus]
comment = Network Profiles Service
path = /Ext1/
create mask = 0600
directory mask = 0700
valid users = root,Markus
write list = Markus
admin users = root
case sensitive = no
msdfs proxy = no
force group = users
read only = no
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No [print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[thomas]
path = /Ext2/
write list = Thomas
admin users = root
case sensitive = no
msdfs proxy = no
read only = no
smbusers:
# This file allows you to map usernames from the clients to the server.
# Unix_name = SMB_name1 SMB_name2 ...
#
# See section 'username map' in the manual page of smb.conf for more
# information.
root = administrator
;nobody = guest pcguest smbguest
Markus = user pcuser smbuser
Thomas = user pcuser smbuser
smbpasswd:
# This file is the authentication source for Samba if 'passdb backend' is set # to 'smbpasswd' and 'encrypt passwords' is 'Yes' in the [global] section of # /etc/samba/smb.conf # # See section 'passdb backend' and 'encrypt passwords' in the manual page of # smb.conf for more information. nobody:65534:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX:[DU ]:LCT-00000000:
root:********
Markus:test1
Thomas:test2 |