LDAP - repeating user sync

Hey there,

I am evaluating xwiki as a solution for my employer. I managed to get manual import of user to work with the extension LDAP USER import…
But it is not working to syncronize the users let me say every 24h automatically… I couldnt find any documentation assisting me to achive this goal.

As u can assume if manual import works… there is not an credential problem, or wrong LDAP parameters. I read that it might be a conflict of the Extension and the parameter within xwiki.cfg or xwiki.properties.

Maybe I am tooo unexperienced or not smart enough but I dont find any parameter for “just” usersync on a regualrlly basis.

the users should be imported into my xwiki even though they havent loged in untill now.

Do u have any suggestions? and thank u all for the help
MKL

In addition…. another problem occurs… I can import manually… if I do so an object for the user is created. Nice! BUT if the user according to that importet object logs in another object is created… I think this is because log in happens via OIDC and Sync/Import was done via OLDAP.
With just a quick watch it seems that the import is successfully done and u wont be able to recognize if a user object is an OIDC created or LDAP-import created one…

this is an issue I could find once here:

but our scheduled import is not creating any user….

I am a little lost…

we have found the solution:
u can edit the imported user and an user that is created through oidc login. they look similiar but in object edit mode u should be able to find a difference:
the ldap import user is missing a parameter oidc login created user has got.

Objects of type XWiki.OIDC.UserClass (1)
beneath this attribute there is a parameter called
Issuer
copy the value from there and paste it in the ldap import configuration under OIDC Issuer and check “add OIDC object in user profile”.

from now on all my imported users and the login created users have one user object.

1 Like