Peter Jameson
unread,Apr 17, 2013, 3:57:42 PM4/17/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I can't access the KB article previously mentioned but can confirm that
Ingres can authenticate using AD with a small amount of additional
programming.
You need to write a small executable that takes username and password on
stdin and returns 0 or 1 depending on password authentication success
or failure.
You then setup an ingres DBMS variable of II_SHADOW_PWD that points to
your executable. Then all connections coming into your Ingres
installation will use that executable to authenticate.
So in the case of Active Directory we made our executable connect to
AD's LDAP service using the username and password (just use the one of
the domain controllers as the host name) and it then returns a suitable
success / failure code. Works very well.
Using this mechanism you can point Ingres at any authentication source
you fancy, it's a simple but effective design.
If you want to create users from Active Directory, install samba and use
some of the samba tools in a script to query an AD group's membership
and create suitable user / database access permissions for each one.