Tech Folks, thanks for your replies.
In real world, we often face such tasks to take over a thing that not belong to
you, and you even only have limited access to that thing.
Is there a way figuring out configuration, schema, and etc from ldif files
generated by ldapsearch from source server?
Because port 22 is not open, I can't ssh or rlogin to the server. only can run
ldapsearch such client commands.
nmap to the server only see port 389 and 636 open. I don't know how the server
owner maintain, startup/stop the server.
the problem here is that source openldap server only have port 389 opened, it
is not accessible, not able to run slapcat.
I did ldapsearch to export schema from source ldap server, cmd is:
ldapsearch -x -LLL -H "ldap://xxx:389; -D
"cn=admin,ou=AdminUsers,dc=example,dc=com" -W -b "cn=schema" -o ldif-wrap=no >
source-schema.ldif
but ldapadd this ldif to target server still report:
[root@phx-ldap-ol8 openldap]#
I gave a try like this way:
I installed an openldap 2.6 as target server, started it up with initial
slapd.ldif.
Then I tried to ldapadd entries that exported from source server, but failed on
the first entry, error message:
[root@ldap-ol8 openldap]# ldapadd -H ldap:/// -D
I have an openldap server I want to clone it to another linux server. However,
I can't access it by login but can just run ldapsearch because this source
openldap server only open port 389.
Now I installed openldap-servers package to target linux server, then what? I
appreciate if anybody can