Re: Fwd: General Feedback
Martin Kirk <[email protected]> Tue, 22 Jan 2013 10:04:18 +0000
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Organization | The Open Group |
| Message-ID | <[email protected]> |
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