[svlug] I need OpenLDAP help...
Philip Martin
phillip.martin at gmail.com
Fri Mar 13 09:03:31 PST 2009
Start with a netstat -tlp and look at what is listening on port 389.
That's your ldap server. Take note of its pid. Then a 'lsof -p
<pid>' should show you what files it has open, including it's config
file. You could also try 'rpm -qf /path/to/running/ldap/server' to
see what package that server is from (assuming it is from an rpm).
Also note that slapcat/slapadd are meant to be used while the ldap
server is stopped, not while it is running.
HTH,
-Philip
On Mar 13, 2009, at 9:26 AM, Pat Power <pat at powerville.net> wrote:
> Hi,
>
> I have been asked to move the LDAP server to a different machine.
> This was setup by someone else
> that is no longer available to ask questions.
>
> The "current" machine is running CentOS 5.2, the "new" machine is
> running RHEL 5.2 and both have
> openldap-2.3.27. The current machine also has and uses smbldap for
> adding and modifying users & groups.
>
> I have LDAP up and running on the new server, and now I need to move
> the database over.
>
> I have found the docs on slapcat & slapadd, but the current machine
> doesn't seem to running slapd.
> The slapd.conf file is unmodified from the install, and I am afraid
> to touch it and start slapd as it might
> do something bad to the current database.
>
> Can someone please help me get my head around this and point me in
> the right direction?
>
> Thanks!
> -pat
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.svlug.org/archives/svlug/attachments/20090313/21db2324/attachment.htm
More information about the svlug
mailing list