--- a/shelldap Mon Apr 29 00:09:43 2019 +0200 +++ b/shelldap Mon Apr 29 00:10:31 2019 +0200 @@ -857,8 +857,7 @@ my $use_pager = shift; unless ( $dn ) { - print "No dn provided.\n"; - return; + $dn = '.' } # support '.'