On Mittwoch, 1. Juli 2015, Дмитрий Витенберг wrote: > I've got the similar issues with openvas ldap auth setup, here is my > question on serverfault: > http://serverfault.com/questions/701008/openvas-ldap-authentication-configuration > > In brief > > I use: > openvas libraries - 8.0.3 openvas manager - 6.0.3 > Ubuntu 14.04.2 LTS > > Openvas components compiled with ldap support : > > ldd /usr/sbin/openvasmd | grep ldap > libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 > (0x00007f83fdead000) > > When i try to configure method:ldap in auth.conf config, i've got in > openvasmd.log: > > lib auth:WARNING:2015-06-23 12h04.38 utc:15352: Unsupported authentication > method: method:ldap > > When i try to enable method:ldap_connect, everything works fine, but for > premade users. So i create a user in ldap, then i create user in openvas, > then i enable ldap auth in gsad for the user and after that i can login > with the user ldap uid and pass to gsad web interface. It seems like it > works like "getent" not a "ldapsearch". I can't also find the reference to > method:ldap in libopenvas misc sources. > > Can you provide an example of working config with method:ldapconfigured.
I am using OpenVAS trunk where there is no more a "auth.conf" file. The settings are stored in the DB, "select * from meta;" will show them. There is only one ldap method now which IIRC corresponds to "ldap_connect". I don't have OpenVAS-8 style at hand. Anyway, indeed you need the ldap user to exist in LDAP and to exists in OpenVAS. -- Dr. Jan-Oliver Wagner | +49-541-335084-0 | http://www.greenbone.net/ Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 202460 Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner _______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
