Billinghurst, David (CALCRTS)
2005-Aug-19 05:14 UTC
[Samba] Can connect from Windows 2000 but not Windows XP SP2
I have been running samba-2 for many years under irix using security = server and authenticating against Windows domain controllers. I am now trying to install samba3 on a Redhat EL 3.0 x86_64 machine, essentially duplicating the existing setup. I find that I can connect successfully from a Windows 2000 server but not from (two) windows XP workstations. First I tried the redhat samba-3.0.9-1.3E.3.x86_64.rpm that came with the system, but I have reproduced the problem with smbd version 3.0.20rc2 compiled from source. I have attached: - smb.conf - smb log files with "log level = 2" for 3.0.20rc2 for two cases, but the 3.0.9 logs are similar o CASE 1 - access from Windows 2000 server start smbd "start > run > \\calttux001" this works fine stop smbd o CASE 2 - access from Windows XP SP2 workstation ditto, but get error message "\\calttux001 is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The request is not supported." :::::::::::::::::::::: smb.conf :::::::::::::::::::::::::::::::: # Global parameters [global] workgroup = CAL server string = Samba Server security = server password server = calttdc001 username map = /usr/local/samba/lib/smbusers max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = No dns proxy = No log level = 2 [homes] comment = Home Directories read only = No [tmp] comment = Temporary file space path = /tmp read only = No ::::::::::::::::::::: log.smb.ok ::::::::::::::::::::::::::::::::::: [2005/08/19 14:32:54, 0] smbd/server.c:main(802) smbd version 3.0.20rc2 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2005/08/19 14:32:54, 2] param/loadparm.c:do_section(3559) Processing section "[homes]" [2005/08/19 14:32:54, 2] param/loadparm.c:do_section(3559) Processing section "[tmp]" [2005/08/19 14:32:55, 2] lib/interface.c:add_interface(81) added interface ip=203.4.72.201 bcast=203.4.72.255 nmask=255.255.255.0 [2005/08/19 14:32:55, 0] smbd/server.c:main(839) standard input is not a socket, assuming -D option [2005/08/19 14:32:55, 2] lib/tallocmsg.c:register_msg_pool_usage(56) Registered MSG_REQ_POOL_USAGE [2005/08/19 14:32:55, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2005/08/19 14:32:55, 2] smbd/server.c:open_sockets_smbd(330) waiting for a connection [2005/08/19 14:33:02, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:33:02, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:33:02, 2] auth/auth.c:check_ntlm_password(307) check_ntlm_password: authentication for user [DABilling] -> [billingd] -> [billingd] succeeded [2005/08/19 14:33:11, 1] smbd/service.c:make_connection_snum(662) calttsv003 (203.4.72.10) connect to service billingd initially as user billingd (uid=272, gid=89) (pid 21661) [2005/08/19 14:33:26, 1] smbd/service.c:close_cnum(835) calttsv003 (203.4.72.10) closed connection to service billingd [2005/08/19 14:33:41, 2] smbd/server.c:exit_server(608) Closing connections [2005/08/19 14:33:41, 2] smbd/server.c:exit_server(608) Closing connections [2005/08/19 14:33:41, 2] smbd/server.c:exit_server(608) Closing connections ::::::::::::::::::::: log.smb.ok ::::::::::::::::::::::::::::::::::: [2005/08/19 14:34:27, 0] smbd/server.c:main(802) smbd version 3.0.20rc2 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2005/08/19 14:34:27, 2] param/loadparm.c:do_section(3559) Processing section "[homes]" [2005/08/19 14:34:27, 2] param/loadparm.c:do_section(3559) Processing section "[tmp]" [2005/08/19 14:34:27, 2] lib/interface.c:add_interface(81) added interface ip=203.4.72.201 bcast=203.4.72.255 nmask=255.255.255.0 [2005/08/19 14:34:27, 0] smbd/server.c:main(839) standard input is not a socket, assuming -D option [2005/08/19 14:34:27, 2] lib/tallocmsg.c:register_msg_pool_usage(56) Registered MSG_REQ_POOL_USAGE [2005/08/19 14:34:27, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2005/08/19 14:34:27, 2] smbd/server.c:open_sockets_smbd(330) waiting for a connection [2005/08/19 14:34:31, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:34:31, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:34:31, 2] smbd/server.c:exit_server(608) Closing connections [2005/08/19 14:34:32, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:34:32, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:34:32, 2] smbd/server.c:exit_server(608) Closing connections [2005/08/19 14:34:32, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:34:32, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:34:32, 2] smbd/server.c:exit_server(608) Closing connections [2005/08/19 14:34:32, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:34:32, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:34:32, 2] smbd/server.c:exit_server(608) Closing connections [2005/08/19 14:34:33, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:34:33, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/08/19 14:34:33, 2] smbd/server.c:exit_server(608) Closing connections [2005/08/19 14:34:53, 2] smbd/server.c:exit_server(608) Closing connections [2005/08/19 14:34:53, 2] smbd/server.c:exit_server(608) Closing connections NOTICE This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments. This notice should not be removed.
Billinghurst, David (CALCRTS)
2005-Aug-23 00:18 UTC
[Samba] RE: Can connect from Windows 2000 but not Windows XP SP2
A follow up to http://lists.samba.org/archive/samba/2005-August/109727.html I am pretty keen to resolve this, and can provide debug logs, etc as required.> I have been running samba-2 for many years under irix using > security = server and authenticating against Windows domain > controllers. > > I am now trying to install samba3 on a Redhat EL 3.0 x86_64 machine, > essentially duplicating the existing setup. I find that I can > connect successfully from a Windows 2000 server but not from > (two) windows XP workstations. > > First I tried the redhat samba-3.0.9-1.3E.3.x86_64.rpm that > came with the system, but I have reproduced the problem > with smbd version 3.0.20rc2 compiled from source.I have worked through "The Samba Checklist" in the Reference Guide. As far as I can tell the Samba server is configured correctly. I can also connect using smbclient from the server and from another server running samba 2.2.8. Moving to a Windows command line I get the following results. ########################################################### Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. U:\>net view \\calttux001 Shared resources at \\calttux001 Samba Server Share name Type Used as Comment ------------------------------------------------------------------------------- billingd Disk Home Directories homes Disk Home Directories tmp Disk Temporary file space The command completed successfully. ########################################################### Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. U:\>net view \\calttux001 System error 50 has occurred. The request is not supported. ########################################################### NOTICE This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments. This notice should not be removed.
Billinghurst, David (CALCRTS)
2005-Aug-23 01:15 UTC
[Samba] RE: Can connect from Windows 2000 but not Windows XP SP2
This is another follow up to: - http://lists.samba.org/archive/samba/2005-August/109727.html - http://lists.samba.org/archive/samba/2005-August/109861.html> I have been running samba-2 for many years under irix using > security = server and authenticating against Windows domain > controllers. > > I am now trying to install samba3 on a Redhat EL 3.0 x86_64 machine, > essentially duplicating the existing setup. I find that I can > connect successfully from a Windows 2000 server but not from > (two) windows XP workstations. > > First I tried the redhat samba-3.0.9-1.3E.3.x86_64.rpm that > came with the system, but I have reproduced the problem > with smbd version 3.0.20rc2 compiled from source.I have now built and installed samba-2.2.12 and samba-3.0.20 on the RHEL3 x86_64 server. Using the same smb.conf file given earlier: Client Server samba-2.2.12 samba-3.0.9 samba-3.0.20 win2k OK OK OK winXP SP2 OK fails fails smbclient OK OK fails NOTICE This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments. This notice should not be removed.