2.2.1.2 Printer Connections Creation

This message instructs the domain controller (DC) to create an msPrint-ConnectionPolicy object in the Active Directory. The LDAP portion of the message is an LDAP AddRequest as specified in [RFC2251], section 4.7, and MUST have the following parameters:

 Parameter name

 Value

entry

The value of this parameter MUST be the distinguished name (DN) that corresponds to the PushedPrinterConnections container in a User or Computer container in a scoped Group Policy Object (GPO) distinguished name (DN).

attributes

The value of this parameter MUST specify the values of the uNCName, printerName, serverName, and printAttributes attributes in an AttributeList, as specified in [RFC2251], section 4.7.

The attributes parameter of this message MUST contain a list of attribute name/value pairs, as specified in the following table:

 Attribute name

 Value

objectClass

The value of this attribute MUST be the directory string value "msPrint-ConnectionPolicy".

uNCName

The value of this attribute MUST specify a value of uNCName, as specified in section 2.2.

printerName

The value of this attribute MUST specify a value of printerName, as specified in section 2.2.

serverName

The value of this attribute MUST specify a value of serverName, as specified in section 2.2.

printAttributes

The value of this attribute MUST specify a value of printAttributes, as specified in section 2.2.