This question about Authentication or Authorisation: Answered

login fails even if ldap user was found

Hello,

installed foswiki 1.0.9 on a new system (SuSE Linux Enterprise Server 10) and and installed the LdapContrib extension as part of it because I want to use our Novell eDirectory for the authentication.

After running through the basic configurations of foswiki and ldapcontrib, I'm now at the point that I try to login at the login page, see in the ldap trace the ldaps earch and also the search result (user was found) but the login is denied by "Oops: we could not recognize you.".

I enabled the debug options in the LdapContrib.pm and get in the apache log the following:

- LdapContrib - called getAccount(s1490)



- LdapContrib - called search(filter=(&(objectClass=inetOrgPerson)(cn=s1490)), base=o=ALLIANZGRUPPE, scope=sub, limit=0, attrs=*)



- LdapContrib - called connect



- LdapContrib - proxy bind



- LdapContrib - found 1 entries



- LdapContrib - finishing



- LdapContrib - called disconnect()

Oops: we could not recognize you."That looks good for me, but there is still the ".

The LocalSite.cfg looks like this:

$Foswiki::cfg{DefaultUrlHost} = 'http://lx-text01.aeat.allianz.at';



$Foswiki::cfg{PermittedRedirectHostUrls} = ' ';



$Foswiki::cfg{ScriptUrlPath} = '/foswiki/bin';



$Foswiki::cfg{PubUrlPath} = '/foswiki/pub';



$Foswiki::cfg{PubDir} = '/srv/www/htdocs/foswiki/pub';



$Foswiki::cfg{TemplateDir} = '/srv/www/htdocs/foswiki/templates';



$Foswiki::cfg{DataDir} = '/srv/www/htdocs/foswiki/data';



$Foswiki::cfg{LocalesDir} = '/srv/www/htdocs/foswiki/locale';



$Foswiki::cfg{WorkingDir} = '/srv/www/htdocs/foswiki/working';



$Foswiki::cfg{ScriptSuffix} = '';



$Foswiki::cfg{Password} = '14X/ZAmaF.5Mw';



$Foswiki::cfg{SafeEnvPath} = '/opt/sybase/SYBSsa9/bin32:/sbin:/usr/sbin:/usr/local/sbin:/opt/gnome/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/allianz/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/novell/eDirectory/bin:/opt/novell/eDirectory/sbin:/opt/novell/bin:/opt/novell/migration/sbin:/opt/novell/zenworks/bin:/opt/novell/zenworks/sbin:.:/home/db2inst1/sqllib/bin:/home/db2inst1/sqllib/adm:/home/db2inst1/sqllib/misc';



$Foswiki::cfg{UseClientSessions} = 1;



$Foswiki::cfg{Sessions}{ExpireAfter} = 21600;



$Foswiki::cfg{Sessions}{ExpireCookiesAfter} = 0;



$Foswiki::cfg{Sessions}{IDsInURLs} = 0;



$Foswiki::cfg{Sessions}{UseIPMatching} = 0;



$Foswiki::cfg{Sessions}{MapIP2SID} = 0;



$Foswiki::cfg{Validation}{Method} = 'strikeone';



$Foswiki::cfg{Validation}{ValidForTime} = 3600;



$Foswiki::cfg{Validation}{MaxKeysPerSession} = 1000;



$Foswiki::cfg{Validation}{ExpireKeyOnUse} = 1;



$Foswiki::cfg{LoginManager} = 'Foswiki::LoginManager::TemplateLogin';



$Foswiki::cfg{TemplateLogin}{PreventBrowserRememberingPassword} = 0;



$Foswiki::cfg{LoginNameFilterIn} = '^[^\\s\\*?~^\\$@%`"\'&;|<>\\x00-\\x1f]+$';



$Foswiki::cfg{DefaultUserLogin} = 'guest';



$Foswiki::cfg{DefaultUserWikiName} = 'WikiGuest';



$Foswiki::cfg{AdminUserLogin} = 'admin';



$Foswiki::cfg{AdminUserWikiName} = 'AdminUser';



$Foswiki::cfg{SuperAdminGroup} = 'AdminGroup';



$Foswiki::cfg{UsersTopicName} = 'WikiUsers';



$Foswiki::cfg{AuthScripts} = 'attach,edit,manage,rename,save,upload,viewauth,rdiffauth,rest';



$Foswiki::cfg{AuthRealm} = 'Enter your System.LoginName. (Typically First name and last name, no space, no dots, capitalized, e.g. !JohnSmith, unless you chose otherwise). Visit System.UserRegistration if you do not have one.';



$Foswiki::cfg{UserMappingManager} = 'Foswiki::Users::TopicUserMapping';



$Foswiki::cfg{Register}{EnableNewUserRegistration} = 1;



$Foswiki::cfg{Register}{HidePasswd} = 1;



$Foswiki::cfg{Register}{RegistrationAgentWikiName} = 'RegistrationAgent';



$Foswiki::cfg{PasswordManager} = 'Foswiki::Users::LdapPasswdUser';



$Foswiki::cfg{MinPasswordLength} = 5;



$Foswiki::cfg{Htpasswd}{FileName} = '/srv/www/htdocs/foswiki/data/.htpasswd';



$Foswiki::cfg{Htpasswd}{Encoding} = 'crypt';



$Foswiki::cfg{OS} = 'UNIX';



$Foswiki::cfg{DetailedOS} = 'linux';



$Foswiki::cfg{DenyDotDotInclude} = 1;



$Foswiki::cfg{AllowInlineScript} = 1;



$Foswiki::cfg{UploadFilter} = '^(\\.htaccess|.*\\.(?i)(?:php[0-9s]?(\\..*)?|[sp]htm[l]?(\\..*)?|pl|py|cgi))$';



$Foswiki::cfg{NameFilter} = '[\\s\\*?~^\\$@%`"\'&;|<>\\[\\]\\x00-\\x1f]';



$Foswiki::cfg{AccessibleENV} = '^(HTTP_\\w+|REMOTE_\\w+|SERVER_\\w+|REQUEST_\\w+|MOD_PERL|FOSWIKI_ACTION)$';



$Foswiki::cfg{AntiSpam}{EmailPadding} = '';



$Foswiki::cfg{AntiSpam}{HideUserDetails} = 1;



$Foswiki::cfg{AntiSpam}{RobotsAreWelcome} = 1;



$Foswiki::cfg{Log}{Implementation} = 'Foswiki::Logger::PlainFile';



$Foswiki::cfg{Log}{view} = 1;



$Foswiki::cfg{Log}{search} = 1;



$Foswiki::cfg{Log}{changes} = 1;



$Foswiki::cfg{Log}{rdiff} = 1;



$Foswiki::cfg{Log}{edit} = 1;



$Foswiki::cfg{Log}{save} = 1;



$Foswiki::cfg{Log}{upload} = 1;



$Foswiki::cfg{Log}{attach} = 1;



$Foswiki::cfg{Log}{rename} = 1;



$Foswiki::cfg{Log}{register} = 1;



$Foswiki::cfg{ConfigurationLogName} = '/srv/www/htdocs/foswiki/data/configurationlog.txt';



$Foswiki::cfg{DebugFileName} = '/srv/www/htdocs/foswiki/data/debug.txt';



$Foswiki::cfg{WarningFileName} = '/srv/www/htdocs/foswiki/data/warn01 Dec 2024.txt';



$Foswiki::cfg{LogFileName} = '/srv/www/htdocs/foswiki/data/log01 Dec 2024.txt';



$Foswiki::cfg{Languages}{bg}{Enabled} = 1;



$Foswiki::cfg{Languages}{da}{Enabled} = 1;



$Foswiki::cfg{Languages}{de}{Enabled} = 1;



$Foswiki::cfg{Languages}{cs}{Enabled} = 1;



$Foswiki::cfg{Languages}{es}{Enabled} = 1;



$Foswiki::cfg{Languages}{fr}{Enabled} = 1;



$Foswiki::cfg{Languages}{ja}{Enabled} = 1;



$Foswiki::cfg{Languages}{it}{Enabled} = 1;



$Foswiki::cfg{Languages}{nl}{Enabled} = 1;



$Foswiki::cfg{Languages}{pl}{Enabled} = 1;



$Foswiki::cfg{Languages}{pt}{Enabled} = 1;



$Foswiki::cfg{Languages}{ru}{Enabled} = 1;



$Foswiki::cfg{Languages}{sv}{Enabled} = 1;



$Foswiki::cfg{Languages}{'zh-cn'}{Enabled} = 1;



$Foswiki::cfg{Languages}{'zh-tw'}{Enabled} = 1;



$Foswiki::cfg{DisplayTimeValues} = 'gmtime';



$Foswiki::cfg{DefaultDateFormat} = '$day $month $year';



$Foswiki::cfg{Site}{Locale} = 'en_US.ISO-8859-1';



$Foswiki::cfg{Site}{LocaleRegexes} = 1;



$Foswiki::cfg{UpperNational} = '';



$Foswiki::cfg{LowerNational} = '';



$Foswiki::cfg{PluralToSingular} = 1;



$Foswiki::cfg{StoreImpl} = 'RcsWrap';



$Foswiki::cfg{RCS}{ExtOption} = '';



$Foswiki::cfg{RCS}{dirPermission} = 493;



$Foswiki::cfg{RCS}{filePermission} = 420;



$Foswiki::cfg{Store}{RememberChangesFor} = 2678400;



$Foswiki::cfg{RCS}{asciiFileSuffixes} = '\\.(txt|html|xml|pl)$';



$Foswiki::cfg{RCS}{initBinaryCmd} = '/usr/bin/rcs  -i -t-none -kb %FILENAME|F%';



$Foswiki::cfg{RCS}{initTextCmd} = '/usr/bin/rcs  -i -t-none -ko %FILENAME|F%';



$Foswiki::cfg{RCS}{tmpBinaryCmd} = '/usr/bin/rcs  -kb %FILENAME|F%';



$Foswiki::cfg{RCS}{ciCmd} = '/usr/bin/ci  -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F%';



$Foswiki::cfg{RCS}{ciDateCmd} = '/usr/bin/ci  -m%COMMENT|U% -t-none -d%DATE|D% -u -w%USERNAME|S% %FILENAME|F%';



$Foswiki::cfg{RCS}{coCmd} = '/usr/bin/co  -p%REVISION|N% -ko %FILENAME|F%';



$Foswiki::cfg{RCS}{histCmd} = '/usr/bin/rlog  -h %FILENAME|F%';



$Foswiki::cfg{RCS}{infoCmd} = '/usr/bin/rlog  -r%REVISION|N% %FILENAME|F%';



$Foswiki::cfg{RCS}{rlogDateCmd} = '/usr/bin/rlog  -d%DATE|D% %FILENAME|F%';



$Foswiki::cfg{RCS}{diffCmd} = '/usr/bin/rcsdiff  -q -w -B -r%REVISION1|N% -r%REVISION2|N% -ko --unified=%CONTEXT|N% %FILENAME|F%';



$Foswiki::cfg{RCS}{lockCmd} = '/usr/bin/rcs  -l %FILENAME|F%';



$Foswiki::cfg{RCS}{unlockCmd} = '/usr/bin/rcs  -u %FILENAME|F%';



$Foswiki::cfg{RCS}{breaklockCmd} = '/usr/bin/rcs  -u -M %FILENAME|F%';



$Foswiki::cfg{RCS}{delRevCmd} = '/usr/bin/rcs  -o%REVISION|N% %FILENAME|F%';



$Foswiki::cfg{RCS}{SearchAlgorithm} = 'Foswiki::Store::SearchAlgorithms::Forking';



$Foswiki::cfg{RCS}{QueryAlgorithm} = 'Foswiki::Store::QueryAlgorithms::BruteForce';



$Foswiki::cfg{RCS}{EgrepCmd} = '/bin/grep -E %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';



$Foswiki::cfg{RCS}{FgrepCmd} = '/bin/grep -F %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';



$Foswiki::cfg{EnableHierarchicalWebs} = 1;



$Foswiki::cfg{SystemWebName} = 'System';



$Foswiki::cfg{TrashWebName} = 'Trash';



$Foswiki::cfg{UsersWebName} = 'Main';



$Foswiki::cfg{EnableEmail} = 1;



$Foswiki::cfg{WebMasterEmail} = '[email protected]';



$Foswiki::cfg{WebMasterName} = 'Wiki Administrator';



$Foswiki::cfg{MailProgram} = '/usr/sbin/sendmail -t -oi -oeq';



$Foswiki::cfg{SMTP}{MAILHOST} = 'localhost';



$Foswiki::cfg{SMTP}{SENDERHOST} = 'LX-TEXT01.AEAT.ALLIANZ.AT';



$Foswiki::cfg{SMTP}{Username} = '';



$Foswiki::cfg{SMTP}{Password} = '';



$Foswiki::cfg{RemoveImgInMailnotify} = 1;



$Foswiki::cfg{NotifyTopicName} = 'WebNotify';



$Foswiki::cfg{SMTP}{Debug} = 0;



$Foswiki::cfg{PROXY}{HOST} = 'http://localhost';



$Foswiki::cfg{PROXY}{PORT} = '8080';



$Foswiki::cfg{Stats}{TopViews} = 10;



$Foswiki::cfg{Stats}{TopContrib} = 10;



$Foswiki::cfg{Stats}{TopicName} = 'WebStatistics';



$Foswiki::cfg{TemplatePath} = '/srv/www/htdocs/foswiki/templates/$web/$name.$skin.tmpl, /srv/www/htdocs/foswiki/templates/$name.$skin.tmpl, $web.$skinSkin$nameTemplate, System.$skinSkin$nameTemplate, /srv/www/htdocs/foswiki/templates/$web/$name.tmpl, /srv/www/htdocs/foswiki/templates/$name.tmpl, $web.$nameTemplate, System.$nameTemplate';



$Foswiki::cfg{LinkProtocolPattern} = '(file|ftp|gopher|https|http|irc|mailto|news|nntp|telnet)';



$Foswiki::cfg{SiteWebTopicName} = '';



$Foswiki::cfg{SitePrefsTopicName} = 'DefaultPreferences';



$Foswiki::cfg{LocalSitePreferences} = 'Main.SitePreferences';



$Foswiki::cfg{HomeTopicName} = 'WebHome';



$Foswiki::cfg{WebPrefsTopicName} = 'WebPreferences';



$Foswiki::cfg{NumberOfRevisions} = 4;



$Foswiki::cfg{ReplaceIfEditedAgainWithin} = 3600;



$Foswiki::cfg{LeaseLength} = 3600;



$Foswiki::cfg{LeaseLengthLessForceful} = 3600;



$Foswiki::cfg{MimeTypesFileName} = '/srv/www/htdocs/foswiki/data/mime.types';



$Foswiki::cfg{Operators}{Query} = [



          'Foswiki::Query::OP_and',



          'Foswiki::Query::OP_eq',



          'Foswiki::Query::OP_lc',



          'Foswiki::Query::OP_lte',



          'Foswiki::Query::OP_not',



          'Foswiki::Query::OP_ref',



          'Foswiki::Query::OP_d2n',



          'Foswiki::Query::OP_gte',



          'Foswiki::Query::OP_length',



          'Foswiki::Query::OP_lt',



          'Foswiki::Query::OP_ob',



          'Foswiki::Query::OP_uc',



          'Foswiki::Query::OP_dot',



          'Foswiki::Query::OP_gt',



          'Foswiki::Query::OP_like',



          'Foswiki::Query::OP_ne',



          'Foswiki::Query::OP_or',



          'Foswiki::Query::OP_where'



        ];



$Foswiki::cfg{Operators}{If} = [



          'Foswiki::If::OP_allows',



          'Foswiki::If::OP_defined',



          'Foswiki::If::OP_isempty',



          'Foswiki::If::OP_ingroup',



          'Foswiki::If::OP_isweb',



          'Foswiki::If::OP_context',



          'Foswiki::If::OP_dollar',



          'Foswiki::If::OP_istopic'



        ];



$Foswiki::cfg{Plugins}{CommentPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{CommentPlugin}{Module} = 'Foswiki::Plugins::CommentPlugin';



$Foswiki::cfg{Plugins}{EditTablePlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{EditTablePlugin}{Module} = 'Foswiki::Plugins::EditTablePlugin';



$Foswiki::cfg{Plugins}{EmptyPlugin}{Module} = 'Foswiki::Plugins::EmptyPlugin';



$Foswiki::cfg{Plugins}{InterwikiPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{InterwikiPlugin}{Module} = 'Foswiki::Plugins::InterwikiPlugin';



$Foswiki::cfg{Plugins}{PreferencesPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{PreferencesPlugin}{Module} = 'Foswiki::Plugins::PreferencesPlugin';



$Foswiki::cfg{Plugins}{RenderListPlugin}{Module} = 'Foswiki::Plugins::RenderListPlugin';



$Foswiki::cfg{Plugins}{SlideShowPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{SlideShowPlugin}{Module} = 'Foswiki::Plugins::SlideShowPlugin';



$Foswiki::cfg{Plugins}{SmiliesPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{SmiliesPlugin}{Module} = 'Foswiki::Plugins::SmiliesPlugin';



$Foswiki::cfg{Plugins}{SpreadSheetPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{SpreadSheetPlugin}{Module} = 'Foswiki::Plugins::SpreadSheetPlugin';



$Foswiki::cfg{Plugins}{TablePlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{TablePlugin}{Module} = 'Foswiki::Plugins::TablePlugin';



$Foswiki::cfg{Plugins}{TinyMCEPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{TinyMCEPlugin}{Module} = 'Foswiki::Plugins::TinyMCEPlugin';



$Foswiki::cfg{Plugins}{TWikiCompatibilityPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{TWikiCompatibilityPlugin}{Module} = 'Foswiki::Plugins::TWikiCompatibilityPlugin';



$Foswiki::cfg{Plugins}{TwistyPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{TwistyPlugin}{Module} = 'Foswiki::Plugins::TwistyPlugin';



$Foswiki::cfg{Plugins}{WysiwygPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{WysiwygPlugin}{Module} = 'Foswiki::Plugins::WysiwygPlugin';



$Foswiki::cfg{Plugins}{WebSearchPath} = 'System,TWiki';



$Foswiki::cfg{PluginsOrder} = 'TWikiCompatibilityPlugin,SpreadSheetPlugin';



$Foswiki::cfg{ExtensionsRepositories} = 'Foswiki.org=(http://foswiki.org/Extensions/,http://foswiki.org/pub/Extensions/)';



$Foswiki::cfg{Plugins}{TWikiCompatibilityPlugin}{TWikiWebTopicNameConversion} = {



          'TWikiFAQ' => 'FrequentlyAskedQuestions',



          'TWikiGlossary' => 'GlossaryOfTerms',



          'TWikiCss' => 'CascadingStyleSheets',



          'TWikiLogos' => 'ProjectLogos',



          'TWikiRegistration' => 'UserRegistration',



          'TWikiReleaseNotes04x01' => '_remove_',



          'TWikiSkinBrowser' => 'SkinBrowser',



          'TWikiSkins' => 'Skins',



          'TWikiContributor' => 'ProjectContributor',



          'TWikiUserMappingContrib' => 'TopicUserMappingContrib',



          'TWikiReleaseNotes04x00' => '_remove_',



          'TWikiDownload' => 'DownloadSources',



          'TWikiUserAuthentication' => 'UserAuthentication',



          'TWikiMetaData' => 'MetaData',



          'TWikiPreferences' => 'DefaultPreferences',



          'TWikiScripts' => 'CommandAndCGIScripts',



          'TWikiSiteTools' => 'SiteTools',



          'TWikiReleaseNotes04x02' => 'ReleaseNotes01x00',



          'TWikiUpgradeGuide' => 'UpgradeGuide',



          'ATasteOfTWiki' => 'BeginnersStartHere',



          'TWikiContribs' => 'Contribs',



          'TWikiTutorial' => 'TwentyMinuteTutorial',



          'TWikiUsersGuide' => 'UsersGuide',



          'TWikiDocumentation' => 'CompleteDocumentation',



          'TWikiEditingShorthand' => 'EditingShorthand',



          'TWikiRegistrationAgent' => 'RegistrationAgent',



          'TWikiReferenceManual' => 'ReferenceManual',



          'TWikiEnhancementRequests' => 'EnhancementRequests',



          'TWikiSite' => '_remove_',



          'TWikiTopics' => 'TopicsAndWebs',



          'TWikiAccessControl' => 'AccessControl',



          'TWikiJavascripts' => 'JavascriptFiles',



          'TWikiSystemRequirements' => 'SystemRequirements',



          'TWikiForms' => 'DataForms',



          'TWikiFaqTemplate' => 'FaqTemplate',



          'TWikiTemplates' => 'TemplateTopics',



          'WhatDoesTWikiStandFor' => '_remove_',



          'TWikiRenderingShortcut' => 'RenderingShortcut',



          'TWikiVariables' => 'Macros',



          'TWikiVariablesQuickStart' => 'MacrosQuickStart',



          'TWikiPlannedFeatures' => '_remove_',



          'TWikiPlugins' => 'Plugins',



          'TWikiUsersTemplate' => 'UsersTemplate',



          'TWikiHistory' => 'ReleaseHistory',



          'TWikiShorthand' => 'ShortHand',



          'TWikiAddOns' => 'ContributedAddOns',



          'TWikiInstallationGuide' => 'InstallationGuide',



          'TWikiDocGraphics' => 'DocumentGraphics',



          'TWikiWebsTable' => 'WebsTable',



          'TWikiUserSetting' => 'UserSetting'



        };



$Foswiki::cfg{Plugins}{TWikiCompatibilityPlugin}{MainWebTopicNameConversion} = {



          'TWikiGuest' => 'WikiGuest',



          'TWikiPreferences' => 'SitePreferences',



          'TWikiRegistrationAgent' => 'RegistrationAgent',



          'TWikiUsers' => 'WikiUsers',



          'TWikiAdminUser' => 'AdminUser',



          'TWikiAdminGroup' => 'AdminGroup',



          'TWikiContributor' => 'ProjectContributor',



          'TWikiGroupTemplate' => 'GroupTemplate',



          'TWikiGroups' => 'WikiGroups'



        };



$Foswiki::cfg{Plugins}{TWikiCompatibilityPlugin}{WebSearchPath} = {



          'System' => 'TWiki',



          'TWiki' => 'System'



        };



$Foswiki::cfg{MailerContrib}{EmailFilterIn} = '';



$Foswiki::cfg{JSCalendarContrib}{style} = 'blue';



$Foswiki::cfg{JSCalendarContrib}{lang} = 'en';



$Foswiki::cfg{JSCalendarContrib}{format} = '%e %b %Y';



$Foswiki::cfg{Site}{CharSet} = 'iso-8859-1';



$Foswiki::cfg{Plugins}{TreeBrowserPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{TreeBrowserPlugin}{Module} = 'Foswiki::Plugins::TreeBrowserPlugin';



$Foswiki::cfg{Plugins}{TreePlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{TreePlugin}{Module} = 'Foswiki::Plugins::TreePlugin';



$Foswiki::cfg{Plugins}{AttachmentListPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{AttachmentListPlugin}{Module} = 'Foswiki::Plugins::AttachmentListPlugin';



$Foswiki::cfg{Plugins}{DBConnectorPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{DBConnectorPlugin}{Module} = 'Foswiki::Plugins::DBConnectorPlugin';



$Foswiki::cfg{Plugins}{FilterPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{FilterPlugin}{Module} = 'Foswiki::Plugins::FilterPlugin';



$Foswiki::cfg{Plugins}{JQueryPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{JQueryPlugin}{Module} = 'Foswiki::Plugins::JQueryPlugin';



$Foswiki::cfg{Plugins}{MostPopularPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{MostPopularPlugin}{Module} = 'TWiki::Plugins::MostPopularPlugin';



$Foswiki::cfg{Plugins}{MsOfficeAttachmentsAsHTMLPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{MsOfficeAttachmentsAsHTMLPlugin}{Module} = 'Foswiki::Plugins::MsOfficeAttachmentsAsHTMLPlugin';



$Foswiki::cfg{Plugins}{PublishPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{PublishPlugin}{Module} = 'Foswiki::Plugins::PublishPlugin';



$Foswiki::cfg{Plugins}{SubscribePlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{SubscribePlugin}{Module} = 'Foswiki::Plugins::SubscribePlugin';



$Foswiki::cfg{Plugins}{TagMePlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{TagMePlugin}{Module} = 'Foswiki::Plugins::TagMePlugin';



$Foswiki::cfg{Plugins}{TopicDataHelperPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{TopicDataHelperPlugin}{Module} = 'Foswiki::Plugins::TopicDataHelperPlugin';



$Foswiki::cfg{Plugins}{TopicSpecificNavigationPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{TopicSpecificNavigationPlugin}{Module} = 'Foswiki::Plugins::TopicSpecificNavigationPlugin';



$Foswiki::cfg{Plugins}{UploadPlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{UploadPlugin}{Module} = 'Foswiki::Plugins::UploadPlugin';



$Foswiki::cfg{Plugins}{ZonePlugin}{Enabled} = 1;



$Foswiki::cfg{Plugins}{ZonePlugin}{Module} = 'Foswiki::Plugins::ZonePlugin';



$Foswiki::cfg{Plugins}{MsOfficeAttachmentsAsHTMLPlugin}{doc2html} = '/usr/bin/wvHtml --targetdir=%ATTACHDIR|F% %SRC|F% %DEST|F%';



$Foswiki::cfg{Plugins}{MsOfficeAttachmentsAsHTMLPlugin}{filters} = [



          's#(<img[^>]*\\bsrc=)(["\'])([^/]+?)\\2#$1$2http://365847.689093.cn/pub/Support/Question622/$3$2#sgi'



        ];



$Foswiki::cfg{OptimizePageLayout} = 0;



$Foswiki::cfg{ZonePlugin}{Warnings} = 0;



$Foswiki::cfg{Plugins}{DBConnectorPlugin}{driverPackage} = 'DBD::SQLite';



$Foswiki::cfg{Plugins}{DBConnectorPlugin}{dsn} = 'dbi:SQLite:dbname=%WORKINGAREA%/foswiki.db';



$Foswiki::cfg{Plugins}{DBConnectorPlugin}{TableKeyField} = 'topic_id';



$Foswiki::cfg{Plugins}{DBConnectorPlugin}{allowCreatedb} = 1;



$Foswiki::cfg{Plugins}{DBConnectorPlugin}{UpdateOnInvolveFiedlsList} = 'samplefield2';



$Foswiki::cfg{Plugins}{DBConnectorPlugin}{UpdateOnChangeWebList} = '*';



$Foswiki::cfg{Plugins}{DBConnectorPlugin}{Debug} = 0;



$Foswiki::cfg{Plugins}{RenderListPlugin}{Enabled} = 1;



$Foswiki::cfg{Ldap}{Host} = '192.168.106.14';



$Foswiki::cfg{Ldap}{Port} = 389;



$Foswiki::cfg{Ldap}{Version} = '3';



$Foswiki::cfg{Ldap}{Base} = 'o=ALLIANZGRUPPE';



$Foswiki::cfg{Ldap}{BindDN} = 'cn=LDAPWIKI,ou=USER,o=SERVICES';



$Foswiki::cfg{Ldap}{BindPassword} = 'ldap4text';



$Foswiki::cfg{Ldap}{UseSASL} = 0;



$Foswiki::cfg{Ldap}{SASLMechanism} = 'PLAIN CRAM-MD5 EXTERNAL ANONYMOUS';



$Foswiki::cfg{Ldap}{UseTLS} = 0;



$Foswiki::cfg{Ldap}{TLSSSLVersion} = 'tlsv1';



$Foswiki::cfg{Ldap}{TLSVerify} = 'optional';



$Foswiki::cfg{Ldap}{TLSCAPath} = '/srv/www/htdocs/foswiki';



$Foswiki::cfg{Ldap}{TLSCAFile} = 'TESTEXTERN.b64';



$Foswiki::cfg{Ldap}{TLSClientCert} = '';



$Foswiki::cfg{Ldap}{TLSClientKey} = '';



$Foswiki::cfg{Ldap}{Debug} = 1;



$Foswiki::cfg{Ldap}{UserBase} = '';



$Foswiki::cfg{Ldap}{LoginFilter} = 'objectClass=inetOrgPerson';



$Foswiki::cfg{Ldap}{UserScope} = 'sub';



$Foswiki::cfg{Ldap}{LoginAttribute} = 'cn';



$Foswiki::cfg{Ldap}{WikiNameAttribute} = 'fullName';



$Foswiki::cfg{Ldap}{NormalizeWikiNames} = 0;



$Foswiki::cfg{Ldap}{NormalizeLoginNames} = 0;



$Foswiki::cfg{Ldap}{WikiNameAliases} = '';



$Foswiki::cfg{Ldap}{AllowChangePassword} = 0;



$Foswiki::cfg{Ldap}{SecondaryPasswordManager} = 'none';



$Foswiki::cfg{Ldap}{GroupBase} = '';



$Foswiki::cfg{Ldap}{GroupFilter} = 'objectClass=groupOfNames';



$Foswiki::cfg{Ldap}{GroupScope} = 'sub';



$Foswiki::cfg{Ldap}{GroupAttribute} = 'cn';



$Foswiki::cfg{Ldap}{PrimaryGroupAttribute} = 'cn';



$Foswiki::cfg{Ldap}{MemberAttribute} = 'member';



$Foswiki::cfg{Ldap}{InnerGroupAttribute} = 'member';



$Foswiki::cfg{Ldap}{MemberIndirection} = 0;



$Foswiki::cfg{Ldap}{WikiGroupsBackoff} = 1;



$Foswiki::cfg{Ldap}{NormalizeGroupNames} = 0;



$Foswiki::cfg{Ldap}{MapGroups} = 1;



$Foswiki::cfg{Ldap}{RewriteGroups} = {};



$Foswiki::cfg{Ldap}{RewriteWikiNames} = {};



$Foswiki::cfg{Ldap}{MergeGroups} = 0;



$Foswiki::cfg{Ldap}{MaxCacheAge} = 300;



#$Foswiki::cfg{Ldap}{MaxCacheAge} = 86400;



$Foswiki::cfg{Ldap}{Precache} = 1;



$Foswiki::cfg{Ldap}{PageSize} = 500;



$Foswiki::cfg{Ldap}{Exclude} = 'WikiGuest, ProjectContributor, RegistrationAgent, UnknownUser, AdminGroup, NobodyGroup';

The debug log from foswiki does not provide any further information that helps me with this.

Can somebody please point me into the direction I should go with this problem ?

Thanks,

Rainer

-- RainerBrunold - 25 Aug 2010

I guess you will have to change the user mapping to $Foswiki::cfg{UserMappingManager} = 'Foswiki::Users::LdapUserMapping'; but that shouldn't have anything to do with your authentication problem. Did you try it with different accounts? Does your password contain any special characters such as umlauts? I once experienced problems with umlauts in passwords.

-- MartinKaufmann - 25 Aug 2010

Thanks Martin,

it works now ... I changed the LdapUserMapping and I also had to delete the cache file from the LdapContrib plugin .../foswiki/working/work_areas/LdapContrib/cache.db and when trying the next login it ran a fulls earch against the LDAP directory and created a new cahce.db and allowed me to login.

Thanks for your input !

Rainer

-- RainerBrunold - 26 Aug 2010

QuestionForm edit

Subject Authentication or Authorisation
Extension LdapContrib
Version Foswiki 1.0.9
Status Answered
Topic revision: r3 - 26 Aug 2010, RainerBrunold
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy