Results 1 to 3 of 3

Thread: Trying to set up an LDAP server without DNS

  1. #1
    Join Date
    Nov 2012
    Beans
    2

    Trying to set up an LDAP server without DNS

    Hi all,

    Trying to set up an LDAP server without DNS on 12.04.

    Following this guide -- https://help.ubuntu.com/12.04/server...ap-server.html

    When I get to step 3 under the "Post-Install Inspection," I type
    "ldapsearch -x -LLL -H ldap:///127.0.1.1." but i get the error
    "DNS SRV: Could not turn DN="127.0.1.1" into a domain"

    I am not sure if my syntax is correct.

    Additionally, when it comes time to modify/populate the database, I am unsure what to substitute "dc=example,dc=com" with when I have no DNS service.

    FYI, my /etc/hosts returns:
    127.0.0.1 localhost
    127.0.1.1 sw8

    Anyone help would be very much appreciated. Thanks.

  2. #2
    Join Date
    Nov 2012
    Beans
    2

    Re: Trying to set up an LDAP server without DNS

    if there's any additional information you need, please let me know.

    thanks

  3. #3
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Trying to set up an LDAP server without DNS

    Quote Originally Posted by oat328 View Post
    When I get to step 3 under the "Post-Install Inspection," I type
    "ldapsearch -x -LLL -H ldap:///127.0.1.1." but i get the error
    "DNS SRV: Could not turn DN="127.0.1.1" into a domain"

    I am not sure if my syntax is correct.
    You'll need to fix 2 typos, remove an additional / and . from the URI

    Code:
    -H ldap://127.0.1.1
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

Tags for this Thread

Bookmarks

Posting Permissions

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