Re: LDAP - howto get linux to talk to exchange/AD



On Nov 28, 4:58 pm, steve <st...@xxxxxxxxxx> wrote:
On Wed, 28 Nov 2007 14:38:53 -0800, bobg.hahc wrote:
On Nov 28, 4:23 pm, steve <st...@xxxxxxxxxx> wrote:
This rather general waffle may help. We offer software that provides
user authentication via either ldap or ad. The code is almost exactly
the same, but there is one core concept that is different. By default,
ad does *not* allow anonymous read access. This means that you'll
either a) have to reconfigure ad - and google will show you how, or b)
authenticate using an user with enough privilege to actually read the
data.

hth,

Steve

hi Steve;

that does help a little bit...
here's the problem - under the man page for ldapsearch, there IS a -w
parameter which allows for password entry. there IS NOT ANY parameter
that allows for USERNAME entry.... I am completely lost here. I have no
idea why someone would provide a password, with NO ability to provide a
username.

Further - my AD IS setup to allow for anonymous access, so a password
should NOT be required... ???

still completely lost....

Your identity is defined by the -D binddn parameter.

Steve,

TX;
I'm finally starting to see what's supposed to happen now...
so my ldapsearch command now looks like this:
ldapsearch -h ADserver.domain.com -D "CN=<user
name>,CN=Users,DC=<domain>,DC=<TLD>" -x -W -b
"CN=Users,DC=<domain>,DC=<TLD>"
"(memberOf=CN=Users,DC=<domain>,DC=<TLD>)"

OR - translated into something more real:
ldapsearch -h exchange.domain.com -D
"CN=exim,CN=Users,DC=domain,DC=com" -x -w "password" -b
"CN=Users,DC=domain,DC=com" "(memberOf=CN=Users,DC=domain,DC=com)"

my problem now, is that I get an "invalid credentials" error. I get
this error even if I use my personal admin account / password...

any insight here?

TIA...
Bob
.



Relevant Pages

  • Re: LDAP - howto get linux to talk to exchange/AD
    ... user authentication via either ldap or ad. ... here's the problem - under the man page for ldapsearch, ... parameter which allows for password entry. ... that allows for USERNAME entry.... ...
    (comp.os.linux.misc)
  • Re: How to get onto urg
    ... seem to find the settings for user authentication. ... configured to supply a username and password to the news server. ... OS variants) but the option isn't obvious. ...
    (uk.rec.gardening)
  • DB User authentication.
    ... Not a programmin newbie, but a PHP newbie. ... I'm working off the user authentication and database thing off ... $username = stripslashes; ... function makeRandomPassword() { ...
    (comp.lang.php)
  • DB User authentication.
    ... Not a programmin newbie, but a PHP newbie. ... I'm working off the user authentication and database thing off ... $username = stripslashes; ... function makeRandomPassword() { ...
    (alt.php)