[00:12] *** skel has joined #twiki [00:14] Hi :) does anyone know if LDAPContrib requires any particular AuthType directive in apache? [00:15] It appears to be setup since I see all the groups in LDAP but when I click the login button to get the username / password field, nothing happens [00:15] it just refreshes with some id parameter tacked on the url [00:44] skel: not sure [00:44] i believe the ldapcontrib works with apache auth and also with template auth [00:45] the ldapcontrib has debug, turn it on and watch the apache error_log [00:45] hm ok, I'll try switching to template and see if I get a login interface [00:45] do you use openldap or ad? [00:45] ok, was just looking through the docs and saw that, thanks :) [00:45] ad :( [00:46] there are some differences [00:46] I had it working with auth ldap but that didn't support group access control [00:46] let me see if find a sample config on twiki.org... [00:46] ok [00:53] here is an example: [00:53] http://twiki.org/cgi-bin/view/Support/HowToMigrateFromBasicAuthToLDAP [00:54] on one sample installation i use this: [00:54] $TWiki::cfg{LoginManager} = 'TWiki::LoginManager::TemplateLogin'; [00:54] $TWiki::cfg{PasswordManager} = 'TWiki::Users::LdapUser'; [00:55] $TWiki::cfg{UserMappingManager} = 'TWiki::Users::TWikiUserMapping'; [00:56] cool, I'll give that a shot. Thank you very much for digging that up [00:56] $TWiki::cfg{Ldap}{AllowChangePassword} = 0; [00:56] $TWiki::cfg{Ldap}{Base} = 'dc=example,dc=com'; [00:56] $TWiki::cfg{Ldap}{BindDN} = 'cn=twikiadmin,ou=Admins,ou=Information Services,ou=ALLUSERS,dc=example,dc=com'; [00:57] $TWiki::cfg{Ldap}{BindPassword} = 'example'; [00:57] $TWiki::cfg{Ldap}{Debug} = 0; [00:57] $TWiki::cfg{Ldap}{Exclude} = 'TWikiGuest, TWikiContributor, TWikiRegistrationAgent, TWikiAdminGroup, NobodyGroup'; [00:57] $TWiki::cfg{Ldap}{GroupAttribute} = 'samAccountName'; [00:57] $TWiki::cfg{Ldap}{GroupBase} = 'ou=groups,ou=ALLUSERS,dc=example,dc=com'; [00:57] $TWiki::cfg{Ldap}{GroupFilter} = 'objectClass=group'; [00:57] $TWiki::cfg{Ldap}{Host} = 'foo.example.com'; [00:57] $TWiki::cfg{Ldap}{LoginAttribute} = 'sAMAccountName'; [00:57] $TWiki::cfg{Ldap}{LoginFilter} = 'objectClass=user'; [00:57] $TWiki::cfg{Ldap}{MapGroups} = 1; [00:57] $TWiki::cfg{Ldap}{MaxCacheAge} = 86400; [00:57] $TWiki::cfg{Ldap}{MaxCacheHits} = '-1'; [00:57] $TWiki::cfg{Ldap}{MaxGroups} = 0; [00:57] $TWiki::cfg{Ldap}{MemberAttribute} = 'memberUid'; [00:57] $TWiki::cfg{Ldap}{MemberIndirection} = 0; [00:58] $TWiki::cfg{Ldap}{NormalizeGroupNames} = 0; [00:58] $TWiki::cfg{Ldap}{NormalizeLoginNames} = 0; [00:58] $TWiki::cfg{Ldap}{NormalizeWikiNames} = 0; [00:58] $TWiki::cfg{Ldap}{PageSize} = 500; [00:58] $TWiki::cfg{Ldap}{Port} = 389; [00:58] $TWiki::cfg{Ldap}{SASLMechanism} = ''; [00:58] $TWiki::cfg{Ldap}{SecondaryPasswordManager} = 'none'; [00:58] $TWiki::cfg{Ldap}{SSL} = 0; [00:58] $TWiki::cfg{Ldap}{TWikiGroupsBackoff} = 1; [00:58] $TWiki::cfg{Ldap}{UserBase} = 'OU=ALLUSERS,DC=example,DC=com'; [00:58] $TWiki::cfg{Ldap}{UseSASL} = 0; [00:58] $TWiki::cfg{Ldap}{Version} = 3; [00:58] $TWiki::cfg{Ldap}{WikiNameAliases} = ''; [00:58] $TWiki::cfg{Ldap}{WikiNameAttribute} = 'cn'; [01:00] hmm when I run configure I don't see TWiki::Users::LdapUser available as a password manager [01:00] I have: $TWiki::cfg{PasswordManager} = 'TWiki::Users::LdapPasswdUser'; [01:00] I'll try changing that [01:00] I think I've got everything else pretty much the same [01:00] do you have the ldappasswduser.pm in the users directory? [01:01] is it readable by the webserver user? [01:01] btw, what are you using twiki for? [01:02] infrastructure group documentation [01:02] a middleware group [01:04] yeah, there and readable. [01:04] we were thinking about doing mediawiki but it had been a while since I set one up and I wanted to see what else was out there [01:04] and not needing a rdbms back end was nice and it looked pretty robust [01:09] keep in mind that mediawiki is specifically designed for wikipedia [01:09] you lack features you'd expect at the workplace [01:09] such as fine grained access control with groups [01:09] such as multiple namespaces [01:10] mediawiki has a single namespace for attachments (makes sense to share images in wikipedia) [01:11] but this can cause problems, say you attach a design.doc file to a project page, [01:11] and in another project someone happens to attach a file of the the same name to their project page [01:11] oops [01:11] twiki has namespace per page for attachments [01:12] not initially, but later you will appreciate the programmability of twiki [01:12] there is db in twiki, you can build web apps using twiki markup language [01:13] see overview at http://twiki.org/cgi-bin/view/Codev/TWikiPresentation2010x08x17 [01:13] oh I liked the presentation feature too! :-D [01:13] how-to on apps, http://twiki.org/cgi-bin/view/Blog/BlogEntry201009x1 [01:14] are you a developer? [01:14] check out http://twiki.org/cgi-bin/view/Codev/GettingInvolved [01:14] gotta run, swmbo just called... [01:14] ttyl [01:14] *** PeterThoeny has quit IRC (Quit: PeterThoeny) [01:48] *** skel has quit IRC (Quit: Page closed) [05:31] *** PeterThoeny has joined #twiki [05:31] *** PeterThoeny has quit IRC (Changing host) [05:31] *** PeterThoeny has joined #twiki [05:31] *** ChanServ sets mode: +o PeterThoeny [05:49] *** _arjen_ has joined #twiki [06:41] *** PeterThoeny has quit IRC (Quit: PeterThoeny) [13:01] *** mfilipe has joined #twiki [15:55] how do I do to disable user register? [16:22] *** mfilipe has quit IRC (Quit: Ex-Chat) [16:42] *** PeterThoeny has joined #twiki [16:42] *** PeterThoeny has quit IRC (Changing host) [16:42] *** PeterThoeny has joined #twiki [16:42] *** ChanServ sets mode: +o PeterThoeny [17:11] *** PeterThoeny has quit IRC (Quit: PeterThoeny) [21:22] *** _arjen_ has quit IRC (Quit: Leaving)