hei Szabolcs

sorry for my late responce, I have not see your message before.

no, it is not yet possible to autocreate the users... some reasons:
- I wrote some LDAP code in RC and as well the WIKI page, but I am not a core dev
- I have just a few users here and I added them manually :-)
- when should the user be created at best? at login? or when he access first the addressbook? or with a poppup? or even somewhere in the settings? I do not know and since I am not core dev, I can not decide...

but yes, you are right, I would make sense to create them automatically as "rcuser" ... please add a feature request or even better, implement a plugin and publish it...

thanks, and sorry for the bad news
Andreas


Am 2013-03-11 22:09, schrieb Parragh SZabolcs:
Hi RC users,
I need a bit of help with my LDAP setup. I followed the steps on this
twiki page: http://trac.roundcube.net/wiki/Howto_Ldap to create a
Public and a Private address book.

Everything works fine, except for one thing: private users have to be
manually inserted into the ldap directory, before they can add e-mails
via the webapp to their private adrbook.

So basically if there is a user as:
"ou=myuser,ou=private,ou=rcabook,dc=localhost" all his addresses will
be under this node. E.g. "dn: cn=Contact
one,ou=myuser,ou=private,ou=rcabook,dc=localhost"

The script on the twiki page creates: "dn: ou=private,ou=rcabook,dc=pojo,dc=hu".

The webmail app would create: "dn: cn=Contact
one,ou=myuser,ou=private,ou=rcabook,dc=localhost"

My question is: what should create "dn:
cn=user,ou=private,ou=rcabook,dc=pojo,dc=hu" ? Does it have to be
created manually for each user? (After doing that everything works as
desired - still it would be painful to do that for all users.)

The twiki page has a slapd.conf attached, which has this section
which made me thing, the public user would create these entries but
they don't get created:

# Grant the Roundcub user to create private users
access to dn.one="ou=private,ou=rcabook,dc=localhost" attrs=userPassword
        by dn="cn=rcuser,ou=rcabook,dc=localhost" write
        by anonymous auth
        by self write
        by * none

Am I misunderstanding something?

Any help is appreciated!

Thanks,
Szabolcs




_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to