![]() $wgAuthLDAPBindDN = array( 'ramkee.local' => 'cn=admin,dc=ramkee,dc=local') is my LDAP server name require_once 'extensions/LdapAuthentication/LdapAuthentication.php' Those who are there in LDAP database those need not to create an account in our mediawiki, they can directly login with out creation of wiki account. then you will get authenticate to your LDAP databse. if any one need it, follow this you might be succeedĪfter creation of successful mediawiki page you will get fresh localsettings.php. I found my self where i did mistake, here am providing my localsettings.php. one admin can able to login, general users also not able to login. My ldap is also working, port 389 is oprned, and ldapsearch -x is also working. Whenever i try to create a account for ldap, it is showing that you dont have rights to update the database.(my database is mysql) while account creation the following error am gettingĪnd while log in as administrator it is accepting (administrator is not there in LDAP) # 'cn=chulbul,ou=people,dc=ramkee,dc=local' # 'cn=admin,ou=groups,dc=ramkee,dc=local', $wgLDAPGroupUseRetrievedUsername = array( 'testADdomain' => false $wgLDAPGroupUseFullDN = array( 'testADdomain' => false ) 'testADdomain' => 'KnfMdMI0qiH9HZBQw7JkqLyEni/wp34x' 'testADdomain' => 'ou=people,dc=ramkee,dc=local' 'testADdomain' => 'ou=group,dc=ramkee,dc=local' 'testADdomain' => 'dc=LDAP,dc=ramkee,dc=local' 'testADdomain' => 'uid=USER-NAME,ou=people,dc=ramkee,dc=local'.'' 'testADdomain' => array( LDAP_OPT_DEREF, 1) # End of automatically generated settings. require_once( "$IP/extensions/Ldapauthentication/LdapAutoAuthentication.php" ) $wgAuth = new LdapAuthenticationPlugin() ![]() Require_once( "$IP/extensions/Ldapauthentication/LdapAuthentication.php" ) ![]() The current situation is general can able to create an account in my mediawiki, but where as ldap users can not able to create. I was installed ldapauthentication module from media wiki ldapauthentication page But iwant to provide LDAP users authentication login and aswellas general users login. i had configured php and mysql with mediawiki. ![]()
0 Comments
Leave a Reply. |