Tag Archive: LDAP

Jul 04

How to configure Apache Security on Ldap

This is a simply configuration of apahce to use Ldap authentication, You need to enable ldap and ldap_auth modules.   <Location /ldaplocation >   AuthType Basic AuthName "ldap auth" AuthBasicProvider ldap AuthLDAPBindDN "CN=ldapbind,O=test,C=it" AuthLDAPBindPassword mypasswordhere AuthLDAPURL "ldap://ldaphost:389/?uid?sub?(objectClass=inetOrgPerson)"   Options Indexes SetOutputFilter DEFLATE <Limit OPTIONS PROPFIND GET REPORT MKACTIVITY PROPPATCH PUT CHECKOUT MKCOL MOVE COPY DELETE …

Continue reading »

Jan 19

How to export Tivoli Directory Server to .ldif file

This script is simply and usefull to backup all users in a tivoli directory server to an ldif file. When schedule by crontab it’s possible to add in command line destination folder by $1 param, so you can have different versions of backup. 1 2 3 4 5 6 7 8 9 10 11 12 …

Continue reading »