ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] slapd не слушает на указанном IP?
@ 2010-12-05 15:47 Andrew V. Stepanov
  2010-12-06 12:50 ` Anton Kvashin
  2010-12-06 13:27 ` Dmitry Lebkov
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew V. Stepanov @ 2010-12-05 15:47 UTC (permalink / raw)
  To: sysadmins

Может кто знает почему 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-06 14:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-05 15:47 [Sysadmins] slapd не слушает на указанном IP? Andrew V. Stepanov
2010-12-06 12:50 ` Anton Kvashin
2010-12-06 13:27 ` Dmitry Lebkov
2010-12-06 14:43   ` Dmitriy Kruglikov

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