Changes between Version 23 and Version 24 of Howto_Ldap


Ignore:
Timestamp:
Jan 15, 2011 8:32:13 AM (2 years ago)
Author:
andudi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Howto_Ldap

    v23 v24  
    9999checkpoint      512 30 
    100100 
    101 # For creating new Rouncube users 
    102 access to dn.one="ou=users,ou=rcabook,dc=localhost" attrs=userPassword 
    103         by dn="cn=rcuser,dc=localhost" write 
    104  
    105 # Grant the Roundcube user access to the whole addressbook 
    106 access to dn.subtree="ou=rcabook,dc=localhost" 
     101# Grant the Roundcub user to create private users 
     102access to dn.one="ou=private,ou=rcabook,dc=localhost" attrs=userPassword 
    107103        by dn="cn=rcuser,dc=localhost" write 
    108104 
     
    114110        by * none 
    115111 
     112# Grant the Roundcube user access to the whole addressbook 
     113access to dn.subtree="ou=rcabook,dc=localhost" 
     114        by dn="cn=rcuser,dc=localhost" write   
     115 
     116# Grant the Roundcube users access to their private addressbooks 
     117access to dn.regex="^[^,]+,ou=contacts,cn=([^,]+),ou=private,ou=rcabook,dc=localhost$" 
     118        by dn.exact,expand="cn=$1,ou=private,ou=rcabook,dc=localhost" write 
     119access to dn.regex="^[^,]+,ou=groups,cn=([^,]+),ou=private,ou=rcabook,dc=localhost$" 
     120        by dn.exact,expand="cn=$1,ou=private,ou=rcabook,dc=localhost" write 
     121 
    116122# For direcory access 
    117123access to * 
     
    187193adding new entry "ou=groups,ou=rcabook,dc=localhost" 
    188194 
    189 -create subdirectory for users: ou=users,ou=rcabook,dc=localhost 
     195-create subdirectory for private users: ou=private,ou=rcabook,dc=localhost 
    190196  (as Roundcube user: cn=rcuser,dc=localhost) 
    191 adding new entry "ou=users,ou=rcabook,dc=localhost" 
     197adding new entry "ou=private,ou=rcabook,dc=localhost" 
    192198 
    193199The LDAP addressbook is ready now for using: