ict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the loopback interface. For more examples of the syntax see
# the smb.conf man page. Do not enable this if (tcp/ip) name resolution does
# not work for all the hosts in your network.
; hosts allow=192.168.1. 192.168.2. 127.
# Uncomment this if you want a guest account, you must add this to/etc/passwd
# otherwise the user nobody is used
; guest account=pcguest
# Allow users to map to guest:
map to guest=bad user
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security=domain
# Use password server option only with security=server or security=domain
# When using security=domain, you should use password server=*
; password server= lt; NT-Server-Name gt;
password server=*
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level=8
; username level=8
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
# Encrypted passwords are required for any use of samba in a Windows NT domain
# The smbpasswd file is only required by a server doing authentication, thus
# members of a domain do not need one.
encrypt passwords=yes
smb passwd file=/ etc/samba/smbpasswd
# The following are needed to allow password changing from Windows to
# also update the Linux system password.
# NOTE: Use these with encrypt passwords and smb passwd file above.
# NOTE2: You do NOT need these to allow workstations to change only
# the encrypted SMB passwords. They allow the Unix password
# to be kept in sync with the SMB password.
; unix password sync=Yes
# You either need to setup a passwd program and passwd chat, or
# enable pam password change
; pam password change=yes
; passwd program=/ usr/bin/passwd% u
; passwd chat=* New * UNIX * password *% n n * Re * ype * new * UNIX * password *% n n
; * passwd: * all * authentication * tokens * updated * successfully *
# Unix users can map to different SMB User names
; username map=/ etc/samba/smbusers
# Using the following line enables you to customise your configuration
# on a per machine basis. The% m gets replaced with the netbios name
# of the machine that is connecting
; include=/etc/samba/smb.conf.%m
# Options for using winbind. Winbind allows you to do all account and
# authentication from a Windows or samba domain controller, creating
# accounts on the fly, and maintaining a mapping of Windows RIDs to unix uid's
# and gid's. winbind uid and winbind gid are the only required parameters.
#
# winbind uid is the range of uid s winbind can use when mapping RIDs to uid s
winbind uid=10000-20000
#
# winbind gid is the range of uid s winbind can use when mapping RIDs to gid s
winbind gid=10000-20000
#
# winbind separator is the character a user must use between their domain
# name and username, defaults to" "
winbind separator=+
#
# winbind use default domain allows you to have winbind return usernames
# in the form user instead of DOMAIN + user for the domain listed in the