Самба Пример Домеин Контролер
[global]
workgroup = TRESOR
server string = Lippstadt
netbios name = Tresor3
max log size = 50
security = user
socket options = TCP_NODELAY
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
passdb backend = smbpasswd
local master = yes
time server = Yes
os level = 65
domain master = yes
preferred master = yes
domain logons = yes
logon script = logon.bat
logon path = \\%L\profiles\%u\%m
logon drive = H:
domain admin group = root
#writeable = yes
#browseable = no
printing = CUPS
printcap name = CUPS
load printers = yes
encrypt passwords = yes
#add machine script =
#ldap suffix = dc=example,dc=com
Папка уже есть für SuSE
[netlogon]
comment = netlogon
path = /var/lib/samba/netlogon
browseable = no
writeable = no
надо сделать рутом
chmod 755 /var/lib/samba/netlogon
Папка уже есть für SuSE
[profiles]
comment = profiles
path = /var/lib/samba/profiles
create mask = 0600
directory mask = 0700
writeable = yes
browseable = yes
Надо сделать рутом
chmod 777 /var/lib/samba/profiles
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = yes
browseable = no
guest ok = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = no
printable = no
Папка на линуксе должна быть auf wünsch
[daten]
comment = Daten
path = /privatdate
valid users = akker,marina # kann nur akker und marina
browseable = yes
writeable = yes
guest ok = yes
printable = no
cd /.
mkdir privatdate
chmod 777 /privatdate
Папка на линуксе должна быть auf wünsch
[firma]
comment = Firmdaten für Alle
path = /firdat
browseable = yes
writeable = yes
guest ok = yes
cd /.
mkdir firdat
chmod 777 /firdat