LDAP command


#install ldap
1. install BerkeleyDB.4.6
2. add /usr/local/BerkeleyDB.4.6/lib to /etc/ld.so.conf, then execute ldconfig
3. env CPPFLAGS="-I/usr/local/BerkeleyDB.4.6/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.6/lib"  ./configure --prefix /usr/local/openldap
4. make depend
5. make
6. make install
7. go to /usr/local/openldap/libexec execute ./slapd
8. ps -aux | grep slapd verify LDAP server is up
#install ldap browser
#for error:Can't connect to X11 windo

你可能感兴趣的:(UP,Go)