ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] freeradius & openldap
Date: Fri, 01 Apr 2005 00:09:41 +1100
Message-ID: <424BF695.1000507@sakhalin.ru> (raw)
In-Reply-To: <200503311904.01561.alt@zlt.ru>

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"
                                     ^пропущена запятая

-- 
WBR, Dmitry Lebkov


  reply	other threads:[~2005-03-31 13:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31 13:04 max
2005-03-31 13:09 ` Dmitry Lebkov [this message]
2005-04-01  4:08   ` [Comm] " max
2005-04-04 12:16   ` 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=424BF695.1000507@sakhalin.ru \
    --to=dima@sakhalin.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