Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
ldapmodrdn(1)
Edit
PageHistory
Diff
Info
LikePages
LDAPMODRDN !!!LDAPMODRDN NAME SYNOPSIS DESCRIPTION OPTIONS INPUT FORMAT EXAMPLE DIAGNOSTICS SEE ALSO BUGS AUTHOR ACKNOWLEDGEMENTS ---- !!NAME ldapmodrdn - LDAP rename entry tool !!SYNOPSIS __ldapmodrdn__ [[__-r__] [[__-n__] [[__-v__] [[__-k__] [[__-K__] [[__-c__] [[__-M[[M]__] [[__-d__ ''debuglevel''] [[__-D__ ''binddn''] [[__-W__] [[__-w__ ''passwd''] [[__-H__ ''ldapuri''] [[__-h__ ''ldaphost''] [[__-p__ ''ldapport''] [[__-P__ ''2''|''3''] [[__-O__ security-properties__]__ [[__-I__] [[__-Q__] [[__-U__ ''authcid''] [[__-x__] [[__-X__ ''authzid''] [[__-Y__ ''mech''] [[__-Z[[Z]__] [[__-f__ ''file''] [[''dn rdn''] !!DESCRIPTION __ldapmodrdn__ is a shell-accessible interface to the ldap_modrdn2(3) library call. __ldapmodrdn__ opens a connection to an LDAP server, binds, and modifies the RDN of entries. The entry information is read from standard input, from ''file'' through the use of the -''f'' option, or from the command-line pair ''dn'' and ''rdn''. !!OPTIONS __-r__ Remove old RDN values from the entry. Default is to keep old values. __-n__ Show what would be done, but don't actually change entries. Useful for debugging in conjunction with -v. __-v__ Use verbose mode, with many diagnostics written to standard output. __-k__ Use Kerberos IV authentication instead of simple authentication. It is assumed that you already have a valid ticket granting ticket. __ldapmodrdn__ must be compiled with Kerberos support for this option to have effect. __-K__ Same as -k, but only does step 1 of the Kerberos IV bind. This is useful when connecting to a slapd and there is no x500dsa.hostname principal registered with your Kerberos Domain Controller(s). __-c__ Continuous operation mode. Errors are reported, but ldapmodify will continue with modifications. The default is to exit after reporting an error. __-M[[M]__ Enable manage DSA IT control. __-MM__ makes control critical. __-d debuglevel__ Set the LDAP debugging level to ''debuglevel''. __ldapmodrdn__ must be compiled with LDAP_DEBUG defined for this option to have any effect. __-f file__ Read the entry modification information from ''file'' instead of from standard input or the command-line. __-x__ Use simple authentication instead of SASL. __-D binddn__ Use the Distinguished Name ''binddn'' to bind to the LDAP directory. __-W__ Prompt for simple authentication. This is used instead of specifying the password on the command line. __-w passwd__ Use ''passwd'' as the password for simple authentication. __-H__ ''ldapuri'' Specify URI(s) referring to the ldap server(s). __-h__ ''ldaphost'' Specify an alternate host on which the ldap server is running. Deprecated in favor of -H. __-p__ ''ldapport'' Specify an alternate TCP port where the ldap server is listening. Deprecated in favor of -H. __-P__ ''2''|''3'' Specify the LDAP protocol version to use. __-O__ ''security-properties'' Specify SASL security properties. __-I__ Enable SASL Interactive mode. Always prompt. Default is to prompt only as needed. __-Q__ Enable SASL Quiet mode. Never prompt. __-U__ ''authcid'' Specify the authentication ID for SASL bind. The form of the ID depends on the actual SASL mechanism used. __-X__ ''authzid'' Specify the requested authorization ID for SASL bind. ''authzid'' must be one of the following formats: __dn:__'''' or __u:__'''' __-Y__ ''mech'' Specify the SASL mechanism to be used for authentication. If it's not specified, the program will choose the best mechanism the server knows. __-Z[[Z]__ Issue StartTLS (Transport Layer Security) extended operation. If you use __-ZZ__, the command will require the operation to be successful. !!INPUT FORMAT If the command-line arguments ''dn'' and ''rdn'' are given, ''rdn'' will replace the RDN of the entry specified by the DN, ''dn''. Otherwise, the contents of ''file'' (or standard input if no -''f'' flag is given) should consist of one or more entries. Distinguished Name (DN) Relative Distinguished Name (RDN) One or more blank lines may be used to separate each DN/RDN pair. !!EXAMPLE Assuming that the file __/tmp/entrymods__ exists and has the contents: cn=Modify Me, dc=example, dc=com cn=The New Me the command: ldapmodify -r -f /tmp/entrymods will change the RDN of the !!DIAGNOSTICS Exit status is 0 if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error. !!SEE ALSO ldapadd(1), ldapdelete(1), ldapmodify(1), ldapsearch(1), ldap.conf(5), ldap(3), ldap_modrdn2(3) !!BUGS There is no interactive mode, but there probably should be. !!AUTHOR The OpenLDAP Project !!ACKNOWLEDGEMENTS __OpenLDAP__ is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). __OpenLDAP__ is derived from University of Michigan LDAP 3.3 Release. ----
5 pages link to
ldapmodrdn(1)
:
ldapadd(1)
ldapdelete(1)
ldapmodify(1)
ldapsearch(1)
Man1l
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.