very new to the world of LDAP. I find that when I export an LDIF file in my OpenLDAP instance on Linux, running the slapcat command as such:
./slapcat -f /somewhere/slapd.conf -l backup.ldif
it does not yield the same result as exporting using the GUI tool on Apache Directory Studio which is connected to the same OpenLDAP instance. The same entries are there but the GUI tool skips out on some lines, here is an example of one entry:
dn: cn=SOMEUSER,ou=Users,dc=SOMETHING,dc=com objectClass: organizationalPerson objectClass: person cn: SOMEUSER sn: SOMEISER userPassword:: SOMEPASSWORD structuralObjectClass: organizationalPerson entryUUID: 81f9a48c-cb85-1034-9c9e-3ba13cbb4ff9 creatorsName: cn=DirectoryManager,dc=SOMETHING,dc=com createTimestamp: 20150731040813Z entryCSN: 20150731040813.566436Z#000000#000#000000 modifiersName: cn=DirectoryManager,dc=SOMETHING,dc=com modifyTimestamp: 20150731040813Z
ADS GUI export:
dn: cn=SOMEUSER,ou=Users,dc=SOMETHING,dc=com objectClass: person objectClass: organizationalPerson cn: acn.admin sn: acn.admin userPassword:: SOMEPASSWORD
Is there anyway I can get ADS to output the same exact LDIF file as running slapcat on the server where OpenLDAP is installed? This is to remove the need of getting on the server everytime I need a proper LDIF export.
This is my first time posting, hope my question was clear!