ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Anton Gorlov <Pnz.Stalker@mail.ru>
To: community@altlinux.ru
Subject: Re[2]: [Comm] nss_ldap
Date: Tue, 22 Mar 2005 13:03:26 +0300
Message-ID: <707861843.20050322130326@mail.ru> (raw)
In-Reply-To: <20050322095640.GA10958@alexpc.oiau.chel.cbr.ru>

Здравствуйте, Александр.

Вы писали 22 марта 2005 г., 12:56:40:

>> Здесь есть кто-нибудь под ALM2.4 с работающим nss_ldap?
> А что, проблемы ? ;)

Угу. Причём признаюсь сразу -завял. ;-(((((

В общем проблема в следующем:

Есть пользователь в лдапе. Линукс его видит. Но первая грабля
-автоматом не создалась его домашняя директория.
Далее -от рута id vasya показывает всё правильно. От простого
пользователя -говорят нет таких. nscd не запущен. В логах при этом
вижу такое вот:

рут:
Mar 22 01:08:19 vmstalker slapd[1876]: conn=68 fd=35 ACCEPT from IP=127.0.0.1:1094
(IP=127.0.0.1:389)
Mar 22 01:08:19 vmstalker slapd[1946]: conn=68 op=0 BIND dn="cn=admin,dc=samba" method=128
Mar 22 01:08:19 vmstalker slapd[1946]: conn=68 op=0 BIND dn="cn=admin,dc=samba" mech=SIMPLE ssf=0
Mar 22 01:08:19 vmstalker slapd[1946]: conn=68 op=0 RESULT tag=97 err=0 text=
Mar 22 01:08:19 vmstalker slapd[1939]: conn=68 op=1 SRCH base="ou=Users,dc=samba" scope=1
filter="(&(objectC
Mar 22 01:08:19 vmstalker slapd[1939]: conn=68 op=1 SRCH attr=uid userPassword uidNumber gidNumber
cn homeDi
....

Простой пользователь (не из лдапа)

---------
Mar 22 01:08:57 vmstalker slapd[1876]: conn=69 fd=35 ACCEPT from IP=127.0.0.1:1095
(IP=127.0.0.1:389)
Mar 22 01:08:57 vmstalker slapd[1939]: conn=69 op=0 BIND dn="" method=128
Mar 22 01:08:57 vmstalker slapd[1939]: conn=69 op=0 RESULT tag=97 err=49 text=
Mar 22 01:08:57 vmstalker slapd[1946]: conn=69 op=1 UNBIND
Mar 22 01:08:57 vmstalker slapd[1946]: conn=69 fd=35 closed
......
--------

Из phpldapadmin анонимно:

Mar 22 02:02:53 vmstalker slapd[1876]: conn=101 fd=35 ACCEPT from IP=127.0.0.1:1128 (IP=127.0.0.1:389)
Mar 22 02:02:53 vmstalker slapd[1939]: conn=101 op=0 BIND dn="" method=128 
Mar 22 02:02:53 vmstalker slapd[1939]: conn=101 op=0 RESULT tag=97 err=0 text= 
Mar 22 02:02:53 vmstalker slapd[1946]: conn=101 op=1 UNBIND 
Mar 22 02:02:53 vmstalker slapd[1946]: conn=101 fd=35 closed 
Mar 22 02:02:54 vmstalker slapd[1876]: conn=102 fd=35 ACCEPT from IP=127.0.0.1:1129 (IP=127.0.0.1:389) 
Mar 22 02:02:54 vmstalker slapd[1939]: conn=102 op=0 BIND dn="" method=128 
Mar 22 02:02:54 vmstalker slapd[1939]: conn=102 op=0 RESULT tag=97 err=0 text= 
Mar 22 02:02:54 vmstalker slapd[1946]: conn=102 op=1 SRCH base="" scope=0 filter="(objectClass=*)" 
Mar 22 02:02:54 vmstalker slapd[1946]: conn=102 op=1 SRCH attr=namingContexts 
Mar 22 02:02:54 vmstalker slapd[1946]: access_allowed: no res from state (namingContexts) 
Mar 22 02:02:54 vmstalker slapd[1946]: conn=102 op=1 ENTRY dn="" 
Mar 22 02:02:54 vmstalker slapd[1946]: conn=102 op=1 RESULT tag=101 err=0 text= 
Mar 22 02:02:54 vmstalker slapd[1939]: conn=102 op=2 SRCH base="dc=samba" scope=0 filter="(objectClass=*)"
....




-- 
С уважением,
 Anton                          mailto:Pnz.Stalker@mail.ru



  reply	other threads:[~2005-03-22 10:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-22  9:32 Anton Gorlov
2005-03-22  9:56 ` Александр Никольников
2005-03-22 10:03   ` Anton Gorlov [this message]
2005-03-22 10:48     ` Александр Никольников
2005-03-22 11:39       ` Re[2]: " Anton Gorlov

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=707861843.20050322130326@mail.ru \
    --to=pnz.stalker@mail.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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