Problem: Log shows Group wants uid .... as member. But the user is unknown. Ignoring

Problem:

Group wants uid=helene,cn=schueler,cn=users,ou=sun,dc=schein,dc=me as member. But the user is unknown. Ignoring…

Solution:

When a group is synchronized, it will load all the members from the group from listener/old directory (reading the mapping from dn to file from the old.db database). It will skip missing users because synchronizing groups can be a very time consuming operation. The messages means that the users were skipped because their file were not found. To fix the warnings it’s enough to trigger the synchronization for the missing users. After that the group should have all the members when it is synchronized.

DN="uid=helene,cn=users,ou=sun,dc=schein,dc=me"
ENTRY_UUID="$(univention-ldapsearch -b "$DN" + | grep entryUUID | awk '{ print $2 }')"
cat > /var/lib/univention-appcenter/listener/ox-connector/$(date +%Y-%m-%d-%H-%M-%S).json <<- EOF
{
    "entry_uuid": "$ENTRY_UUID",
    "dn": "$DN",
    "object_type": "users/user",
    "command": "modify"
}
EOF

https://docs.software-univention.de/ox-connector-app/latest/troubleshooting.html#re-provision-one-specific-udm-object

Mastodon