Unix Technical Forum

LDAP Authentication: passwd traffic is not encrypted

This is a discussion on LDAP Authentication: passwd traffic is not encrypted within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I'm trying to implement LDAP to replace NIS+ and I've run into an issue. I have my LDAP server ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 10:45 AM
mchesler@chesent.com
 
Posts: n/a
Default LDAP Authentication: passwd traffic is not encrypted

I'm trying to implement LDAP to replace NIS+ and I've run into an
issue. I have my LDAP server configured to run on port 389 and port
636 (running Sun Directory Server 5.2). I configured a Solaris 8
machine to authenticate against the LDAP server, which seems to work
fine (passwords are sent in crypt format, not ideal, but at least not
plain-text). When I log into the client as an LDAP user and try to
change the password using /usr/bin/passwd, I can see the plain-text
password (both the original and new passwords) being sent over the
line. How can I force any LDAP traffic to use SSL/TLS?

>From snoop on LDAP server:


LDAP: ----- Lightweight Directory Access Protocol Header -----
LDAP: *[LDAPMessage]
LDAP: [Message ID]
LDAP: Operation *[APPL 6: Modify Request]
LDAP: [Object Name]
LDAP: uid=testuser,ou=People,dc=as3,dc
LDAP: =com
LDAP: *[Modification]
LDAP: *[]
LDAP: [Operation]
LDAP: Replace
LDAP: *[Modification]
LDAP: [Attribute]
LDAP: userpassword
LDAP: *[Set]
LDAP: [OctetString]
LDAP: abc1234
LDAP:

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 10:45 AM
Erik C.J. Laan
 
Posts: n/a
Default Re: LDAP Authentication: passwd traffic is not encrypted

mchesler@chesent.com wrote:
> I'm trying to implement LDAP to replace NIS+ and I've run into an
> issue. I have my LDAP server configured to run on port 389 and port
> 636 (running Sun Directory Server 5.2). I configured a Solaris 8
> machine to authenticate against the LDAP server, which seems to work
> fine (passwords are sent in crypt format, not ideal, but at least not
> plain-text). When I log into the client as an LDAP user and try to
> change the password using /usr/bin/passwd, I can see the plain-text
> password (both the original and new passwords) being sent over the
> line. How can I force any LDAP traffic to use SSL/TLS?
>
>>From snoop on LDAP server:

>
> LDAP: ----- Lightweight Directory Access Protocol Header -----
> LDAP: *[LDAPMessage]
> LDAP: [Message ID]
> LDAP: Operation *[APPL 6: Modify Request]
> LDAP: [Object Name]
> LDAP: uid=testuser,ou=People,dc=as3,dc
> LDAP: =com
> LDAP: *[Modification]
> LDAP: *[]
> LDAP: [Operation]
> LDAP: Replace
> LDAP: *[Modification]
> LDAP: [Attribute]
> LDAP: userpassword
> LDAP: *[Set]
> LDAP: [OctetString]
> LDAP: abc1234
> LDAP:
>


In the DUA config profile for your Solaris client you should set
the authentication to tls:simple instead of simple IIRC.

HTH, Erik.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 10:45 AM
tunla
 
Posts: n/a
Default Re: LDAP Authentication: passwd traffic is not encrypted


mchesler@chesent.com wrote:
> I'm trying to implement LDAP to replace NIS+ and I've run into an
> issue. I have my LDAP server configured to run on port 389 and port
> 636 (running Sun Directory Server 5.2). I configured a Solaris 8
> machine to authenticate against the LDAP server, which seems to work
> fine (passwords are sent in crypt format, not ideal, but at least not
> plain-text). When I log into the client as an LDAP user and try to
> change the password using /usr/bin/passwd, I can see the plain-text
> password (both the original and new passwords) being sent over the
> line. How can I force any LDAP traffic to use SSL/TLS?
>
> >From snoop on LDAP server:

>
> LDAP: ----- Lightweight Directory Access Protocol Header -----
> LDAP: *[LDAPMessage]
> LDAP: [Message ID]
> LDAP: Operation *[APPL 6: Modify Request]
> LDAP: [Object Name]
> LDAP: uid=testuser,ou=People,dc=as3,dc
> LDAP: =com
> LDAP: *[Modification]
> LDAP: *[]
> LDAP: [Operation]
> LDAP: Replace
> LDAP: *[Modification]
> LDAP: [Attribute]
> LDAP: userpassword
> LDAP: *[Set]
> LDAP: [OctetString]
> LDAP: abc1234
> LDAP:



You need to install patch 108993-18 or later to get the PHASE2 ldap
client.
which is able to run SSL authentication.
This is the Default ldapclient on Solaris 9.

//Lars

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:03 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com