Problems with LDAP plugin.

318 views
Skip to first unread message

Martin Lukasik

unread,
Apr 5, 2012, 7:56:57 AM4/5/12
to pgina-devel
Hello,

I've been trying for hours to configure LDAP plugin, so that my
Windows 2008 Server Standard can work with Mac OS LDAP (Open
Directory).
So the plugin checks the password with LDAP, this works great. It
creates local user on Windows Server. But unfortunately, because this
user is not a member of "Remote Desktop Users", I cannot login via
Remote Desktop.
When the plugin creates user locally, it should add it to these two
groups: Users, Remote Desktop Users
In fact, these should be configurable, or fetch-able from LDAP, and
then mappable (so on LDAP all users are in group 'users', and
administrators in 'admins', so it should map LDAP's group 'users' to
windows 'Users', and LDAP 'admins' to windows 'Administrators'.
But even the default to add Users and Remote Desktop Users would solve
the problem...
I don't quite understand how this could ever work?

Thanks,
Martin

Evan Horne

unread,
Apr 5, 2012, 5:07:01 PM4/5/12
to pgina...@googlegroups.com
Hi Martin, 

A request for group authorization in the LDAP plugin has already been requested on the github page here:  https://github.com/pgina/pgina/issues/116 

If you're okay with all LDAP users being able to login remotely, you can activate the LocalMachine plugin during the Gateway stage, and enter the Remote Users group under "Mandatory Groups" in the settings. LDAP users should be able to remote in after the system has been restarted. 

Hope this helps.  

Nate Yocom

unread,
Apr 6, 2012, 11:54:10 AM4/6/12
to pgina...@googlegroups.com
Also note that 'Users' is a built-in group, any user account created
by pGina is automatically in this group.

Martin Lukasik

unread,
Apr 6, 2012, 12:34:35 PM4/6/12
to pgina...@googlegroups.com
On 6 April 2012 16:54, Nate Yocom <na...@pgina.org> wrote:
Also note that 'Users' is a built-in group, any user account created
by pGina is automatically in this group.


It is not. That's my problem. On my server (running Windows Server 2008 Standard) users created by pgina are not in ANY group.

Martin
 

Nate Yocom

unread,
Apr 6, 2012, 12:40:01 PM4/6/12
to pgina...@googlegroups.com
Well that's just odd :) Try adding "Users" to the mandatory group list?

Martin Lukasik

unread,
Apr 6, 2012, 1:44:46 PM4/6/12
to pgina...@googlegroups.com
On 6 April 2012 17:40, Nate Yocom <na...@pgina.org> wrote:
Well that's just odd :) Try adding "Users" to the mandatory group list?

 
That would probably do. If I only knew where to find it :-) Any hints would be greatly appreciated. 
 I'm a Linux admin, but trying to make Windows talk to Mac Server ;)

Thanks!
Martin

Nate Yocom

unread,
Apr 6, 2012, 2:23:50 PM4/6/12
to pgina...@googlegroups.com
Edit the settings for the local machine plugin (run configuration ui,
double click the local machine plugin in the list), see "Mandatory
Groups", add "Users" and "Remote Desktop Users" if you want them to be
able to RDP.

Martin Lukasik

unread,
Apr 6, 2012, 5:37:27 PM4/6/12
to pgina...@googlegroups.com
Thanks Nate!

That solved my problem. Would have never thought that I need to look into local plugin's settings!

Thanks again. Great work.
Martin

Jonathan Viana

unread,
Mar 18, 2013, 10:31:56 PM3/18/13
to pgina...@googlegroups.com
Hi Martin,

I'm new to pGina and i'm having some issues trying to achieve what you already have.
I Have a server 2008 R2 that i want to connect to my OD on a OS X 10.6.8 using pgina so users can RDC to the win server but i think my plug-in setting are al screwy.

Any change you can help me out?  
Happy to send you screen shoots of my setup to you (prefer not to post them here)

hope you can help


Reply all
Reply to author
Forward
0 new messages