Lets say my domain username is CAMPUS/aaron. If I'm logged in to my
workstation as CAMPUS/aaron and bind to ADAM using CAMPUS/aaron, it
works fine. However, if I go home, and log into HOME/joebob, and then
configure wab to bind to the ADAM server back at work using the
CAMPUS/aaron username and password, the authentication fails and I
would see an authentication attempt using HOME/joebob.
What do I need to do to allow my domain users to be able to
authenticate to the ADAM instance when they are NOT logged in to the
domain itself? Keep in mind that I do *not* wish to use anonymous
binding, users *must* authenticate before using the directory...
I know for a fact that you can supply credentials to an LDAP bind to ADAM
and have it honor those.
The other thing that is important is the type of LDAP bind you do here.
When you want to log in to ADAM as a Window user, you must use a Secure LDAP
bind (SASL with GSS-SPNEGO provider). If you want to log in with a user in
the ADAM store, you would use a simple bind (or DIGEST). I'm not sure if
that is relevant here though.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Aaron" <Aaron...@kzoo.edu> wrote in message
news:1153339803.0...@75g2000cwc.googlegroups.com...
If HOME was a domain, then you could create a trust from CAMPUS to HOME, and
then ADAM would be able to authenticate users from HOME. However, from your
scenario, I don't think that is possible.
--
Dmitri Gavrilov
SDE, Active Directory team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Aaron" <Aaron...@kzoo.edu> wrote in message
news:1153339803.0...@75g2000cwc.googlegroups.com...
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Aaron" <Aaron...@kzoo.edu> wrote in message
news:1153401951.4...@h48g2000cwc.googlegroups.com...
--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
--
Dmitri Gavrilov
SDE, Active Directory team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Aaron" <Aaron...@kzoo.edu> wrote in message
news:1153426568.6...@b28g2000cwb.googlegroups.com...
ld = ldap_sslinit("awsmithxp.knet.kzoo.edu", 636, 1);
Error 0 = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, 3);
Error 0 = ldap_connect(hLdap, NULL);
Error 0 = ldap_get_option(hLdap,LDAP_OPT_SSL,(void*)&lv);
Host supports SSL, SSL cipher strength = 128 bits
Established connection to awsmithxp.knet.kzoo.edu.
The only change between then and now is that the machine was shutdown
and then restarted this morning.
If you can do a simple bind though, you don't have that issue. The
credentials are passed directly to the ADAM server via LDAP. It appears
that you uncheck the secure password authentication box if you want a simple
bind. The primary concern there is that simple binds are not secure unless
the channel is encrypted with SSL or something. However, you said you
already have SSL.
You might consider creating a fixed service account in ADAM with a password
that doesn't expire and giving it read access to the address data. Then,
you configure your clients with that ADAM ID and it should work in any
network configuration that can hit your ADAM instance via SSL/LDAP (and
trust the certificate). You could also put bind proxies in your ADAM
instance and have your users put their own IDs in the WAB configuration, but
then they'd have to remember to change those credentials whenever they
change passwords or risk lockout.
Just an idea...
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Aaron" <Aaron...@kzoo.edu> wrote in message
news:1153500440.6...@m73g2000cwd.googlegroups.com...
I just made it break on a domain joined machine in fact. I simply
spawned a command prompt as a local user and started WAB as that user
and then configured a new directory and gave it a whirl while watching
with ethereal. Totally didn't use the credentials I specified.
You could go find one a newsgroups dedicated to outlook express and see
if you can round up an OE MVP as they may know who to direct that bug
report to.
joe