Magnolia's native authentication

View: New views
9 Messages — Rating Filter:   Alert me  

Magnolia's native authentication

by Vladimir Kashirin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello, could you please tell how to reset the password for superuser? Your script with me at all for some reason did not work out: (If there is any instruction - would be very grateful.
Situaptsiya next - has physical access to the magnolia, but the password only editorial. Password superuser simply lost.

http://wiki.magnolia-cms.com/display/WIKI/Reset+all+passwords -
It says how to reset the password for the user, but the script does not work. It does not work because of errors xml, writes in the output.
Could you give a recipe correction?

I'm sorry, forgive me my English ... I am from Russia.

p.s. If this is important - the Enterprise version, and ce. Try something I can at ce, as the Enterprise is working on productions,.
p.s.s. If there is any option to reset the password but this script - Weácan please.

Thanks in advance!

Re: Magnolia's native authentication

by Zdenek Skodik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Vladimir,

there is a wiki page [1] which describes the recreating
of anonymous user/role. Just change all occurrences of
"anonymous" with "superuser" and it should work for you,
the superuser will be recreated with its default password.
(I've done it once by that way and no problem).  

[1] http://wiki.magnolia-cms.com/display/WIKI/Recreating+the+anonymous
+user

-  
Best regards,

Zdenek Skodik
Magnolia International Ltd.

Magnolia®  - Simple Open-Source Content Management


On Ne, 2009-11-08 at 01:26 +0500, Vladimir Kashirin wrote:

>
> Hello, could you please tell how to reset the password for superuser?
> Your script with me at all for some reason did not work out: (If there
> is any instruction - would be very grateful.
> Situaptsiya next - has physical access to the magnolia, but the
> password only editorial. Password superuser simply lost.
>
>
>
> http://wiki.magnolia-cms.com/display/WIKI/Reset+all+passwords -
> It says how to reset the password for the user, but the script does
> not work. It does not work because of errors xml, writes in the
> output.
> Could you give a recipe correction?
>
> I'm sorry, forgive me my English ... I am from Russia.
>
> p.s. If this is important - the Enterprise version, and ce. Try
> something I can at ce, as the Enterprise is working on productions,.
> p.s.s. If there is any option to reset the password but this script -
> Weácan please.
>
> Thanks in advance!
>


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------


Re: Magnolia's native authentication

by Владимир Каширин :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you! 
As I understand it, you must run shell and from there to run the script? 
I just ran as follows ... - Put the script in the docroot in magnolia and passing authorization Editor - tried to run at. Perhaps it was my mistake?


Re: Magnolia's native authentication

by Zdenek Skodik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



In this case should be sufficient just to run the script
from the docroot folder, any additional settings isn't
required. I usually use shell for running more complex
scripts or in case when repository is corrupted.

There is also a way, if you have some user in your
Magnolia with export/import permissions to login
using that account and import the superuser using standard
import tool (or export him from your Public and import
to Author if the superuser account is valid on Public).
The path in the script refers to the default superuser
account bundled with magnolia-core-x.jar.

-  
Best regards,

Zdenek Skodik
Magnolia International Ltd.

Magnolia®  - Simple Open-Source Content Management


On Po, 2009-11-09 at 13:59 +0500, Владимир Каширин wrote:
> Thank you!
> As I understand it, you must run shell and from there to run the
> script?
> I just ran as follows ... - Put the script in the docroot in magnolia
> and passing authorization Editor - tried to run at. Perhaps it was my
> mistake?


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------


Re: Magnolia's native authentication

by Владимир Каширин :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you - I mean the script ran true ... 
p.s. I do not have access to the import \ export.


Re: Magnolia's native authentication

by Vladimir Kashirin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Unfortunately I just can not cope with the authorization: ( 
Came across the article: 
http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security 
do as I said, get this error: 
info.magnolia.cms.security.SystemUserManager: realm of System User manager is not set! 

And the authorization falls off completely - not even enter the working account. 

What am I doing wrong? Help:) 
Thank you in advance

Re: Magnolia's native authentication

by Jan Haderka-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Fri, 2009-11-13 at 00:48 +0500, Vladimir Kashirin wrote:
> Unfortunately I just can not cope with the authorization: (
> Came across the article:
> http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security 
> do as I said, get this error:
> info.magnolia.cms.security.SystemUserManager: realm of System User
> manager is not set!

That sounds more like some configuration error somewhere. Are you using
LDAP or default security configuration?
Jan
>
> And the authorization falls off completely - not even enter the
> working account.
>
> What am I doing wrong? Help:)
> Thank you in advance


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------


Re: Magnolia's native authentication

by Vladimir Kashirin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Default ... 

On Fri, Nov 13, 2009 at 2:05 AM, Jan Haderka <jan.haderka@...> wrote:

On Fri, 2009-11-13 at 00:48 +0500, Vladimir Kashirin wrote:
> Unfortunately I just can not cope with the authorization: (
> Came across the article:
> http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security
> do as I said, get this error:
> info.magnolia.cms.security.SystemUserManager: realm of System User
> manager is not set!

That sounds more like some configuration error somewhere. Are you using
LDAP or default security configuration?
Jan
>
> And the authorization falls off completely - not even enter the
> working account.
>
> What am I doing wrong? Help:)
> Thank you in advance


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------



Re: Magnolia's native authentication

by Jan Haderka-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I traced the message to:
        if (StringUtils.isEmpty(name)) {
            log.error("realm of system user manager is not set!");
            return Realm.REALM_SYSTEM;
        }

which in your case doesn't seem to be a problem as you are trying to log
in as a superuser anyway. Can you post somewhere (pastebin.com for
example) the whole log file and send here the link to it?

Cheers,
Jan


On Fri, 2009-11-13 at 11:04 +0500, Vladimir Kashirin wrote:

> Default ...
>
> On Fri, Nov 13, 2009 at 2:05 AM, Jan Haderka
> <jan.haderka@...> wrote:
>        
>         On Fri, 2009-11-13 at 00:48 +0500, Vladimir Kashirin wrote:
>         > Unfortunately I just can not cope with the authorization: (
>         > Came across the article:
>         > http://wiki.magnolia-cms.com/display/WIKI/Messed+Up+Security
>         > do as I said, get this error:
>         > info.magnolia.cms.security.SystemUserManager: realm of
>         System User
>         > manager is not set!
>        
>        
>         That sounds more like some configuration error somewhere. Are
>         you using
>         LDAP or default security configuration?
>         Jan
>         >
>         > And the authorization falls off completely - not even enter
>         the
>         > working account.
>         >
>         > What am I doing wrong? Help:)
>         > Thank you in advance
>        
>        
>        
>        
>         ----------------------------------------------------------------
>         For list details see
>         http://www.magnolia-cms.com/home/community/mailing-lists.html
>         To unsubscribe, E-mail to:
>         <user-list-unsubscribe@...>
>         ----------------------------------------------------------------
>        
>        
>


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------