Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [global]
- workgroup = MYDOMAI
- netbios name = server
- netbios aliases = software
- server string = Server
- encrypt passwords = Yes
- map to guest = Bad User
- time server = Yes
- domain master = Yes
- preferred master = Yes
- domain logons = Yes
- passdb backend = ldapsam:ldap://127.0.0.1/
- pam password change = Yes
- idmap alloc config : ldap_url = ldap://127.0.0.1/
- idmap alloc config : ldap_base_dn = ou=Idmap,dc=mydomain,dc=local
- max protocol = smb2
- server signing = auto
- client signing = auto
- admin users = root, Administrator, admin
- add user script = /usr/sbin/smbldap-useradd -a -m "%u"
- delete user script = /usr/sbin/smbldap-userdel "%u"
- add group script = /usr/sbin/smbldap-groupadd –p "%g"
- delete group script = /usr/sbin/smbldap-groupdel "%g"
- add user to group script = /usr/sbin/smbldap-groupmod –m "%u" "%g"
- delete user from group script = /usr/sbin/smbldap-groupmod –x "%u" "%g"
- set primary group script = /usr/sbin/smbldap-usermod –g "%u" "%g"
- add machine script = /usr/sbin/smbldap-useradd -a -w "%u"
- logon script = KIX32.exe logon.kix
- logon path = \\%L\profile\.winprofile
- logon drive = N:
- logon home = \\%L\%U
- log level = 10 passdb:0 auth:0 winbind:10
- log file = /var/log/samba/smb.%m
- max log size = 5000
- deadtime = 20
- wins support = yes
- interfaces = eth0
- null passwords = true
- pid directory = /var/run/samba
- dont descend = lost+found
- use sendfile = yes
- load printers = yes
- printing = cups
- printcap name = cups
- ldap ssl = No
- ldap timeout = 30
- ldap admin dn = cn=admin,dc=mydomain,dc=local
- ldap delete dn = Yes
- ldap user suffix = ou=Users
- ldap group suffix = ou=Groups
- ldap machine suffix = ou=Computers
- ldap idmap suffix = ou=Idmap
- ldap passwd sync = Yes
- ldap suffix = dc=mydomain,dc=local
- [homes]
- comment = Home Directories
- path = /data/home/%U
- read only = No
- create mask = 0640
- directory mask = 0750
- store dos attributes = yes
- browseable = No
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement