Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

s

Table of Contents



HideElements
metastrue
commentstrue
breadcrumbtrue
childpagestrue
watchtrue
sharetrue
favoritetrue
likestrue

...

Code Block
languagebash
themeMidnight
dn: uid=john,ou=People,dc=example,dc=local
objectClass: posixAccount
objectClass: top
objectClass: kopano-user
objectClass: inetOrgPerson
gidNumber: 1000
cn: John Doe
homeDirectory: /home/john
mail: john@example.local
uidNumber: 1000
kopanoAliases: j.doe@example.local
kopanoUserServer: kopano
uid: john
kopanoAccount: 1
kopanoAdmin: 1
sn: Doe
userPassword: john
kopanoQuotaOverride: 1
kopanoEnabledFeatures: imap
kopanoDisabledFeatures: pop3
kopanoQuotaWarn: 1000000000
kopanoQuotaSoft: 1100000000
kopanoQuotaHard: 1200000000
Code Block
languagebash
themeMidnight
$ sudo ldapadd -x -D cn=admin,dc=example,dc=local -W -f user.ldif

 

Verify the user anonymously.

...

Code Block
languagebash
themeMidnight
user_plugin             = ldap

 

|

Setup the ldap.cfg

Depending on the Kopano version (8.2.0 and higher) :

...

Edit /etc/kopano/ldap.cfgChange the line ldap_bind_user = cn=admin,cn=users,dc=kopano,dc=com into the following.

Add your LDAP bind user and password if you do not use anonymous bind;

Code Block
languagebash
themeMidnight
ldap_bind_user =
ldap_bind_password = 
Change the search base so it matches our organisation.

...

Page properties
hiddentrue


Related issues 



Code Block
languagebash
themeMidnight
$ sudo ldapadd -x -D cn=admin,dc=example,dc=local -W -f user.ldif