Vinicius Abrahao
2009-Dec-07 08:00 UTC
[Samba] Joining winXP SP3 in samba 3.3.9 + openldap backend, why does't work?
Hello Dear Fellows, I'm trying to join my vbox windows xp sp3 machine, to my samba server. When I inform my administrator user: "root", and his password XP says: "Erro durante a tentativa de ingresso no dom?nio "CORP_TRIARIUS": O dom?nio especificado n?o existe ou n?o p?de ser contatado." What in english means somthing like: "An error occurs when try to join to CORP_TRIARIUS domain: The domain specified does not exist or can't be contacted." But (...): 1) From "thome" (my samba server): config file is fine: # testparm /usr/local/etc/smb.conf Load smb config files from /usr/local/etc/smb.conf Processing section "[homes]" Processing section "[profiles]" Processing section "[netlogon]" Processing section "[disco]" Loaded services file OK. Server role: ROLE_DOMAIN_PDC 2) From "thome" (my samba server): error when trying join without specify an server: # net rpc testjoin Unable to find a suitable server for domain CORP_TRIARIUS Join to domain 'CORP_TRIARIUS' is not valid: NT_STATUS_UNSUCCESSFUL 3) From "thome" (my samba server): testjoin ok when server is specified: # net -S thome rpc testjoin Join to 'CORP_TRIARIUS' is OK # net -S 192.168.1.1 rpc testjoin Join to 'CORP_TRIARIUS' is OK 4) From "vinnix" (another freebsd host): smbd service seems ok: # smbclient -L thome -N Server's Role (logon server) NOT ADVISED with domain-level security Anonymous login successful Domain=[CORP_TRIARIUS] OS=[Unix] Server=[Samba 3.3.9] Sharename Type Comment --------- ---- ------- disco Disk Diretorio publico IPC$ IPC IPC Service (FreeBSD PDC) Anonymous login successful Domain=[CORP_TRIARIUS] OS=[Unix] Server=[Samba 3.3.9] Server Comment --------- ------- THOME FreeBSD PDC Workgroup Master --------- ------- CORP_TRIARIUS THOME 5) From "vinnix": I can mount an volume as CORP_TRIARIUS\root: # /usr/sbin/mount_smbfs -I thome //root at thome/root ./teste Password: # df Filesystem 1K-blocks Used Avail Capacity Mounted on (...) //ROOT at THOME/ROOT 1012974 437266 575708 43% /mnt/teste 6) I dig some log when I was trying to join from vbox (named "triarius-wp1"), but I'm really don't understood this very well. Ex. I don't recognize this "MAILSLOT". I'm really don't know. [2009/12/07 04:58:40, 5] libsmb/nmblib.c:read_packet(802) Received a packet of len 245 from (192.168.1.56) port 138 [2009/12/07 04:58:40, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(126) find_name_on_subnet: on subnet 192.168.1.1 - found name CORP_TRIARIUS<1c> source=2 [2009/12/07 04:58:40, 4] nmbd/nmbd_packets.c:process_dgram(1281) process_dgram: datagram from TRIARIUS-WP1<00> to CORP_TRIARIUS<1c> IP 192.168.1.56 for \MAILSLOT\NET\NETLOGON of type 18 len=71 [2009/12/07 04:58:40, 4] nmbd/nmbd_processlogon.c:process_logon_packet(116) process_logon_packet: Logon from 192.168.1.56: code = 0x12 [2009/12/07 04:58:40, 5] nmbd/nmbd_processlogon.c:process_logon_packet(354) process_logon_packet: Logon from 192.168.1.56: code = 0x12 [2009/12/07 04:58:40, 5] nmbd/nmbd_processlogon.c:process_logon_packet(354) process_logon_packet: LOGON_SAM_LOGON_REQUEST sidsize 0, len = 71 [2009/12/07 04:58:40, 5] nmbd/nmbd_processlogon.c:process_logon_packet(361) process_logon_packet: len = 71 PTR_DIFF(q, buf) = 63 [2009/12/07 04:58:40, 3] nmbd/nmbd_processlogon.c:process_logon_packet(386) process_logon_packet: LOGON_SAM_LOGON_REQUEST sidsize 0 ntv 11 [2009/12/07 04:58:40, 5] nmbd/nmbd_processlogon.c:process_logon_packet(395) process_logon_packet: LOGON_SAM_LOGON_REQUEST user [2009/12/07 04:58:40, 5] nmbd/nmbd_processlogon.c:process_logon_packet(402) process_logon_packet: LOGON_SAM_LOGON_REQUEST request from TRIARIUS-WP1(192.168.1.56) for , returning logon svr \\THOME domain CORP_TRIARIUS code 13 token=ffff [2009/12/07 04:58:40, 4] lib/util.c:dump_data(2233) [000] 15 00 5C 00 5C 00 54 00 48 00 4F 00 4D 00 45 00 ..\.\.T. H.O.M.E. [010] 00 00 00 00 43 00 4F 00 52 00 50 00 5F 00 54 00 ....C.O. R.P._.T. [020] 52 00 49 00 41 00 52 00 49 00 55 00 53 00 00 00 R.I.A.R. I.U.S... [030] 01 00 00 00 FF FF FF FF ........ [2009/12/07 04:58:40, 3] nmbd/nmbd_processlogon.c:process_logon_packet(667) process_logon_packet: processing delayed initial logon reply for client TRIARIUS-WP1(192.168.1.56) [2009/12/07 04:58:40, 4] nmbd/nmbd_packets.c:send_mailslot(1962) send_mailslot: Sending to mailslot \MAILSLOT\NET\GETDC782 from THOME<00> IP 192.168.1.1 to TRIARIUS-WP1<00> IP 192.168.1.56 [2009/12/07 04:58:40, 4] nmbd/nmbd_packets.c:debug_browse_data(95) debug_browse_data(): 0 char ..\.\.T.H.O.M.E. hex 15 00 5c 00 5c 00 54 00 48 00 4f 00 4d 00 45 00 10 char ....C.O.R.P._.T. hex 00 00 00 00 43 00 4f 00 52 00 50 00 5f 00 54 00 20 char R.I.A.R.I.U.S... hex 52 00 49 00 41 00 52 00 49 00 55 00 53 00 00 00 30 char ........ hex 01 00 00 00 ff ff ff ff [2009/12/07 04:58:40, 5] libsmb/nmblib.c:send_udp(824) Sending a packet of len 230 to (192.168.1.56) on port 138 [2009/12/07 04:58:40, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(170) find_workgroup_on_subnet: workgroup search for CORP_TRIARIUS on subnet 192.168.1.1: found. [2009/12/07 04:58:40, 10] nmbd/nmbd_sendannounce.c:announce_myself_to_domain_master_browser(381) announce_myself_to_domain_master_browser: t (1260169115) - last(1260168770) < 900 [2009/12/07 04:58:40, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(281) dump_workgroups() dump workgroup on subnet 192.168.1.1: netmask=255.255.255.192: CORP_TRIARIUS(1) current master browser = THOME THOME 40849b0b (FreeBSD PDC) [2009/12/07 04:58:40, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(281) dump_workgroups() dump workgroup on subnet UNICAST_SUBNET: netmask= 0.0.0.0: CORP_TRIARIUS(1) current master browser = UNKNOWN THOME 40819a03 (FreeBSD PDC) 7) And finally: Yes, my win xp has wins server addr. WINS primary server:................: 192.168.1.1 Guys, thank you so much for you time, Any help will be VERY appreciated! Best regards, Vinicius PS: Sorry if it's a noob question, If it is, please recommend me something to read related with this. I'm just doing it right now. Thanks.
Vinicius Abrahao
2009-Dec-07 21:33 UTC
[Samba] Joining winXP SP3 in samba 3.3.9 + openldap backend, why does't work?
On Mon, Dec 7, 2009 at 6:00 AM, Vinicius Abrahao <vinnix.bsd at gmail.com>wrote:> Hello Dear Fellows, > > I'm trying to join my vbox windows xp sp3 machine, to my samba server. > When I inform my administrator user: "root", and his password XP says: > "Erro durante a tentativa de ingresso no dom?nio "CORP_TRIARIUS": > O dom?nio especificado n?o existe ou n?o p?de ser contatado." > >Sorry, I forgot to send my conf files: http://www.pastie.org/732497 And I have an another test, with an Win2003, and his can't join to my domain too. Thanks again for any help! Vinicius