[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to configure hylafax to use pam?



Hi,all
I installed hylafax and can receive facsimiles.
But I can't send facsimiles, when I type faxstat:
-8x-----------------------
   $ faxstat
   Password:
   Login failed: 530 Login incorrect.
-----------------------x8-
And /var/log/auth.log like this:
-8x-----------------------
    Oct 27 17:13:51 localhost HylaFAX[8783]: (pam_unix) authentication
failure; logname= uid=0 euid=10 tty= ruser= rhost=  user=gaochao
-----------------------x8-

When I set my system authoricated by ldap, /var/log/auth.log like this:
-8x-----------------------
    Oct 27 17:21:09 localhost HylaFAX[8827]: (pam_unix) authentication
failure; logname= uid=0 euid=10 tty= ruser= rhost=  user=gc
-----------------------x8-

user gaochao is in /etc/passwd and gc from ldap.
It looks like hylafax doesn't care about the settings in /etc/pam.d
my /etc/pam.d/common-account
-8x-----------------------
account sufficient  pam_ldap.so
account required    pam_unix.so
-----------------------x8-

my /etc/pam.d/common-auth
-8x-----------------------
auth    sufficient  pam_ldap.so
auth    required    pam_unix.so use_first_pass nullok_secure
-----------------------x8-

my /etc/pam.d/hylafax
-8x-----------------------
@include common-auth
@include common-account
@include common-password
@include common-session
-----------------------x8-

and my /etc/pam.d/other
-8x-----------------------
@include common-auth
@include common-account
@include common-password
@include common-session
-----------------------x8-

My system is Debian/sid
$ LANG=en apt-cache policy hylafax-server
hylafax-server:
  Installed: 2:4.2.2-1
  Candidate: 2:4.2.2-1

How can I configure hylafax to work with pam? Thanks and sorry for my
poor English.
ps: CC to me pls.



Reply to: