ChinaUnix.net
相关文章推荐:

object classes ldaP

in <;>;,I ran into a prolem when build the program which gived by the book in chapter 7.6.1:#include; #include; #include; #include; #include; #include<ldap.h>; int main() { ldap *ld; int res; int authmethod = ldap_AUTH_SIMPLE; char *ldap_host = "localhost"; char *user_dn ="cn=root,o=hfut,c=edu.cn"; char ...

by lxllzl - 服务器应用 - 2003-12-24 06:47:49 阅读(1916) 回复(0)

相关讨论

test.ldif [code]dn: cn=root,dc=china,dc=com cn: root objectClass: top objectClass: person sn: 3[/code] #ldapadd -x -v -D "cn=root,dc=china,dc=com" -W -f test.ldif [code]ldap_initialize( ) Enter ldap Password: add cn: root add objectClass: top person add sn: 3 adding new entry "cn=root,dc=china,dc=com" modify complete ldap_add: No such object (32) [/cod...

by net_robber - 服务器应用 - 2014-06-19 21:48:53 阅读(12534) 回复(16)

in <;>;,I ran into a prolem when build the program which gived by the book in chapter 7.6.1:#include; #include; #include; #include; #include; #include<ldap.h>; int main() { ldap *ld; int res; int authmethod = ldap_AUTH_SIMPLE; char *ldap_host = "localhost"; char *user_dn ="cn=root,o=hfut,c=edu.cn"; char *user_p...

by lxllzl - 服务器应用 - 2003-12-24 15:32:16 阅读(1817) 回复(1)

在对openldap添加数据的时候出现 object class violation的错误提示,不知道要怎么修改,请高手多多指教~~ 下面是我的代码: ldap_connect("ldap://10.1.10.88:389"); ldap_set_option($ds, ldap_OPT_PROTOCOL_VERSION, 3); $ldaprdn = 'cn = admin, dc = cs, dc = bit, dc = edu, dc = cn'; // ldap rdn or dn $ldappass = 'admin'; // associated password if ($ds) { $r=ldap_bind($ds, $ldaprd...

by mango101 - 服务器应用 - 2008-05-24 09:30:35 阅读(4139) 回复(3)

请问当我扩展一个object class的时候,我如何保证object id的唯一性啊。 请高手指教。。。

by yanger - 服务器应用 - 2003-09-28 11:39:37 阅读(1167) 回复(0)

请问当我扩展一个object class的时候,我如何保证object id的唯一性啊。 请高手指教。。。

by yanger - 服务器应用 - 2003-09-28 11:38:56 阅读(1257) 回复(0)

请问当我扩展一个object class的时候,我如何保证object id的唯一性啊。 请高手指教。。。

by yanger - 服务器应用 - 2003-09-28 11:38:21 阅读(1248) 回复(0)

请问当我扩展一个object class的时候,我如何保证object id的唯一性啊。 请高手指教。。。

by yanger - 服务器应用 - 2003-09-28 11:37:56 阅读(1144) 回复(0)

请问当我扩展一个object class的时候,我如何保证object id的唯一性啊。 请高手指教。。。

by yanger - 服务器应用 - 2003-09-28 11:37:26 阅读(1235) 回复(0)

确定数据库里面存在这个条目数据,但是ldap_add_s添加的时候返回ldap_NO_SUCH_object错误代码,可能的原因是什么?

by xinlan3 - 服务器应用 - 2006-03-22 09:34:45 阅读(2555) 回复(4)

我用php添加用户到Openldap中是始终不成功;这是为什么? 以下是我代码,其中info中的信息是我先用phpldapadmin添加完成该用户然后将该用户的信息导出来;再将该用户删除,执行如下代码始终报错“object class violation”,我将该信息写入ldif文件中用ldapadd命令执行时成功执行,在程序中为什么就不行? $ldaphost = "192.168.0.239"; $ldapport = 389; $ldaprdn = 'cn=root,dc=yvan_ldap,dc=com'; $l...

by fannyth - 服务器应用 - 2005-10-04 09:18:01 阅读(3048) 回复(2)