saslauthd getpwent

2003-02-06 Thread RJ45

hello I noticed that getpwent method of saslauthd fails on solaris, it
works with pam or shadow but not with getpwent. IS it normal for Solaris 9
? or is there some trick to make it work?
thanks

Rick






Re: saslauthd getpwent

2003-02-06 Thread John Alton Tamplin
RJ45 wrote:


hello I noticed that getpwent method of saslauthd fails on solaris, it
works with pam or shadow but not with getpwent. IS it normal for Solaris 9
? or is there some trick to make it work?


During the transition here, I was running saslauthd -a getpwent because 
it was easier to hack the backdoor password into the getpwent method 
rather than pam, and it worked just fine feeding from NIS+ on Solaris 9. 
Is you name service switch setup properly?  Are you running NIS, or are 
you using local shadow files?

--
John A. Tamplin   Unix System Administrator
Emory University, School of Public Health +1 404/727-9931





Re: saslauthd getpwent

2003-02-06 Thread Peter Lawler
I'm having fun and games @ the moment on Solaris. Inconsistent results
between cyradm and imtest, but I digress...

Try using -a pam or -a shadow, see how you go. Check the auth debug log
(as documented).

Pete.

RJ45 wrote:

hello I noticed that getpwent method of saslauthd fails on solaris, it
works with pam or shadow but not with getpwent. IS it normal for Solaris 9
? or is there some trick to make it work?
thanks

Rick









Re: saslauthd getpwent

2003-02-06 Thread RJ45

it works for me with -a shadow and with -a pam

I think fetpwent does not work cause solaris is not compliant to this
method.
anyway postfix-2.0.3-TLS+cyrus-sasl-2.1.12+cyrus-imapd-2.1.12 is now
working fine on solaris 9 for me

Rick


On Fri, 7 Feb 2003, Peter Lawler wrote:

 I'm having fun and games @ the moment on Solaris. Inconsistent results
 between cyradm and imtest, but I digress...
 
 Try using -a pam or -a shadow, see how you go. Check the auth debug log
 (as documented).
 
 Pete.
 
 RJ45 wrote:
  hello I noticed that getpwent method of saslauthd fails on solaris, it
  works with pam or shadow but not with getpwent. IS it normal for Solaris 9
  ? or is there some trick to make it work?
  thanks
  
  Rick
  
  
  
 
 
 




Re: saslauthd getpwent

2003-02-06 Thread Peter Lawler
RJ45 wrote:

it works for me with -a shadow and with -a pam

I think fetpwent does not work cause solaris is not compliant to this
method.

I *suspect* (ie, without looking) that getpwent is for FreeBSD and the 
like, which have a different structure (ie, no /etc/shadow file)

Pete.