hi các anh. em là newbie linux, kiến thức còn rất hạn hẹp ^^!
em đang có đề tài tìm hiểu & xây dựng domain controller trên linux sử dụng samba & ldap
em đã cài đặt samba & cấu hình smb.conf step by step như trong link hướng dẫn để từ win xp có thể join domain
cụ thể file smb.conf của em như sau:
inux em dùng fedora 13
máy winxp name là icyxp
sau đó em làm bước Add machine-user acc, cụ thể là các lệnh sau:
khi cho xp join domain (METRAN) thì báo ko tìm thấy domain đó
cho em hỏi là có cần cấu hình thêm DNS server hay phai ket hop voi LDAP ra sao, hay em thiếu những bước gì de có thể join domain dc
thời gian gấp rút quá, mò hoài ko dc, mong các anh giúp đỡ ạ!
em đang có đề tài tìm hiểu & xây dựng domain controller trên linux sử dụng samba & ldap
em đã cài đặt samba & cấu hình smb.conf step by step như trong link hướng dẫn để từ win xp có thể join domain
cụ thể file smb.conf của em như sau:
Code:
[global]
; use the name of your Samba server instead of toltec
; and your own workgroup instead of METRAN
netbios name = toltec
workgroup = METRAN
encrypt passwords = yes
domain master = yes
local master = yes
preferred master = yes
os level = 65
security = user
domain logons = yes
; logon path tells Samba where to put Windows NT/2000/XP roaming profiles
logon path = \\%L\profiles\%u\%m
logon script = logon.bat
logon drive = H:
; logon home is used to specify home directory and
; Windows 95/98/Me roaming profile location
logon home = \\%L\%u\.win_profile\%m
time server = yes
; instead of jay, use the names of all users in the Windows NT/2000/XP
; Administrators group who log on to the domain
domain admin group = root jay
; the below works on Red Hat Linux - other OSs might need a different command
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
máy winxp name là icyxp
sau đó em làm bước Add machine-user acc, cụ thể là các lệnh sau:
Code:
smbpasswd -a root /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M icyxp$ smbpasswd -a -m icyxp
cho em hỏi là có cần cấu hình thêm DNS server hay phai ket hop voi LDAP ra sao, hay em thiếu những bước gì de có thể join domain dc
thời gian gấp rút quá, mò hoài ko dc, mong các anh giúp đỡ ạ!
Comment