Fixed slapd li_nextid_file uninitialized bug
Fixed -lldap templates y2k bug (ITS#294)
Fixed ldbm db_appinit to use u_int32_t instead of int (ITS#295)
+ Documentation
+ ldappasswd fix -c vs -H typo (ITS#154)
Changes included in OpenLDAP 1.2.7
CVS Tag: OPENLDAP_REL_ENG_1_2_7
Use \fIsearchbase\fP as the starting point for the search instead of
the default.
.TP
-.B \-c \fInone\fR\||\|\fIcrypt\fR\||\|\fImd5\fR\||\|\fIsmd5\fR\||\|\fIsha\fR\||\|\fIssha
-Specify the hashing algorithm used to store the password. The default is
-.IR crypt .
-.TP
.BI \-D \ binddn
Use \fIbinddn\fP to bind to the X.500 directory. \fIbinddn\fP should be
a string-represented DN as defined in RFC 1779.
Passwords will be displayed when using verbose,
.BR -vvv .
.TP
+.B \-H \fInone\fR\||\|\fIcrypt\fR\||\|\fImd5\fR\||\|\fIsmd5\fR\||\|\fIsha\fR\||\|\fIssha
+Specify the hashing algorithm used to store the password. The default is
+.IR crypt .
+.TP
.BI \-h \ ldaphost
Specify an alternate host on which the ldap server is running.
.TP
*maxvals * sizeof(struct berval *) );
}
- for ( i = 0, j = 0; i < naddvals; i++, j++ ) {
+ for ( i = 0, j = 0; i < naddvals; i++ ) {
if ( addvals[i]->bv_len > 0 ) {
- (*vals)[nvals + j] = ber_bvdup( addvals[i] );
+ (*vals)[nvals + j++] = ber_bvdup( addvals[i] );
}
}
(*vals)[nvals + j] = NULL;