RE: Fwd: General Feedback

"Deshpande, Rohini \(IESL\)" <[email protected]> Tue, 5 Feb 2013 15:35:19 +0000
Newsgroups gmane.network.open-pegasus.general
Message-ID <8C960127410A8847873958DE25FE3FED2885B36B@G9W0748.americas.hpqcorp.net>
Hi Vijayalakshmi,

We are trying to reproduce this issue locally so that we can help you. Can you tell us the steps to reproduce? What client are you using ? Have you tried using some other client? By client I mean CIMClient, cimcli or wbemexec.

I'm guessing it is on Windows OS since the user is "Administrator".

Regards,
Rohini
Software Engineer/OpenPegasus Committer
Hewlett Packard

From: Devchandra L Meetei [mailto:[email protected]]
Sent: Tuesday, January 22, 2013 4:07 PM
To: Vijayalakshmi Subramanyam
Cc: [email protected]
Subject: Re: Fwd: General Feedback

Considerring that you are building yourself from sources ,
I guess g11n and l18n support in pegasus is done through ICU.
May be you can try with ICU version lesser than 3.6.


On Tue, Jan 22, 2013 at 4:03 PM, Vijayalakshmi Subramanyam <[email protected]<mailto:[email protected]>> wrote:
Hi Devchandra,

Currently we have not building our code with any ICU version. I do not see the environment variable
PEGASUS_HAS_ICU defined on my system.

Thanks,
Viji
On Tue, Jan 22, 2013 at 3:45 PM, Devchandra L Meetei <[email protected]<mailto:[email protected]>> wrote:
Which version of ICU you are using, We will just check and get back tou you


On Tue, Jan 22, 2013 at 3:34 PM, Martin Kirk <[email protected]<mailto:[email protected]>> wrote:
Hi,

We are using the Open Pegasus version 2.10 in our application.
When we login to the application, we authenticate the username with the cimserver Authentication

In order to support Russian and German users, how can we authenticate usernames with special characters ?
Currently any username with special character is not being authenticated correctly. It is returned as "unauthorised" though a valid user is present.

Here is an extract of the cimserver.trc and log for a German username - Ädministrator

We have changed the Accept-Language header to accept German language and I ran this test on a German OS.

cimserver.trc

Connection: Keep-alive
11-CIMOperation: MethodCall
Content-type: application/xml; charset="utf-8"
Content-Language: de
11-CIMMethod: EnumerateInstances
Content-length: 670
Man: http://www.dmtf.org/cim/mapping/http/v1.0;ns=11
TE: trailers
Accept-Language: de, de-DE, *
Host: 127.0.0.1
11-CIMObject: root/PG_InterOp
Cache-Control: no-cache
11-CIMProtocolVersion: 1.0
Accept: text/html, text/xml, application/xml

<?xml version="1.0" encoding="UTF-8"?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0"><MESSAGE ID="419577" PROTOCOLVERSION="1.0"><SIMPLEREQ><IMETHODCALL NAME="EnumerateInstances"><LOCALNAMESPACEPATH><NAMESPACE NAME="root"/><NAMESPACE NAME="PG_InterOp"/></LOCALNAMESPACEPATH><IPARAMVALUE NAME="ClassName"><CLASSNAME NAME="ARC_RegisteredProfile"/></IPARAMVALUE><IPARAMVALUE NAME="LocalOnly"><VALUE>true</VALUE></IPARAMVALUE><IPARAMVALUE NAME="DeepInheritance"><VALUE>true</VALUE></IPARAMVALUE><IPARAMVALUE NAME="IncludeQualifiers"><VALUE>false</VALUE></IPARAMVALUE><IPARAMVALUE NAME="IncludeClassOrigin"><VALUE>false</VALUE></IPARAMVALUE></IMETHODCALL></SIMPLEREQ></MESSAGE></CIM>
1358468400s-694352us: Http [1964:18446744073709551614:HTTPAuthenticatorDelegator.cpp:115]: Entering method HTTPAuthenticatorDelegator::_sendResponse
1358468400s-694352us: Http [1964:18446744073709551614:HTTPConnection.cpp:350]: Entering method HTTPConnection::handleEnqueue
1358468400s-694352us: Http [1964:18446744073709551614:HTTPConnection.cpp:375]: HTTPConnection::handleEnqueue - HTTP_MESSAGE
1358468400s-694352us: XmlIO [1964:18446744073709551614:HTTPConnection.cpp:479]: <!-- Response: queue id: 21 -->
HTTP/1.1 401 Unauthorized

Log File

01/18/13-05:50:00 INFO    cimserver: Authentication failed for user Ädministrator from client IP address 127.0.0.1.
01/18/13-05:52:43 INFO    cimserver: Authentication failed for user Ädministrator from client IP address 127.0.0.1.
01/18/13-05:55:12 INFO    cimserver: Authentication failed for user Ädministrator from client IP address 127.0.0.1.

I tried adding usernames with special characters using cimauth and cimuser applications .It fails with an unknown exception.
Am I missing something ? Any help would be appreciated.

Thanks & Regards,
Vijayalakshmi Subramanyam
Staff SW Design Engineer
PMC Sierra India Pvt Ltd



--
Warm Regards
--Dev
OpenPegasus Developer
"It's Always better to try and fail instead of not doing/trying anything"




--
Warm Regards
--Dev
OpenPegasus Developer
"It's Always better to try and fail instead of not doing/trying anything"