Import ITS#2645 from HEAD

This commit is contained in:
Howard Chu 2003-10-12 01:03:23 +00:00
parent 9b99449e29
commit 932fec6e2e

View file

@ -810,6 +810,11 @@ domodify(
int i, j, k, notascii, op;
struct berval *bvp;
if ( dn == NULL ) {
fprintf( stderr, _("%s: no DN specified\n"), prog );
return( LDAP_PARAM_ERROR );
}
if ( pmods == NULL ) {
fprintf( stderr, "%s: no attributes to change or add (entry=\"%s\")\n",
prog, dn );