cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Authentication or Authorisation, LDAP: Answered

LDAP setup

Hello all,

I'm stumped on LDAP setup I followed all directions. Maybe someone can see an error in my config file? Appreciate any assistance.


$Foswiki::cfg{DefaultUrlHost} = 'http://devwiki';
$Foswiki::cfg{PermittedRedirectHostUrls} = 'http://192.168.124.132';
$Foswiki::cfg{ScriptUrlPath} = '/bin';
$Foswiki::cfg{ScriptUrlPaths}{view} = '$Foswiki::cfg{ScriptUrlPath}/view$Foswiki::cfg{ScriptSuffix}';
$Foswiki::cfg{ScriptDir} = '/var/www/foswiki/bin';
$Foswiki::cfg{PubUrlPath} = '/pub';
$Foswiki::cfg{PathCheckLimit} = 4200;
$Foswiki::cfg{PubDir} = '/var/www/foswiki/pub';
$Foswiki::cfg{DataDir} = '/var/www/foswiki/data';
$Foswiki::cfg{ToolsDir} = '/var/www/foswiki/tools';
$Foswiki::cfg{TemplateDir} = '/var/www/foswiki/templates';
$Foswiki::cfg{LocalesDir} = '/var/www/foswiki/locale';
$Foswiki::cfg{WorkingDir} = '/var/www/foswiki/working';
$Foswiki::cfg{ScriptSuffix} = '';
$Foswiki::cfg{OS} = 'UNIX';
$Foswiki::cfg{DetailedOS} = 'linux';
$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{Sessions}{CookieRealm} = '';
$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{AuthScripts} = 'attach,edit,manage,rename,save,upload,viewauth,rdiffauth,rest';
$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{AuthRealm} = 'Enter your WikiName. (First name and last name, no space, no dots, capitalized, e.g. JohnSmith). Cancel to register if you do not have one.';
$Foswiki::cfg{UserMappingManager} = 'Foswiki::Users::LdapUserMapping';
$Foswiki::cfg{PasswordManager} = 'Foswiki::Users::LdapPasswdUser';
$Foswiki::cfg{MinPasswordLength} = 7;
$Foswiki::cfg{Htpasswd}{FileName} = '$Foswiki::cfg{DataDir}/.htpasswd';
$Foswiki::cfg{Htpasswd}{Encoding} = 'crypt';
$Foswiki::cfg{Register}{AllowLoginName} = 1;
$Foswiki::cfg{Register}{EnableNewUserRegistration} = 1;
$Foswiki::cfg{Register}{NeedVerification} = 0;
$Foswiki::cfg{Register}{DisablePasswordConfirmation} = 0;
$Foswiki::cfg{Register}{HidePasswd} = 1;
$Foswiki::cfg{Register}{RegistrationAgentWikiName} = 'RegistrationAgent';
$Foswiki::cfg{Password} = 'orYLefTw98zPo';
$Foswiki::cfg{SafeEnvPath} = '/usr/local/bin:/usr/bin:/bin';
$Foswiki::cfg{AccessibleCFG} = [
'{ScriptSuffix}',
'{LoginManager}',
'{AuthScripts}',
'{LoginNameFilterIn}',
'{AdminUserLogin}',
'{AdminUserWikiName}',
'{SuperAdminGroup}',
'{UsersTopicName}',
'{AuthRealm}',
'{MinPasswordLength}',
'{Register}{AllowLoginName}',
'{Register}{EnableNewUserRegistration}',
'{Register}{NeedVerification}',
'{Register}{RegistrationAgentWikiName}',
'{AllowInlineScript}',
'{DenyDotDotInclude}',
'{UploadFilter}',
'{NameFilter}',
'{AccessibleCFG}',
'{AntiSpam}{EmailPadding}',
'{AntiSpam}{HideUserDetails}',
'{AntiSpam}{RobotsAreWelcome}',
'{Stats}{TopViews}',
'{Stats}{TopContrib}',
'{Stats}{TopicName}',
'{UserInterfaceInternationalisation}',
'{UseLocale}',
'{Site}{Locale}',
'{Site}{CharSet}',
'{DisplayTimeValues}',
'{DefaultDateFormat}',
'{Site}{LocaleRegexes}',
'{UpperNational}',
'{LowerNational}',
'{PluralToSingular}',
'{EnableHierarchicalWebs}',
'{WebMasterEmail}',
'{WebMasterName}',
'{NotifyTopicName}',
'{SystemWebName}',
'{TrashWebName}',
'{SitePrefsTopicName}',
'{LocalSitePreferences}',
'{HomeTopicName}',
'{WebPrefsTopicName}',
'{UsersWebName}',
'{TemplatePath}',
'{LinkProtocolPattern}',
'{NumberOfRevisions}',
'{MaxRevisionsInADiff}',
'{ReplaceIfEditedAgainWithin}',
'{LeaseLength}',
'{LeaseLengthLessForceful}',
'{Plugins}{WebSearchPath}',
'{PluginsOrder}',
'{Cache}{Enabled}',
'{Validation}{Method}',
'{Register}{DisablePasswordConfirmation}'
];
$Foswiki::cfg{INCLUDE}{AllowURLs} = 0;
$Foswiki::cfg{AllowInlineScript} = 1;
$Foswiki::cfg{RenderLoggedInButUnknownUsers} = 0;
$Foswiki::cfg{DenyDotDotInclude} = 1;
$Foswiki::cfg{UploadFilter} = '^(\\.htaccess|.*\\.(?i)(?:php[0-9s]?(\\..*)?|[sp]htm[l]?(\\..*)?|pl|py|cgi))$';
$Foswiki::cfg{NameFilter} = '[\\s\\*?~^\\$@%`"\'&;|<>\\[\\]#\\x00-\\x1f]';
$Foswiki::cfg{ForceUnsafeRegexes} = 0;
$Foswiki::cfg{GetScriptUrlFromCgi} = 0;
$Foswiki::cfg{DrainStdin} = 0;
$Foswiki::cfg{RemovePortNumber} = 0;
$Foswiki::cfg{AllowRedirectUrl} = 0;
$Foswiki::cfg{UsePathForRedirectCache} = 0;
$Foswiki::cfg{AccessibleENV} = '^(HTTP_\\w+|REMOTE_\\w+|SERVER_\\w+|REQUEST_\\w+|MOD_PERL|FOSWIKI_ACTION|PATH_INFO)$';
$Foswiki::cfg{AntiSpam}{EmailPadding} = '';
$Foswiki::cfg{AntiSpam}{HideUserDetails} = 1;
$Foswiki::cfg{AntiSpam}{RobotsAreWelcome} = 1;
$Foswiki::cfg{Log}{Dir} = '$Foswiki::cfg{WorkingDir}/logs';
$Foswiki::cfg{Log}{Implementation} = 'Foswiki::Logger::PlainFile';
$Foswiki::cfg{Log}{Action} = {
'search' => 1,
'rest' => 1,
'viewfile' => 1,
'edit' => 1,
'register' => 1,
'save' => 1,
'rename' => 1,
'changes' => 1,
'view' => 1,
'rdiff' => 1,
'upload' => 1,
'attach' => 1
};
$Foswiki::cfg{Stats}{TopViews} = 10;
$Foswiki::cfg{Stats}{TopContrib} = 10;
$Foswiki::cfg{Stats}{TopicName} = 'WebStatistics';
$Foswiki::cfg{UserInterfaceInternationalisation} = 1;
$Foswiki::cfg{Languages}{cs}{Enabled} = 1;
$Foswiki::cfg{Languages}{bg}{Enabled} = 1;
$Foswiki::cfg{Languages}{fr}{Enabled} = 1;
$Foswiki::cfg{Languages}{pl}{Enabled} = 1;
$Foswiki::cfg{Languages}{de}{Enabled} = 1;
$Foswiki::cfg{Languages}{no}{Enabled} = 1;
$Foswiki::cfg{Languages}{it}{Enabled} = 1;
$Foswiki::cfg{Languages}{fi}{Enabled} = 1;
$Foswiki::cfg{Languages}{'pt-br'}{Enabled} = 1;
$Foswiki::cfg{Languages}{ko}{Enabled} = 1;
$Foswiki::cfg{Languages}{'zh-cn'}{Enabled} = 1;
$Foswiki::cfg{Languages}{es}{Enabled} = 1;
$Foswiki::cfg{Languages}{sv}{Enabled} = 1;
$Foswiki::cfg{Languages}{nl}{Enabled} = 1;
$Foswiki::cfg{Languages}{da}{Enabled} = 1;
$Foswiki::cfg{Languages}{ru}{Enabled} = 1;
$Foswiki::cfg{Languages}{tr}{Enabled} = 1;
$Foswiki::cfg{Languages}{ja}{Enabled} = 1;
$Foswiki::cfg{Languages}{'zh-tw'}{Enabled} = 1;
$Foswiki::cfg{Languages}{pt}{Enabled} = 1;
$Foswiki::cfg{UseLocale} = 0;
$Foswiki::cfg{Site}{Locale} = 'en_US.ISO-8859-1';
$Foswiki::cfg{DisplayTimeValues} = 'gmtime';
$Foswiki::cfg{DefaultDateFormat} = '$day $month $year';
$Foswiki::cfg{Site}{LocaleRegexes} = 1;
$Foswiki::cfg{UpperNational} = '';
$Foswiki::cfg{LowerNational} = '';
$Foswiki::cfg{PluralToSingular} = 1;
$Foswiki::cfg{Store}{Implementation} = 'Foswiki::Store::RcsWrap';
$Foswiki::cfg{EnableHierarchicalWebs} = 1;
$Foswiki::cfg{Store}{RememberChangesFor} = 2678400;
$Foswiki::cfg{Store}{SearchAlgorithm} = 'Foswiki::Store::SearchAlgorithms::Forking';
$Foswiki::cfg{Store}{EgrepCmd} = '/bin/grep -E %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
$Foswiki::cfg{Store}{FgrepCmd} = '/bin/grep -F %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
$Foswiki::cfg{Store}{QueryAlgorithm} = 'Foswiki::Store::QueryAlgorithms::BruteForce';
$Foswiki::cfg{Store}{PrefsBackend} = 'Foswiki::Prefs::TopicRAM';
$Foswiki::cfg{RCS}{dirPermission} = 493;
$Foswiki::cfg{RCS}{filePermission} = 420;
$Foswiki::cfg{RCS}{AutoAttachPubFiles} = 0;
$Foswiki::cfg{RCS}{ExtOption} = '';
$Foswiki::cfg{RCS}{asciiFileSuffixes} = '\\.(txt|html|xml|pl)$';
$Foswiki::cfg{RCS}{coMustCopy} = 0;
$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{HttpCompress} = 0;
$Foswiki::cfg{MergeHeadAndScriptZones} = 0;
$Foswiki::cfg{Cache}{Enabled} = 0;
$Foswiki::cfg{Cache}{WebDependencies} = 'WebRss, WebAtom, WebTopicList, WebIndex, WebSearch, WebSearchAdvanced ';
$Foswiki::cfg{Cache}{DependencyFilter} = '$Foswiki::cfg{SystemWebName}\\..*|$Foswiki::cfg{TrashWebName}\\..*|.*Template$|TWiki\\..*';
$Foswiki::cfg{CacheManager} = 'Foswiki::Cache::FileCache';
$Foswiki::cfg{MetaCacheManager} = 'Foswiki::Cache::DB_File';
$Foswiki::cfg{Cache}{RootDir} = '$Foswiki::cfg{WorkingDir}/tmp/cache';
$Foswiki::cfg{Cache}{DBFile} = '$Foswiki::cfg{WorkingDir}/tmp/foswiki_db';
$Foswiki::cfg{Cache}{NameSpace} = '$Foswiki::cfg{DefaultUrlHost}';
$Foswiki::cfg{Cache}{MaxSize} = 1000;
$Foswiki::cfg{Cache}{Servers} = '127.0.0.1:11211';
$Foswiki::cfg{EnableEmail} = 1;
$Foswiki::cfg{WebMasterEmail} = 'dhochman@ecosys.net';
$Foswiki::cfg{WebMasterName} = 'DevWiki Administrator';
$Foswiki::cfg{MailProgram} = '/usr/sbin/sendmail -t -oi -oeq';
$Foswiki::cfg{SMTP}{MAILHOST} = 'mail.ecosys.net';
$Foswiki::cfg{SMTP}{SENDERHOST} = '';
$Foswiki::cfg{SMTP}{Username} = '';
$Foswiki::cfg{SMTP}{Password} = '';
$Foswiki::cfg{PROXY}{HOST} = '';
$Foswiki::cfg{PROXY}{PORT} = '';
$Foswiki::cfg{RemoveImgInMailnotify} = 1;
$Foswiki::cfg{NotifyTopicName} = 'WebNotify';
$Foswiki::cfg{SMTP}{Debug} = 0;
$Foswiki::cfg{SystemWebName} = 'System';
$Foswiki::cfg{TrashWebName} = 'Trash';
$Foswiki::cfg{SitePrefsTopicName} = 'DefaultPreferences';
$Foswiki::cfg{LocalSitePreferences} = '$Foswiki::cfg{UsersWebName}.SitePreferences';
$Foswiki::cfg{HomeTopicName} = 'WebHome';
$Foswiki::cfg{WebPrefsTopicName} = 'WebPreferences';
$Foswiki::cfg{UsersWebName} = 'Main';
$Foswiki::cfg{TemplatePath} = '$Foswiki::cfg{TemplateDir}/$web/$name.$skin.tmpl, $Foswiki::cfg{TemplateDir}/$name.$skin.tmpl, $web.$skinSkin$nameTemplate, $Foswiki::cfg{SystemWebName}.$skinSkin$nameTemplate, $Foswiki::cfg{TemplateDir}/$web/$name.tmpl, $Foswiki::cfg{TemplateDir}/$name.tmpl, $web.$nameTemplate, $Foswiki::cfg{SystemWebName}.$nameTemplate';
$Foswiki::cfg{LinkProtocolPattern} = '(file|ftp|gopher|https|http|irc|mailto|news|nntp|telnet)';
$Foswiki::cfg{RequireCompatibleAnchors} = 0;
$Foswiki::cfg{NumberOfRevisions} = 4;
$Foswiki::cfg{MaxRevisionsInADiff} = 25;
$Foswiki::cfg{ReplaceIfEditedAgainWithin} = 3600;
$Foswiki::cfg{LeaseLength} = 3600;
$Foswiki::cfg{LeaseLengthLessForceful} = 3600;
$Foswiki::cfg{MimeTypesFileName} = '$Foswiki::cfg{DataDir}/mime.types';
$Foswiki::cfg{WarningsAreErrors} = 0;
$Foswiki::cfg{Operators}{Query} = [
'Foswiki::Query::OP_match',
'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{ExtensionsRepositories} = 'Foswiki.org=(http://foswiki.org/Extensions/,http://foswiki.org/pub/Extensions/)';
$Foswiki::cfg{Plugins}{AutoViewTemplatePlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{AutoViewTemplatePlugin}{Module} = 'Foswiki::Plugins::AutoViewTemplatePlugin';
$Foswiki::cfg{Plugins}{CommentPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{CommentPlugin}{Module} = 'Foswiki::Plugins::CommentPlugin';
$Foswiki::cfg{Plugins}{CompareRevisionsAddonPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{CompareRevisionsAddonPlugin}{Module} = 'Foswiki::Plugins::CompareRevisionsAddonPlugin';
$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}{HistoryPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{HistoryPlugin}{Module} = 'Foswiki::Plugins::HistoryPlugin';
$Foswiki::cfg{Plugins}{InterwikiPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{InterwikiPlugin}{Module} = 'Foswiki::Plugins::InterwikiPlugin';
$Foswiki::cfg{Plugins}{JQueryPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{JQueryPlugin}{Module} = 'Foswiki::Plugins::JQueryPlugin';
$Foswiki::cfg{Plugins}{MailerContribPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{MailerContribPlugin}{Module} = 'Foswiki::Plugins::MailerContribPlugin';
$Foswiki::cfg{Plugins}{PreferencesPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{PreferencesPlugin}{Module} = 'Foswiki::Plugins::PreferencesPlugin';
$Foswiki::cfg{Plugins}{RenderListPlugin}{Enabled} = 1;
$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} = 0;
$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{PluginsOrder} = 'TWikiCompatibilityPlugin,SpreadSheetPlugin';
$Foswiki::cfg{Plugins}{WebSearchPath} = '$Foswiki::cfg{SystemWebName},TWiki';
$Foswiki::cfg{Plugins}{TablePlugin}{DefaultAttributes} = 'tableborder="1" valign="top" headercolor="#000000" headerbg="#d6d3cf" headerbgsorted="#c4c1ba" databg="#ffffff,#f7f7f6" databgsorted="#f7f7f6,#f0f0ee" tablerules="rows" headerrules="cols"';
$Foswiki::cfg{Plugins}{TablePlugin}{Debug} = 0;
$Foswiki::cfg{Plugins}{AutoViewTemplatePlugin}{Debug} = 0;
$Foswiki::cfg{Plugins}{AutoViewTemplatePlugin}{Override} = 0;
$Foswiki::cfg{Plugins}{AutoViewTemplatePlugin}{Mode} = 'exist';
$Foswiki::cfg{JQueryPlugin}{Debug} = 0;
$Foswiki::cfg{JQueryPlugin}{MemoryCache} = 1;
$Foswiki::cfg{JQueryPlugin}{IconSearchPath} = 'FamFamFamSilkIcons, FamFamFamSilkCompanion1Icons, FamFamFamFlagIcons, FamFamFamMiniIcons, FamFamFamMintIcons ';
$Foswiki::cfg{JQueryPlugin}{NoConflict} = 0;
$Foswiki::cfg{JQueryPlugin}{DefaultPlugins} = '';
$Foswiki::cfg{JQueryPlugin}{JQueryVersion} = 'jquery-1.7.1';
$Foswiki::cfg{JQueryPlugin}{JQueryTheme} = 'base';
$Foswiki::cfg{JQueryPlugin}{Plugins}{Autocomplete}{Enabled} = 0;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Bgiframe}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Button}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{BlockUI}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Chili}{Enabled} = 0;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Corner}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Cookie}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Cycle}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Debug}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Easing}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Farbtastic}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Focus}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Form}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Foswiki}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{FluidFont}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Gradient}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{HoverIntent}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{InnerFade}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{LiveQuery}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{LocalScroll}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{MaskedInput}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Masonry}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Media}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Metadata}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{PopUpWindow}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{QueryObject}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Rating}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{ScrollTo}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{SerialScroll}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Shake}{Enabled} = 0;
$Foswiki::cfg{JQueryPlugin}{Plugins}{ShrinkUrls}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{SimpleModal}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Slimbox}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Superfish}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Supersubs}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Tabpane}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{TextboxList}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Tooltip}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Treeview}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{UI}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Validate}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{WikiWord}{Enabled} = 1;
$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{SwitchBoard}{compare} = {
'function' => 'compare',
'context' => {
'comparing' => 1,
'diff' => 1
},
'package' => 'Foswiki::Contrib::CompareRevisionsAddOn::Compare'
};
$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{Htpasswd}{AutoDetect} = 0;
$Foswiki::cfg{AntiSpam}{EntityEncode} = 1;
$Foswiki::cfg{Log}{Obfuscating}{MaskIP} = 0;
$Foswiki::cfg{LanguageFileCompression} = 0;
$Foswiki::cfg{Email}{Servertime} = 0;
$Foswiki::cfg{Email}{EnableSMIME} = 0;
$Foswiki::cfg{Email}{SmimeCertificateFile} = '$Foswiki::cfg{DataDir}/cert.pem';
$Foswiki::cfg{Email}{SmimeKeyFile} = '$Foswiki::cfg{DataDir}/key.pem';
$Foswiki::cfg{JQueryPlugin}{Themes}{Base}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{Flickr}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{Lightness}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{Redmond}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{Smoothness}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{Foswiki}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Placeholder}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{PNotify}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Nifty}{Enabled} = 0;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Themeswitcher}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Tmpl}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Autocomplete'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Resizable'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Draggable'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Accordion'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Tabs'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Slider'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Dialog'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Button'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Datepicker'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Progressbar'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Loader}{Enabled} = 1;
$Foswiki::cfg{SwitchBoard}{compareauth} = {
'function' => 'compare',
'context' => {
'comparing' => 1,
'diff' => 1
},
'package' => 'Foswiki::Contrib::CompareRevisionsAddOn::Compare'
};
$Foswiki::cfg{Email}{MailMethod} = 'Net::SMTP';
$Foswiki::cfg{Ldap}{Host} = '10.22.22.42';
$Foswiki::cfg{Ldap}{Port} = 389;
$Foswiki::cfg{Ldap}{Version} = '3';
$Foswiki::cfg{Ldap}{Base} = 'dc=company,dc=local';
$Foswiki::cfg{Ldap}{BindDN} = 'cn=ldap,dc=company,dc=local';
$Foswiki::cfg{Ldap}{BindPassword} = '*************';
$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} = '';
$Foswiki::cfg{Ldap}{TLSCAFile} = '';
$Foswiki::cfg{Ldap}{TLSClientCert} = '';
$Foswiki::cfg{Ldap}{TLSClientKey} = '';
$Foswiki::cfg{Ldap}{Debug} = 1;
$Foswiki::cfg{Ldap}{UserBase} = 'ou=users,dc=company,dc=local';
$Foswiki::cfg{Ldap}{LoginFilter} = 'objectClass=user';
$Foswiki::cfg{Ldap}{UserScope} = 'sub';
$Foswiki::cfg{Ldap}{LoginAttribute} = 'sAMAccountName';
$Foswiki::cfg{Ldap}{MailAttribute} = 'mail';
$Foswiki::cfg{Ldap}{WikiNameAttributes} = 'displayName';
$Foswiki::cfg{Ldap}{NormalizeWikiNames} = 1;
$Foswiki::cfg{Ldap}{NormalizeLoginNames} = 0;
$Foswiki::cfg{Ldap}{WikiNameAliases} = '';
$Foswiki::cfg{Ldap}{RewriteWikiNames} = {
'^(.*)@.*$' => '$1'
};
$Foswiki::cfg{Ldap}{AllowChangePassword} = 0;
$Foswiki::cfg{Ldap}{SecondaryPasswordManager} = 'Foswiki::Users::HtPasswdUser';
$Foswiki::cfg{Ldap}{GroupBase} = 'ou=group,dc=my,dc=domain,dc=com';
$Foswiki::cfg{Ldap}{GroupFilter} = 'objectClass=posixGroup';
$Foswiki::cfg{Ldap}{GroupScope} = 'sub';
$Foswiki::cfg{Ldap}{GroupAttribute} = 'cn';
$Foswiki::cfg{Ldap}{PrimaryGroupAttribute} = 'gidNumber';
$Foswiki::cfg{Ldap}{MemberAttribute} = 'memberUid';
$Foswiki::cfg{Ldap}{InnerGroupAttribute} = 'memberUid';
$Foswiki::cfg{Ldap}{MemberIndirection} = 0;
$Foswiki::cfg{Ldap}{WikiGroupsBackoff} = 1;
$Foswiki::cfg{Ldap}{NormalizeGroupNames} = 0;
$Foswiki::cfg{Ldap}{MapGroups} = 0;
$Foswiki::cfg{Ldap}{RewriteGroups} = {};
$Foswiki::cfg{Ldap}{MergeGroups} = 0;
$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, AdminUser, admin, guest';
1;

-- Main.TT - 22 May 2012

Could you add a bit about what's actually going wrong? You are using Template login with the LDAP Mapper and LDAP password manager.

What LDAP implementation are you using? Active Directory? Remember that Foswiki will be case-sensitive for userids.

-- GeorgeClark - 22 May 2012

Thanks for the response. I cannot log in with my Active Directory credentials in the format of username. I still have access using the local default admin account but can't seem to get LDAP working using the LDAPContrib.

-- TimothyTrulis - 22 May 2012

I got it working! My BindDN and UserBase was not correct. I used LDAP browser to find exact DN.

-- TimothyTrulis - 22 May 2012
 

QuestionForm edit

Subject Authentication or Authorisation, LDAP
Extension LdapContrib
Version Foswiki 1.1.4
Status Answered
Related Topics
Topic revision: r5 - 23 May 2012, GeorgeClark - This page was cached on 20 Sep 2018 - 18:48.

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