{
    "mode": "perldoc",
    "parameter": "Net::LDAPS",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ALDAPS/json",
    "generated": "2026-06-09T17:44:24Z",
    "synopsis": "use Net::LDAPS;\n$ldaps = Net::LDAPS->new('myhost.example.com',\nport => '10000',\nverify => 'require',\ncapath => '/usr/local/cacerts/');\n# alternate way\nuse Net::LDAP;\n$ldaps = Net::LDAP->new('ldaps://myhost.example.com:10000',\nverify => 'require',\ncapath => '/usr/local/cacerts/');",
    "sections": {
        "NAME": {
            "content": "Net::LDAPS - use LDAP over an SSL connection\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::LDAPS;\n\n$ldaps = Net::LDAPS->new('myhost.example.com',\nport => '10000',\nverify => 'require',\ncapath => '/usr/local/cacerts/');\n\n# alternate way\nuse Net::LDAP;\n\n$ldaps = Net::LDAP->new('ldaps://myhost.example.com:10000',\nverify => 'require',\ncapath => '/usr/local/cacerts/');\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Communicate using the LDAP protocol to a directory server using an encrypted (SSL) network\nconnection. This mechanism is non-standard but widely supported; consider using LDAPv3 with the\nstandard TLS extension if possible (many servers do not support it yet.) See \"starttls\" in\nNet::LDAP.\n\nAll the normal \"Net::LDAP\" methods can be used with a \"Net::LDAPS\" object; see Net::LDAP for\ndetails.\n",
            "subsections": []
        },
        "CONSTRUCTOR": {
            "content": "new ( HOST [, OPTIONS ] )\nCreate a new connection. HOST is the hostname to contact. OPTIONS is a number of key/value\npairs. See \"new\" in Net::LDAP for details.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Net::LDAP, IO::Socket::SSL\n",
            "subsections": []
        },
        "BUGS": {
            "content": "You cannot have more than one LDAPS connection at any one time, due to restrictions in the\nunderlying Net::SSLeay code.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Chris Ridd <chris.ridd@isode.com>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c) 2000-2004, Chris Ridd and Graham Barr. All rights reserved. This library is free\nsoftware; you can redistribute it and/or modify it under the same terms as Perl itself.\n",
            "subsections": []
        }
    },
    "summary": "Net::LDAPS - use LDAP over an SSL connection",
    "flags": [],
    "examples": [],
    "see_also": []
}