Lotus Notes LDAP 导出
Lotus Notes LDAP Export
我正在尝试将 Lotus Notes LDIF 导出到 MYSQL。我已经能够执行 LDAPSEARCH 并获得测试服务器上的所有用户。例如像假用户:
# Esteban Roberto Banquito, tsj, AR
dn: CN=Esteban Roberto Banquito,O=tsj,C=AR
cn: Esteban Roberto Banquito
cn: Esteban Banquito
displayname: Esteban Roberto Banquito/tsj/AR
inetpublickey:: MzA4MTlGMzAgMEQwNjA5MkEgODY0ODg2RjcgMEQwMTAxMDEAMDUwMDAzODEgOE
QwMDMwODEgODkwMjgxODEgMDBDMTFDQjQAQjQ4Njg1NDggQjhDNTE5NEQgN0Y5QkE3MTEgNTYzRDF
GRjAAQTQ0RjNERjEgMkIxQjQzM0UgQkVFQjA3M0EgRjk1RjdFMTYAQ0Q1QkFDQ0MgQjg3RUE0NjYg
QjUzMjRENzYgQ0M3QzJEMjAAQ0Y1MjIxMDYgMzU4NkRENzAgMDE1ODE5MjAgOUU0NTFCODcANDc1M
DFBMzkgRDY4RjREQTQgNUUyMkUwQzcgOTk5NUQ4MzcAMjUwRUJDQjYgMkY5MkM0NTEgOUU1QTZCRE
YgNEMwNzIwNjEANENDMTRDODUgQUIyOTE4OTIgNDAxRUFDMEQgOTlCOTBFQjUANkMwNTMzODEgMkN
DNjJCQkEgRTVBMzYyMUQgOEIwMjAzMDEAMDAwMQ==
objectclass: dominoPerson
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
mailsystem: 1
messagestorage: 1
encryptincomingmail: 0
dominocertificate:: MDQwMEM2MDEgNkJFNDFCMjggMEFHMDE2MjYgRzAwMjkxNTEANDNGM0YzMD
MgRzAwMzAyMDAgMDEyMEEyMDAgRjFDQTQ4MDAARDU3RTI1RzAgMDI4MEcwMDIgMEZDQjQ4MDAgRDQ
3RTI1MDAAM0M4NTQ4MDAgQjA4MTI1ODMgMDFBMEcwMDEgRjFDQTQ4MDAARDU3RTI1RzAgMDYwRkNC
NDggMDBENDdFMjUgMDAz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OUYz
roamcleansetting: 0
roamcleanper: 1
availablefordirsync: 1
checkpassword: 0
passwordchangeinterval: 0
passwordgraceperiod: 0
clienttype: 0
givenname: Esteban
middleinitial: Roberto
sn: Banquito
uid: EBanquito
maildomain: tsj
mailserver: CN=tsjdesarrollo,OU=tsjdesarrollo,O=tsj,C=AR
mailfile: mail\ebanquit
roaminguser: 0
httppasswordchangedate: 20151022045930Z
userpassword:: KEdLUy9sSWdZQjdsUWxudzh1MzYvKQ==
问题是 USERPASSWORD
似乎是 base64,解码后我得到这样的东西: (GKS/lIgYB7lQlnw8u36/)
,真正的密码是 "secreto".
有没有办法使用dominocertificate
和inetpublickey
或其他证书来解码字段?
我正在尝试将 Lotus Notes LDIF 导出到 MYSQL。我已经能够执行 LDAPSEARCH 并获得测试服务器上的所有用户。例如像假用户:
# Esteban Roberto Banquito, tsj, AR
dn: CN=Esteban Roberto Banquito,O=tsj,C=AR
cn: Esteban Roberto Banquito
cn: Esteban Banquito
displayname: Esteban Roberto Banquito/tsj/AR
inetpublickey:: MzA4MTlGMzAgMEQwNjA5MkEgODY0ODg2RjcgMEQwMTAxMDEAMDUwMDAzODEgOE
QwMDMwODEgODkwMjgxODEgMDBDMTFDQjQAQjQ4Njg1NDggQjhDNTE5NEQgN0Y5QkE3MTEgNTYzRDF
GRjAAQTQ0RjNERjEgMkIxQjQzM0UgQkVFQjA3M0EgRjk1RjdFMTYAQ0Q1QkFDQ0MgQjg3RUE0NjYg
QjUzMjRENzYgQ0M3QzJEMjAAQ0Y1MjIxMDYgMzU4NkRENzAgMDE1ODE5MjAgOUU0NTFCODcANDc1M
DFBMzkgRDY4RjREQTQgNUUyMkUwQzcgOTk5NUQ4MzcAMjUwRUJDQjYgMkY5MkM0NTEgOUU1QTZCRE
YgNEMwNzIwNjEANENDMTRDODUgQUIyOTE4OTIgNDAxRUFDMEQgOTlCOTBFQjUANkMwNTMzODEgMkN
DNjJCQkEgRTVBMzYyMUQgOEIwMjAzMDEAMDAwMQ==
objectclass: dominoPerson
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
mailsystem: 1
messagestorage: 1
encryptincomingmail: 0
dominocertificate:: MDQwMEM2MDEgNkJFNDFCMjggMEFHMDE2MjYgRzAwMjkxNTEANDNGM0YzMD
MgRzAwMzAyMDAgMDEyMEEyMDAgRjFDQTQ4MDAARDU3RTI1RzAgMDI4MEcwMDIgMEZDQjQ4MDAgRDQ
3RTI1MDAAM0M4NTQ4MDAgQjA4MTI1ODMgMDFBMEcwMDEgRjFDQTQ4MDAARDU3RTI1RzAgMDYwRkNC
NDggMDBENDdFMjUgMDAzQzg1NDgAMDBCMDgxMjUgODM0RjNENzQgNzM2QTJGNDMgM0Q0MTUyNDMAN
EUzRDQ1NzMgNzQ2NTYyNjEgNkUyMDUyNkYgNjI2NTcyNzQANkYyMDQyNjEgNkU3MTc1NjkgNzQ2Rj
JGNEYgM0Q3NDczNkEAMkY0MzNENDEgNTIzMDgxOUYgMzAwRDA2MDkgMkE4NjQ4ODYARjcwRDAxMDE
gMDEwNTAwMDMgODE4RDAwMzAgODE4OTAyODEAODEwMEMwOEMgMEUzQTEwNTAgQkZBODczQTAgODJE
NENDRjgAQzk3QzQwNDAgRTI0NjdDMTYgODU1QTEwMjQgQUI1RjEyNDQAOUE0OTYyMkEgODZGODhDM
DggNkVCOTg4REYgN0Y2NkZCMjEAQkY2MkM1RjYgRThBRUE0NzQgNUU4RUZDN0QgNDQ4QjRDN0YANz
A3MENCRTMgODcxRDhCMDMgOENDOTIwNDQgRkYwNzA4MDUANTg2MEQ0NkYgQzk2QjczNkYgRjMzRDR
FRUQgN0M5MDIyMkYAOUU0OTZDNUMgMUJEMzQxODcgOUM2N0FEREYgOTFFNDIyNTQANkU1QkY4MkMg
QjNGMEUyRjEgNEI0MTkxMjEgRTBCMEQzN0UAQ0FGRjAyMDMgMDEwMDAxMTQgQjhEQjc3MzUgRkNFM
0Q0MzkAMjc0RDg0OEEgREM0MkQ0N0YgREFBN0M5RkMgMEQwRDgyOTMANUVENjkyNzYgQkUwRjY0RU
QgRDFBQkQzRDYgRjA5MkZDNjAANjgzMUM1RTcgNkQ2OEVDRDkgNDI2RTlDQzkgMkM2MjNCNEYAQzR
DRTUxQzIgMTNFQkQyMUUgNjFFRkE3RTAgQ0Q1RjIxNjEAQzhFMjU1RDkgNjY1RURFRDEgMzJEMUY4
MzEgQjc0RTk2QkQANTYzMDFCQkEgNTgzRDA3NTQgNjA2MDEzMzMgMjZBRTk0RTUAQjI2OURENDUgN
jRDMEQ5Q0YgQTBCRDFGNjMgODc5OTA4OUEAMkRFQjVFMkEgNUY1OUYz
roamcleansetting: 0
roamcleanper: 1
availablefordirsync: 1
checkpassword: 0
passwordchangeinterval: 0
passwordgraceperiod: 0
clienttype: 0
givenname: Esteban
middleinitial: Roberto
sn: Banquito
uid: EBanquito
maildomain: tsj
mailserver: CN=tsjdesarrollo,OU=tsjdesarrollo,O=tsj,C=AR
mailfile: mail\ebanquit
roaminguser: 0
httppasswordchangedate: 20151022045930Z
userpassword:: KEdLUy9sSWdZQjdsUWxudzh1MzYvKQ==
问题是 USERPASSWORD
似乎是 base64,解码后我得到这样的东西: (GKS/lIgYB7lQlnw8u36/)
,真正的密码是 "secreto".
有没有办法使用dominocertificate
和inetpublickey
或其他证书来解码字段?