Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssmtp & LDAP question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
amarodeeps
n00b
n00b


Joined: 28 May 2002
Posts: 50

PostPosted: Thu Mar 22, 2007 6:55 pm    Post subject: ssmtp & LDAP question Reply with quote

Hey folks,

I'm trying to figure out some details about how ssmtp and LDAP work together. Recently I set up an LDAP authentication system, and one of the uses of this is to authenticate against SSH login to one of our servers. Since this happened, I've been seeing hanging sendmail processes, initiated by cron, that I have to kill in order to get the cron.daily stuff to finish. Interestingly, sendmail (ssmtp in actuality) seems to work fine from logwatch (initiated by cron). I get other emails from this server. But for some of the emails initiated by cronjobs, I see this when I do an lsof:

Code:

ssmtp      4760     root  cwd       DIR        8,3       4096    1896040 /var/spool/cron
ssmtp      4760     root  rtd       DIR        8,3       4096          2 /
ssmtp      4760     root  txt       REG        8,3      22704    1927384 /usr/sbin/ssmtp
ssmtp      4760     root  mem       REG        0,0                     0 [heap] (stat: No such file or directory)
ssmtp      4760     root  mem       REG        8,3      34856    1697686 /lib/libnss_files-2.4.so
ssmtp      4760     root  mem       REG        8,3      59932    1697685 /lib/libresolv-2.4.so
ssmtp      4760     root  mem       REG        8,3      44368    1632126 /usr/lib/liblber-2.3.so.0.2.15
ssmtp      4760     root  mem       REG        8,3     203128    1632074 /usr/lib/libldap-2.3.so.0.2.15
ssmtp      4760     root  mem       REG        8,3      73176    1948284 /lib/libnss_ldap-2.4.so
ssmtp      4760     root  mem       REG        8,3      10192    1697681 /lib/libdl-2.4.so
ssmtp      4760     root  mem       REG        8,3    1249760    1964471 /usr/lib/libcrypto.so.0.9.8
ssmtp      4760     root  mem       REG        8,3    1171312    1697678 /lib/libc-2.4.so
ssmtp      4760     root  mem       REG        8,3     242628    1964474 /usr/lib/libssl.so.0.9.8
ssmtp      4760     root  mem       REG        8,3      72908    1697695 /lib/libnsl-2.4.so
ssmtp      4760     root  mem       REG        8,3     126232    1697677 /lib/ld-2.4.so
ssmtp      4760     root    0u     IPv4   44471307                   TCP x:57065->ldap.fakeserver.com:ldap (ESTABLISHED)
ssmtp      4760     root    1u      CHR        1,3                  1811 /dev/null
ssmtp      4760     root    2u      CHR        1,3                  1811 /dev/null
ssmtp      4760     root    3u     IPv4   44471315                   TCP x:57066->ldap.fakeserver.com:ldap (ESTABLISHED)
ssmtp      4760     root    7r     FIFO        0,5              44469416 pipe


It looks like ssmtp is getting hung up on authenticating through LDAP or something. I'm guessing this might have somethin to do with PAM settings, but I don't know where to begin. I've searched the web and newsgroups and gotten no closer. I don't know how to figure this out. Anyone have any ideas?

Thanks!

Dave
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum