Hi Krzysztof,

> I had some problems, because LDAP authorization has changed. But this is
> not problem: I've read module file and made configuration with failover
> (I've configured two Acitve Directory Controlers). That's working
> correcltly.

Great that someone tested that in real life. :))

> 
> But now members of SomeGroup are not "recognized" correctly. On pages,
> where acl are like:
> 
> #acl SomeGroup: read,write,admin All:

This is not correct (and won't work), there must not be a space after 
SomeGroup:.

> auth_methods_trustes = [ ???, ??? ]

Quoting from MoinMoin/config/multiconfig.py:

     # default to http and xmlrpc_applytoken to get old semantics
     # xmlrpc_applytoken shall be removed once that code is changed
     # to have proper session handling and use request.handle_auth()
     auth_methods_trusted = ['http', 'xmlrpc_applytoken']

This is the correct setting name, you only need that one. :)

> I've tried many methods: http, values set to LDAPAuth.name attribute,
> but still administrative logins are not recognized.

I think this is unrelated. The trusted stuff is only for the builtin 
"Trusted:" group (similar to "Known:" and "All:" groups).

If you use your own group anyway (and you don't use "Trusted:" in ACLs), 
you don't need to care for that.

> # we have ta change name, because name = ldap as default. And with 2
> # instances of LDAPAuth class Moinmoin comlains about duplicate name
> # values.
> # Also LDAPAuth.name is set as auth_method...
> #
> ldap_auth_dc03.name = 'dc03'

Good hint, we try to fix that.

Cheers, Thomas



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Moin-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to