Skip to content
Snippets Groups Projects
Commit 932fec6e authored by Howard Chu's avatar Howard Chu
Browse files

Import ITS#2645 from HEAD

parent 9b99449e
No related branches found
No related tags found
No related merge requests found
...@@ -810,6 +810,11 @@ domodify( ...@@ -810,6 +810,11 @@ domodify(
int i, j, k, notascii, op; int i, j, k, notascii, op;
struct berval *bvp; struct berval *bvp;
if ( dn == NULL ) {
fprintf( stderr, _("%s: no DN specified\n"), prog );
return( LDAP_PARAM_ERROR );
}
if ( pmods == NULL ) { if ( pmods == NULL ) {
fprintf( stderr, "%s: no attributes to change or add (entry=\"%s\")\n", fprintf( stderr, "%s: no attributes to change or add (entry=\"%s\")\n",
prog, dn ); prog, dn );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment