Editing
FreeBSD
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Setup LDAP Authentication === Install required ports: sudo portinstall nss_ldap sudo portinstall pam_ldap Setup ''nss_ldap.conf'' <pre> host 172.31.0.1 base dc=incoherency,dc=net uri ldap://172.31.0.1:389/ ssl start_tls binddn uid=nss,ou=dsa,dc=incoherency,dc=net bindpw ******** bind_policy soft nss_initgroups_ignoreusers root,ldap timelimit 5 nss_reconnect_tries 2 port 389 nss_base_passwd dc=incoherency,dc=net?subtree nss_base_group ou=groups,dc=incoherency,dc=net?one pam_password SSHA </pre> Link ldap.conf to nss_ldap.conf ln -s nss_ldap.conf ldap.conf Add the following to /etc/pam.d/ for each relevant service auth sufficient /usr/local/lib/pam_ldap.so no_warn try_first_pass Edit /etc/nsswitch.conf: passwd: files ldap group: files ldap
Summary:
Please note that all contributions to The Incoherency.Net Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
The Incoherency.Net Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main Page
Recent changes
Random page
Denis Lemire's Site
Help
Tools
What links here
Related changes
Special pages
Page information