Chris E
2004-Jul-28 23:07 UTC
[Samba] Cannot login to PDC(FreeBSD boxen) from client(win XP)
I'm finally getting somewhere in setting up my FreeBSD PDC. I try and login via my XP client and now it gives me this odd message. "Cannot login because a duplicate user already exists on the network. Please goto control panel and system and change your computer name." Sorta paraphrased there, perhaps off by a word or two but that's pretty much what it tells me. I'm just using system users and smbpasswd for setting up users. Not sure what other info may be needed. The following is my smb.conf and my logs. I'm new to Samba and windows networking in general so go easy. =) Thanks in advance. OS. FreeBSD 4.10R Samba 3.05 installed via ports *smb.conf* [global] workgroup = XXX server string = FreeBSD File Server security = user encrypt passwords = yes preferred master = yes domain master = yes os level = 34 local master = yes domain logons = yes unix password sync = yes passwd program = /usr/bin/passwd hosts allow = 192.168.1. 192.168.2. 127. #load printers = yes # you may wish to override the location of the printcap file ; printcap name = /etc/printcap ; printcap name = lpstat ; printing = cups log file = /var/log/samba/log.%m max log size = 50 passdb backend = smbpasswd #include = /usr/local/etc/smb.conf.%m socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8576 SO_RCVBUF=8576 logon script = %m.bat logon script = %U.bat logon path = \\%L\Profiles\%U wins support = yes dns proxy = no add user script = /usr/sbin/useradd %u add group script = /usr/sbin/groupadd %g add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u delete user script = /usr/sbin/userdel %u delete user from group script = /usr/sbin/deluser %u %g delete group script = /usr/sbin/groupdel %g #============================ Share Definitions ============================= [homes] comment = Home Directories browseable = no writable = yes [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon public = no writable = no browsable = no ;[Profiles] ; path = /usr/local/samba/profiles ; browseable = no ; guest ok = yes [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writable = no printable = yes [tmp] comment = Temporary file space path = /tmp read only = no public = yes [public] comment = Public Stuff path = /home/samba public = no writable = yes printable = no write list = @staff *log.192.168.1.xxx - log for XP client * {cut} getpeername failed. Error was Socket is not connected Connection denied from 0.0.0.0 [2004/07/28 15:31:35, 0] lib/util_sock.c:write_socket_data(413) write_socket_data: write failure. Error = Broken pipe [2004/07/28 15:31:35, 0] lib/util_sock.c:write_socket(438) write_socket: Error writing 5 bytes to socket 5: ERRNO = Broken pipe [2004/07/28 15:31:35, 0] lib/util_sock.c:send_smb(630) Error writing 5 bytes to client. -1. (Broken pipe) [2004/07/28 16:43:34, 0] lib/util_sock.c:get_peer_addr(978) getpeername failed. Error was Socket is not connected [2004/07/28 16:43:34, 0] lib/access.c:check_access(328) [2004/07/28 16:43:34, 0] lib/util_sock.c:get_peer_addr(978) getpeername failed. Error was Socket is not connected Denied connection from (0.0.0.0) [2004/07/28 16:43:34, 1] smbd/process.c:process_smb(883) [2004/07/28 16:43:34, 0] lib/util_sock.c:get_peer_addr(978) getpeername failed. Error was Socket is not connected Connection denied from 0.0.0.0 [2004/07/28 16:43:34, 0] lib/util_sock.c:write_socket_data(413) write_socket_data: write failure. Error = Broken pipe [2004/07/28 16:43:34, 0] lib/util_sock.c:write_socket(438) write_socket: Error writing 5 bytes to socket 25: ERRNO = Broken pipe [2004/07/28 16:43:34, 0] lib/util_sock.c:send_smb(630) Error writing 5 bytes to client. -1. (Broken pipe) [2004/07/28 17:07:37, 0] lib/util_sock.c:get_peer_addr(978) getpeername failed. Error was Socket is not connected [2004/07/28 17:07:37, 0] lib/access.c:check_access(328) [2004/07/28 17:07:37, 0] lib/util_sock.c:get_peer_addr(978) getpeername failed. Error was Socket is not connected Denied connection from (0.0.0.0) [2004/07/28 17:07:37, 1] smbd/process.c:process_smb(883) [2004/07/28 17:07:37, 0] lib/util_sock.c:get_peer_addr(978) getpeername failed. Error was Socket is not connected Connection denied from 0.0.0.0 [2004/07/28 17:07:37, 0] lib/util_sock.c:write_socket_data(413) write_socket_data: write failure. Error = Broken pipe [2004/07/28 17:07:37, 0] lib/util_sock.c:write_socket(438) write_socket: Error writing 5 bytes to socket 25: ERRNO = Broken pipe [2004/07/28 17:07:37, 0] lib/util_sock.c:send_smb(630) Error writing 5 bytes to client. -1. (Broken pipe) *log.nmbd* {cut} Got SIGTERM: going down... [2004/07/28 17:11:11, 0] nmbd/nmbd.c:main(664) Netbios nameserver version 3.0.5 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2004/07/28 17:11:11, 0] nmbd/nmbd_logonnames.c:add_logon_names(163) add_domain_logon_names: Attempting to become logon server for workgroup XXX on subnet 192.168.1.xxx [2004/07/28 17:11:11, 0] nmbd/nmbd_logonnames.c:add_logon_names(163) add_domain_logon_names: Attempting to become logon server for workgroup XXX on subnet UNICAST_SUBNET [2004/07/28 17:11:11, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(327) become_domain_master_browser_wins: Attempting to become domain master browser on workgroup XXX, subnet UNICAST_SUBNET. [2004/07/28 17:11:11, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(341) become_domain_master_browser_wins: querying WINS server from IP 192.168.1.xxx for domain master browser name XXX<1b> on workgroup XXX [2004/07/28 17:11:11, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124) become_logon_server_success: Samba is now a logon server for workgroup XXX on subnet UNICAST_SUBNET [2004/07/28 17:11:11, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) ***** Samba server LOCALHOST is now a domain master browser for workgroup XXX on subnet UNICAST_SUBNET ***** [2004/07/28 17:11:11, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282) become_domain_master_browser_bcast: Attempting to become domain master browser on workgroup XXX on subnet 192.168.1.xxx [2004/07/28 17:11:11, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295) become_domain_master_browser_bcast: querying subnet 192.168.1.xxx for domain master browser on workgroup XXX [2004/07/28 17:11:15, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124) become_logon_server_success: Samba is now a logon server for workgroup XXX on subnet 192.168.1.xxx [2004/07/28 17:11:19, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) ***** Samba server LOCALHOST is now a domain master browser for workgroup XXX on subnet 192.168.1.xxx ***** [2004/07/28 17:11:34, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server LOCALHOST is now a local master browser for workgroup XXX on subnet 192.168.1.xxx ***** *log.smbd* [2004/07/28 16:42:27, 0] smbd/server.c:main(757) smbd version 3.0.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/07/28 16:42:27, 0] printing/print_cups.c:cups_printer_fn(108) Unable to connect to CUPS server localhost - Connection refused [2004/07/28 16:42:27, 1] smbd/files.c:file_init(186) file_init: Information only: requested 10000 open files, 3616 are available. [2004/07/28 16:52:15, 0] smbd/server.c:main(757) smbd version 3.0.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/07/28 16:52:15, 0] printing/print_cups.c:cups_printer_fn(108) Unable to connect to CUPS server localhost - Connection refused [2004/07/28 16:52:15, 1] smbd/files.c:file_init(186) file_init: Information only: requested 10000 open files, 3616 are available. [2004/07/28 16:53:56, 0] lib/util_sock.c:set_socket_options(185) Failed to set socket option TCP_NODELAY (Error Connection reset by peer) [2004/07/28 16:53:56, 0] lib/util_sock.c:set_socket_options(185) Failed to set socket option IPTOS_LOWDELAY (Error Connection reset by peer) [2004/07/28 16:53:56, 0] lib/util_sock.c:get_peer_addr(978) getpeername failed. Error was Socket is not connected [2004/07/28 16:56:46, 0] smbd/server.c:main(757) smbd version 3.0.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/07/28 16:56:46, 0] printing/print_cups.c:cups_printer_fn(108) Unable to connect to CUPS server localhost - Connection refused [2004/07/28 16:56:46, 1] smbd/files.c:file_init(186) file_init: Information only: requested 10000 open files, 3616 are available. [2004/07/28 17:08:49, 0] smbd/server.c:main(757) smbd version 3.0.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/07/28 17:08:49, 0] printing/print_cups.c:cups_printer_fn(108) Unable to connect to CUPS server localhost - Connection refused [2004/07/28 17:08:49, 1] smbd/files.c:file_init(186) file_init: Information only: requested 10000 open files, 3616 are available. [2004/07/28 17:11:11, 0] smbd/server.c:main(757) smbd version 3.0.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/07/28 17:11:11, 0] printing/print_cups.c:cups_printer_fn(108) Unable to connect to CUPS server localhost - Connection refused [2004/07/28 17:11:11, 1] smbd/files.c:file_init(186) file_init: Information only: requested 10000 open files, 3616 are available. [2004/07/28 17:47:55, 0] lib/util_sock.c:set_socket_options(185) Failed to set socket option TCP_NODELAY (Error Connection reset by peer) [2004/07/28 17:47:55, 0] lib/util_sock.c:set_socket_options(185) Failed to set socket option IPTOS_LOWDELAY (Error Connection reset by peer) [2004/07/28 17:47:55, 0] lib/util_sock.c:get_peer_addr(978) getpeername failed. Error was Socket is not connected
Craig White
2004-Jul-29 02:00 UTC
[Samba] Cannot login to PDC(FreeBSD boxen) from client(win XP)
On Wed, 2004-07-28 at 11:08, Chris E wrote:> I'm finally getting somewhere in setting up my FreeBSD PDC. I try and > login via my XP client and now it gives me this odd message. "Cannot > login because a duplicate user already exists on the network. Please > goto control panel and system and change your computer name." Sorta > paraphrased there, perhaps off by a word or two but that's pretty much > what it tells me. I'm just using system users and smbpasswd for setting > up users. Not sure what other info may be needed. The following is my > smb.conf and my logs. I'm new to Samba and windows networking in general > so go easy. =) Thanks in advance.--- basic network rule = each computer must have a different name. Windows XP - Start -> Settings -> Control Panel -> System Computer Name (tab) -> Change Name (pick something unique) Craig
Chris E
2004-Jul-29 13:10 UTC
[Samba] Cannot login to PDC(FreeBSD boxen) from client(win XP)
I'm well aware of that. I didn't say new to networking, just windows networking. :)) They both have different names and there are only two pc's, the PDC and the XP client. I've changed the XP machines name repeatedly and rebooted each time as the machine requests and it still doesn't work. I only wish it was easy as the error says. Thanks for your reply though! Craig White wrote:> On Wed, 2004-07-28 at 11:08, Chris E wrote: > > >> I'm finally getting somewhere in setting up my FreeBSD PDC. I try and >> login via my XP client and now it gives me this odd message. "Cannot >> login because a duplicate user already exists on the network. Please >> goto control panel and system and change your computer name." Sorta >> paraphrased there, perhaps off by a word or two but that's pretty >> much what it tells me. I'm just using system users and smbpasswd for >> setting up users. Not sure what other info may be needed. The >> following is my smb.conf and my logs. I'm new to Samba and windows >> networking in general so go easy. =) Thanks in advance. >> > > --- > basic network rule = each computer must have a different name. Windows > XP - Start -> Settings -> Control Panel -> System > > Computer Name (tab) -> Change Name (pick something unique) > > Craig > > >