External Owncloud Integration Nethserver 7.2

Hi

How to allow external Owncloud Integration user name and password with Nethserver?

Thank you

What version of owncloud do you use? The config page has changed a lot with each new version.

Hi Robb,

Using the owncloud 9.1.1, and I can not connect to LDAP nethserver(Configuration incorrect). it seems the nethserver not allow.

Thank you

IIRC libuser binds are allowed from localhost only. However authenticated binds should not be required because nethserver-directory (OpenLDAP) on ns7 allows anonymous binds from green networks, and ownCloud/nextCloud requires only browse permissions on LDAP.

If you want to connect from outside your LAN, create a dedicated user and bind with its credentials. Enable STARTTLS!

Hi Davidep

Yes, the Owncloud connect from green.

Here is my user detail

user01, People, directory.nh

dn: uid=user01,ou=People,dc=directory,dc=nh
uidNumber: 1000
gidNumber: 1001
uid: user01
shadowWarning: 7
shadowMin: 0
loginShell: /usr/libexec/openssh/sftp-server
homeDirectory: /var/lib/nethserver/home/user01
shadowInactive: -1
shadowExpire: -1
gecos: user01
shadowFlag: -1
cn: user01
sn: user01
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
mail: user01@mynetwork.com
shadowMax: 180
shadowLastChange: 17070

But still can not connect to the Nethserver

Did you try anonymous bind?

How to use anonymous bind?

Thank you

I guess OC has a procedure to configure it… Perhaps @alefattorini @alep can help us!

If you leave user DN and password empty you have anonymous bind

Now, the connection is OK, but I can not Verify settings and count users

Here is my configure
Server
xx.xx.xx.xx:389
leave user
password empty
dc=directory,dc=nh

Users

  • inerOrgPerson
    Edit LDAP Query
    (|(objectclass=inetOrgPerson))

Login Attributes
Edit LDAP Query
(&(|(objectclass=inetOrgPerson))(|(uid=%uid)(|(mail=%uid))))

Groups
Only these object classes:posixGroup

Edit LDAP Query
(&(|(objectclass=posixGroup)))

Hi @Ya_Ley, have you tried this procedure http://docs.nethserver.org/it/v7/owncloud.html#configurazione-ldap-solo-aggiornamenti-da-versione-5 ?

p.s. NethServer 7 support NextCloud. It is possible to easily install it using web gui.

That’s the correct link in English
http://docs.nethserver.org/en/latest/owncloud.html?highlight=owncloud#ldap-configuration

HI
How create a dedicated user and bind with its credentials that allow the user and binds connect from remote ?
Thank you

I don’t know if our owncloud implementation on NethServer 7 creates a proper ldap user @alep
I suggest you try with the NextCloud module, it’s better implemented, tested and updated

AFAK owncloud for nethserver 7 does not exist anymore after the alpha version

Only nextcloud is supported