Google Groups Home
Help | Sign in
bind user & pw
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
ktk  
View profile
 More options Sep 9 2007, 3:26 pm
From: ktk <k...@netlabs.org>
Date: Sun, 09 Sep 2007 12:26:14 -0700
Local: Sun, Sep 9 2007 3:26 pm
Subject: bind user & pw
Hi Stephane,

First thanks for the plugin, that's exactly what I need :-) Had a
quick look at your plugin and checked out the latest version from SVN
and installed it in my WordPress installation.

My local OpenLDAP server here does not allow anonymous bind, according
to the doc and to the config page I couldn't figure out a way to
specify a bind user and a bind password. Is that possible already or
would I have to hack that myself?

And am I right that the Account Filter is simply the field used for
usernames so it will restrict the search just for that field right?
That would be uid in my case then.

thanks

cu

Adrian


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephane Daury  
View profile
 More options Sep 9 2007, 4:44 pm
From: Stephane Daury <stephane.da...@gmail.com>
Date: Sun, 9 Sep 2007 16:44:46 -0400
Local: Sun, Sep 9 2007 4:44 pm
Subject: Re: bind user & pw

Hi there Adrian,

You're right, this is a context that isn;t handled yet.
See http://dev.wp-plugins.org/ticket/681

You can refer to the dev thread the ticket points to to hack it in  
for now if you want, but it will be addressed in the codebase too  
soon. The person who launched the thread is on vacation, so I was  
waiting for him to come back before working on it so he could test,  
but we could work on it together in the meantime if you're willing.

For the Account Filter part, it's the field used to locate the user's  
profile after successful login.
Other plugins and libraries default to samAccountName, so I stuck to  
the same, but in my case, it's on userPrincipalName.
Essentially, it has to be a field that contains the exact same value  
that the user enter in the login form.

Stephane

On Sep 09, 2007, at 15:26, ktk wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ktk  
View profile
 More options Sep 10 2007, 2:13 pm
From: ktk <k...@netlabs.org>
Date: Mon, 10 Sep 2007 11:13:41 -0700
Local: Mon, Sep 10 2007 2:13 pm
Subject: Re: bind user & pw
Hey Stephane,

[...]

> soon. The person who launched the thread is on vacation, so I was
> waiting for him to come back before working on it so he could test,
> but we could work on it together in the meantime if you're willing.

Sure, I got quite some experience debugging LDAP stuff so no problem
for me :-) I also did code PHP LDAP interfaces so I think we should
get somewhere together.

> For the Account Filter part, it's the field used to locate the user's
> profile after successful login.
> Other plugins and libraries default to samAccountName, so I stuck to
> the same, but in my case, it's on userPrincipalName.
> Essentially, it has to be a field that contains the exact same value
> that the user enter in the login form.

ok, I don't use AD but OpenLDAP so that would be the uid field for me.

Let me know when you got something to test

cu

Adrian


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephane Daury  
View profile
 More options Sep 10 2007, 8:26 pm
From: Stephane Daury <stephane.da...@gmail.com>
Date: Mon, 10 Sep 2007 20:26:13 -0400
Local: Mon, Sep 10 2007 8:26 pm
Subject: Re: bind user & pw

On Sep 10, 2007, at 14:13, ktk wrote:

> Hey Stephane,

> [...]
>> soon. The person who launched the thread is on vacation, so I was
>> waiting for him to come back before working on it so he could test,
>> but we could work on it together in the meantime if you're willing.

> Sure, I got quite some experience debugging LDAP stuff so no problem
> for me :-) I also did code PHP LDAP interfaces so I think we should
> get somewhere together.

Kick a**. One more use case soon to be solved. :)

I'm exhausted tonight and will take a break from it all, but I'll get  
back to you shortly.

>> For the Account Filter part, it's the field used to locate the user's
>> profile after successful login.
>> Other plugins and libraries default to samAccountName, so I stuck to
>> the same, but in my case, it's on userPrincipalName.
>> Essentially, it has to be a field that contains the exact same value
>> that the user enter in the login form.

> ok, I don't use AD but OpenLDAP so that would be the uid field for me.

I'm fairly sure it is.

re: AD: that's what I have at work, but I'm probably going to set  
myself up an instance of OpenLDAP under Fedora to have my own sandbox  
for that. But nothing beats other people with real life production  
test beds (and more LDAP admin experience). :)

Stephane


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephane Daury  
View profile
 More options Sep 11 2007, 7:07 pm
From: Stephane Daury <stephane.da...@gmail.com>
Date: Tue, 11 Sep 2007 16:07:55 -0700
Local: Tues, Sep 11 2007 7:07 pm
Subject: Re: bind user & pw
Alright, let's tackle this thing! :)

But rather than confusing the potential future support group users,
would you mind "meeting" me at the development group instead? We can
follow up on the existing related thread. Just read the 2 last
comments, which resume where we're at. The last one, I'll add now for
you to reply to if you find the time.

http://groups.google.com/group/wpdirauth-dev/browse_thread/thread/ea5...

Stephane

On Sep 10, 8:26 pm, Stephane Daury <stephane.da...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephane Daury  
View profile
 More options Sep 11 2007, 11:24 pm
From: Stephane Daury <stephane.da...@gmail.com>
Date: Tue, 11 Sep 2007 20:24:13 -0700
Local: Tues, Sep 11 2007 11:24 pm
Subject: Re: bind user & pw

See http://groups.google.com/group/wpdirauth-dev/msg/8bc5ae3c6e75bcd3

Should be a start.

Stephane

On Sep 11, 7:07 pm, Stephane Daury <stephane.da...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephane Daury  
View profile
 More options Oct 15 2007, 11:43 pm
From: Stephane Daury <stephane.da...@gmail.com>
Date: Mon, 15 Oct 2007 20:43:56 -0700
Local: Mon, Oct 15 2007 11:43 pm
Subject: Re: bind user & pw

This issue is has now been addressed in the development version, and
will be available in version 1.1 and above.

On Sep 11, 11:24 pm, Stephane Daury <stephane.da...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google