DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-12-04 06:10:24

eala
New member
Registered: 2011-12-04
Posts: 2

DNS323 as LDAP server

There have been a few posts on this topic but nothing that has helped me implement it to the point where I can get it working.

So far, I have installed fun_plug 5, installed optware and openldap but can't get it set up to work on my home network. i have a number of voip phones that support ldap and wanted to have a local "always on" common server that can serve up the contact names and numbers.

Has anybody done it successfully and could you share?

I have tried following the openLDAP documentation, but my linux prowess is not up to snuff to follow it.

Any assistance would be greatly appreciated.

thanks,
eala

Offline

 

#2 2011-12-04 07:10:02

eala
New member
Registered: 2011-12-04
Posts: 2

Re: DNS323 as LDAP server

Ok, so working a bit more on this...

I have setup my ldap.conf file and my slapd.conf files. This is what they look like:

ldap.conf:
#
# LDAP Defaults
#

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

BASE    dc=home, dc=lan
URI     ldap://ldap.home.lan:389 ldap://ldap-master.home.lan:666
TLS_REQCERT allow
#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never


And this is slapd.conf

include         /opt/etc/openldap/schema/core.schema                                                                                                                                                 
                                                                                                                                                                                                     
pidfile         /opt/var/run/slapd.pid                                                                                                                                                               
argsfile        /opt/var/run/slapd.args                                                                                                                                                               
                                                                                                                                                                                                     
database        bdb                                                                                                                                                                                   
suffix          "dc=home,dc=lan"                                                                                                                                                                     
rootdn          "cn=admin,dc=home,dc=local"                                                                                                                                                           
rootpw          secret                                                           
directory       /opt/var/openldap-data                                                                                                                                                               
index   objectClass     eq                       

What I would like to do is restart the server with something like "slapd restart" but I go to /opt/libexec and type "slapd restart" and get:
/ffp/bin/sh: slapd: not found

But it is there. I am lost.

Thanks,
eala

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB