DJockheck@gauselmann.de
2002-May-15 07:19 UTC
[Samba] joining an NT-Domain with samba 2.2.4 on HPUX 10.20: wrong IP Adress
Hi, I want my Samba 2.2.4 Machine to join my nt-domain. When I try this I recognize that samba seems to use a wrong IP-Adress! I have no Idea where this wrong adress comes from!? Any Ideas? --- cut --- # /usr/local/samba/bin/smbpasswd -D 10 -j CAD -r bsadpp01 -Uadministrator ... a lot of text ... Adding chars 0xe7 0xe8 (l->u = True) (u->l = True) Adding chars 0x9c 0x0 (l->u = False) (u->l = False) load_dos_unicode_map: 850 load_unicode_map: loading unicode map for codepage 850. load_unix_unicode_map: ISO8859-1 (init_done=0, override=0) load_unicode_map: loading unicode map for codepage ISO8859-1. tdb(unknown): tdb_brlock failed (fd=3) at offset 4 rw_type=2 lck_type=6 added interface ip=10.33.2.30 bcast=10.33.2.255 nmask=255.255.255.0 cli_init_creds: user administrator domain CAD flgs: 0 ntlmssp_cli_flgs:0 cli_establish_connection: DSERVER<00> connecting to BSADPP01<20> (192.19.218.159 ) - administrator [CAD] Connecting to 192.19.218.159 at port 445 timeout connecting to 192.19.218.159:445 Connecting to 192.19.218.159 at port 139 timeout connecting to 192.19.218.159:139 Error connecting to 192.19.218.159 (Operation already in progress) cli_establish_connection: failed to connect to BSADPP01<20> (192.19.218.159) Error connecting to bsadpp01 Unable to join domain CAD. --- cut --- 192.19.218.159 is wrong!!! When I try to ping bsadpp01 I receive --- cut --- # ping bsadpp01 PING bsadpp01: 64 byte packets 64 bytes from 10.33.2.21: icmp_seq=0. time=2. ms 64 bytes from 10.33.2.21: icmp_seq=1. time=0. ms b ----bsadpp01 PING Statistics---- 2 packets transmitted, 2 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/1/2 # grep bsadpp01 /etc/hosts 10.33.2.21 bsadpp01 # adp PDC # nslookup bsadpp01 Server: bsadpp01.gg Address: 10.33.2.21 Name: bsadpp01.cad Address: 10.33.2.21 --- cut --- ciao Detlef Jockheck -- ########################## # adp Gauselmann GmbH # Detlef Jockheck # djockheck@gauselmann.de ##########################
Jim Watt
2002-May-15 09:43 UTC
[Samba] joining an NT-Domain with samba 2.2.4 on HPUX 10.20: wrong IP Adress
On Wed, 15 May 2002 DJockheck@gauselmann.de wrote: } I want my Samba 2.2.4 Machine to join my nt-domain. When I try this I } recognize that samba seems to use a wrong IP-Adress! I have no Idea where } this wrong adress comes from!? Any Ideas? } } --- cut --- } # /usr/local/samba/bin/smbpasswd -D 10 -j CAD -r bsadpp01 -Uadministrator } --- cut --- } } 192.19.218.159 is wrong!!! When I try to ping bsadpp01 I receive } --- cut --- } # ping bsadpp01 } PING bsadpp01: 64 byte packets } 64 bytes from 10.33.2.21: icmp_seq=0. time=2. ms } 64 bytes from 10.33.2.21: icmp_seq=1. time=0. ms Bug...I reported this a few days ago: } I tried that syntax from a Samba/2.2.4 FreeBSD installation. The attempt } failed. I set the debug level to 10, and discovered that the connection } attempt was being made to a completely bogus IP address! So I dropped } the '-r PDC' argument, since it looked like the code in smbpasswd would } figure out the PDC without specifying it. That worked fine! "nmblookup" } has no difficulty resolving the PDC's name to its correct IP address. Jim -- Jim Watt wattjg@appliedbiosystems.com Applied Biosystems Voice (desk): +1 408 577 2228 3833 North First Street Fax: +1 408 894 9307 San Jose CA 95134-1701 Voice (main): +1 408 577 2200
Gerald Carter
2002-May-16 05:45 UTC
[Samba] joining an NT-Domain with samba 2.2.4 on HPUX 10.20: wrong IP Adress
On Wed, 15 May 2002 DJockheck@gauselmann.de wrote:> Connecting to 192.19.218.159 at port 445Is there a machine at 192.19.218.159? cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--