Hello Jacky,

try scope=sub and maybe use tcpdump on the port 389 to see the ldap traffic.

Regards
Fabrice


Le 2013-11-13 18:26, forbmsyn a écrit :
I created a Active Directory "Sources" from PF Web UI call "testpf1", and tested it successfully.

The I created a user call testpf2 on our Windows 2000 AD server, under OU "Users".

When I tried to login at Catptiv Portal with the username testpf2 the packetfence.log gave me the following error:

Nov 13 18:07:27 register.cgi(0) WARN: No entries found (0) with filter (sAMAccountName=pftest2) from OU=Users,DC=test,DC=com on 10.0.0.12:389 <http://10.0.0.12:389> for source testpf1 (pf::Authentication::Source::LDAPSource::authenticate)


Below are part of the authentication.conf


[testpf1]
description=packetfence test user
scope=one
basedn=OU=Users,DC=test,DC=com
usernameattribute=sAMAccountName
encryption=none
port=389
type=AD
host=10.0.0.12

[testpf1 rule employees]
description=Rule for all employee
match=all
action0=set_role=default
action1=set_unreg_date=2013-11-14



I can login to our AD domain with the new created User. How do I let PF to use this credential? Thank you!

Regards,
Jacky



------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users


--
Fabrice Durand
[email protected] ::  +1.514.447.4918 (x135) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org)

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to