testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[profiles]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
[global]
workgroup = EXAMPLE.COM
netbios name = SAMBADC
server string = Samba Server Version %v
interfaces = lo, eth1
add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins support = Yes
hosts allow = 127., 192.168.16., 192.168.17.
cups options = raw
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[homes]
read only = No
create mask = 0644
browseable = No
[netlogon]
path = /home/samba/netlogon
guest ok = Yes
[profiles]
path = /home/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
ls -l /home/samba
total 8
drwxr-xr-x 2 root root 4096 Jan 4 12:22 netlogon
drwxr-xr-x 2 root root 4096 Jan 4 12:27 profiles
Bookmarks