ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: max <alt@zlt.ru>
To: community@altlinux.ru
Subject: [Comm] Re: freeradius & openldap
Date: Fri, 1 Apr 2005 10:08:54 +0600
Message-ID: <200504011008.54424.alt@zlt.ru> (raw)
In-Reply-To: <424BF695.1000507@sakhalin.ru>

В сообщении от 31 Март 2005 19:09 Dmitry Lebkov написал(a):
> max wrote:
> > Не могу подружить freeradius & openldap на Мастер 2.4
> >
> > Кто-нибудь делал такое? В идеале хотел получить vpn с авторизацией через
> > ldap.
> >
> > freeradius немного обновлён.
>
> [ненужные подробности поскипаны]
>
> > rlm_ldap: performing search in ou=Users dc=zlt,dc=ru, with filter
> > (&(objectClass=posixAccount)(uid=max1)) rlm_ldap: ldap_search() failed:
> > Invalid DN syntax
>
> Учимся внимательно читать debug output. Проблема в конфиге radius'а, в
> секции ldap - в DN пропущена запятая
>
> > rlm_ldap: search failed
> > ldap_release_conn: Release Id: 0
> >   modcall[authorize]: module "ldap" returns fail for request 0
> > modcall: group authorize returns fail for request 0
>
> И как результат - авторизация не пршла.
>
> [skip]
>
> > Вот часть кофига радиуса:
> >         ldap {
> >                 server = "localhost"
> >                 identity = "cn=admin,dc=zlt,dc=ru"
> >                 password = secret
> >                 basedn = "ou=Users dc=zlt,dc=ru"
>
>                                      ^пропущена запятая

Большое спасибо, совсем запарился уже к вечеру и "слона" не заметил.
Буду пробовать дальше.
-- 
MaX

  reply	other threads:[~2005-04-01  4:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31 13:04 [Comm] " max
2005-03-31 13:09 ` Dmitry Lebkov
2005-04-01  4:08   ` max [this message]
2005-04-04 12:16   ` [Comm] " max
2005-04-04 12:33     ` max

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=200504011008.54424.alt@zlt.ru \
    --to=alt@zlt.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