<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=%24ADD_PROXY</id>
	<title>$ADD PROXY - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=%24ADD_PROXY"/>
	<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=$ADD_PROXY&amp;action=history"/>
	<updated>2026-04-30T10:07:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.vmssoftware.com/index.php?title=$ADD_PROXY&amp;diff=837&amp;oldid=prev</id>
		<title>Darya.zelenina: Created page with &quot;&#039;&#039;&#039;$ADD_PROXY&#039;&#039;&#039; is a system service that adds a new proxy to, or modifies an existing proxy in, the proxy database.  =Syntax=  SYS$ADD_PROXY rem_node ,rem_...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=$ADD_PROXY&amp;diff=837&amp;oldid=prev"/>
		<updated>2019-06-08T13:31:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;$ADD_PROXY&amp;#039;&amp;#039;&amp;#039; is a &lt;a href=&quot;/System_Service&quot; title=&quot;System Service&quot;&gt;system service&lt;/a&gt; that adds a new proxy to, or modifies an existing proxy in, the proxy database.  =Syntax=  SYS$ADD_PROXY rem_node ,rem_...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;$ADD_PROXY&amp;#039;&amp;#039;&amp;#039; is a [[System Service|system service]] that adds a new proxy to, or modifies an existing proxy in, the proxy database.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
 SYS$ADD_PROXY rem_node ,rem_user ,local_user ,[flags]&lt;br /&gt;
&lt;br /&gt;
C Prototype:&lt;br /&gt;
 int sys$add_proxy (void *rem_node, void *rem_user, void *local_user, unsigned int&lt;br /&gt;
                   flags);&lt;br /&gt;
=Arguments=&lt;br /&gt;
==rem_node==&lt;br /&gt;
{{SyservArgument|char_string|character-coded text string|read only|by descriptor–fixed-length string descriptor}}&lt;br /&gt;
&lt;br /&gt;
Remote node name of the proxy to be added to or modified in the proxy database. The rem_node argument is the address of a character-string descriptor pointing to the remote node name string. A remote node name consists of 1 to 1024 characters. No specific characters, format, or case are required for a remote node name string. Node names are converted to their DECnet for OpenVMS full name unless the PRX$M_BYPASS_EXPAND flag is set with the flags argument. If you specify a single asterisk ( * ) for the rem_node argument, the user name specified by the rem_user argument on all nodes is served by the proxy.&lt;br /&gt;
&lt;br /&gt;
==rem_user==&lt;br /&gt;
{{SyservArgument|char_string|character-coded text string|read only|by descriptor–fixed-length string descriptor}}&lt;br /&gt;
&lt;br /&gt;
Remote user name of the proxy to be added to or modified in the proxy database. The rem_user argument is the address of a character-string descriptor pointing to the user name string.&lt;br /&gt;
A remote user name consists of 1 to 32 alphanumeric characters, including dollar signs ( $ ), underscores ( _ ), and brackets ( [ ] ). Any lowercase characters specified are automatically converted to uppercase. The rem_user argument can be specified in user identification code (UIC) format ( [group, member] ). Brackets are allowed only if the remote user name string specifies a UIC. Group and member are character-string representations of octal numbers with no leading zeros.&lt;br /&gt;
&lt;br /&gt;
If you specify a single asterisk ( * ) for the rem_user argument, all users from the node specified by the rem_node argument are served by the same user names specified by the local_user argument.&lt;br /&gt;
&lt;br /&gt;
==local_user==&lt;br /&gt;
{{SyservArgument|char_string|character-coded text string|read only|by descriptor–fixed-length string descriptor}}&lt;br /&gt;
&lt;br /&gt;
Local user name to add to the proxy record specified by the rem_node and rem_user arguments in the proxy database as either the default user or local user. The local_user argument is the address of a character-string descriptor pointing to the local user name. A local user name consists of 1 to 32 alphanumeric characters, including dollar signs ( $ ) and underscores ( _ ). Any lowercase characters specified are automatically converted to uppercase. The user name specified by the local_user argument must be a user name known to the local system.&lt;br /&gt;
If the PRX$M_DEFAULT flag is specified in the flags argument, the user name specified by the local_user argument will be added to the proxy record in the proxy database as the default user. If a default user already exists for the specified proxy record, the default user is placed into the proxy’s local user list and is replaced by the user name specified by the local_user argument. Proxy records can contain no more than 16 local users and 1 default user. To add multiple users to a single proxy, you must call this service once for each local&lt;br /&gt;
user.&lt;br /&gt;
&lt;br /&gt;
==flags==&lt;br /&gt;
{{SyservArgument|mask_longword|longword (unsigned)|read only|by value}}&lt;br /&gt;
&lt;br /&gt;
Functional specification for the service and type of user the local_user argument represents. The flags argument is a longword bit mask wherein each bit corresponds to an option.&lt;br /&gt;
Each flag option has a symbolic name. The $PRXDEF macro defines the following symbolic names:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Symbolic Name &lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| PRX$M_BYPASS_EXPAND &lt;br /&gt;
| The service should not convert the node name specified in the rem_node argument to its corresponding DECnet for OpenVMS full name. If this flag is set, it is the caller’s responsibility to ensure that the fully expanded node name is passed into the service.&lt;br /&gt;
|-&lt;br /&gt;
| PRX$M_DEFAULT &lt;br /&gt;
| The user name specified by the local_user argument is the default user for the proxy. If this flag is not specified, the user name specified by the local_user argument is added to the&lt;br /&gt;
proxy record’s local user list.&lt;br /&gt;
|-&lt;br /&gt;
| PRX$M_IGNORE_RETURN &lt;br /&gt;
| The service should not wait for a return status from the security server. No return status from the server’s function will be returned to the caller.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Privileges Required=&lt;br /&gt;
The caller must have either [[SYSPRV]] privilege or a [[UIC]] group less than or equal to the [[MAXSYSGRP]] system parameter.&lt;br /&gt;
&lt;br /&gt;
=Condition Values Returned=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Value&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| SS$_NORMAL &lt;br /&gt;
| The service completed successfully.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_ACCVIO &lt;br /&gt;
| The rem_node, rem_user, local_user, or flags argument cannot be read by the service.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_BADPARAM &lt;br /&gt;
| An invalid flag was specified in the flags argument.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_BADBUFLEN &lt;br /&gt;
| The length of the rem_node, rem_user, or local_user argument was out of range.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_NOSYSPRV &lt;br /&gt;
| The caller does not have access to the proxy database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This service can also return any of the following messages passed from the security server, or any OpenVMS RMS error message encountered during operations on the proxy database:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Message&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| SECSRV$_BADLOCALUSERLEN&lt;br /&gt;
| The local user name length is out of range.&lt;br /&gt;
|-&lt;br /&gt;
| SECSRV$_BADNODENAMELEN&lt;br /&gt;
| The node name length is out of range.&lt;br /&gt;
|-&lt;br /&gt;
| SECSRV$_BADREMUSERLEN&lt;br /&gt;
| The remote user name length is out of range.&lt;br /&gt;
|-&lt;br /&gt;
| SECSRV$_DUPLICATEUSER&lt;br /&gt;
| The user name specified by the local_user argument already exists in the proxy record’s local user list.&lt;br /&gt;
|-&lt;br /&gt;
| SECSRV$_PROXYNOTACTIVE&lt;br /&gt;
| Proxy processing is currently stopped. Try the request again later.&lt;br /&gt;
|-&lt;br /&gt;
| SECSRV$_SERVERNOTACTIVE&lt;br /&gt;
| The security server is not currently active. Try the request again later.&lt;br /&gt;
|-&lt;br /&gt;
| SECSRV$_TOOMANYUSERS&lt;br /&gt;
| The specified proxy already has 16 local users and cannot accommodate any more.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
* [[$DELETE_PROXY]]&lt;br /&gt;
* [[$DISPLAY_PROXY]]&lt;br /&gt;
* [[$VERIFY_PROXY]]&lt;br /&gt;
&lt;br /&gt;
[[Category:System Services]]&lt;/div&gt;</summary>
		<author><name>Darya.zelenina</name></author>
	</entry>
</feed>