Lotus Notes LDAP导出

时间:2015-11-13 14:21:34

标签: sql ldap xpages lotus-notes lotus-domino

我试图将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
 3RTI1MDAAM0M4NTQ4MDAgQjA4MTI1ODMgMDFBMEcwMDEgRjFDQTQ4MDAARDU3RTI1RzAgMD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QTBCRDFGNjMgODc5OTA4OUEAMkRFQjVFMkEgNUY1OUYz
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"。

有没有办法使用dominocertificateinetpublickey或其他证书对字段进行解码?

1 个答案:

答案 0 :(得分:3)