Problem:
New added users are not shown in Zarafa
Investigation:
Step1:
Checking zarafa server.log:
Mon Oct 7 15:10:40 2019: [warning] Authentication by plugin failed for user "User": Trying to authenticate failed: User not found in LDAP; username = User
Step2:
Check if the user_safe_mode is activated
Step3:
Check the objectclass and atrributes of the user.
# testuser, Benutzer,
dn: uid=testuser,ou=Benutzer,dc=schein,dc=local
uidNumber: 2017
sambaAcctFlags: [U ]
krb5MaxLife: 86400
sambaPwdCanChange: 1110193468
mailGlobalSpamFolder: 0
krb5MaxRenew: 604800
loginShell: /bin/bash
sambaSID: S-1-5-21-2438365080-1175145288-4246282840-1120
homeDirectory: /home/schein/Testuser
zarafaSharedStoreOnly: 0
krb5PrincipalName: testuser@SCHEIN.LOCAL
sambaBadPasswordCount: 0
o: test
departmentNumber: Test
pwhistory: B4CAC6DDD8997B91C97D6FFE8A72EC3CA69A638D 7E2AA3B4CEEDAF15F34B9E70C231CC8D3F2A9ABF DD7B25712DD8A690F74FE54C513CCF76B3A85563
gidNumber: 5036
sambaPrimaryGroupSID: S-1-5-21-2438365080-1175145288-4246282840-1313
univentionObjectType: users/user
displayName: Testuser
cn: Testuser
sn: Testuser
zarafaAdmin: 0
zarafa4ucsRole: user
zarafaAccount: 1
uid: testuser
sambaLogonScript: me-home-so.bat
mailAlternativeAddress: testuser@schein.allein.de
mailAlternativeAddress: testuser@lost.de
mailPrimaryAddress: testuser@schein.de
mail: testuser@schein.de
krb5KDCFlags: 126
objectClass: krb5KDCEntry
objectClass: organizationalPerson
objectClass: automount
objectClass: top
objectClass: inetOrgPerson
objectClass: krb5Principal
objectClass: person
objectClass: zarafa-user
objectClass: univentionPWHistory
objectClass: univentionMail
objectClass: univentionObject
objectClass: shadowAccount
objectClass: sambaSamAccount
objectClass: univentionPolicyReference
objectClass: posixAccount
You need:
zarafaAdmin: 0
zarafa4ucsRole: user
zarafaAccount: 1
objectClass: zarafa-user
Solution:
If zarafaAccount is missing the listener module will not start to sync the user.