Hello,
I have the following configuration in my LocalSetting.php file :
## User Rights
## '*' is anonymous
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgShowIPinHeader = false; # For non-logged in users
## Pages allowed to be read by all users (including anonymous)
$wgWhitelistRead = array( "Accueil", "-", "MediaWiki:Monobook.css",
"Special:Userlogin" );
which worked fine.
I tried to add a new page to this list :
$wgWhitelistRead = array( "Accueil", "MyNewPage", "-", "MediaWiki:
Monobook.css", "Special:Userlogin" );
but anonymous users have no access to this new page.
I don't understand what's happening. Can someone give me some help ?
Hi everyone, I'm currently developing a wiki for our corporate intranet and
I've run into a very odd problem. I'm not sure this is the list I should be
posting to, but here it goes:
It seems that no matter what I add to my LocalSettings.php at this point
(I've added settings in the past that work just fine), it results in none of
the pages of my wiki being displayed at all. Just blank pages.
Has anyone encountered this, or does anyone have any advice on what may
cause this?
Dave Pace
Yeah, that is where it seemed to be failing.
I got php compiled with the --with-ldap switch and now I actually get a
screen back telling me that I have an invalid username / password...so
that is progress I guess. I think it is still failing at the same spot
you mentioned before because now I get this message ...
Warning: ldap_set_option(): supplied argument is not a valid ldap link
resource in
/export/home/web/docs/wiki_gen/includes/LdapAuthentication.php on line
126
I am still getting these messages on the login screen too....
Entering validDomain
User is not using a valid domain, failing
I found that debug statement and added ($domain) to the line and got
nothing...
User is not using a valid domain (), failing
Is this a problem? Does this mean that it can't figure out what domain
I'm on?
Don't I have to pick my domain from the pulldown anyway?
Thanks,
~Eric
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Lane, Ryan
Sent: Tuesday, July 25, 2006 10:59 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] LDAP Help
I'd say it is pretty likely you do not have LDAP support compiled in. It
looks like the plugin is failing at "$ldapconn = @ldap_connect( $servers
);".
I'm not sure how well this is going to work on a Solaris system. Solaris
has a proprietary LDAP client, and I haven't tested the plugin on a
Solaris system with PHP compiled against Solaris's LDAP client. You can
probably install the openldap client from sunfreeware.com, and compile
PHP against that though (I'd recommend this approach in fact).
Usually most things work fine in Solaris's LDAP client, but I've noticed
TLS/SSL usually is broken completely (at least it was when I tried it
with sudo and samba).
V/r,
Ryan Lane
> -----Original Message-----
> From: mediawiki-l-bounces(a)Wikimedia.org [mailto:mediawiki-l-
> bounces(a)Wikimedia.org] On Behalf Of Frederich, Eric P2173
> Sent: Tuesday, July 25, 2006 9:33 AM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] LDAP Help
>
> Thanks,
> I tried using $wgLDAPDebug = 3; and got the following on the login
> screen.
>
> Entering validDomain
> User is not using a valid domain, failing.
>
> Then when I try to log in I get the following.
>
> Entering validDomain
> User is using a valid domain
> Entering getCanonicalName
> Munged username: Frede00e
> Entering userExists
> Entering Connect
> Entering Connect
> Using servers: ldap://xxxxxxxx.xxxxx.siemens.net
>
> -----Original Message-----
> From: mediawiki-l-bounces(a)Wikimedia.org
> [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Lane, Ryan
> Sent: Monday, July 24, 2006 3:20 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] LDAP Help
>
> You can't just copy and paste exactly. You'll have to enter values
> appropriate to your site. In the newest version of the plugin, I've
> added in debugging code. You can enable it with:
>
> $wgLDAPDebug = 1; #1-3, look at the meta page for what the levels are.
>
> If you don't know what values to use, talk to your LDAP admin. He/she
> should know. If you need more help, please post to the discussion
> section of the LDAP Authentication page in meta.
>
> V/r,
>
> Ryan Lane
>
> > -----Original Message-----
> > From: mediawiki-l-bounces(a)Wikimedia.org [mailto:mediawiki-l-
> > bounces(a)Wikimedia.org] On Behalf Of Frederich, Eric P2173
> > Sent: Monday, July 24, 2006 1:52 PM
> > To: MediaWiki announcements and site admin list
> > Subject: [Mediawiki-l] LDAP Help
> >
> > I am trying to get the LDAP Plugin working for use on a corporate
site
> > here.
> > I now see a "your domain" pull down on the log in screen which tells
> me
> > I have done something correct.
> >
> > My problem is that when I try logging in nothing happens. I don't
see
> > any errors. I am at a blank page that says.
> > The address bar has
> >
>
http://my_server/my_wiki/index.php?title=Special:Userlogin&action=submit
> > login&type=login&returnto=Main_Page
> >
> > All I did was copy the code from
> > http://bugzilla.wikipedia.org/attachment.cgi?id=2050&action=view
into
> my
> > includes directory and then paste the lines from the configuration
> > example here...
> >
>
http://meta.wikimedia.org/wiki/LDAP_Authentication_Configuration_Example
> > s#Configuration_for_an_AD_Server
> >
> > I tried disabling the use of SSL by turning $wgLDAPUseSSL to false
in
> > LocalSettings.php.
> >
> > Any ideas on how to debug this problem?
> >
> > Thanks in advance,
> > ~Eric
> >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)Wikimedia.org
> > http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Hello,
I'm having a problem with posting/retrieving arguments via GET method. How
can I postpone few arguments? How can I retrieve them?
With POST method I use to do it like that:
$action = $wgTitle->escapeLocalURL();
<form action='$action' method='post'>
<input type='hidden' name='hidd' value='testing1'>
<input type='submit' name='test' value='test'>
</form>
When I want to retrieve an argument 'hidd' value, I just type:
$retrieved_argument = $wgRequest->getText( 'hidd' );
That's it. Can you help me with GET method ?
Borut
I forward this mail to the mailing list, for the database experts to
take a bite :-)
-------- Original Message --------
Subject: MediaWiki ADO/MSSQL database plugin
Date: Tue, 25 Jul 2006 18:06:44 +0400
From: Prihodko A <prihodko(a)frsd.ru>
To: eloquence(a)users.sourceforge.net <eloquence(a)users.sourceforge.net>,
magnus_manske(a)users.sourceforge.net <magnus_manske(a)users.sourceforge.net>
Dear MediaWiki developers,
It is so happen that adopting MeidaWiki to MS SQL db engine,
i made a db-plug-in for MediaWiki that allows to use an ADO (OLE DB)
database.
Also an installation SQL script was prepared for MediaWiki version 1.6.6.
If you are interesting in this question, I would be happy to publish
that experience.
Sincerely,
Sasha Prihodko
"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada exclusivamente a seu destinatário e pode conter informações confidenciais, protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."
"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a government company established under Brazilian law (5.615/70) -- is directed exclusively to its addressee and may contain confidential data, protected under professional secrecy rules. Its unauthorized use is illegal and may subject the transgressor to the law's penalties. If you're not the addressee, please send it back, elucidating the failure."
Thanks,
I tried using $wgLDAPDebug = 3; and got the following on the login
screen.
Entering validDomain
User is not using a valid domain, failing.
Then when I try to log in I get the following.
Entering validDomain
User is using a valid domain
Entering getCanonicalName
Munged username: Frede00e
Entering userExists
Entering Connect
Entering Connect
Using servers: ldap://xxxxxxxx.xxxxx.siemens.net
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Lane, Ryan
Sent: Monday, July 24, 2006 3:20 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] LDAP Help
You can't just copy and paste exactly. You'll have to enter values
appropriate to your site. In the newest version of the plugin, I've
added in debugging code. You can enable it with:
$wgLDAPDebug = 1; #1-3, look at the meta page for what the levels are.
If you don't know what values to use, talk to your LDAP admin. He/she
should know. If you need more help, please post to the discussion
section of the LDAP Authentication page in meta.
V/r,
Ryan Lane
> -----Original Message-----
> From: mediawiki-l-bounces(a)Wikimedia.org [mailto:mediawiki-l-
> bounces(a)Wikimedia.org] On Behalf Of Frederich, Eric P2173
> Sent: Monday, July 24, 2006 1:52 PM
> To: MediaWiki announcements and site admin list
> Subject: [Mediawiki-l] LDAP Help
>
> I am trying to get the LDAP Plugin working for use on a corporate site
> here.
> I now see a "your domain" pull down on the log in screen which tells
me
> I have done something correct.
>
> My problem is that when I try logging in nothing happens. I don't see
> any errors. I am at a blank page that says.
> The address bar has
>
http://my_server/my_wiki/index.php?title=Special:Userlogin&action=submit
> login&type=login&returnto=Main_Page
>
> All I did was copy the code from
> http://bugzilla.wikipedia.org/attachment.cgi?id=2050&action=view into
my
> includes directory and then paste the lines from the configuration
> example here...
>
http://meta.wikimedia.org/wiki/LDAP_Authentication_Configuration_Example
> s#Configuration_for_an_AD_Server
>
> I tried disabling the use of SSL by turning $wgLDAPUseSSL to false in
> LocalSettings.php.
>
> Any ideas on how to debug this problem?
>
> Thanks in advance,
> ~Eric
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
This is on Solaris.
I didn't think PHP needed ldap support, I thought that was all handled
by the plugin.
I will ask the guy who compiled it and see if he compiled it with ldap
support or not.
~Eric
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of
Markus.Gierich(a)fiducia.de
Sent: Monday, July 24, 2006 3:09 PM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] Antwort: LDAP Help
Have you compiled PHP with ldap support? I had the same problem in the
past. Do
you work on linux or windows? E.g. you can use tcpdump
to see the network traffic between your server and the AD. If there is
no action
your PHP doesn't work the right way.
----------------------------------------------------
Wikimedia.org
Von: "Frederich, Eric An: "MediaWiki announcements and site admin
list"
P2173"
<eric.frederich
@siemens.com>
gesendet von:
mediawiki-l-bounces
@Wikimedia.org
Vom: 24.07.2006 20:52
Bitte antworten an
MediaWiki
announcements and
site admin list
Thema: [Mediawiki-l] LDAP Help
I am trying to get the LDAP Plugin working for use on a corporate site
here.
I now see a "your domain" pull down on the log in screen which tells me
I have done something correct.
My problem is that when I try logging in nothing happens. I don't see
any errors. I am at a blank page that says.
The address bar has
http://my_server/my_wiki/index.php?title=Special:Userlogin&action=submit
login&type=login&returnto=Main_Page
All I did was copy the code from
http://bugzilla.wikipedia.org/attachment.cgi?id=2050&action=view into my
includes directory and then paste the lines from the configuration
example here...
http://meta.wikimedia.org/wiki/LDAP_Authentication_Configuration_Example
s#Configuration_for_an_AD_Server
I tried disabling the use of SSL by turning $wgLDAPUseSSL to false in
LocalSettings.php.
Any ideas on how to debug this problem?
Thanks in advance,
~Eric
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> I have a project on Sourceforge that has a mediawiki (1.6.8), which is
> working well.
> I want to enable Math support for latex equations. It doesn't work,
> and I've read all the "it doesn't work pages"
Sourceforge does not allow the webserver to create images on the fly.
I had a similar problem and ended up using mimetex: see
http://meta.wikimedia.org/wiki/LaTex_on_a_shared_host or
http://meta.wikimedia.org/wiki/Mimetex_alternative
SF
I inserted the code into the skin of the wiki, I'm wondering if that
would work....
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Arjun Jacob
Thomas
Sent: Tuesday, July 25, 2006 10:59 AM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] Adding google analytics features to your wiki
Has anyone attempted to add the Google analytics tracker to their wiki
pages?? I'm finding it very difficult to do so, any help would be most
appreciated... I need to add the following code to every page on the
wiki..
<script src="http://www.google-analytics.com/urchin.js"
type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-XXXXX-X";
urchinTracker();
</script>
Thanks in advance..
AJ>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l