On Fri, Jul 16, 2010 at 11:42 AM, Richard Lynch wrote:
> Any Best Practice suggestions for potentially hostile user input being
> sent to ldap_search($ldap, "(username=$_POST[username])");
>
> Something like an ldap_escape?
>
> Please cc me on replies. Thanks.
>
Long time no see, Richard. There a
If you notice when you get the "memberOf" back from the server you ll
see it is an array with full CN; so if you dont want to loop through
the array returned you can try to see if filtering with the full CN
will work.
I found it easier to just get all of "memberOf" and then use PHP to
get
On Wed, May 7, 2008 at 2:26 PM, Matt Burtch <[EMAIL PROTECTED]> wrote:
> Thanks for the tips. phpLDAPAdmin was hanging while trying to
> authenticate, but I'll give it a try again later.
>
> Nathan: splitting up the search; I hadn't considered this! It is working
> nicely for the time being, thank
Thanks for the tips. phpLDAPAdmin was hanging while trying to authenticate,
but I'll give it a try again later.
Nathan: splitting up the search; I hadn't considered this! It is working
nicely for the time being, thanks.
- MB
On Wed, May 7, 2008 at 3:23 PM, Jay Blanchard <[EMAIL PROTECTED]> wrote
[snip]
> I am running into a problem with my queries returning a limited number
of
> result entries.
[/snip]
Most LDAP servers set a limit, it is usually not a PHP problem. One way
to solve is to query by first letter of last name and throw into an
array (iterating through the alphabet).
functio
On Wed, May 7, 2008 at 12:50 PM, mburtch <[EMAIL PROTECTED]> wrote:
>
> I am running into a problem with my queries returning a limited number of
> result entries. The LDAP server is Kerio Mail Server, and I am verified
> that
> the SIZELIMIT in the server's configuration is 0 (no limit). For some
On Tue, July 17, 2007 4:51 pm, Jay Blanchard wrote:
> Perhaps mistakenly for a project that I am trying to do I want to list
> all users in the Active Directory. It works pretty well with one
> exception, the error ldap_search(): Partial search results returned:
> Sizelimit exceeded.
>
> Now, I kno
[EMAIL PROTECTED]'
Subject: Re: [PHP] ldap_search() question
On Sat, 22 Nov 2003, Schechter, Ricky wrote:
> Do I use ldap_search to authenticate users in LDAP? I can successfully
> search the LDAP and retrieve user's data based on a search criteria like
> (cn=something). If I
On Sat, 22 Nov 2003, Schechter, Ricky wrote:
> Do I use ldap_search to authenticate users in LDAP? I can successfully
> search the LDAP and retrieve user's data based on a search criteria like
> (cn=something). If I use (password=somepass) or (userPassword=somepass)
> in the search criteria it com
Previously, Miguel Carvalho said:
> if a do
> ldapsearch -o ",o=xyz" "ent=entry1,uid=ldap,ou=People,o=xyz", it
> works just fine.
>
> How can i access the entry "ent=entry1,uid=ldap,ou=People,o=xyz" using
> ldap_search/ldap_list or ldap_read?
>
> I have tried ldap_search... but i can not fi
Ok. That makes sense. I have the structure printed out, so I shouldn't have
a problem.
> From: "Nick Talbott" <[EMAIL PROTECTED]>
> Date: Thu, 8 Mar 2001 08:21:15 -
> To: "Mike Tuller" <[EMAIL PROTECTED]>, "php mailing list"
> <[E
Mike
The purpose of setting the basedn is to say "search in this branch of the
directory".
The only person who can really tell you what basedn to use is whoever
designed or manages the structure of your LDAP server. Having said that, a
base dn is commony something like ...
o=Your Organisation,c
12 matches
Mail list logo