OpenLDAP --enable-spasswd, SASL, PAM - not threadsafe?

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

 



--=-UBnQtDCurEjI2hc/Mp6c
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Tue, 2002-07-09 at 17:50, Phil Mayers wrote:
> All (apologies for the cross-posting - I am unsure which piece of
> software the "fault" arises from),
> 
> 
> Thread 7 (line 219 of attached file) appears to be blocked inside the
> SASL library, loading the PAM library. I see three possibilities:
> 

And the actual attachement...

> 1) SASL isn't thread-safe, and OpenLDAP should be appropriately
> protecting this bit of code, and isn't
> 2) PAM isn't thread-safe, and SASL should be locking
> 3) The pam_krb5 (or kerberos) libraries aren't thread safe
> 
> For now, I'm going to try dropping back to a single-threaded slapd, but
> any suggestions would be welcome.
> 

In addition, I've just tried builing with --enable-kpasswd to see if
this eases the problem and I needed to do this:

export CFLAGS=-I/usr/kerberos/include
export CPPFLAGS=-I/usr/kerberos/include
export LDFLAGS=-L/usr/kerberos/lib
./configure <options>

Why the need for CPPFLAGS?

> -- 
> 
> Regards,
> Phil
> 
> +------------------------------------------+
> | Phil Mayers                              |
> | Network & Infrastructure Group           |
> | Information & Communication Technologies |
> | Imperial College                         |
> +------------------------------------------+
> 
> 
> 
> _______________________________________________
> 
> Pam-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/pam-list
-- 

Regards,
Phil

+------------------------------------------+
| Phil Mayers                              |
| Network & Infrastructure Group           |
| Information & Communication Technologies |
| Imperial College                         |
+------------------------------------------+

--=-UBnQtDCurEjI2hc/Mp6c
Content-Disposition: attachment; filename=slapd.hang.gz
Content-Type: application/x-gzip; name=slapd.hang.gz
Content-Transfer-Encoding: base64

H4sICKASKz0AA3NsYXBkLmhhbmcA7Vxtj9u4Ef7Y3gL7C/qFyKHABl3bpF4oaXvp9Xq5tlckaZrd
66G9BgYt0bYusqTTy+4a7Y/vDCVZL36R5EsXCFAj8Voi53mGM0NySNG+dRM/zkiaiSSTHolCcpdL
8pc8IMQ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5yOmGSo56PvE0wyS9k8zS6ODK4KsPdXAlL+wpL2baejRyb+YYLQBE4zC9Oz2/KLRan5RIaV7i657
TXIipDg5EVIWORFSNjkRUs6ozKVp9GMhVW+Nd49rjAkpIfWnDykg/X9IDQipc9cdHzUUG846For1
vn33YNGYULSl9vShCKT/D8WnHt0aRj8WUnpzu7h1lK0VUlIXS1mGlAyk28mzumegilihxUuF4pdf
llP+uBZw2Tvla41O0T6r126BpkurDIYogNBceqlyvhS2DUuEEK/ZNSm/LvtCA837+ggCgT5cb/QO
6eGPQLSDrtC8apXVaQ4zaHPXsOmQ1snE4X387AfUP6+Ps6W9tHs2MTyTiqbbf4zg4qq88L0XGIXX
5dPqeTHmnuzm0FOMJaxvD+5gYKHrsL1EuFyVaszmRhkTGLxlDG7wLPsVvqv4MFxNwkKukP+NrmvF
Os7FYMkX8VzcVxYX0rhWv1lTyC004ZIv1KIGRJbwV913POYB3hxvwP3LC/wOQ5IF3rysola8rmdA
HVjvltVANffDXKptnoJsf49qhcf8fVd1xElhKhzJnOaZhs8M84zTAzjjqWP61VF3PKwPa94Q1tlT
Qv6Wq68KbB8EGBi/VICn8d018bPn0O23OIOGz8n28uKlrE7Nq7Fj/Ln5n/ONjYvb4ges8EDIgV+v
MmBdXPx61X8BwTzNT+lKAAA=

--=-UBnQtDCurEjI2hc/Mp6c--





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux