Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > Other *NIX
User Name
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.


  Search this Thread
Old 09-16-2015, 06:11 PM   #1
Registered: Feb 2015
Posts: 381

Rep: Reputation: Disabled
LDAP - mac authentication

hi all,

has anyone here got a mac to authenticate to an ldap server, if so can you tell me how to do it please

thanks rob
Old 09-17-2015, 05:12 AM   #2
Registered: Feb 2015
Posts: 381

Original Poster
Rep: Reputation: Disabled
sorted it but got a problem, when i make a directory on my mac desktop i dont see it on my ldap server, i will show you a screenshot of what i mean

any clues please


Attached Thumbnails
Click image for larger version

Name:	mac ldap.JPG
Views:	13
Size:	139.4 KB
ID:	19607  
Old 09-17-2015, 07:46 AM   #3
Registered: Feb 2015
Posts: 381

Original Poster
Rep: Reputation: Disabled
on macs how do i mount my nfs share on my ldap server that has all the home directorys on, as on linux clients i just put it in fstab and i can mount my ldap server home share directory
Old 09-18-2015, 07:12 AM   #4
Registered: Feb 2015
Posts: 381

Original Poster
Rep: Reputation: Disabled

this is how i did it

my nfs exports looks like this on my ldap server -

/ldap *(rw,async,insecure,nohide,no_subtree_check,no_root_squash)

then on my mac i mounted it like this -

applications > utilities > disk utility > file > nfs mounts - create the mount point here

then i made the authentication to my ldap server on my mac -

system preferences > accounts > login options > under "display login window as" click option "name and password" > click "join" network account server > open directory utility > double click "LDAPv3" > new > manual

fill in the relevant boxes but under "LDAP Mappings" choose "RFC 2307 (Unix)" > type in your search base suffix ie - dc=domain,dc=local

click ok and go back

click "search policy" > "authentication" > search > "custom path" > + > add your ldap server

click apply

you may need to restart but it now is working


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] LDAP authentication error [Can't contact LDAP server] from apache httpd jonathan_w_brown Linux - Server 6 12-28-2011 05:30 PM
What are my options to enable LDAP authentication for certain LDAP users? ghost_dancer999 Linux - Security 1 10-18-2011 01:41 AM
Authentication Failure in LDAP after the Modification of ldap to ldaps url Linux - Newbie 3 06-03-2011 05:30 AM
[SOLVED] Apache authentication: allow LDAP group OR user named guest, but not all LDAP users AlucardZero Linux - Server 1 05-25-2011 03:21 PM
help in LDAP authentication chickenjoy Linux - Server 3 06-14-2007 05:28 AM > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 01:46 AM.

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