You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2006/03/10 12:25:02 UTC
DO NOT REPLY [Bug 38919] New: - [daemon] prunsrv prohibits non-alphanumeric characters in service names
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38919>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38919
Summary: [daemon] prunsrv prohibits non-alphanumeric characters
in service names
Product: Commons
Version: unspecified
Platform: Other
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P2
Component: Daemon
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: stefan.vogel@med.ge.com
CC: markus.schneider@med.ge.com
On Windows, the Apache daemon prunsrv prohibits non-alphanumeric characters in
the service name, for example blanks, while installing the service
(//IS//<servicename>). Checking the service names on my machine and other
peoples PCs show that there do exist services with blanks and numeric characters
in the service name. So why is prunsrv prohibitting this?
I have searched the web for any conventions regarding Windows servce names. The
MSDN documentation for CreateService
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createservice.asp)
does only only forbid slash (/) and backslash (\). It defines the service name
like this: "Pointer to a null-terminated string that specifies the name of the
service to install. The maximum string length is 256 characters. The service
control manager database preserves the case of the characters, but service name
comparisons are always case insensitive. Forward-slash (/) and back-slash (\)
are invalid service name characters."
This should be fixed in service.c, __apxIsValidServiceName function by checking
the service name length (max 256) and making sure there is no slash or backslash.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 38919] - [daemon] prunsrv prohibits non-alphanumeric characters in service names
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38919>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38919
stefan.vogel@med.ge.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From stefan.vogel@med.ge.com 2006-03-10 12:31 -------
*** This bug has been marked as a duplicate of 38917 ***
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org