Request assistance/pointers please for getting AD Auth for the Admin
interface working.  I get the following message in admin_debug_log when I
attempt logging on with an AD account:

Jul 18 13:55:17  [info] LDAP query failed, check your settings



Here is admin_ldap.conf:

<?

$ldap_host = "172.16.2.20";

$ldap_port = "389";

$ldap_bind_dn = "CN=Packetfence,CN=Users,DC=school,DC=edu";

$ldap_bind_pwd = "password";

$ldap_user_base = "DC=school,DC=edu";

$ldap_user_key = "sAMAccountName";

$ldap_group_member_key = "memberOf";

$ldap_group_dn = "CN=Packetfence Admins,CN=Users,DC=school,DC=edu";

?>



Here is ldap.pm (not sure this pertains to web admin?):

my $LDAPUserBase = "dc=school,dc=edu";

my $LDAPUserKey = "sAMAccountName";

my $LDAPUserScope = "sub";

my $LDAPBindDN = "CN=Packetfence,CN=Users,DC=school,DC=edu";

my $LDAPBindPassword = "password";

my $LDAPServer = "172.16.2.20";

my $LDAPGroupMemberKey = "memberOf";

my $LDAPGroupDN = "CN=Packetfence Admins,CN=Users,DC=school,DC=edu";

my $LDAPSponsorUserKey = "sAMAccountName";



Ldap search appears to work as follows:

ldapsearch  -x -h "172.16.2.20" -p "389" -D
"CN=Packetfence,CN=Users,DC=school,DC=edu" -w "password" -b
"DC=school,DC=edu"  "sAMAccountName=gclifton"



Thank you very much!

Greg Clifton

-- 
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is 
for the sole use of the intended
recipients(s) and may contain confidential and privileged information. Any 
unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender
by reply e-mail and destroy all copies of the original message.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to