[web2py] Re: How to properly import Active Directory users into web2py auth_user table?

2015-03-05 Thread Dave S
Glad to hear that you were successful. Return types can keep us on our toes, can't they? /dps On Thursday, March 5, 2015 at 3:30:02 PM UTC-8, Grzegorz Dzień wrote: > > Found it, it was that values I was importing were tuples, it works given I > access "first tuple item" e.g.: > first_name=use

[web2py] Re: How to properly import Active Directory users into web2py auth_user table?

2015-03-05 Thread Grzegorz Dzień
Found it, it was that values I was importing were tuples, it works given I access "first tuple item" e.g.: first_name=user[1]['givenName'][0] On Wednesday, March 4, 2015 at 8:59:32 PM UTC+1, Grzegorz Dzień wrote: > > I have tried doing it this way: > > def showthemall(): > # LDAP connection s