Hi,

Try using sAMAccountName instead of uid.  Also, maybe you can try using 
the "sub" scope instead of one.

Let me know if it helps.

On 11-07-28 10:57 AM, Mark Holmes wrote:
> Hi,
>
> When I try to register a machine via the captive portal page I am prompted 
> for my password, which I enter - mine works OK, but no one elses (including 
> those in the same OU) do.
>
> Our LDAP backend is Active Directory.
>
> Relevent bits from config
>
> /conf/pf.conf
>
>
> #registration.skip_mode
> [registration]
> auth=ldap
> skip_mode=disabled
>
>
> /conf/authentication/ldap.pm
>
> my $LDAPUserBase = 
> "ou=IT,ou=CollegeStaff,ou=NuffieldUsers,dc=nuff,dc=ox,dc=ac,dc=uk";
> my $LDAPUserKey = "uid";
> my $LDAPUserScope = "one";
> my $LDAPBindDN = "cn=test.account,dc=nuff,dc=ox,dc=ac,dc=uk";
> my $LDAPBindPassword = "********";
> my $LDAPServer = "163.1.40.12";
> #my $LDAPGroupMemberKey = "memberOf";
> #my $LDAPGroupDN = "";
>
>
>
> Nuffield College is a Registered Charity No. 1137506. Registered Office: 
> Nuffield College, New Road, Oxford, OX1 1NF
>
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> Packetfence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>


-- 
Francois Gaudreault, ing. jr
[email protected]  ::  +1.514.447.4918 (x130) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to