ChinaUnix.net
相关文章推荐:

LDAP证书存储应用

本人刚接触ldap,那为高手能讲解一下关于ldap如何存储和读取X.509证书问题吗? 非常感谢有人来指点!!!!

by renxy2008 - 服务器应用 - 2007-03-27 10:14:12 阅读(2991) 回复(0)

相关讨论
by renxy2008 - 服务器应用 - 2007-04-07 15:04:19 阅读(4138) 回复(3)

看了几篇精华后,才了解 一点点 ldap , 但还是不很了解。ldap 主要用来做什么? 能用在哪些方面?

by BSD_KT - 服务器应用 - 2005-12-22 08:59:27 阅读(2301) 回复(7)

最近想通过SSL来加密ldap, 在证书颁发时候遇到问题,网上说要把证书请求发给certificate authority: 以下为原文: [quote] After emailing the certificate request, wait for the CA to respond with the server certificate. Response time for requests varies. For example, if the CA is internal to the company, it may only take a day or two to respond to the request. If the selected CA is a third-party, it coul...

by jiannma - 服务器应用 - 2011-05-03 18:45:35 阅读(2506) 回复(0)

添加其他数据没问题,添加证书 就出错. 问题如下 ldap_add_s failure!: Invalid syntax (21) additional info: userCertificate;binary: value #0 invalid per syntax 代码如下: int add_certificate(ldap *ld, char *new_dn) { struct berval cert_berval; struct berval *cert_values[2]; char *cert_data; FILE *fp; struct stat st; ldapMod cert_attribute, objectClass_attribute; if ( stat( "guest.cer",...

by 02101238 - 服务器应用 - 2008-01-03 00:19:08 阅读(3685) 回复(2)

在userCertificate;binary属性下已存有一张证书,现在在这属性下再添加一张证书如下 dn: cn=Jim Smith,ou=people,dc=example,dc=com changetype: modify add: userCertificate;binary userCertificate;binary:< file:///home/tmp/pmd.cer ldapmodify后就出错了 ldap_modify: Inappropriate matching (18) additional info: modify/add: userCertificate;binary: no equality matching rule 请问这要怎么解决呢?userCert...

by xln - 服务器应用 - 2008-03-18 10:09:23 阅读(3892) 回复(2)

如题?谁搞过... 证书存贮,如SSL, X.509....

by netkiller - 服务器应用 - 2007-01-30 18:12:16 阅读(2364) 回复(3)

哪位朋友有过成功实施Postfix + ldap的经验的分享一下 之前,查过网上的一些贴子,都是ldap应用,但是结合Postfix的很少。 就是希望能够利用ldap的数据库来管理邮箱帐户,并且可以建立起公用通讯录, 而不再是新增为系统帐户,

by emailwht - 服务器应用 - 2007-08-20 09:39:43 阅读(4349) 回复(8)

在php中搜索用户信息 ; //ldap_count_entries($ds,$sr)传回记录总数 $info = ldap_get_entries($ds, $sr); //ldap的全部传回资料 echo "资料传回 ".$info["count"]."笔:"; for ($i=0; $i; //显示mail echo "email为:".$info[$i]["userpassword"][0].; //显示加密后的密码 } ?> 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/27608/showart_265863.html

by mosquito_2006 - php文档中心 - 2007-03-27 11:34:06 阅读(924) 回复(0)

在没有userCerificate;bin:这一条时可以添加,加了这一条就会报下面的错误 /usr/local/openldap/bin/ldapadd -x -D "cn=root,o=test,c=com" -w 12345 -f test.ldif adding new entry "cn=AAA,o=test,c=com" ldap_add: Invalid syntax (21) additional info: userCertificate;binary: value #0 invalid per syntax ----------------------------------------------------------------- test.ldif dn: cn=AAA,o=test,c=com...

by wellsty - 服务器应用 - 2005-03-26 10:03:50 阅读(1874) 回复(1)

在core.schema中的userCertificate好象只能以二进制的形式添加证书,而我的证书是b64的,添加进去也是错的啊(无法正确显示证书项)。 另外,我想以文件路径的形式添加证书和吊销列表,请问我的entry该如何写啊 ,我现在的entry为: userCertificate;binary= MIICsjCCAhugAwIBAg ... ... 由于我的证书是属性证书,而schema中好象没有专为属性证书添加的attribute,所以我想以路径的形式添加,不知是否可以。 如果有那位兄弟有...

by yanger - 服务器应用 - 2003-07-31 11:05:35 阅读(1262) 回复(0)