Samba join with domain 2003
1. time ( correct time between suse and window 2003 )
2. vim /etc/resolve.conf :
a. search fsit.com
b. nameserver 192.168.2.1
3. yast -> Network service -> window domain membership -> :
a. domain or workgroup : 192.168.2.1
b. and select Also use SMB information for linux Authentication and select Create home directory on login
c. -> finish -> it will put password 2003 ( administrator)
Samba access from web :
1. vim /etc/xinetd.d/swat :
# SWAT is the Samba Web Administration Tool.
service swat
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/swat
# only_from = 127.0.0.1
log_on_failure += USERID
# disable = yes
}
– rcxinetd start
– start firefox : http://10.20.30.1:901
build samba as domain controller
1. vim /etc/samba/smb.conf :
[global]
netbios name = linux
workgroup = linux.com
security = user
logon script = %U.bat
domain master = Yes
os level = 65
local master = Yes
preferred master = Yes
domain logons = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$