ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: BSW <bsw71@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] ldap
Date: Wed, 31 Mar 2004 16:54:02 +0600
Message-ID: <406AA34A.3050005@mail.ru> (raw)
In-Reply-To: <406A8FBE.2030901@iop.kiev.ua>

Andriy Dobrovol's'kii wrote:
> Вон оно что... Я это трактовал несколько иначе... Думал, что разрешаю 
> пользователю самостоятельно изменять свои данные. А как тогда добиться 
> желаемого?
Так он (наверняка) мог менять свои данные :-). Проблема, как я понимаю, 
в том, что юзер является self только для собственной учетной записи 
(своего dn), для остальных - он просто юзер.
Пробелму можно решить двумя способами:
- разрешить юзеру изменять только некоторые атрибуты (зачем ему менять 
objectClass?)
access to attr=attr1,attr2,...
	by self write
	by <остальное по вкусу>
access to *
	by users read
	by anonymous auth
	by * none

- отдать юзеру его dn целиком, все остальное - только на чтение
access to *
	by self write
	by users read
	by anonymous auth
	by * none

Т.е. нужно явно указать write для self, и read для users. Причем важен 
еще и порядок, если by * none написать раньше, чем by self write, то все 
ловко обломаются.



      parent reply	other threads:[~2004-03-31 10:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-30 13:16 Andriy Dobrovol's'kii
2004-03-31  3:15 ` BSW
2004-03-31  9:30   ` Andriy Dobrovol's'kii
2004-03-31 10:13     ` Andriy Dobrovol's'kii
2004-03-31 10:54     ` BSW [this message]

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=406AA34A.3050005@mail.ru \
    --to=bsw71@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