Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [global]
- local master = yes
- os level = 255
- preferred master = Yes
- workgroup = FAR.LOCAL
- server string = %h server
- netbios aliases = H2
- announce as = NT Server
- wins support = yes
- ; wins server = w.x.y.z
- dns proxy = no
- name resolve order = host lmhosts wins bcast
- interfaces = 127.0.0.0/8 eth1
- bind interfaces only = yes
- log file = /var/log/samba/log.%m
- max log size = 1000
- syslog = 0
- panic action = /usr/share/samba/panic-action %d
- security = user
- encrypt passwords = true
- passdb backend = tdbsam
- smb passwd file = /etc/samba/smbpasswd
- obey pam restrictions = yes
- unix password sync = yes
- passwd program = /usr/bin/passwd %u
- passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
- pam password change = yes
- map to guest = bad user
- guest account = nobody
- domain logons = yes
- logon path = \\%N\%U\profile
- logon drive = H:
- logon home = \\%N\%U
- logon script = %U.bat
- ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
- ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
- ; add group script = /usr/sbin/addgroup --force-badname %g
- load printers = no
- ; include = /home/samba/etc/smb.conf.%m
- domain master = yes
- ; idmap uid = 10000-20000
- ; idmap gid = 10000-20000
- ; template shell = /bin/bash
- ; winbind enum groups = yes
- ; winbind enum users = yes
- ; usershare max shares = 100
- [homes]
- comment = Home Directories
- browseable = no
- read only = no
- create mask = 0700
- directory mask = 0700
- valid users = %S
- [netlogon]
- comment = Network Logon Service
- path = /mnt/vol1/vol1/netlogon
- read only = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement