LinuxQuestions.org
Review your favorite Linux distribution.
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 06-19-2014, 08:51 AM   #1
anindyameister
Member
 
Registered: Oct 2012
Posts: 47

Rep: Reputation: Disabled
How do I make VNC server and LDAP authentication work together ?


I have a RHEL 6.4 box and I am running "tigervnc-server" on the box to enable remote gui access for different users. I have the users created locally and have created separate displays for them in the
Code:
/etc/sysconfig/vncservers
file, as well as vncpasswds in their home directories. Now I'm thinking about moving the users to openldap and configuring sssd to authenticate via ldap with the home directories to a nfs share. So with ldap authentication in place, am I supposed to separately create displays and vncpasswd in the home directory for every new users added to the ldap database ? Is there some way to automatically create a display for a new user who logs in and have the vncserver authenticate against the ldap directory ? Do I need a different vnc server ? Any help will be appreciated. Thanks is advance.
 
Old 06-21-2014, 10:42 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
So with ldap authentication in place, am I supposed to separately create displays
Ldap is just going to handle password replication across multiple servers, it doesn't have anything to do with VNC other than it assists in insuring your remote connection are secure.
Quote:
am I supposed to separately create displays and vncpasswd in the home directory for every new users added to the ldap database ?
If their passwords are encrypted and stored in the ldap database, it would be a very bad idea to keep a plain text copy of them in their home directories. You're probably going to need to set up your VNC server to accept ldap authentication
As far as creating individual displays, I'd suggest you make a template and apply it to new users
 
  


Reply

Tags
ldap, vnc, vncserver



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
Authentication to AD and LDAP on the server imohammed Linux - Server 3 11-23-2012 02:45 PM
LDAP authentication server kamran.ayub Linux - Server 3 06-28-2012 08:26 AM
[SOLVED] LDAP authentication error [Can't contact LDAP server] from apache httpd jonathan_w_brown Linux - Server 6 12-28-2011 05:30 PM
I have AD authentication work, how do i make SSH PAM work in RHEL4? epmd Red Hat 0 09-19-2007 06:04 PM

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

All times are GMT -5. The time now is 10:45 PM.

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