sudo -u apache ./occ user:sync "OCA\User_LDAP\User_Proxy" worked for me, thank you.
now i have another problem. additionally to ldap users i have "local" users in the database but only admin is still existing, otheres are not mentioned.
sudo -u apache ./occ user:sync "OCA\User_LDAP\User_Proxy" worked for me, thank you.
now i have another problem. additionally to ldap users i have "local" users in the database but only admin is still existing, otheres are not mentioned.
$:/# cd /var/www/owncloud/
$:/var/www/owncloud# sudo -u www-data user:sync -l
sudo: user:sync: command not found
$:/var/www/owncloud# sudo -u www-data php occ user:sync -l
OC\User\Database
$:/var/www/owncloud# sudo -u www-data php occ user:sync "OC\User\Database"
If unknown users are found, what do you want to do with their accounts? (removing the account will also remove its data)
[0] disable
[1] remove
[2] ask later
> 1
Analyse unknown users ...
1 [============================]
No unknown users have been detected.
Insert new and update existing users ...
1/1 [============================] 100%
$:/var/www/owncloud#