Portál AbcLinuxu, 10. května 2025 07:30
[global] log file = /var/log/samba/log.%m passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . obey pam restrictions = yes logon drive = H: domain master = yes encrypt passwords = true hosts allow = 192.168.1. passdb backend = tdbsam passwd program = /usr/bin/passwd %u logon home = \\%L\profiles\%U wins support = yes # dns proxy = no netbios name = BGSERVER netbios aliases = BGSERVER server string = %h server logon script = logon.cmd unix password sync = yes local master = yes workgroup = BADGATEWAY.CZ logon path = \\%L\profiles\%U os level = 33 debug level = 10 security = user syslog = 0 panic action = /usr/share/samba/panic-action %d add machine script = /usr/sbin/useradd -c "Machine account" -d /dev/null -g 103 -s /bin/false %u max log size = 1000 pam password change = yes domain logons = yes [homes] comment = Home Directories browseable = no create mask = 0700 directory mask = 0700 [netlogon] comment = Network Logon Service path = /home/domain/netlogon # guest ok = yes # read only = yes # share modes = no read only = yes write list [profiles] path = /home/domain # browsable = no # writable = yes read only = yes create mask = 0600 directory mask = 0700 [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes guest ok = no read only = yes create mask = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = noMuzete prosim nekdo poradit jak to rozchodit?
Řešení dotazu:
Nemělo by tam být spíšsecurity = user
security = domain
, pokud má být Samba doménový řadič?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.