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

encrypt the userpassword

Hello All,

Difficult to understand english documentation for encryption:

I add entries from a file entry.ldif (ldapadd -f entry.ldif (describe below)).
But I try to encrypt the userpassword (adminfabrice) to mask it from anybody (ldapsearch 'objectclass=*).
How to do that ?

Many thanks for reply,

#### ENTRY.LDIF ######

dn: o=Right Vision
objectclass: top
objectclass: organization
o: Right Vision

dn: rvGroup=Admin,o=Right Vision
objectclass: top
objectclass: posixGroup
objectclass: rvGroup
rvGroup: Admin
cn: Admin
gidNumber: 20
memberid: 21
description: Groupe Administration
status: ok

dn: rvUser=Fabrice,rvGroup=Admin,o=Right Vision
objectclass: top
objectclass: posixAccount
objectclass: rvUser
rvUser: Fabrice
cn: Nouet
uid: 1
uidNumber: 21
gidNumber: 21
homeDirectory: /home/Admin/Fabrice
userpassword: adminfabrice
description: Administrateur General de l'annuaire

Get Your Private, Free Email at http://www.hotmail.com