Strange behaviour while joining domain

Augis ejs at delfi.lt
Thu Oct 4 08:59:03 GMT 2001


Hi all,
i'm running Samba-2.2.1 on RedHat Linux 7.1 (2.4.2-2 kernel)

just logs (loglevel 3):

> ----- start PDC1: log.antras
> ...
> [2000/10/03 14:24:44, 3] smbd/negprot.c:reply_negprot(349)
>   Requested protocol [PC NETWORK PROGRAM 1.0]
>    [...]
> [2000/10/03 14:24:44, 3] smbd/negprot.c:reply_negprot(349)
>   Requested protocol [LANMAN2.1]
> [2000/10/03 14:24:44, 3] smbd/negprot.c:reply_negprot(349)
>   Requested protocol [NT LM 0.12]
> [2000/10/03 14:24:44, 3] smbd/negprot.c:reply_negprot(433)
>   Selected protocol NT LM 0.12
> [2000/10/03 14:24:44, 3] smbd/process.c:process_smb(837)
>   Transaction 2 of length 188
> [2000/10/03 14:24:44, 3] smbd/process.c:switch_message(650)
>   switch message SMBsesssetupX (pid 4999)
> [2000/10/03 14:24:44, 3] smbd/sec_ctx.c:set_sec_ctx(317)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2000/10/03 14:24:44, 3] smbd/reply.c:reply_sesssetup_and_X(866)
>   Domain=[AIL]  NativeOS=[Windows NT 1381] NativeLanMan=[]
> [2000/10/03 14:24:44, 3] smbd/reply.c:reply_sesssetup_and_X(876)
>   sesssetupX:name=[ANTRAS_]
> [2000/10/03 14:24:44, 1] smbd/password.c:pass_check_smb(546)
>   Couldn't find user 'antras_' in UNIX password database.
> [2000/10/03 14:24:44, 2] smbd/reply.c:reply_sesssetup_and_X(980)
>   NT Password did not match for user 'antras_'!
> [2000/10/03 14:24:44, 2] smbd/reply.c:reply_sesssetup_and_X(990)
>   Defaulting to Lanman password for antras_
> [2000/10/03 14:24:44, 1] smbd/password.c:pass_check_smb(546)
>   Couldn't find user 'antras_' in UNIX password database.
> [2000/10/03 14:24:44, 1] smbd/reply.c:reply_sesssetup_and_X(1005)
>   Rejecting user 'antras_': authentication failed
> [2000/10/03 14:24:44, 3] smbd/error.c:error_packet(123)
>   error string = No such file or directory
> [2000/10/03 14:24:44, 3] smbd/error.c:error_packet(130)
>   32 bit error packet at line 697 cmd=115 (SMBsesssetupX)
> eclass=c000006d [Error: Unknown error (109,49152)]
> [2000/10/03 14:24:44, 3] smbd/process.c:timeout_processing(1062)
>   end of file from client
> [2000/10/03 14:24:44, 3] smbd/sec_ctx.c:set_sec_ctx(317)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2000/10/03 14:24:44, 2] smbd/server.c:exit_server(448)
>   Closing connections
>
> ----- end PDC1: log.antras

 The same client is joining other domain:

> ----- start PDC2: log.antras
> ...
> [2001/10/03 18:00:31, 3] smbd/process.c:switch_message(650)
>   switch message SMBnegprot (pid 1913)
> [2001/10/03 18:00:31, 3] smbd/sec_ctx.c:set_sec_ctx(317)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2001/10/03 18:00:31, 3] smbd/negprot.c:reply_negprot(349)
>   Requested protocol [PC NETWORK PROGRAM 1.0]
>    [...]
> [2001/10/03 18:00:31, 3] smbd/negprot.c:reply_negprot(349)
>   Requested protocol [LANMAN2.1]
> [2001/10/03 18:00:31, 3] smbd/negprot.c:reply_negprot(349)
>   Requested protocol [NT LM 0.12]
> [2001/10/03 18:00:31, 3] smbd/negprot.c:reply_negprot(433)
>   Selected protocol NT LM 0.12
> [2001/10/03 18:00:31, 3] smbd/process.c:process_smb(837)
>   Transaction 2 of length 193
> [2001/10/03 18:00:31, 3] smbd/process.c:switch_message(650)
>   switch message SMBsesssetupX (pid 1913)
> [2001/10/03 18:00:31, 3] smbd/sec_ctx.c:set_sec_ctx(317)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2001/10/03 18:00:31, 3] smbd/reply.c:reply_sesssetup_and_X(866)
>   Domain=[MYGROUP]  NativeOS=[Windows NT 1381] NativeLanMan=[]
> [2001/10/03 18:00:31, 3] smbd/reply.c:reply_sesssetup_and_X(876)
>   sesssetupX:name=[ANTRAS$]
> [2001/10/03 18:00:31, 3] smbd/error.c:error_packet(130)
>   32 bit error packet at line 507 cmd=115 (SMBsesssetupX)
> eclass=c0000199 [Error: Unknown error (153,49152)]
> [2001/10/03 18:00:31, 3] smbd/process.c:timeout_processing(1062)
>   end of file from client
> [2001/10/03 18:00:31, 3] smbd/sec_ctx.c:set_sec_ctx(317)
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2001/10/03 18:00:31, 2] smbd/server.c:exit_server(448)
>   Closing connections
> [2001/10/03 18:00:31, 3] smbd/connection.c:yield_connection(50)
>   Yielding connection to
> [2001/10/03 18:00:31, 3] smbd/server.c:exit_server(483)
>   Server exit (normal exit)
>
> ----- end PDC2: log.antras

I use the same CDs for install, select the same package set, use the same
'/etc/passwd' and '/etc/shadow' files.

Samba-2.2.1 is installed from the same RPM file.
I use the same /etc/samba/smb.conf file, altering just domain name.

This situation occures only when Samba looks for trusted account.
Everything else works fine ( so far ;)


Any ideas?

I've checked RedHat 7.0, 7.0 distributions, Samba-2.2.0, 2.2.1, 2.2.1a -
its the same. Changed system time to year 2000 to eliminate time factor
or some posssible bug in libc.
Nothing helped. It happens on a freshly installed system

 PDC1: Cyrix586, VIA chipset, 32 Mb RAM and 96 Mb swap
 PDC2: AMD Athlon, AMD chipset, 128Mb RAM'o and some swap
 both NICs are 10/100; using rtl8139 chipset, connected to the same hub

This started in Friday, somewhere about 14:00 GMT. Untill this time
everything worked just fine (well, there were some issues with roaming
profiles, but just because some directories were excluded from roaming)


All clients are WinNT 4.0 Wks, SP 6a machines. Every NT box i try to
join the domain acts exactly the same way.

Samba-2.2.1 RPM i'm installing is compiled on Cyrix box.

PS: /etc/samba/smb.conf:
> [global]
> 	client code page = 775
> 	character set = iso8859-13
> 	workgroup = AIL
> 	server string = Samba-2.2.1
> 	interfaces = 192.168.232.0/24
> 	encrypt passwords = Yes
> 	passwd program = /usr/bin/passwd %u
> 	passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
> 	username map = /etc/samba/smbusers
> 	unix password sync = Yes
> 	log level = 3
> 	syslog = 0
> 	log file = /var/log/samba/log.%m
> 	max log size = 500
> 	name resolve order = wins hosts lmhosts bcast
> 	max ttl = 25290
> 	max open files = 1000
> 	socket options = TCP_NODELAY IPTOS_LOWDELAY
> 	logon script = scipts\%U.bat
> 	domain logons = Yes
> 	os level = 50
> 	preferred master = True
> 	domain master = True
> 	wins proxy = Yes
> 	wins support = Yes
> 	hosts allow = 192.168.232. 127.


-- 
Eugenijus Januskevicius

Of all men's miseries, the bitterest is this:
 to know so much and have control over nothing.
                -- Herodotus





More information about the samba-ntdom mailing list