🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.unix.linux
Article #187

telnet from NT using pam_smb_auth

#187
From: Adam Carheden
Date: Fri, 17 Mar 2000 00:00
33 lines
1844 bytes
I finally got pam_smb_auth to authorize users from my NT domain, but I
can only telnet in from the NT server that's doing the authentication. 
Take a  look at this:

Connect from	Service used	Account On	Result
----------------------------------------------------------
<ALL>		<ALL>		Linux		Works Fine	
NT Server	<ALL>		NT Domain	Works Fine
Other M$ box	ftp		NT Domain	Works Fine
Other M$ box	telnet		NT Domain	****Failure****
Other M$ box	ssh		NT Domain	Works Fine
Remote Unix	<ALL>		NT Domain	Works Fine

Basically, trying to connect to from a windows machine other than the
password server fails.  If I type an incorrect password it prompts me
again, but as soon as I type the correct one, the telnet client says
Connection Closed.  And yes, I've tried multiple telnet clients.

In debug mode, the security log indicates that pam_smb succeeded in
authentication via the NT server.

The pam config files for both ftp and login have the following lines

auth       sufficient   /lib/security/pam_smb_auth.so debug
auth       required     /lib/security/pam_pwdb.so shadow nullok

FTP and SSH both work fine.  Since it appears to validate, I don't think
its a problem with PAM, but one with telnet or login.  Any ideas?  What
log files should I look at?

-- 
Adam
carheden@cnhp.colostate.edu
Technical Details
Message-ID: <38D2C40D.7DC42AD6@cnhp.colostate.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1159f7,926328be014f23b4,start
X-Google-Attributes: gid1159f7,public
From: Adam Carheden <adamc@cnhp.colostate.edu>
Subject: telnet from NT using pam_smb_auth
Date: 2000/03/17
Message-ID: <38D2C40D.7DC42AD6@cnhp.colostate.edu>
X-Deja-AN: 598967956
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 17 Mar 2000 16:50:16 -0700, www.cnhp.colostate.edu
MIME-Version: 1.0
Newsgroups: csu.unix.linux