Re: [PacketFence-users] take account details like firstname/lastname from AD

2015-06-21 Thread Durand fabrice
Hi Mourik, this is already the case: https://github.com/inverse-inc/packetfence/blob/devel/lib/pf/lookup/person.pm Regards Fabrice Le 2015-06-21 15:24, mourik jan heupink a écrit : Hi, Is there a way to make packetfence take user's details from active directory? It seems now just the

[PacketFence-users] take account details like firstname/lastname from AD

2015-06-21 Thread mourik jan heupink
Hi, Is there a way to make packetfence take user's details from active directory? It seems now just the 'username' is copied, and the rest is left blank. It would be nice to fill more details, like firstname, lastname, telephone, email... it's all there in AD... MJ

Re: [PacketFence-users] take account details like firstname/lastname from AD

2015-06-21 Thread mourik jan heupink
Hi Fabrice, Ah right. But this is not what I see..? I have just authenticated via our AD, and only have a username set, all other fields are empty. I'm using the regular AD fields, and my firstname, sn, etc are set. Do I need to configure something special, perhaps? Or do I need to do pfcmd

Re: [PacketFence-users] take account details like firstname/lastname from AD

2015-06-21 Thread Durand fabrice
Hi Mourik, it will be done only the first time the user is created. But you can try this (Replace AD with your AD source name): - #!/usr/bin/perl =head1 NAME person.pl - Person Lookup =cut require 5.8.5; use strict; use warnings; use FindBin; use Pod::Usage; BEGIN {