LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-24-2016, 03:52 AM   #1
R.N.RAM KANNAN
LQ Newbie
 
Registered: Oct 2009
Posts: 28

Rep: Reputation: 0
Smile NGINX to Authenticate Application Users with LDAP


Dear All,

I have installed Centos 6.6.

I have installed nginx using yum ( RPM ) and iam running Kibana application.

My goal is to I want to do the authentication in kibana using LDAP.

if anyone has done it before, please help me to come out of this.

Iam unable to install/add ldap module in nginx.

Can you please help me to add module in the existing nginx.

Thank you in advance
 
Old 08-24-2016, 05:59 AM   #2
R.N.RAM KANNAN
LQ Newbie
 
Registered: Oct 2009
Posts: 28

Original Poster
Rep: Reputation: 0
[root@Ram Kannan ~]# nginx -V
nginx version: nginx/1.0.15
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/tmp/client_body --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi --http-scgi-temp-path=/var/lib/nginx/tmp/scgi --pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx --user=nginx --group=nginx --with-file-aio --with-ipv6 --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module --with-http_perl_module --with-mail --with-mail_ssl_module --with-debug --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --with-ld-opt=-Wl,-E
 
Old 08-24-2016, 07:16 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,652

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by R.N.RAM KANNAN View Post
Dear All,
I have installed Centos 6.6. I have installed nginx using yum ( RPM ) and iam running Kibana application. My goal is to I want to do the authentication in kibana using LDAP. if anyone has done it before, please help me to come out of this.
The first few hits from Google for "authentication in kibana using LDAP" are:
https://www.elastic.co/guide/en/shie...nt/kibana.html
http://elasticsearch-users.115913.n3...td4057946.html
https://www.elastic.co/guide/en/shie...-1.0/ldap.html

Read the "Question Guidelines" link in my posting signature. Do basic research on your own first.
Quote:
Iam unable to install/add ldap module in nginx. Can you please help me to add module in the existing nginx.
We'll be happy to help, but you have to provide actual DETAILS. Just saying "I am unable to", tells us absolutely NOTHING about what you've done/tried, what error(s)/message(s) you got, etc. The VERY FIRST HIT in Google for "how to add ldap authentication to nginx" is:
https://github.com/nginxinc/nginx-ldap-auth

...a COMPLETE set of instructions with examples.
 
Old 08-25-2016, 05:33 AM   #4
R.N.RAM KANNAN
LQ Newbie
 
Registered: Oct 2009
Posts: 28

Original Poster
Rep: Reputation: 0
Hi

I have already gone through those website links.

My goal is to add ldap module in the existing nginx ( which i have installed nginx through RPM )

Kindly suggest whether possibility is there to add module in NGINX or not ?

If yes kindly suggest me

Thanks in advance

Ram Kannan

Last edited by R.N.RAM KANNAN; 08-25-2016 at 06:18 AM.
 
Old 08-25-2016, 10:29 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
My goal is to add ldap module in the existing nginx ( which i have installed nginx through RPM )

Kindly suggest whether possibility is there to add module in NGINX or not ?

If yes kindly suggest me
You can't add the ldap module in the nginx installed via rpm. The only way is to compile it from source.
If you want to do it, have a look at these howtos: 1 and 2

Regards
 
Old 08-25-2016, 12:11 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,652

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by R.N.RAM KANNAN View Post
Hi
I have already gone through those website links.
Again, read the "Question Guidelines" link in my posting signature. We don't know what you've done/tried unless you TELL US.
Quote:
My goal is to add ldap module in the existing nginx ( which i have installed nginx through RPM )
Right..this is what you said in your first post. Again, you were given links which tell you how to do this. Did you read/understand this:
https://github.com/nginxinc/nginx-ldap-auth
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Authenticate samba ldap users on Windows 8.1 thelinuxexpert Linux - Server 0 09-09-2014 01:44 PM
LDAP to Authenticate Joomla Users Arty Ziff Linux - Newbie 7 01-19-2009 11:33 PM
Can Samba authenticate to AD only using LDAP? dougnc Linux - Networking 8 09-25-2006 11:17 AM
how to authenticate external users but bypass prompt on local LAN users? taiwf Linux - Security 5 07-13-2005 09:01 AM
Authenticate from a LDAP SuperSerg Linux - Security 2 12-20-2004 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration