I have done those functions but still get the same problem. Does the w2k machine require a certain service pack? Here are some log file entries:
**************************************************
waiting for a connection
[2003/10/03 17:33:42, 2] smbd/server.c:exit_server(558)
Closing connections
[2003/10/03 17:33:47, 2] lib/interface.c:add_interface(79)
added interface ip=10.0.1.106 bcast=10.0.1.255 nmask=255.255.255.0
[2003/10/03 17:33:47, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
Registered MSG_REQ_POOL_USAGE
[2003/10/03 17:33:47, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2003/10/03 17:33:47, 2] smbd/server.c:open_sockets_smbd(318)
waiting for a connection
[2003/10/03 17:34:06, 2] smbd/reply.c:reply_special(93)
netbios connect: name1=ONE name2=USVAP010
[2003/10/03 17:34:06, 2] smbd/reply.c:reply_special(100)
netbios connect: local=one remote=usvap010, name type = 0
[2003/10/03 17:34:06, 2] smbd/sesssetup.c:setup_new_vc_session(535)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2003/10/03 17:34:06, 2] smbd/sesssetup.c:setup_new_vc_session(535)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2003/10/03 17:34:06, 2] auth/auth.c:check_ntlm_password(302)
check_ntlm_password: authentication for user [root] -> [root] -> [root] succeeded
[2003/10/03 17:34:07, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2540)
Returning domain sid for domain FUNK.COM -> S-1-5-21-2394411889-1036987506-3959984788
[2003/10/03 17:35:04, 1] auth/auth_util.c:make_server_info_sam(818)
User smbguest in passdb, but getpwnam() fails!
[2003/10/03 17:35:04, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: Authentication for user [] -> [] FAILED with error NT_STATUS_NO_SUCH_USER
[2003/10/03 17:35:04, 1] auth/auth_util.c:make_server_info_sam(818)
User smbguest in passdb, but getpwnam() fails!
[2003/10/03 17:35:04, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: Authentication for user [] -> [] FAILED with error NT_STATUS_NO_SUCH_USER
[2003/10/03 17:35:07, 1] auth/auth_util.c:make_server_info_sam(818)
User smbguest in passdb, but getpwnam() fails!
[2003/10/03 17:35:07, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: Authentication for user [] -> [] FAILED with error NT_STATUS_NO_SUCH_USER
[2003/10/03 17:36:09, 2] smbd/server.c:exit_server(558)
Closing connections
************************************************************


Thans

Frederico Madeira wrote:

Jon,

For win2k and Winxp machines you must create a machine account. You must put the machine name followd by $ as username.

adduser -d /dev/null -s /bin/false machine$
passwd -l machine
smbpasswd -m machine

Frederico Madeira
Coordenador de Suporte
N. Landim Comércio Ltda
PABX: 81. 3497.3029
e-mail: [EMAIL PROTECTED]




Em Sex, 2003-10-03 às 15:31, [EMAIL PROTECTED] escreveu:


/I am having trouble joining a w2k box to a samba machine (latest release). I am able to put in the root username/passwd when joining. Then I get the "welcome to the funk.com domain" message...you must restart....

However, after restart, I try logging into the domain but get this error message "this computer's account is not in the primary domain server..."

I have added the computer into the computer passwd file and the samba passwd file.
I have added root into samba's passwd file.


Thanks in advace

Here is the conf file:

[global]
       domain logons = yes
       encrypt passwords = yes
       guest account = smbguest
       log level = 2
       log file = /var/log/samba.log
       logon drive = p:
       logon home = \\example-server\%U
       netbios name = example-server
       os level = 99
       preferred master = yes
       security = user
       socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
       wins support = yes
       workgroup = example-wrkgrp

[homes]
       read only = no
       create mode = 0600
       directory mode = 0700

[netlogon]
       path = /home/netlogon/






--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to