Sponsored Content
Top Forums UNIX for Dummies Questions & Answers ldapsearch (Can't contact ldap server) Post 302108301 by vanloonmichel on Monday 26th of February 2007 03:45:45 AM
Old 02-26-2007
no succes with IP address

Hi,

With the ip address i get the same error!!

Regards,

Michel
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Finding LDAP server configurations

Hi, I'm using debian etch in my server and have a preconfigured LDAP server. I want to know which configuration can I use to configure libnss-ldap. My main questions is: Does the LDAP database require login? Special LDAP privileges for root? Make the configuration file readable/writeable by... (1 Reply)
Discussion started by: mjdousti
1 Replies

2. Solaris

How to disable LDAP server on solaris9/10?

hi, I found /etc/rc2.d/S**ldap.client, while it's just the client of LDAP, where can I found the ldap server? when/where/how did it start on solaris 9/10? Could anyone help me? Best Wishes. (1 Reply)
Discussion started by: a2156z
1 Replies

3. Solaris

couldn't contact the DHCP server

hi when i configure for DHCP in my solaris it says not able to contact dhcp server.. what might be the problem( is there any problem in recognizing my hostname by DHCP Server)? can any one explain thanks in advance (1 Reply)
Discussion started by: srikanthg
1 Replies

4. Shell Programming and Scripting

need help on configuring LDAP server on solaris

HI All I need help to understand how the ldap works in Solaris 9 & Solaris 10. Kindly provide me some helpful commands related to LDAP Regards Jagan (2 Replies)
Discussion started by: jaganblore
2 Replies

5. Shell Programming and Scripting

Unix ldapsearch can not contact a Windows LDAP Server

Good morning, Firstly my appologies if this post is not exactly approprate for this forum but I do not know were else to post it. If anyone knows of a better forum for this please let me know. I need to script an ldapsearch that will interrogate both unix and windows ldap servers. When it... (1 Reply)
Discussion started by: twk
1 Replies

6. UNIX for Advanced & Expert Users

LDAP SERVER: OS TO USE

I'm doing a lot of research on ldap server, and wanted to know the best and easiest OS to deploy it on. Please submit OS type and version. We are planning to deploy this in the next a couple of months. Probably deploy this as a VMware VM, but we have SPARC and x64 physical servers we can use. ... (2 Replies)
Discussion started by: joesomontan
2 Replies

7. UNIX and Linux Applications

Server migration from samba+ldap to windows server 2003

Hi, i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers. Where you can read how to do it? Or can tell me how to do it? Thanks. P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies

8. Cybersecurity

Fail2ban ERROR Unable to contact server. Is it running?

Hello, my fail2ban service is running (ps aux) When i do: fail2ban-client status it returns: ERROR Unable to contact server. Is it running? same message on fail2ban restart. In /etc/fail2ban/fail2ban.conf i see this line: socket = /var/run/fail2ban/fail2ban.sock but this file does... (1 Reply)
Discussion started by: postcd
1 Replies

9. Solaris

LDAP Client not connecting to LDAP server

I have very limited knowledge on LDAP configuration and have been trying fix one issue, but unsuccessful. The server, I am working on, is Solaris-10 zone. sudoers is configured on LDAP (its not on local server). I have access to login directly on server with root, but somehow sudo is not working... (9 Replies)
Discussion started by: solaris_1977
9 Replies

10. Solaris

How to add new server into ldap?

Hello Admins, I need help in adding newly built solaris 10 zone into LDAP server. We have LDAP server running on Solaris 10. We just built new solaris zone and would like to add it to LDAP server. The LDAP serves as centralized user administration. Please let me know the steps. (1 Reply)
Discussion started by: snchaudhari2
1 Replies
HTML::TreeBuilder::XPath(3pm)				User Contributed Perl Documentation			     HTML::TreeBuilder::XPath(3pm)

NAME
HTML::TreeBuilder::XPath - add XPath support to HTML::TreeBuilder SYNOPSIS
use HTML::TreeBuilder::XPath; my $tree= HTML::TreeBuilder::XPath->new; $tree->parse_file( "mypage.html"); my $nb=$tree->findvalue( '/html/body//p[@class="section_title"]/span[@class="nb"]'); my $id=$tree->findvalue( '/html/body//p[@class="section_title"]/@id'); my $p= $html->findnodes( '//p[@id="toto"]')->[0]; my $link_texts= $p->findvalue( './a'); # the texts of all a elements in $p $tree->delete; # to avoid memory leaks, if you parse many HTML documents DESCRIPTION
This module adds typical XPath methods to HTML::TreeBuilder, to make it easy to query a document. METHODS
Extra methods added both to the tree object and to each element: findnodes ($path) Returns a list of nodes found by $path. In scalar context returns an "Tree::XPathEngine::NodeSet" object. findnodes_as_string ($path) Returns the text values of the nodes, as one string. findnodes_as_strings ($path) Returns a list of the values of the result nodes. findvalue ($path) Returns either a "Tree::XPathEngine::Literal", a "Tree::XPathEngine::Boolean" or a "Tree::XPathEngine::Number" object. If the path returns a NodeSet, $nodeset->xpath_to_literal is called automatically for you (and thus a "Tree::XPathEngine::Literal" is returned). Note that for each of the objects stringification is overloaded, so you can just print the value found, or manipulate it in the ways you would a normal perl value (e.g. using regular expressions). findvalues ($path) Returns the values of the matching nodes as a list. This is mostly the same as findnodes_as_strings, except that the elements of the list are objects (with overloaded stringification) instead of plain strings. exists ($path) Returns true if the given path exists. matches($path) Returns true if the element matches the path. find ($path) The find function takes an XPath expression (a string) and returns either a Tree::XPathEngine::NodeSet object containing the nodes it found (or empty if no nodes matched the path), or one of XML::XPathEngine::Literal (a string), XML::XPathEngine::Number, or XML::XPathEngine::Boolean. It should always return something - and you can use ->isa() to find out what it returned. If you need to check how many nodes it found you should check $nodeset->size. See XML::XPathEngine::NodeSet. as_XML_compact HTML::TreeBuilder's "as_XML" output is not really nice to look at, so I added a new method, that can be used as a simple replacement for it. It escapes only the '<', '>' and '&' (plus '"' in attribute values), and wraps CDATA elements in CDATA sections. Note that the XML is actually not garanteed to be valid at this point. Nothing is done about the encoding of the string. Patches or just ideas of how it could work are welcome. as_XML_indented Same as as_XML, except that the output is indented. SEE ALSO
HTML::TreeBuilder XML::XPathEngine REPOSITORY
https://github.com/mirod/HTML--TreeBuilder--XPath <https://github.com/mirod/HTML--TreeBuilder--XPath> AUTHOR
Michel Rodriguez, <mirod@cpan.org> COPYRIGHT AND LICENSE
Copyright (C) 2006-2011 by Michel Rodriguez This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available. perl v5.12.4 2011-09-20 HTML::TreeBuilder::XPath(3pm)
All times are GMT -4. The time now is 10:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy