Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openldap init broken #1010

Open
fnoop opened this issue Sep 15, 2021 · 1 comment
Open

Openldap init broken #1010

fnoop opened this issue Sep 15, 2021 · 1 comment

Comments

@fnoop
Copy link
Member

fnoop commented Sep 15, 2021

Error: LDIF content:
dn: olcDatabase=hdb,cn=config
changetype: add
objectClass: olcDatabaseConfig
objectClass: olcHdbConfig
olcDatabase: hdb
olcDbDirectory: /var/lib/ldap
olcSuffix: dc=maverick,dc=one
olcDbIndex: objectClass eq
olcRootDN: cn=admin,dc=maverick,dc=one
olcRootPW: {SHA512}8dba3660197daf7642b9eaeaf77ef817ae9471f3b3d672bfb4fd94100dd5801cd9c990dd64938822e17643b8810cd31ee0ae87b9370884a7d880cfbc5307a573
olcAccess: to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by * break
olcAccess: to attrs=userPassword
  by self write
  by anonymous auth
  by dn="cn=admin,dc=maverick,dc=one" write
  by * none
olcAccess: to dn.base="" by * read
olcAccess: to *
  by self write
  by dn="cn=admin,dc=maverick,dc=one" write
  by * read

Error message: Execution of '/usr/bin/ldapmodify -Y EXTERNAL -H ldapi:/// -f /tmp/openldap_database20210915-2537-wl34h1' returned 21: SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
ldap_add: Invalid syntax (21)
	additional info: objectClass: value #1 invalid per syntax
adding new entry "olcDatabase=hdb,cn=config"
Error: /Stage[main]/Maverick_security::Ldap_server/Openldap::Server::Database[dc=maverick,dc=one]/Openldap_database[dc=maverick,dc=one]/ensure: change from 'absent' to 'present' failed: LDIF content:
dn: olcDatabase=hdb,cn=config
changetype: add
objectClass: olcDatabaseConfig
objectClass: olcHdbConfig
olcDatabase: hdb
olcDbDirectory: /var/lib/ldap
olcSuffix: dc=maverick,dc=one
olcDbIndex: objectClass eq
olcRootDN: cn=admin,dc=maverick,dc=one
olcRootPW: {SHA512}8dba3660197daf7642b9eaeaf77ef817ae9471f3b3d672bfb4fd94100dd5801cd9c990dd64938822e17643b8810cd31ee0ae87b9370884a7d880cfbc5307a573
olcAccess: to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by * break
olcAccess: to attrs=userPassword
  by self write
  by anonymous auth
  by dn="cn=admin,dc=maverick,dc=one" write
  by * none
olcAccess: to dn.base="" by * read
olcAccess: to *
  by self write
  by dn="cn=admin,dc=maverick,dc=one" write
  by * read

Error message: Execution of '/usr/bin/ldapmodify -Y EXTERNAL -H ldapi:/// -f /tmp/openldap_database20210915-2537-wl34h1' returned 21: SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
ldap_add: Invalid syntax (21)
	additional info: objectClass: value #1 invalid per syntax
adding new entry "olcDatabase=hdb,cn=config"
@fnoop
Copy link
Member Author

fnoop commented Sep 17, 2021

Turn off maverick_security::ldap_server for now, we're not using it yet aynway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant