You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we do occ user:sync "OCA\User_LDAP\User_Proxy" then this syncs all the users from the LDAP server.
Running occ user:sync "OCA\User_LDAP\User_Proxy" -u <uid> should only sync user with id <uid>.
Steps
Setup LDAP server and add to owncloud.
Add users to the LDAP server (for eg. user1 and user2)
run occ user:sync "OCA\User_LDAP\User_Proxy" to sync all the users
Modify an attribute on the LDAP server for user1 (eg Display Name).
run occ user:sync "OCA\User_LDAP\User_Proxy" -u user1 to sync just for user1
Expected Behavior
The displayName attribute of the user gets updated in owncloud.
Actual Behavior
We get following output
➜ sudo -u www-data php occ user:sync "OCA\User_LDAP\User_Proxy" -u user1
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
> 0
Syncing user1 ...
Disabling accounts:
user1, User Onessss, [email protected] disabled
And the attribute of the user doesn't get changed.
The text was updated successfully, but these errors were encountered:
Description
When we do
occ user:sync "OCA\User_LDAP\User_Proxy"
then this syncs all the users from the LDAP server.Running
occ user:sync "OCA\User_LDAP\User_Proxy" -u <uid>
should only sync user with id<uid>
.Steps
occ user:sync "OCA\User_LDAP\User_Proxy"
to sync all the usersocc user:sync "OCA\User_LDAP\User_Proxy" -u user1
to sync just for user1Expected Behavior
The displayName attribute of the user gets updated in owncloud.
Actual Behavior
We get following output
And the attribute of the user doesn't get changed.
The text was updated successfully, but these errors were encountered: