ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Andrew V. Stepanov" <stanv@altlinux.org>
To: sysadmins@lists.altlinux.org
Subject: [Sysadmins] slapd не слушает на указанном IP?
Date: Sun, 5 Dec 2010 18:47:18 +0300
Message-ID: <AANLkTik6Jr=k2MmN2gE6h3RqPtSDRKnHe0OgfTU77gXP@mail.gmail.com> (raw)

Может кто знает почему slapd не вешается на указанный IP?

 # netstat -v -l -n -A inet | grep 389
tcp        0      0 127.0.0.1:389               0.0.0.0:*
    LISTEN

# grep '^[^#]' /etc/sysconfig/ldap
SLAPDURLLIST="ldap://localhost/ ldap://192.168.141.1/"
SLAPD_OPTIONS="-l DAEMON -s 6"
SLURPD_OPTIONS='-t /'

# ps ax | grep slapd
 5170 ?        Ssl    0:00 /usr/sbin/slapd -u ldap -r /var/lib/ldap -h
ldap://localhost/ ldap://192.168.141.1/ -l DAEMON -s 6

Хочу увидеть:

 # netstat -v -l -n -A inet | grep 389
tcp        0      0 127.0.0.1:389               0.0.0.0:*
    LISTEN
tcp        0      0 192.168.141.1:389               0.0.0.0:*
        LISTEN


Сейчас :
# ldapsearch -LLL -x -H 'ldap://localhost/' -b '' -s base
'(objectclass=*)' namingContexts
dn:
namingContexts: dc=example,dc=com

# ldapsearch -LLL -x -H 'ldap://192.168.141.1/' -b '' -s base
'(objectclass=*)' namingContexts
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

# ip a |  grep 192.168.141.1
   inet 192.168.141.1/24 brd 192.168.141.255 scope global guestbr0


             reply	other threads:[~2010-12-05 15:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05 15:47 Andrew V. Stepanov [this message]
2010-12-06 12:50 ` Anton Kvashin
2010-12-06 13:27 ` Dmitry Lebkov
2010-12-06 14:43   ` Dmitriy Kruglikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTik6Jr=k2MmN2gE6h3RqPtSDRKnHe0OgfTU77gXP@mail.gmail.com' \
    --to=stanv@altlinux.org \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git