[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: SSHA for rootdn issue



Hallo cody,

On Fri, 8 Aug 2003 11:48:37 -0700
"cody wang" <codywang@clunet.edu> wrote:

> Hi,
> 
> I have an issue when I use slappasswd {SSHA} then I cut and pates to
> slapd.conf. My passwd word was 'secret' and wording fine, and the normal
> user can login fine not until I replace with SSHA passwd. If you put
> 'secret' back, it's working again. I did cleanup database and migrate
> the user again by using pdal.com's scripts after I use SSHA. I still can
> do a search but cannot login. Any idea? 
> 
> dn: uid=codywang,ou=People,dc=clunet,dc=edu
> userPassword:: e0NSWVBUfUxTLi4ydnRhTXllbGc=

base64 decoded password results in: '{CRYPT}LS..2vtaMyelg', but
crypt.crypt('secret', 'LS') (generate crypt with seed 'LS') results
'LSgOjE04PUmqs'. Is there a reason for using bas64 coded strings?


Gruß
  Jörg

-- 
Jörg Schütter           http://www.lug-untermain.de/
                        http://www.schuetter.org/joerg/
joerg@schuetter.org     http://mypenguin.bei.t-online.de/