Имеем линукс, с самбой 2.2.8 в которой такой конфиг...
====================================================================================
smb.conf
[global]
workgroup = ak
netbios name = pdc
server string = Linux PDC Server
load printers = no
log file = /var/log/samba/log.%m
max log size = 50000
log level = 2
hosts allow = 192.168.0. 127.0.0
interfaces = 192.168.0.222
guest account = nobody
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all* authentication*tokens*updated*successfully*
template homedir = /home/%D/%U
template shell = /bin/bash
logon home = \\%L\%U\.profile
logon drive = H:
logon path = \\%L\profiles\%U
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 64
domain master = yes
preferred master = yes
domain logons = yes
logon script = netlogon.bat
logon path = \\%L\Profiles\%U
logon home = \\%L\%U\.profile
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u
add user script = /usr/sbin/useradd -s /bin/false %u
domain admin group = root @machines @wheel @admins
domain guest group = nobody @guest
dns proxy = no
# wins support = yes
# wins proxy = no
client code page = 866
character set = KOI8-R
use sendfile = yes
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writeable = yes
[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = yes
browseable = no
write list = paha paha$
====================================================================================
Для добавления пользователя работающего в win2k на машие с именем test делаем...
1. useradd -g 100 -d /dev/null -c "computer" -s /bin/false test$
2. passwd -l test$
3. smbpasswd -a -m test
4. adduser -g 100 test
5. smbpasswd -a test
После этого пытаюсь ввести машину в домен, но после того, как указываю имя пользователя в домене через некоторое время получаю - The following error occerred attemping to join the domain "ak" : The network name cannot be found.
В чем грабли?