HylaFAX itself doesn't know anything about LDAP. But it is PAM aware,
which means that PAM can be doing LDAP on it's behalf.
The only "pam aware" part of HylaFAX is hfaxd. And it simply requests
PAM to authenticate whatever user the client gives to it. Turning up
hfaxd logging should show you what's trying to log in as "faxadmin"
But faxgetty surely doesn't use PAM directly... So unless you've got NSS
setup to do LDAP on standarge getpwname/getpwuid it's *not* faxgetty.
a.
--
Aidan Van Dyk ai...@ifax.com
Senior Software Developer +1 215 825-8700 x8103
iFAX Solutions, Inc. http://www.ifax.com/
All it's logs to to syslog (see LogFacility in the same man page), and
should appear wherever syslog is saving them.
2008/10/15 Joe Kissner <jkis...@totalcardinc.com>:
> May not be the brightest of questions, but how do i enable logging?
>
--
Aidan Van Dyk ai...@ifax.com
Senior Software Developer +1 215 825-8700 x8103
iFAX Solutions, Inc. http://www.ifax.com/
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-us...@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sa...@ifax.com.*
2008/10/16 Aidan Van Dyk <ai...@ifax.com>:
> 2008/10/16 Joe Kissner <jkis...@totalcardinc.com>:
>> Ok more info on this one. I have traced it back and the request is coming
>> from AvantFax when AvantFAX calls faxstat, faxalter, faxrm, sendfax, and
>> friends it causes this to happen. As best as i can tell hylafax just sees
>> this as apache making the request but for some reason dumps the request off
>> through PAM as faxadmin. Which we do use to authenticate on log in. My
>> question is: Is there a way to stop Hylafax from using PAM if nothing else
>> just to see if the AvantFax crew is correct or way off. I have tried adding
>> the "faxadmin" user but that didn't make one bit of difference.
>
> If HylaFAX is compiled with PAM, it *will* use pam (but only if no local
> hosts.hfaxd record matches). But it looks like it's not HylaFAX
> that's causing *this* LDAP query, but your base OS setup. "faxadmin"
> is the default value of "AdminGroup". hfaxd does a "getgrnam()" call
> on that to, and I'm guessing you've got your NSS setup to to LDAP
> queries automatically on users/groups.
As far as I'm aware it is a compiled-in feature. There is no runtime
configuration option to disable it.
/configure --with-DISABLE_PAM=yes
Thanks,
Lee.
It's *not* going to fix his problem. As I said before, "faxadmin" is
the *group* that hfaxd does a getgrnam() call on for checking if the
group has a list of users that should be given admin access. It (hfaxd)
does not do *anything* related to PAM or LDAP(via pam) with that.
That's completely his "operating system" (i.e. glibc/NSS) doing that.
He can either:
1) Disable AdminGroup by forcing it to nothing in hfaxd.conf:
AdminGroup: ""
2) Fix his NSS to not do ldap queries on groups if he doesn't want LDAP
queries on groups.
a.