Giter VIP home page Giter VIP logo

Comments (4)

mcanevet avatar mcanevet commented on June 16, 2024

@oernii well, this is weird... IIRC the password should start with either CRYPT, MD5, SMD5, SSHA or SHA. I don't know what transformation have been applied to you password.
Can you reproduce?

from puppet-openldap.

antoine-roux avatar antoine-roux commented on June 16, 2024

Your password is base64 encoded (double colon) ... so it is in clear text
$ echo c2VjcmV0 | base64 -d
secret

from puppet-openldap.

jeromedrouet avatar jeromedrouet commented on June 16, 2024

reproduced here (version 1.15 on CentOS 6 - puppet 3.8.7)

# puppet agent  --onetime --no-daemonize --trace --test 
[...]
Notice: /Stage[main]/Openldap::Server::Install/Package[openldap-servers]/ensure: created
Notice: /Stage[main]/Openldap::Server::Config/Shellvar[slapd]/value: value changed ['ldapi:/// ldap:///'] to 'ldap:/// ldapi:/// '
[...]
Notice: /Stage[main]/Openldap::Server::Slapdconf/Openldap::Server::Database[dc=my-domain,dc=com]/Openldap_database[dc=my-domain,dc=com]/ensure: removed
Notice: /Stage[main]/Cobbler-server/Openldap::Server::Database[dc=mydomain,dc=priv]/Openldap_database[dc=mydomain,dc=priv]/ensure: created
# puppet agent --onetime --no-daemonize --trace --test 
[...]
Notice: /Stage[main]/Cobbler-server/Openldap::Server::Database[dc=mydomain,dc=priv]/Openldap_database[dc=mydomain,dc=priv]/rootpw: changed password
[...]

other runs do not "change" password any more (the password in not changed at all actually : same encoded value between the first two runs)

# slapcat | grep userPassword::
userPassword:: czNjUjN0
# echo czNjUjN0 | base64 -d
s3cR3t

configuration :

  class { 'openldap::server': }
  openldap::server::database { 'dc=mydomain,dc=priv':
    ensure => present,
    rootpw => "s3cR3t",
    rootdn => "cn=admin,dc=mydomain,dc=priv",
  }

from puppet-openldap.

webratz avatar webratz commented on June 16, 2024

I'm also seeing this issues. Anybody implemented a workaround?

from puppet-openldap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.