+ Post New Thread
Results 1 to 2 of 2
*nix Thread, LDAP in Technical; Hi folks, Im wondering if someone can point me in the right direction, I've been trying to set something up ...
  1. #1
    cpjitservices's Avatar
    Join Date
    Jul 2010
    Thank Post
    Thanked 287 Times in 263 Posts
    Rep Power


    Hi folks,

    Im wondering if someone can point me in the right direction, I've been trying to set something up regarding LDAP/Samba 4 for the past week and nothing seems to work.

    What I'm trying to achieve is build another authentication method for servers in the Data Center, I already have an existing AD setup for the main offices, but I want this to be separate from the Data Center. I went down the OpenLDAP route on CentOS 6.3 using PHPLdapAdmin and it seemed to work but non of my servers would join to the directory, I used the authentication setup on Centos and configured the LDAP server settings but still couldn't use an LDAP account to login.

    I need to keep the LDAP & AD separate as I dont want users in the AD to be able to login to servers, and vice versa. All my servers are either CentOS or Fedora 18. I've even been trying Samba 4 and used Samba_Internal for DNS on the Samba 4 server, I can get CentOS nslookup successfully with the right hostnames etc but no joy when joining CentOS to the Samba 4 domain.

    has anyone got CentOS to join an LDAP domain ?

  2. #2

    Join Date
    Dec 2011
    Thank Post
    Thanked 1 Time in 1 Post
    Rep Power
    I don't do RedHat/CentOS these days but Debian GNU/Linux and others need /etc/nsswitch.conf to point to ldap after changing the PAM (pluggable authentication modules) settings to use ldap. Presumably, you have a select bunch of users in /etc/shadow, /etc/passwd on the servers. There are scripts to pump them into LDAP.

    generally, see LDAP authentication using pam_ldap and nss_ldap

    specifically for RedHat, see Authentication using LDAP

+ Post New Thread

Similar Threads

  1. Python LDAP module version problem
    By CyberNerd in forum Coding
    Replies: 6
    Last Post: 14th December 2006, 01:18 PM
  2. Moodle LDAP Enrolment
    By Mike_R in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 6th December 2006, 02:33 PM
  3. CachePilot & LDAP/AD
    By beast_gts in forum Wireless Networks
    Replies: 6
    Last Post: 30th June 2006, 08:28 AM
  4. Authenticating MRBS against Active Directory using LDAP
    By Wizzer in forum Web Development
    Replies: 2
    Last Post: 26th January 2006, 04:21 PM
  5. LDAP & Visual basic 2005 ??
    By mac_shinobi in forum Coding
    Replies: 9
    Last Post: 10th January 2006, 10:13 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts