Posts Tagged Debian

Installing asterisk 10.6.0 on DEBIAN SQUEEZE

Install dependencies:

# apt-get install linux-headers-$(uname -r) build-essential libxml2-dev libncurses5-dev libsqlite3-dev libssl-dev libsrtp0-dev unixodbc-dev

Since version 1.8 Asterisk is using unixODBC for storing CDR and CEL data into database. Old MySQL backend, cdr_mysql, is still supported. Also I’m installing … Read more

, ,

No Comments

Adding user and assigning password for user in LDAP

Sample  file

cat user.ildf

dn: cn=server1user1,ou=group,dc=ldap,dc=devserver,dc=local
cn: server1user1
objectClass: top
objectClass: posixGroup
gidNumber: 10000

# User account
dn: uid=server1user1,ou=people,dc=ldap,dc=devserver,dc=local
cn: Server1 user1
givenName: Suesr1
sn: user1
uid: server1user1
uidNumber: 120000
gidNumber: 120000
homeDirectory: /home/server1user1
mail: server1user1@dev.local
objectClass: top
objectClass: … Read more

, ,

No Comments

OpenLDAP MultiMaster Replication

For server 1 add following lines on  /etc/ldap/ldap.conf

# LDAP Defaults

loglevel 256

BASE dc=ldap,dc=devserver,dc=local

URI ldap://openldap.devserver ldap://openldap2.devserver

serverID 1 “ldap://openldap.devserver”

moduleload syncprov
overlay syncprov
syncprov-checkpoint 10 1
syncprov-sessionlog 100

syncRepl rid=1
searchbase=”dc=ldap,dc=devserver,dc=local”Read more

, , ,

No Comments