Commit 794c4942 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

ITS#2645: fix NULL DN bug

parent 3186a1c2
......@@ -814,6 +814,11 @@ domodify(
int i, j, k, notascii, op;
struct berval *bvp;
if ( dn == NULL ) {
fprintf( stderr, _("%s: no DN specified\n"), prog );
if ( pmods == NULL ) {
fprintf( stderr, _("%s: no attributes to change or add (entry=\"%s\")\n"),
prog, dn );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment