Difference between revisions of "OpenLDAP"

From HackerNet
Jump to: navigation, search
Tag: visualeditor-switched
Line 2: Line 2:
  
 
== Server ==
 
== Server ==
[[File:Debianlogo|thumbnail]]
+
[[File:Debianlogo.png|thumbnail]]
 
<code>apt-get update && apt-get install slapd ldap-utils</code>
 
<code>apt-get update && apt-get install slapd ldap-utils</code>
  

Revision as of 23:32, 12 January 2015

OpenLDAP är en central inloggnings server typ som Active directory är.

Server

Debianlogo.png

apt-get update && apt-get install slapd ldap-utils

Slå sedan in det lösenord du vill att admin kontot ska ha.

Öppna filen

vim /etc/ldap/ldap.conf

Och ändra BASE och URI , spara sedan filen.

#
# LDAP Defaults
 #
 
 # See ldap.conf(5) for details
# This file should be world readable but not world writable.

BASE    dc=example,dc=com
URI     ldap://192.168.0.100 ldap://192.168.0.100:666

#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never

# TLS certificates (needed for GnuTLS)
TLS_CACERT      /etc/ssl/certs/ca-certificates.crt

Client