List:Internals« Previous MessageNext Message »
From:Vladimir Shebordaev Date:May 22 2008 11:38am
Subject:Re: [Report 2] RBAC system - starting point
View as plain text  
Eric Bergen пишет:
> Hi,
> 
> 
> On Wed, May 21, 2008 at 3:10 PM, Vladimir Shebordaev
> <vladimir.shebordaev@stripped> wrote:
>> Hi!
>>
>> Jeremy Cole пишет:
>>> Hi Vladimir,
>>>
>>>
>>> This is true, although this is much more complex and would basically
>>> involve mirroring the entire privilege hierarchy into LDAP, and I'm not sure
>>> I've heard anyone talk about doing that yet.
 >>
>> You might wish to have a look at, e.g. wl#3118
>>
>> <http://forge.mysql.com/worklog/task.php?id=3118>
>>
>>
>>> It would also probably mean doing the permissions lookups "live" against
>>> LDAP, which would be substantially slower than the current privilege system
>>> which is all in in-memory hash tables.
>>>
> 
> Not only would it be slower but it adds another dependency into the
> system. It basically means that if ldap goes down then so do the
> databases. It would have to be implemented with a level of caching
> within MySQL which would make it even more complex.
>

If you have no backup authentication service you will sure not be 
able to even log in into you system would you set up your pam to 
authenticate against it.

Basically, mysqld would query LDAP when it opens tables and 
creates user security contexts, i.e. when the user logs in, so 
the query results could be effectively cached.

>> Sure. I guess, it is hardly supposed to be ever implemented.
>>

It could be nice feature but it looks like too much hassle :)


Regards,
Vladimir

Thread
[Report 2] RBAC system - starting pointSergey Kudriavtsev20 May
  • Re: [Report 2] RBAC system - starting pointSergei Golubchik20 May
    • Re: [Report 2] RBAC system - starting pointKaren Abgarian20 May
      • Re: [Report 2] RBAC system - starting pointSergey Kudriavtsev20 May
        • Re: [Report 2] RBAC system - starting pointRoy Lyseng20 May
          • Re: [Report 2] RBAC system - starting pointSergei Golubchik21 May
    • Re: [Report 2] RBAC system - starting pointSergey Kudriavtsev20 May
      • Re: [Report 2] RBAC system - starting pointSergei Golubchik20 May
        • Re: [Report 2] RBAC system - starting pointSergey Kudriavtsev20 May
  • Re: [Report 2] RBAC system - starting pointMark Callaghan20 May
    • Re: [Report 2] RBAC system - starting pointSergey Kudriavtsev20 May
    • Re: [Report 2] RBAC system - starting pointRoy Lyseng20 May
      • Re: [Report 2] RBAC system - starting pointJeremy Cole20 May
  • Re: [Report 2] RBAC system - starting pointJeremy Cole20 May
    • Re: [Report 2] RBAC system - starting pointSergei Golubchik20 May
    • Re: [Report 2] RBAC system - starting pointVladimir Shebordaev20 May
      • Re: [Report 2] RBAC system - starting pointJeremy Cole20 May
        • Re: [Report 2] RBAC system - starting pointVladimir Shebordaev20 May
          • Re: [Report 2] RBAC system - starting pointJeremy Cole20 May
            • Re: [Report 2] RBAC system - starting pointVladimir Shebordaev21 May
              • Re: [Report 2] RBAC system - starting pointJeremy Cole21 May
      • Re: [Report 2] RBAC system - starting pointJeremy Cole20 May
    • Re: [Report 2] RBAC system - starting pointRoy Lyseng20 May
      • Re: [Report 2] RBAC system - starting pointJeremy Cole20 May
  • Re: [Report 2] RBAC system - starting pointJeremy Cole21 May
    • Re: [Report 2] RBAC system - starting pointVladimir Shebordaev21 May
      • Re: [Report 2] RBAC system - starting pointJeremy Cole21 May
        • Re: [Report 2] RBAC system - starting pointVladimir Shebordaev22 May
          • Re: [Report 2] RBAC system - starting pointEric Bergen22 May
            • Re: [Report 2] RBAC system - starting pointVladimir Shebordaev22 May
Re: [Report 2] RBAC system - starting pointJeremy Cole21 May