Re: pulling dn for User-Profile from ldap

2013-07-08 Thread Martin Kraus
On Thu, Jul 04, 2013 at 07:05:09PM +0100, Arran Cudbard-Bell wrote: > Don't try and use the users file for complex stuff like this. > > In your profile objects add an attribute for preferredNetwork. > > Use ldap xlat to search in the directory for an profile object with a > preferredNetwork attr

Re: pulling dn for User-Profile from ldap

2013-07-04 Thread Arran Cudbard-Bell
On 4 Jul 2013, at 18:33, Martin Kraus wrote: > Hi. > I'd like to give users an option to specify which network to connect to > using something like > > helpdesk\username@realm > admins\username@realm > > I was thinking of stripping the network part in hints and saving it in a > variable say P

pulling dn for User-Profile from ldap

2013-07-04 Thread Martin Kraus
Hi. I'd like to give users an option to specify which network to connect to using something like helpdesk\username@realm admins\username@realm I was thinking of stripping the network part in hints and saving it in a variable say Preferred-Network and then match on it in users DEFAULT Ldap-Gro