MySQL user authentication and LDAP
7 answers - 396 bytes -

Hello,
I want to write a module to make LDAP work with MySQL. I was wondering
if someone has already done this or knows if there is information about
this. If there is nothing about this subject, where can I find the user
authentication in MySQL. I mean in which source files. And can someone
give me any directions or documentation about the file(s)?
Regards,
Arjan.
No.1 | | 579 bytes |
| 
Hello Arjan,
I thought LDAP had a MySQL backend when I toyed with LDAP a few
years back.Perhaps this is useful?
Cheers,
Michel
Arjan Hulshoff wrote:
Hello,
I want to write a module to make LDAP work with MySQL. I was wondering
if someone has already done this or knows if there is information
about this. If there is nothing about this subject, where can I find
the user authentication in MySQL. I mean in which source files. And
can someone give me any directions or documentation about the file(s)?
Regards,
Arjan.
No.2 | | 560 bytes |
| 
Hi!
Are you wanting to authenticate MySQL connections with LDAP?
Cheers,
-Brian
Aug 16, 2006, at 12:38 PM, Arjan Hulshoff wrote:
Hello,
I want to write a module to make LDAP work with MySQL. I was
wondering if someone has already done this or knows if there is
information about this. If there is nothing about this subject,
where can I find the user authentication in MySQL. I mean in which
source files. And can someone give me any directions or
documentation about the file(s)?
Regards,
Arjan.
No.3 | | 960 bytes |
| 
Yes, that's exactly what I want and I want to integrate it into MySQL
application.
Brian Aker wrote:
Hi!
Are you wanting to authenticate MySQL connections with LDAP?
Cheers,
-Brian
Aug 16, 2006, at 12:38 PM, Arjan Hulshoff wrote:
>
>Hello,
>>
>I want to write a module to make LDAP work with MySQL. I was
>wondering if someone has already done this or knows if there is
>information about this. If there is nothing about this subject, where
>can I find the user authentication in MySQL. I mean in which source
>files. And can someone give me any directions or documentation about
>the file(s)?
>>
>Regards,
>Arjan.
>>
>Internals Mailing List
>For list archives:
>To unsubscribe:
>@tangent.org
>
No.4 | | 1836 bytes |
| 
Hi!
Aug 16, 2006, at 3:28 PM, Arjan Hulshoff wrote:
Yes, that's exactly what I want and I want to integrate it into
MySQL application.
The first thing that you will want to to look at to understand our
direction is:
We want to first take the server and make it so that anyone can
optionally add a pluggable authentication system to MySQL.
Cheers,
-Brian
--
Brian Aker wrote:
>Hi!
>>
>Are you wanting to authenticate MySQL connections with LDAP?
>>
>Cheers,
>-Brian
>>
>Aug 16, 2006, at 12:38 PM, Arjan Hulshoff wrote:
>>
Hello,
I want to write a module to make LDAP work with MySQL. I was
wondering if someone has already done this or knows if there is
information about this. If there is nothing about this subject,
where can I find the user authentication in MySQL. I mean in
which source files. And can someone give me any directions or
documentation about the file(s)?
Regards,
Arjan.
Internals Mailing List
For list archives:
To unsubscribe:
unsub=brian (AT) tangent (DOT) org
>>
>--
>
>Brian "Krow" Aker, brian at tangent.org
>Seattle, Washington
>http://krow.net/
>http://tangent.org/
>
>You can't grep a dead tree.
>>
>>
>>
>>
>Internals Mailing List
>For list archives:
>To unsubscribe:
>unsub=arjan.m.hulshoff (AT) zonnet (DOT) nl
>>
>>
>
>
No.5 | | 1853 bytes |
| 
So there is already some work done on this subject. However I don't see
that there is thought of the possibility to add user groups or am I
mistaken?
Brian Aker wrote:
Hi!
Aug 16, 2006, at 3:28 PM, Arjan Hulshoff wrote:
>
>Yes, that's exactly what I want and I want to integrate it into MySQL
>application.
>
The first thing that you will want to to look at to understand our
direction is:
We want to first take the server and make it so that anyone can
optionally add a pluggable authentication system to MySQL.
Cheers,
-Brian
>
>>
>>
>Brian Aker wrote:
Hi!
Are you wanting to authenticate MySQL connections with LDAP?
Cheers,
-Brian
Aug 16, 2006, at 12:38 PM, Arjan Hulshoff wrote:
Hello,
I want to write a module to make LDAP work with MySQL. I was
wondering if someone has already done this or knows if there is
information about this. If there is nothing about this subject,
where can I find the user authentication in MySQL. I mean in which
source files. And can someone give me any directions or
documentation about the file(s)?
Regards,
Arjan.
Internals Mailing List
For list archives:
To unsubscribe:
@tangent.org
Brian "Krow" Aker, brian at tangent.org
Seattle, Washington
http://krow.net/
http://tangent.org/
You can't grep a dead tree.
Internals Mailing List
For list archives:
To unsubscribe:
@zonnet.nl
>>
>>
>Internals Mailing List
>For list archives:
>To unsubscribe:
>@tangent.org
>
No.6 | | 431 bytes |
| 
Thu, Aug 17, 2006 at 10:53:15PM +0200, Arjan Hulshoff wrote:
So there is already some work done on this subject. However I don't see
that there is thought of the possibility to add user groups or am I
mistaken?
Support for roles (what I believe you mean by "user groups") is part of
another task, and the high-level specification of that hasn't been
published yet.
Jim Winstead
MySQL Inc.
No.7 | | 1440 bytes |
| 
Jim Winstead wrote:
Thu, Aug 17, 2006 at 10:53:15PM +0200, Arjan Hulshoff wrote:
>So there is already some work done on this subject. However I don't see
>that there is thought of the possibility to add user groups or am I
>mistaken?
>
>
Support for roles (what I believe you mean by "user groups") is part of
another task, and the high-level specification of that hasn't been
published yet.
Jim Winstead
MySQL Inc.
Well, I actually mean things like Units and those kind of
things in LDAP. This way you don't need to give every single user access
to a database. But e.g. in LDAP I would be authenticated like
dc=example,dc=com,ou=dba,cn=arjan, then I would like to tell MySQL that
all users belonging to ou=dba have all the rights to maintain the
database server. This is very usefull when I have a large group of users
with the same rights and it would be easier for me to manage it. the
other hand, you still should be able to give an individual user more
rights, then he can have according to the ou. So I think there is a
slight difference with roles, these are groups that are made
specifically in a database. That could be a way to give a single user
more rights. This way managing users is used in MS SQL Server 2005 and
is very practical for simple user maintenance.
Regards,
Arjan.