When i execute ldapsearch -x -h mydomain.de -D [email protected] -W it ask my pasword and it will conect to LDAP but i cant login in my openvas
root@wl-openvas:/home/user# tail -f /var/log/openvas/openvasmd.log md main:MESSAGE:2016-01-18 15h41.03 utc:5988: check_db_versions: database version of database: 146 md main:MESSAGE:2016-01-18 15h41.03 utc:5988: check_db_versions: database version supported by manager: 155 md main:CRITICAL:2016-01-18 15h41.03 utc:5988: update_or_rebuild_nvt_cache: database is wrong version md main: INFO:2016-01-18 15h43.39 utc:7574: OpenVAS Manager version 6.0.7 (DB revision 146) md main: INFO:2016-01-18 15h43.39 utc:7574: rebuild_nvt_cache_retry: Reloading NVT cache md main: INFO:2016-01-18 15h43.39 utc:7575: update_or_rebuild_nvt_cache: Rebuilding NVT cache md main: INFO:2016-01-18 15h43.40 utc:7575: Updating NVT cache. lib ldap:WARNING:2016-01-18 15h46.56 utc:7612: StartTLS failed, trying to establish ldaps connection. lib ldap:WARNING:2016-01-18 15h46.56 utc:7612: LDAP authentication failure: Can't contact LDAP server md omp:WARNING:2016-01-18 15h46.56 utc:7612: Authentication failure for 'ehsan' from 127.0.0.1 On Fri, Jan 22, 2016 at 10:11 AM, Ehsan Safdari <[email protected]> wrote: > yes when I can login with LDAP when i install OpenVAS but not from PPA > but i have to do it now in OpenVAS installed from PPA on Ubuntu > > On Mon, Jan 18, 2016 at 5:44 PM, Eero Volotinen <[email protected]> > wrote: > >> lib ldap:WARNING:2016-01-18 15h46.56 utc:7612: StartTLS failed, trying >> to establish ldaps connection. >> lib ldap:WARNING:2016-01-18 15h46.56 utc:7612: LDAP authentication >> failure: Can't contact LDAP server >> >> is connectivity working with ldap? >> >> -- >> Eero >> >> >> 2016-01-18 17:54 GMT+02:00 Ehsan Safdari <[email protected]>: >> >>> thanks Eero for your fast reply >>> >>> this is my auth.conf file : >>> >>> ------------ >>> #This file was automatically generated. >>> >>> [method:file] >>> enable=true >>> order=1 >>> >>> [method:ldap_connect] >>> enable=true >>> order=2 >>> ldaphost=xxx.xxx.de >>> authdn=%[email protected] >>> allow-plaintext=false >>> ------ >>> >>> >>> >>> root@wl-openvas:/home/user# ldd /usr/sbin/openvasmd |grep ldap >>> libldap_r-2.4.so.2 => >>> /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007faffb37e000) >>> >>> >>> but when i want to login with one active directory user i get this : >>> >>> tail-f: command not found >>> root@wl-openvas:/home/user# tail -f /var/log/openvas/openvasmd.log >>> md main:MESSAGE:2016-01-18 15h41.03 utc:5988: check_db_versions: >>> database version of database: 146 >>> md main:MESSAGE:2016-01-18 15h41.03 utc:5988: check_db_versions: >>> database version supported by manager: 155 >>> md main:CRITICAL:2016-01-18 15h41.03 utc:5988: >>> update_or_rebuild_nvt_cache: database is wrong version >>> md main: INFO:2016-01-18 15h43.39 utc:7574: OpenVAS Manager >>> version 6.0.7 (DB revision 146) >>> md main: INFO:2016-01-18 15h43.39 utc:7574: rebuild_nvt_cache_retry: >>> Reloading NVT cache >>> md main: INFO:2016-01-18 15h43.39 utc:7575: >>> update_or_rebuild_nvt_cache: Rebuilding NVT cache >>> md main: INFO:2016-01-18 15h43.40 utc:7575: Updating NVT cache. >>> lib ldap:WARNING:2016-01-18 15h46.56 utc:7612: StartTLS failed, trying >>> to establish ldaps connection. >>> lib ldap:WARNING:2016-01-18 15h46.56 utc:7612: LDAP authentication >>> failure: Can't contact LDAP server >>> md omp:WARNING:2016-01-18 15h46.56 utc:7612: Authentication failure >>> for 'ehsan' from 127.0.0.1 >>> >>> On Mon, Jan 18, 2016 at 4:35 PM, Eero Volotinen <[email protected]> >>> wrote: >>> >>>> Check using ldd if binaries are linked against ldap libraries. >>>> >>>> Ldap documentation is a bit out of date/incorrect.. >>>> >>>> Eero >>>> 18.1.2016 4.50 ip. "Ehsan Safdari" <[email protected]> kirjoitti: >>>> >>>>> Hello , >>>>> >>>>> I installed OpenVAS 8 from last ppa on ubuntu 14.04 every things works >>>>> fine but LDAP Authentication is not working . How can fix this issue by >>>>> may be compiling openvas libraries again with ldap enable ? >>>>> >>>>> >>>>> _______________________________________________ >>>>> Openvas-discuss mailing list >>>>> [email protected] >>>>> >>>>> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss >>>>> >>>> >>> >> >
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
