1

I just setup a minimum Centos 7 and ran pwgen and tried to create a new database. It complains that it is the incorrect password.

These are my commands:

# pwgen -sy 32 1 > /etc/openldap/certs/password
# certutil -d /etc/openldap/certs -N -f /etc/openldap/certs/password

and this the password inside /etc/openldap/certs/password:

.ha?nB0WU.D.Lx3*kmw?z7rbZoAMdJ"B

Any thoughts would be appreciated.

dawud
  • 14,918
  • 3
  • 41
  • 61
kevbuntu
  • 159
  • 1
  • 7

1 Answers1

0

Here is what the problem was. It is looking for an empty directory to create the database so the initial pwgen generation should be else where, like tmp/password. That got rid of the problem. Thanks for the views and feed backs.

kevbuntu
  • 159
  • 1
  • 7