shelldap
changeset 26 68318d115f6c
parent 25 77fd303f1a28
child 27 7d170d1bc17b
--- a/shelldap	Sat Mar 05 20:24:07 2011 +0100
+++ b/shelldap	Sat Mar 05 20:56:20 2011 +0100
@@ -1005,7 +1005,7 @@
 	$self->base( $newbase );
 
 	# get new 'cwd' listing
-	my $s = $self->search({ scope => 'one', attrs => ['dn'] });
+	my $s = $self->search({ scope => 'one', attrs => [ '1.1' ] });
 	if ( $s->{'code'} ) {
 		print "$s->{'message'}\n";
 		return;
@@ -1407,7 +1407,7 @@
 	my $self	= shift;
 	my @filters = @_;
 	my $base	= $self->base();
-	my $attrs 	= [ 'dn', 'hasSubordinates' ];
+	my $attrs 	= [ 'hasSubordinates' ];
 
 	# setup filters
 	my ( $flags, $filter );