Date: Mon, 19 Sep 2016 08:35:18 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 212814] www/nginx Message-ID: <bug-212814-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212814 Bug ID: 212814 Summary: www/nginx Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: osa@FreeBSD.org Reporter: christoph.larsen@synalinq.com Flags: maintainer-feedback?(osa@FreeBSD.org) Assignee: osa@FreeBSD.org Dear All, I have installed Nginx from FreeBSD ports with HHTP_AUTH_LDAP enabled. Compilation worked without any flaws. nginx -v yieds: nginx -V nginx version: nginx/1.10.1 configure arguments: --prefix=3D/usr/local/etc/nginx --with-cc-opt=3D'-I /usr/local/include' --with-ld-opt=3D'-L /usr/local/lib' --conf-path=3D/usr/local/etc/nginx/nginx.conf --sbin-path=3D/usr/local/sbin= /nginx --pid-path=3D/var/run/nginx.pid --error-log-path=3D/var/log/nginx/error.log --user=3Dwww --group=3Dwww --modules-path=3D/usr/local/libexec/nginx --with= -file-aio --http-client-body-temp-path=3D/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=3D/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=3D/var/tmp/nginx/proxy_temp --http-scgi-temp-path=3D/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=3D/var/tmp/nginx/uwsgi_temp --http-log-path=3D/var/log/nginx/access.log --add-dynamic-module=3D/var/ports/basejail/usr/ports/www/nginx/work/nginx-a= uth-ldap-dbcef31 --without-http-cache --with-http_dav_module --add-module=3D/var/ports/basejail/usr/ports/www/nginx/work/nginx-dav-ext-m= odule-0.0.3 --add-module=3D/var/ports/basejail/usr/ports/www/nginx/work/ngx-fancyindex-= 0.3.6 --with-http_realip_module --with-http_stub_status_module --with-http_sub_mo= dule --add-module=3D/var/ports/basejail/usr/ports/www/nginx/work/ngx_devel_kit-0= .3.0 --with-pcre --with-threads --add-module=3D/var/ports/basejail/usr/ports/www/nginx/work/iconv-nginx-mod= ule-0.14 So, LDAP authentication has been compiled in. I have this in my config: [...] http { [....] # LDAP settings ldap_server mmc { url "ldaps:/[ldap server]/ou=3DPeople,o=3Dmmc?uid?sub?"; binddn "cn=3DLDAPReader,ou=3DRole,o=3D= mms"; binddn_passwd "[LDAPReader password]"; group_attribute member; group_attribute_is_dn on; require valid_user; require group "cn=3D[some group],ou=3DGroups,o=3Dmmc"; cache_enabled on; cache_expiration_time 10000; cache_size 1000; } I get, when I start Nginx: Performing sanity check on nginx configuration: nginx: [emerg] unknown directive "auth_server" in /usr/local/etc/nginx/nginx.conf:74 nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed This is strange, because I have obviously compiled in LDAP authentication support. Any idea what I might be missing? The same happens, by the way, with the latest version of the nginx-devel po= rt. Thanks a lot! Chris --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212814-13>