Results 1 to 3 of 3

Thread: Listening por for LDAP

  1. #1

    Default Listening por for LDAP

    Hello,

    I would like to ask if with command netstat -nap, should appears an entry for LDAP in the column PID/ Program name.
    This is my output:

    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:5989 0.0.0.0:* LISTEN -
    tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN -

    I assume that the port for ldap its the 389 which is the default port.
    In this link SDB:LDAP server - openSUSE is mentioned the nmap command but with netstat i can get the same output and ther appears the program ldap.
    Im having some problems with my ldap server and probably it is not listening.
    The ldapsearch -x -h <localhost> '(objectclass=*)' woks fine and with the command getent passwd i can see the users.


    tks,

    checo

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,340
    Blog Entries
    15

    Default Re: Listening por for LDAP

    Hi
    Just use;
    Code:
    netstat -a |grep ldap
    
    tcp        0      0 *:ldaps                 *:*                     LISTEN      
    tcp        0      0 *:ldap                  *:*                     LISTEN
    You would use nmap from a remote machine to see if the ports are visible eg;
    Code:
    nmap <your ldap server>
    
    PORT     STATE  SERVICE
    389/tcp  open   ldap
    636/tcp  open   ldapssl
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Listening por for LDAP

    Thanks Macolm.

    That was what exactly what i would like to know.

    Checo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •