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

📄 ldapmodrdn.1

📁 开放源码的ldap系统
💻 1
字号:
.TH LDAPMODRDN 1 "20 August 2001" "OpenLDAP LDVERSION".\" $OpenLDAP: pkg/ldap/doc/man/man1/ldapmodrdn.1,v 1.7.2.12 2001/08/29 17:29:52 kurt Exp $.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply.  See COPYRIGHT/LICENSE..SH NAMEldapmodrdn \- LDAP rename entry tool.SH SYNOPSIS.B ldapmodrdn[\c.BR \-r ][\c.BR \-n ][\c.BR \-v ][\c.BR \-k ][\c.BR \-K ][\c.BR \-c ][\c.BR \-M[M] ][\c.BI \-d \ debuglevel\fR][\c.BI \-D \ binddn\fR][\c.BR \-W ][\c.BI \-w \ passwd\fR][\c.BI \-H \ ldapuri\fR][\c.BI \-h \ ldaphost\fR][\c.BI \-p \ ldapport\fR][\c.BI \-P \ 2\fR\||\|\fI3\fR][\c.BR \-O \ security-properties ][\c.BR \-I ][\c.BR \-Q ][\c.BI \-U \ authcid\fR][\c.BR \-x ][\c.BI \-X \ authzid\fR][\c.BI \-Y \ mech\fR][\c.BR \-Z[Z] ][\c.BI \-f \ file\fR][\c.I dn  rdn\fR].SH DESCRIPTION.B ldapmodrdnis a shell-accessible interface to the.BR ldap_modrdn2 (3)library call..LP.B ldapmodrdnopens a connection to an LDAP server, binds, and modifies the RDN of entries.The entry information is read from standard input, from \fIfile\fP throughthe use of the.RI \- foption, or from the command-line pair \fIdn\fP and\fIrdn\fP..SH OPTIONS.TP.B \-rRemove old RDN values from the entry.  Default is to keep old values..TP.B \-nShow what would be done, but don't actually change entries.  Useful fordebugging in conjunction with -v..TP.B \-vUse verbose mode, with many diagnostics written to standard output..TP.B \-kUse Kerberos IV authentication instead of simple authentication.  It isassumed that you already have a valid ticket granting ticket..B ldapmodrdnmust be compiled with Kerberos support for this option to have effect..TP.B \-KSame as \-k, but only does step 1 of the Kerberos IV bind.  This is usefulwhen connecting to a slapd and there is no x500dsa.hostname principalregistered with your Kerberos Domain Controller(s)..TP.B \-cContinuous operation mode.  Errors  are  reported,  but ldapmodifywill  continue  with  modifications.   The default is to exit afterreporting an error..TP.B \-M[M]Enable manage DSA IT control..B \-MMmakes control critical..TP.B \-d debuglevelSet the LDAP debugging level to \fIdebuglevel\fP..B ldapmodrdnmust becompiled with LDAP_DEBUG defined for this option to have any effect..TP.B \-f fileRead the entry modification information from \fIfile\fP instead of fromstandard input or the command-line..TP.B \-x Use simple authentication instead of SASL..TP.B \-D binddnUse the Distinguished Name \fIbinddn\fP to bind to the LDAP directory..TP.B \-WPrompt for simple authentication.This is used instead of specifying the password on the command line..TP.B \-w passwdUse \fIpasswd\fP as the password for simple authentication..TP.BI \-H \ ldapuriSpecify URI(s) referring to the ldap server(s)..TP.BI \-h \ ldaphostSpecify an alternate host on which the ldap server is running.Deprecated in favor of -H..TP.BI \-p \ ldapportSpecify an alternate TCP port where the ldap server is listening.Deprecated in favor of -H..TP.BI \-P \ 2\fR\||\|\fI3Specify the LDAP protocol version to use..TP.BI \-O \ security-propertiesSpecify SASL security properties..TP.B \-IEnable SASL Interactive mode.  Always prompt.  Default is to promptonly as needed..TP.B \-QEnable SASL Quiet mode.  Never prompt..TP.BI \-U \ authcidSpecify the authentication ID for SASL bind. The form of the IDdepends on the actual SASL mechanism used..TP.BI \-X \ authzidSpecify the requested authorization ID for SASL bind..I authzidmust be one of the following formats:.B dn:\c.I <distinguished name>or.B u:\c.I <username>.TP.BI \-Y \ mechSpecify the SASL mechanism to be used for authentication. If it's notspecified, the program will choose the best mechanism the server knows..TP.B \-Z[Z]Issue StartTLS (Transport Layer Security) extended operation. If you use.B \-ZZ\c, the command will require the operation to be successful..SH INPUT FORMATIf the command-line arguments \fIdn\fP and \fIrdn\fP are given, \fIrdn\fPwill replace the RDN of the entry specified by the DN, \fIdn\fP..LPOtherwise, the contents of \fIfile\fP (or standard input ifno.RI \- fflag is given) should consist of one or more entries..LP.nf    Distinguished Name (DN)    Relative Distinguished Name (RDN).fi.LPOne or more blank lines may be used to separate each DN/RDN pair..SH EXAMPLEAssuming that the file.B /tmp/entrymodsexists and has the contents:.LP.nf    cn=Modify Me, dc=example, dc=com    cn=The New Me.fi.LPthe command:.LP.nf    ldapmodify -r -f /tmp/entrymods.fi.LPwill change the RDN of the "Modify Me" entry from "Modify Me" to"The New Me" and the old cn, "Modify Me" will be removed..LP.SH DIAGNOSTICSExit status is 0 if no errors occur.  Errors result in a non-zero exitstatus and a diagnostic message being written to standard error..SH "SEE ALSO".BR ldapadd (1),.BR ldapdelete (1),.BR ldapmodify (1),.BR ldapsearch (1),.BR ldap.conf (5),.BR ldap (3),.BR ldap_modrdn2 (3).SH BUGSThere is no interactive mode, but there probably should be..SH AUTHORThe OpenLDAP Project <http://www.openldap.org/>.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 + -