SID-00409: Uncertain behaviour of Twiki-LDAP Integration.
| Status: |
Unanswered |
TWiki version: |
4.2.3 |
Perl version: |
ActivePerl-5.8.9 |
| Category: |
CategoryAuthentication |
Server OS: |
Windows XP |
Last update: |
16 years ago |
I am using
LdapContrib for TWiki-LDAP integration.Some how I have configured
LdapContrib.But i am confused with its uncertain behaviour i.e. sometimes its is allowing to login & some time its not allowing....?
I m new to Twiki. Can anybody tell me the path of file where i can see the cached LDAP server entries...?
I have listed my Configuration below.Plz let me know if some modification can help me. Thanks in Advance.
$TWiki::cfg{Ldap}{Host} = 'ldap://fps.nihilent.com';
$TWiki::cfg{Ldap}{Port} = 389;
$TWiki::cfg{Ldap}{Version} = '3';
$TWiki::cfg{Ldap}{Base} = 'dc=fps,dc=nihilent,dc=com';
$TWiki::cfg{Ldap}{BindDN} = 'cn=SDEV,ou=users,dc=fps,dc=nihilent,dc=com';
$TWiki::cfg{Ldap}{BindPassword} = 'hellohello';
$TWiki::cfg{Ldap}{UseSASL} = 0;
$TWiki::cfg{Ldap}{SASLMechanism} = 'PLAIN CRAM-MD5 EXTERNAL ANONYMOUS';
$TWiki::cfg{Ldap}{Debug} = 1;
$TWiki::cfg{Ldap}{UserBase} = 'ou=users,dc=fps,dc=nihilent,dc=com';
$TWiki::cfg{Ldap}{LoginFilter} = 'objectClass=user';
$TWiki::cfg{Ldap}{LoginAttribute} = 'sAMAccountname';
$TWiki::cfg{Ldap}{WikiNameAttribute} = 'givenName,sn';
$TWiki::cfg{Ldap}{NormalizeWikiNames} = 1;
$TWiki::cfg{Ldap}{NormalizeLoginNames} = 1;
$TWiki::cfg{Ldap}{WikiNameAliases} = '';
$TWiki::cfg{Ldap}{AllowChangePassword} = 0;
$TWiki::cfg{Ldap}{SecondaryPasswordManager} = 'none';
$TWiki::cfg{Ldap}{GroupBase} = 'ou=users,dc=fps,dc=nihilent,dc=com';
$TWiki::cfg{Ldap}{GroupFilter} = 'objectClass=group';
$TWiki::cfg{Ldap}{GroupAttribute} = 'sAMAccountname';
$TWiki::cfg{Ldap}{MemberAttribute} = 'memberUid';
$TWiki::cfg{Ldap}{MemberIndirection} = 0;
$TWiki::cfg{Ldap}{TWikiGroupsBackoff} = 1;
$TWiki::cfg{Ldap}{NormalizeGroupNames} = 0;
$TWiki::cfg{Ldap}{MapGroups} = 1;
$TWiki::cfg{Ldap}{MaxCacheAge} = 86400;
$TWiki::cfg{Ldap}{PageSize} = 500;
$TWiki::cfg{Ldap}{Exclude} = 'TWikiGuest,
TWikiContributor,
TWikiRegistrationAgent,
TWikiAdminGroup,
NobodyGroup';
$TWiki::cfg{Plugins}{LdapNgPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{LdapPlugin}{Enabled} = 1;
$TWiki::cfg{Register}{AllowLoginName} = 1;
--
JunaidK - 2009-07-10
Discussion and Answer
Sometimes I am able to see list off my ldap user details.but some times i am getting below mentioned message.
ERROR: failed to connect to ldap://fps.nihilent.com: IO::Socket::INET: connect: Unknown error
May this message will be useful to get answer.
--
JunaidK - 2009-07-10
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2009-09-05
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.