Steve Hennerley
2003-Jan-07 03:57 UTC
[Samba] Problem I am having with Samba 2.2.7a and Win2k
Hi ... I am desperate now to solve this problem ... this is my absolute last resort attempt! I have read of the problem on a number of posts/newsgroups/webpages - but there a very little solutions - or causes - none of the solutions have worked for me! Basically my samba is happily running and I can connect to it fine from 9x clients and from 2k client as a workgroup. However..... If I try to join the doimain with the 2k box - using root (which is set up in smbpasswd and can join shares etc normally and can conneect through windows or smbclient) I recieve win message "the specified user does not exist" If i get username or password incorrect however i get message "Logon Failure: Unknown user name or bad password" This kinda proves that the authentication is working to some extent.... I have "add user script" set up in smb.conf and this succesfully adds machine account into /etc/passwd - but account is never added to smbpasswd I enclose below segment of log files (debug level 5) and smb.conf to see if anyone can make sense of it - it is driving me mad! Hope someone can help!! Kind regards Steve Hennerley Infrastructure and Telephony Support UCMS Contact 360, Auckland, New Zealand smb.conf (global section) [global] workgroup = SALESONE netbios name = TOLSTOY server string = Callcentre Server interfaces = 10.64.10.10/255.255.255.0 bind interfaces only = Yes encrypt passwords = Yes passwd program = /usr/bin/passwd %u passwd chat = *ew*password* %n\n *ew*password* %n\n *success* unix password sync = Yes syslog = 2 syslog only = Yes log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins bcast time server = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printers domain admin group = root admins logon script = %G.bat logon home = \\%L\%U domain logons = Yes os level = 33 domain master = Yes dns proxy = No wins support = Yes socket address = 10.64.10.10 create mask = 0660 directory mask = 02770 veto oplock files = /*.mdb/*.ldb/*.pst/ add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u log.smbd (during attempt to join domain from machine ucms-akl-488) [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_KEEPALIVE = 1 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_REUSEADDR = 1 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_BROADCAST = 0 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option TCP_NODELAY = 1 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option IPTOS_LOWDELAY = 0 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option IPTOS_THROUGHPUT = 0 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_SNDBUF = 16384 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_RCVBUF = 16384 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_SNDLOWAT = 1 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_RCVLOWAT = 1 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_SNDTIMEO = 0 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_RCVTIMEO = 0 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_KEEPALIVE = 1 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_REUSEADDR = 1 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_BROADCAST = 0 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option TCP_NODELAY = 1 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option IPTOS_LOWDELAY = 0 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option IPTOS_THROUGHPUT = 0 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_SNDBUF = 16384 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_RCVBUF = 16384 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_SNDLOWAT = 1 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_RCVLOWAT = 1 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_SNDTIMEO = 0 [2003/01/07 16:08:19, 5] lib/util_sock.c:print_socket_options(111) socket option SO_RCVTIMEO = 0 [2003/01/07 16:08:19, 3] smbd/oplock.c:init_oplocks(1211) open_oplock_ipc: opening loopback UDP socket. [2003/01/07 16:08:19, 3] lib/util_sock.c:open_socket_in(813) bind succeeded on port 0 [2003/01/07 16:08:19, 3] smbd/oplock.c:init_oplocks(1242) open_oplock ipc: pid = 20555, global_oplock_port = 4845 [2003/01/07 16:08:19, 4] lib/time.c:get_serverzone(114) Serverzone is -46800 [2003/01/07 16:08:19, 3] smbd/process.c:process_smb(878) Transaction 0 of length 72 [2003/01/07 16:08:19, 2] smbd/reply.c:reply_special(92) netbios connect: name1=TOLSTOY name2=UCMS-AKL-488 [2003/01/07 16:08:19, 2] smbd/reply.c:reply_special(111) netbios connect: local=tolstoy remote=ucms-akl-488 log.<machine name> (different attempt to do same thing - hence timestamp difference) [2003/01/07 16:23:19, 3] smbd/process.c:process_smb(878) Transaction 106 of length 196 [2003/01/07 16:23:19, 5] lib/util.c:show_msg(275) size=192 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=18439 [2003/01/07 16:23:19, 5] lib/util.c:show_msg(281) smb_tid=0 smb_pid=65279 smb_uid=0 smb_mid=49408 smt_wct=13 [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[0]=117 (0x75) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[1]=159 (0x9F) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[2]=16644 (0x4104) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[3]=50 (0x32) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[4]=0 (0x0) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[5]=20636 (0x509C) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[6]=0 (0x0) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[7]=24 (0x18) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[8]=24 (0x18) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[9]=0 (0x0) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[10]=0 (0x0) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[11]=212 (0xD4) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[12]=0 (0x0) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(291) smb_bcc=98 [2003/01/07 16:23:19, 3] smbd/process.c:switch_message(685) switch message SMBsesssetupX (pid 20636) [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:set_sec_ctx(329) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/01/07 16:23:19, 5] smbd/uid.c:change_to_root_user(217) change_to_root_user: now uid=(0,0) gid=(0,0) [2003/01/07 16:23:19, 3] smbd/reply.c:reply_sesssetup_and_X(858) Domain=[SALESONE] NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0] [2003/01/07 16:23:19, 3] smbd/reply.c:reply_sesssetup_and_X(868) sesssetupX:name=[root] [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user cel, uid 500 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user lnzl, uid 503 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user admin, uid 505 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user alank, uid 506 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user arcserve_admin, uid 515 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user backupop, uid 516 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user billk, uid 518 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user brendaw, uid 519 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user facsys, uid 541 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user galileo, uid 545 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user gwena, uid 551 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user imacs, uid 558 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user kayi, uid 585 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user lenab, uid 592 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user lynnec, uid 604 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user michaelm, uid 622 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user msmail, uid 629 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user op6, uid 637 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user printop, uid 641 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user ran, uid 644 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user replication, uid 648 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user sallyp, uid 655 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user smartc, uid 664 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user sopot, uid 666 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user synalas, uid 676 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user tandem, uid 678 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user taniam, uid 679 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user teamleader, uid 680 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user test, uid 681 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user ups, uid 687 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user nicolam, uid 725 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user salk, uid 732 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user epoche$, uid 728 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user louiset, uid 742 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user op5, uid 747 [2003/01/07 16:23:19, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for user root, uid 0 [2003/01/07 16:23:19, 4] lib/substitute.c:automount_server(177) Home server: tolstoy [2003/01/07 16:23:19, 4] smbd/password.c:smb_password_ok(475) smb_password_ok: Checking SMB password for user root [2003/01/07 16:23:19, 5] smbd/password.c:smb_password_ok(489) smb_password_ok: challenge received [2003/01/07 16:23:19, 4] smbd/password.c:smb_password_ok(499) smb_password_ok: Checking NT MD4 password [2003/01/07 16:23:19, 4] smbd/password.c:smb_password_ok(501) smb_password_ok: NT MD4 password check succeeded [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:push_sec_ctx(297) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2003/01/07 16:23:19, 3] smbd/uid.c:push_conn_ctx(286) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:set_sec_ctx(329) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:get_current_groups(172) get_current_groups: user is in 7 groups: 0, 1, 2, 3, 4, 6, 10 [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:pop_sec_ctx(436) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:get_current_groups(172) get_current_groups: user is in 7 groups: 0, 1, 2, 3, 4, 6, 10 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1000 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1001 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1003 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1005 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1007 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1009 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1013 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1021 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-1-0 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-2 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-11 [2003/01/07 16:23:19, 3] smbd/password.c:register_vuid(336) uid 0 registered to name root [2003/01/07 16:23:19, 3] smbd/password.c:register_vuid(338) Clearing default real name [2003/01/07 16:23:19, 3] smbd/password.c:register_vuid(340) User name: root Real name: root [2003/01/07 16:23:19, 3] smbd/process.c:chain_reply(1023) Chained message [2003/01/07 16:23:19, 5] lib/util.c:show_msg(275) size=192 smb_com=0x75 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=18439 [2003/01/07 16:23:19, 5] lib/util.c:show_msg(281) smb_tid=0 smb_pid=65279 smb_uid=102 smb_mid=49408 smt_wct=4 [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[0]=255 (0xFF) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[1]=192 (0xC0) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[2]=8 (0x8) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(286) smb_vwv[3]=1 (0x1) [2003/01/07 16:23:19, 5] lib/util.c:show_msg(291) smb_bcc=22 [2003/01/07 16:23:19, 3] smbd/process.c:switch_message(685) switch message SMBtconX (pid 20636) [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:set_sec_ctx(329) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/01/07 16:23:19, 5] smbd/uid.c:change_to_root_user(217) change_to_root_user: now uid=(0,0) gid=(0,0) [2003/01/07 16:23:19, 4] smbd/reply.c:reply_tcon_and_X(334) Got device type ????? [2003/01/07 16:23:19, 3] smbd/password.c:authorise_login(736) authorise_login: ACCEPTED: validated uid ok as non-guest (user=root) [2003/01/07 16:23:19, 3] smbd/service.c:make_connection(487) Connect path is /tmp [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:push_sec_ctx(297) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2003/01/07 16:23:19, 3] smbd/uid.c:push_conn_ctx(286) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:set_sec_ctx(329) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:get_current_groups(172) get_current_groups: user is in 7 groups: 0, 1, 2, 3, 4, 6, 10 [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:pop_sec_ctx(436) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/01/07 16:23:19, 3] smbd/sec_ctx.c:get_current_groups(172) get_current_groups: user is in 7 groups: 0, 1, 2, 3, 4, 6, 10 [2003/01/07 16:23:19, 5] smbd/connection.c:claim_connection(156) claiming IPC$ 0 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1000 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1001 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1003 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1005 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1007 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1009 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1013 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-21-3724597724-869612207-3323555121-1021 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-1-0 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-2 [2003/01/07 16:23:19, 5] smbd/password.c:create_nt_token(254) user token sid S-1-5-11 [2003/01/07 16:23:19, 4] rpc_server/srv_srvsvc_nt.c:get_share_security(211) get_share_security: using default secdesc for IPC$ [2003/01/07 16:23:19, 3] lib/util_seaccess.c:se_access_check(269) se_access_check: user sid is S-1-5-21-3724597724-869612207-3323555121-1000 [2003/01/07 16:23:19, 3] lib/util_seaccess.c:se_access_check(273) se_access_check: also S-1-5-21-3724597724-869612207-3323555121-1001
John H Terpstra
2003-Jan-07 05:39 UTC
[Samba] Problem I am having with Samba 2.2.7a and Win2k
On Tue, 7 Jan 2003, Steve Hennerley wrote:> Hi ... I am desperate now to solve this problem ... this is my absolute last > resort attempt!Ok. I'll try to help.> Basically my samba is happily running and I can connect to it fine from 9x > clients and from 2k client as a workgroup.When you try to join the domain - DO NOT FIRST CONNECT TO / BROWSE THE NETWORK! Reboot your win2K client, log on as 'Administrator', right click on 'My Computer', select 'Properties', click on 'Computer Name' (might be called 'Network ID', click on 'Change', click on Domain, then type in your domain name (of course to start with the workgroup name was not the same (was it?). When prompted type in the login name 'root' and the smbpassword you gave root when on the samba server you did 'smbpasswd -a root'. A few pointers BEFORE you do that: 1. If the MS Win2K client is called 'fred' you need to on your samba server: useradd -d /dev/null -s /bin/false fred\$ Note: Note the '\' escaped '$' smbpasswd -a -m fred Note: No trailing '$' 2. Make sure that the TCP/IP config on your MS Win2K client has samba server IP addresses for both WINS servers (primary and secondary). 3. Get rid of the 'socket address' line - it will bite you! Hope it helps. Cheers, John T. Samba-Team> However..... If I try to join the doimain with the 2k box - using root > (which is set up in smbpasswd and can join shares etc normally and can > conneect through windows or smbclient) I recieve win message "the specified > user does not exist" > > If i get username or password incorrect however i get message "Logon > Failure: Unknown user name or bad password" > > smb.conf (global section) > [global] > workgroup = SALESONE > netbios name = TOLSTOY > server string = Callcentre Server > interfaces = 10.64.10.10/255.255.255.0 > bind interfaces only = Yes > encrypt passwords = Yes > passwd program = /usr/bin/passwd %u > passwd chat = *ew*password* %n\n *ew*password* %n\n *success* > unix password sync = Yes > syslog = 2 > syslog only = Yes > log file = /var/log/samba/log.%m > max log size = 50 > name resolve order = wins bcast > time server = Yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > printcap name = /etc/printers > domain admin group = root admins > logon script = %G.bat > logon home = \\%L\%U > domain logons = Yes > os level = 33 > domain master = Yes > dns proxy = No > wins support = Yes > socket address = 10.64.10.10 > create mask = 0660 > directory mask = 02770 > veto oplock files = /*.mdb/*.ldb/*.pst/ > add user script = /usr/sbin/useradd -d /dev/null -g 100 -s > /bin/false -M %u-- John H Terpstra Email: jht@samba.org