shelldap
changeset 40 c6a3abc56c74
parent 38 12f279ef4f9d
child 41 3e7c107f8b93
equal deleted inserted replaced
39:bc105b22eb0f 40:c6a3abc56c74
  1649 		print "Sorry, password changes not supported by LDAP server.\n";
  1649 		print "Sorry, password changes not supported by LDAP server.\n";
  1650 		return;
  1650 		return;
  1651 	}
  1651 	}
  1652 
  1652 
  1653 	# convert given path to DN
  1653 	# convert given path to DN
  1654 	$self->path_to_dn( $dn );
  1654 	$dn = $self->path_to_dn( $dn );
  1655 
  1655 
  1656 	my $s = $self->search( { base => $dn, scope => 'base' } );
  1656 	my $s = $self->search( { base => $dn, scope => 'base' } );
  1657 	if ( $s->{'code'} ) {
  1657 	if ( $s->{'code'} ) {
  1658 		print $s->{'message'}, "\n";
  1658 		print $s->{'message'}, "\n";
  1659 		return;
  1659 		return;