After a while you will go back to the book and say, aha here it is... and then you realize that the "ONES" that made the book did a great job...
That is my story :) <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Sem vírus. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> 2017-04-24 12:07 GMT+01:00 Andrea Fae' <and...@gmail.com>: > Yes you are right, but there is something in the book, something in the > code....no complete full documentation...managed in only one site. It's > like it is...I have to accept this. thanks > > > Il giorno martedì 11 aprile 2017 15:07:00 UTC+2, Anthony ha scritto: >> >> On Tuesday, April 11, 2017 at 9:01:09 AM UTC-4, Anthony wrote: >>> >>> On Tuesday, April 11, 2017 at 8:55:20 AM UTC-4, Carlos Cesar Caballero >>> wrote: >>>> >>>> Hi guys, I think he is talking about the web2py api, and there are some >>>> undocumented features, by example, when you authenticate against an ldap >>>> you can map ldap groups against web2py groups, but this is not documented, >>>> and there are some undocumented features like that. >>>> >>> >>> Yes, a few more advanced features are not documented, but that is far >>> from being "no documentation". >>> >> >> And to be fair, ldap is a contrib module, and there is quite a bit of >> documentation in the module itself. For example: >> >> If you need group control from ldap to web2py app's database feel >> free >> to set: >> >> auth.settings.login_methods.append(ldap_auth(...as usual..., >> manage_groups=True, >> db=db, >> group_dn='ou=Groups,dc=domain,dc=com', >> group_name_attrib='cn', >> group_member_attrib='memberUid', >> group_filterstr='objectClass=*' >> )) >> >> Where: >> manage_group - let web2py handle the groups from ldap >> db - is the database object (need to have auth_user, auth_group, >> auth_membership) >> group_dn - the ldap branch of the groups >> group_name_attrib - the attribute where the group name is stored >> group_member_attrib - the attribute containing the group members >> name >> group_filterstr - as the filterstr but for group select >> >> In fact, the book even explicitly directs the reader to the documentation >> within the module: >> >> *See the documentation of ldap_auth in >> web2py/gluon/contrib/login_methods/ldap_auth.py* >> >> Anthony >> > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.