Re: How to add an extra password field to an AD?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Replies below inline. I think the overall concern is likely just that you
need to find a way to store this data in AD securely. Try starting a new
thread on that topic.

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
--
"Marc Haber" <mh+usenetspam200729@xxxxxxxxxxxx> wrote in message
news:OZlQU5QyHHA.536@xxxxxxxxxxxxxxxxxxxxxxx
Joe Kaplan wrote:
Your AD administrators are not quite correct, in that it is possible to
put data into AD that is not world-readable. It isn't totally
straightforward, but it can be done.

Good news. What do I need to tell them?


Guido Grillenmeier (sp?) did a great presentation on this at DEC 2006 that
covers the topic well. Maybe you can dig that up? You might want to start
a different post about this particular question as it is a big topic.

Explain how this application is going to authenticate AD users if it
isn't going to use the AD user's password, but a different password. Is
that not in effect a different user? What is the point?

It is in effect a different set of credentials, but one that can be
administrated right beside the "normal" AD stuff, goes away when the AD
user is locked or deleted, and has an administration interface that the
people are already familiar with.

The point is that the service password is likely to be _stored_ on the
client system and is easy to compromise. In that case, I'd like the AD
password (which gives access to the Windows resources) to stay safe.

You cannot add another attribute to AD and have that be used for an LDAP
bind operation, so you cannot do what you want to do anyway, assuming
that the device in question uses a standard LDAP bind to do LDAP
authentication.

I have some control about the LDAP connector. It is open source ;)


I guess we aren't really connecting here, because I'm saying that from the
AD server perspective, you can't change how bind authentication works. If
you are changing a client, that's different, but my response was based on my
understanding that you were trying to make AD use this password which you
cannot.

Plaintext credentials are not necessarily a problem from a networking
perspective if you use SSL.

SSL cannot be used here since the protocol being used does not have an SSL
variant. ALso, my real concern (sorry if I didn't write that clear enough
in the original messag) is the password being stored on the client system.

There are enough services (think SIP with a mainstream VoIP telephone)
that do not allow SSL to be used.


See above. If this doesn't involve an actual LDAP bind to AD, then I guess
I don't really care. Since you won't be changing how that is done, then you
can secure your protocol however you need to.

Both AD and ADAM can be configured with an SSL certificate for LDAP
traffic, so that might help mitigate that risk.

My concern is not the LDAP traffic between the service server and the LDAP
server, it is between service client and service server.

If the problem is really that you don't want this app to have access to
the user's plaintext credentials and it doesn't support Windows
authentication (Kerberos/NTLM), then I don't see how you can reconcile
that requirement with the desire to authenticate against AD.

I actually don't want the app to see AD passwords that give access to
Windowws resources. I don't care whether the app sees its own passwords.

Greetings
Marc


.



Relevant Pages

  • Re: LDAP authentication security ?
    ... If the application supports SASL bind with either GSS-SPNEGO or DIGEST authentication, then you can use that directly with AD without needing to secure the channel as those authentication mechanisms are already secure without channel encryption. ... Simple bind is the authentication mechanism in the LDAP V3 spec and is supported by all LDAP directories. ... If you need SSL, AD supports SSL LDAP just fine, assuming you get a certificate for your domain controllers. ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.security)
  • Re: How to add an extra password field to an AD?
    ... bind operation, so you cannot do what you want to do anyway, assuming that the device in question uses a standard LDAP bind to do LDAP authentication. ... SSL cannot be used here since the protocol being used does not have an SSL variant. ... My concern is not the LDAP traffic between the service server and the LDAP server, it is between service client and service server. ... I actually don't want the app to see AD passwords that give access to Windowws resources. ...
    (microsoft.public.windows.server.active_directory)
  • Re: DirectoryEntry.NativeObject slow with ASP.Net, but fast in exe
    ... Ah, you are using SSL. ... account doesn't have a client certificate available that the server trusts. ... have a schema caching issue that is causing ADSI to download the LDAP schema ... >> Note that the ADSI approach to authentication doesn't really scale well. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: LDAP bind authentication
    ... In a "native" LDAP environment you put the proxy user object in the directory information tree such that your OSes cannot see that user, thus the user is only an LDAP user and is not a logon user for any of your OSes. ... The authenticationMethod and serviceAuthenticationMethod arguments do not describe how the ldapclient should fucntion in terms of authentication, rather how authentication data should be transmitted. ... So that command just tells pam_ldap to use SSL for all LDAP traffic, 'tls', and to send the password in plaintext inside the SSL tunnel, 'simple'. ...
    (comp.unix.solaris)
  • Re: pam_ldap
    ... On Tue, 2005-04-05 at 10:30 -0400, Jon Thompson wrote: ... >> user names that are available through ldap. ... > LDAP while not utilizing SSL. ... > authentication portion dies while the getent still works. ...
    (Fedora)