⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ldap_modrdn.3

📁 开放源码的ldap系统
💻 3
字号:
.TH LDAP_MODRDN 3 "22 September 1998" "OpenLDAP LDVERSION".\" $OpenLDAP: pkg/ldap/doc/man/man3/ldap_modrdn.3,v 1.2.12.1 2000/06/13 17:57:12 kurt Exp $.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply.  See COPYRIGHT/LICENSE..SH NAMEldap_modrdn, ldap_modrdn_s, ldap_modrdn2, ldap_modrdn2_s \- Perform an LDAP modify RDN operation.SH SYNOPSIS.nf.ft B#include <ldap.h>.LP.ft Bint ldap_modrdn(ld, dn, newrdn).ftLDAP \(**ld;char \(**dn, \(**newrdn;.LP.ft B.LP.ft Bint ldap_modrdn_s(ld, dn, newrdn).ftLDAP \(**ld;char \(**dn, \(**newrdn;.LP.ft Bint ldap_modrdn2(ld, dn, newrdn, deleteoldrdn).ftLDAP \(**ld;char \(**dn, \(**newrdn;int deleteoldrdn;.LP.ft Bint ldap_modrdn2_s(ld, dn, newrdn, deleteoldrdn).ftLDAP \(**ld;char \(**dn, \(**newrdn;int deleteoldrdn;.SH DESCRIPTIONThe.B ldap_modrdn()and.B ldap_modrdn_s()routines perform an LDAP modifyRDN operation.  They both take \fIdn\fP, the DN of the entry whoseRDN is to be changed, and \fInewrdn\fP, the new RDN to give the entry.The old RDN of the entry is never kept as an attribute of the entry..B ldap_modrdn()is asynchronous, returning the message id of the operationit initiates..B ldap_modrdn_s()is synchronous, returning the LDAP errorcode indicating the success or failure of the operation.  Use ofthese routines is deprecated.  Use the versions described belowinstead..LPThe.B ldap_modrdn2()and.B ldap_modrdn2_s()routines also perform an LDAPmodify RDN operation, taking the same parameters as above.  In addition,they both take the \fIdeleteoldrdn\fP parameter which is used as a booleanvalue to indicate whether the old RDN values should be deleted fromthe entry or not..SH ERRORSThe synchronous (_s) versions of these routines return an LDAP errorcode, either LDAP_SUCCESS or an error if there was trouble.The asynchronous versions return -1 in caseof trouble, setting the.B ld_errnofield of \fIld\fP.  See.BR ldap_error (3)for more details..SH SEE ALSO.BR ldap (3),.BR ldap_error (3).SH ACKNOWLEDGEMENTS.B	OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B	OpenLDAPis derived from University of Michigan LDAP 3.3 Release.  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -