Bug #2670

Can't find ownCloud LDAP secret password

Added by Alessio Fattorini over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-owncloud
Target version:v6.5-final
Security class: Resolution:
Affected version:v6.5-rc1 NEEDINFO:No

Description

This command fails:

 /usr/libexec/nethserver/owncloud-ldap

fails with this output:
Can't open file
ownCloud LDAP password is


Related issues

Related to NethServer 6 - Enhancement #2669: Upgrade to ownCloud 7 CLOSED

Associated revisions

Revision b1baa6ef
Added by Davide Principi over 6 years ago

Use NethServer::Password for secrets management. Refs #2670

History

#1 Updated by Alessio Fattorini over 6 years ago

  • Tracker changed from Feature to Bug

#2 Updated by Alessio Fattorini over 6 years ago

Because of #2063

Need to modify:

/usr/libexec/nethserver/owncloud-ldap

replacing

/etc/openldap/.owncloud.pw

with
/var/lib/nethserver/secrets/owncloud

Workaround is

cat /var/lib/nethserver/secrets/owncloud

for obtain owncloud user's password

See also nethserver-owncloud.

#3 Updated by Alessio Fattorini over 6 years ago

  • Subject changed from Can't finde owncloud ldap's secrets to Can't fine owncloud ldap's secrets

#4 Updated by Alessio Fattorini over 6 years ago

  • Subject changed from Can't fine owncloud ldap's secrets to Can't find owncloud ldap's secrets

#5 Updated by Alessio Fattorini over 6 years ago

  • Subject changed from Can't find owncloud ldap's secrets to Can't find owncloud ldap's secret

#6 Updated by Davide Principi over 6 years ago

  • Target version set to v6.5-final

#7 Updated by Davide Principi over 6 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20
  • Affected version set to v6.5-rc1

#8 Updated by Davide Principi over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • Priority changed from Low to Normal
  • % Done changed from 20 to 30

#9 Updated by Davide Principi over 6 years ago

  • Description updated (diff)

#10 Updated by Davide Principi over 6 years ago

  • Subject changed from Can't find owncloud ldap's secret to Can't find ownCloud LDAP secret password

#11 Updated by Davide Principi over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Test case

Run /usr/libexec/nethserver/owncloud-ldap, password must be there.

#12 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-owncloud-1.0.1-1.0gitb1baa6ef.ns6.noarch.rpm

#14 Updated by Giacomo Sanchietti over 6 years ago

  • Assignee set to Giacomo Sanchietti

#15 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Errors occur on owncloud rpm installation (it fails on sestatus command):

  Installing : owncloud-5.0.12-12.1.noarch                                                                                                              24/26 
Non-fatal POSTIN scriptlet failure in rpm package owncloud-5.0.12-12.1.noarch
warning: %post(owncloud-5.0.12-12.1.noarch) scriptlet failed, exit status 1

Script output is fine:

[root@localhost ~]# /usr/libexec/nethserver/owncloud-ldap
ownCloud LDAP password is: c55sBQgCWnr2j15_

Marking as VERIFIED.

#16 Updated by Davide Principi over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

In nethserver-updates:
nethserver-owncloud-1.0.2-1.ns6.noarch.rpm

Also available in: Atom PDF