More than one password server?

Matt Foster Matt.Foster at
Fri Nov 7 15:47:56 GMT 1997


I guess you meant password.c :)

Here we go, put the pw server for the domain I'm not in first.
And don't get authenticated :(
Here is the debug from log.smb
(I've blanked IP addresses)

netbios connect: name1=CHARITY          name2=TWILIGHT       
11/07/97 16:23:38 Transaction 1 of length 174
switch message SMBnegprot (pid 6179)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [XENIX CORE]
Requested protocol [MICROSOFT NETWORKS 1.03]
Requested protocol [LANMAN1.0]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [LM1.2X002]
Requested protocol [LANMAN2.1]
Requested protocol [NT LM 0.12]
server_cryptkey: trying pw server TCC-DL01 <- The debug code added
Connecting to X.X.X.X at port 139
connected to password server tcc-dl01
got session
password server OK
using password server validation
Selected protocol NT LM 0.12
11/07/97 16:23:38 Transaction 2 of length 196
switch message SMBsesssetupX (pid 6179)
Domain=[DLV-MASTER]  NativeOS=[Windows NT 1381] NativeLanMan=[]
password server TCC-DL01 rejected the password
Checking password for user fm2503 (l=24)
11/07/97 16:23:41 error packet at line 537 cmd=115 (SMBsesssetupX) eclass=2 ecod
end of file from client
Closing connections

-----Original Message-----
From:   lkcl at 
Sent:   Friday, November 07, 1997 2:51 PM
To:     Matt Foster
Cc:     samba at
Subject:        Re: More than one password server?

ok, try adding some debug info inside server.c:server_cryptkey(), and see
if it actually tries both password servers, ok?

like this:

@server.c some_context_diff_stuff:-)


+ DEBUG(4,("server_cryptkey: attempt connection to password server %s\n",

  dest_ip = *interpret_addr2(desthost);

<a href="mailto:lkcl at"  > Luke Kenneth Casson Leighton </a>
<a href=""> Lynx2.7-friendly Home Page   </a>
<br><b> "Apply the Laws of Nature to your environment because your
         environment applies the Laws of Nature to you"               </b>

More information about the samba mailing list