[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_rename parameter order (ITS#387)



Fix committed.  Thanks.

At 05:24 PM 12/1/99 GMT, vtag@novell.com wrote:
>Full_Name: Steven F. Sonntag
>Version: development
>OS: Win NT
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (137.65.214.133)
>
>
>The ldap_rename and ldap_rename_s functions have a function prototype different
>than that described in the draft currently being considered by the IETF.
>Specifically, the newparent and deleteoldrdn parameters are reversed.
>
>The OpenLDAP version:
>ldap_rename_s(
>	LDAP *ld,
>	LDAP_CONST char *dn,
>	LDAP_CONST char *newrdn,
>	int deleteoldrdn,
>	LDAP_CONST char *newSuperior,
>	LDAPControl **sctrls,
>	LDAPControl **cctrls )
>
>The IETF and Mozilla versions:
>         int ldap_rename(
>                   LDAP            *ld,
>                   const char      *dn,
>                   const char      *newrdn,
>                   const char      *newparent,
>                   int             deleteoldrdn,
>                   LDAPControl     **serverctrls,
>                   LDAPControl     **clientctrls,
>                   int             *msgidp
>
>Is this done on purpose, or is it an oversite.  I checked the man pages, but
>ldap_rename isn't described in the man pages, so I am assuming it is a bug.
>
>
>

----
Kurt D. Zeilenga		<kurt@boolean.net>
Net Boolean Incorporated	<http://www.boolean.net/>