Newly created users are not assigned a store
-
Hi folks
When creating a new user, no store is created.
And when the user login I get MAPI_E_NOT_FOUND errorWorkaround for me is always -> kopano-admin --create-store (user)
I use version 8.7.9 of the server
I hadn’t noticed that the system is running super fine
and I didn’t have to create new users.Does anyone have the same problem ?
Can you create new users?
-
Indeed that’s been the same for me.
-
I have seen this issue when the language settings are incorrect. So Kopano can’t run the user create scripts.
-
@chartmann to find out why the store is not created I would check the logging of kopano-server from the time the user was created.
-
For your information.
Error is
Authentication by plugin failed for user “test77”: Trying to authenticate failed: test77 not found in LDAP; username = test77
Command “/etc/kopano/userscripts/createuser” exited with non-zero status 127We are looking for the error.
Standby
-
Did you also run “kopano-admin --sync” after creating the user?
This will also trigger the autocreation of the store when new users are found. Errors during that process are reported on the debug level. Hence set “log_level=6” in our server.cfg to see what is going wrong there. -
@chartmann said in Newly created users are not assigned a store:
non-zero status 127
This error code is returned by bash when a command is not found.
-
System was updated to 8.7.9.0 but server.cfg was not migrated to new settings. So the creation scripts points to /etc/kopano/userscripts/ but this directory is empty, new place for creation scripts are: /usr/lib/kopano/userscripts/.
I migrated the server.cfg to new settings, now user creation works.
It is a shame for Kopano that no new config file is placed in the /etc/kopano directory for such major changes. -
THX walterhof for help
it’s been solved.