Just like this old post (http://social.technet.microsoft.com/Forums/windowsserver/en-US/c9a445e2-b28f-4e57-bfef-c1a2f89b8cd6/printers-not-being-published-in-active-directory) I'm noticing some issues with printers being published to AD. However
the error code I'm seeing is 8007200d.
Q:\>err 8007200d
# as an HRESULT: Severity: FAILURE (1), Facility: 0x7, Code 0x200d
# for hex 0x200d / decimal 8205 :
ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS winerror.h
# The specified directory service attribute or value already
# exists.
# 1 matches found for "8007200d"
An example of the event which only has fired for this specific printer. ItIS published in AD however and can be found with the Find Network Printer wizard. It's been on this print server for well over a year too.
Log Name: Microsoft-Windows-PrintService/Admin
Source: Microsoft-Windows-PrintService
Date: 9/13/2013 10:47:07 AM
Event ID: 322
Task Category: Publishing a printer in the Active Directory
Level: Error
Keywords: Active Directory,Classic Spooler Event
User: SYSTEM
Computer: PrintServer.MYDOMAIN.COM
Description:
While attempting to publish the printer to the Active Directory directory service, Windows failed to publish property printBinNames at LDAP://its-ad-a1.MYDOMAIN.COM/CN=PrintServer-AA-BB-4SE-COLOR-FXLSR,CN=PrintServer,OU=Level5,OU=Servers,OU=ManagedObjects,DC=ABC,DC=MYDOMAIN,DC=org. Error: 8007200d
Using ldifde I queried AD to find out what it has about this specific printer:
ldifde -s its-ad-a1.ABC.MyDomain.org -r objectclass=printqueue -d "CN=PrintServer-AA-BB-4SE-COLOR-FXLSR,CN=PrintServer,OU=Level5,OU=Servers,OU=ManagedObjects,DC=ABC,DC=MyDomain,DC=org" -f test2.txt
Oddly enough, there is no printBinNames in the output:
dn: CN=PrintServer-AA-BB-4SE-COLOR-FXLSR,CN=PrintServer,OU=Level5,OU=Servers,OU=ManagedObjects,DC=ABC,DC=MyDomain,DC=org
changetype: add
objectClass: top
objectClass: leaf
objectClass: connectionPoint
objectClass: printQueue
cn: PrintServer-AA-BB-4SE-COLOR-FXLSR
description: 172.28.30.26, HP CM1415fnw
distinguishedName:
CN=PrintServer-AA-BB-4SE-COLOR-FXLSR,CN=PrintServer,OU=Level5,OU=Servers,OU=
ManagedObjects,DC=ABC,DC=MyDomain,DC=org
instanceType: 4
whenCreated: 20130911233154.0Z
whenChanged: 20130911233204.0Z
uSNCreated: 629573861
uSNChanged: 629573861
name: PrintServer-AA-BB-4SE-COLOR-FXLSR
objectGUID:: b51qMLuOCUmGgwWkBWarAg==
flags: 0
uNCName: \\PrintServer.ABC.MyDomain.org\AA-BB-4SE-COLOR-FXLSR
versionNumber: 4
location: XXX
serverName: PrintServer.ABC.MyDomain.org
portName: 172.28.30.26
driverName: HP Universal Printing PCL 6 (v5.6.5)
priority: 1
printStartTime: 60
printEndTime: 60
printMaxResolutionSupported: 600
printOrientationsSupported: LANDSCAPE
printOrientationsSupported: PORTRAIT
printCollate: TRUE
printColor: TRUE
printLanguage: PCLXL
printShareName: AA-BB-4SE-COLOR-FXLSR
printSpooling: PrintAfterSpooled
printKeepPrintedJobs: FALSE
driverVersion: 1025
printMaxXExtent: 4318
printMaxYExtent: 9144
printMinXExtent: 762
printMinYExtent: 1270
printStaplingSupported: FALSE
printMemory: 131072
printRate: 12
printRateUnit: PagesPerMinute
printMediaReady: Letter
printNumberUp: 6
printMediaSupported: Oficio 8.5x13
printMediaSupported: Custom
printMediaSupported: 16K 197x273 mm
printMediaSupported: 16K 184x260 mm
printMediaSupported: 16K 195x270 mm
printMediaSupported: 10x15cm
printMediaSupported: 5x8
printMediaSupported: 4x6
printMediaSupported: Double Japan Postcard Rotated
printMediaSupported: A6
printMediaSupported: Japanese Postcard
printMediaSupported: Envelope Monarch
printMediaSupported: Envelope B5
printMediaSupported: Envelope C5
printMediaSupported: Envelope DL
printMediaSupported: Envelope #10
printMediaSupported: B5 (JIS)
printMediaSupported: A5
printMediaSupported: A4
printMediaSupported: Executive
printMediaSupported: Legal
printMediaSupported: Letter
printerName: AA-BB-4SE-COLOR-FXLSR
printPagesPerMinute: 12
url: http://PrintServer.ABC.MyDomain.org/AA-BB-4SE-COLOR-FXLSR
objectCategory:
CN=Print-Queue,CN=Schema,CN=Configuration,DC=rootad,DC=MyDomain,DC=org
shortServerName: PrintServer
printDuplexSupported: FALSE
dSCorePropagationData: 16010101000000.0Z
Why then would Windows through EventID 322? printBinNames doesnt exist to conflict with per the error code thrown.
Even more odd is that I believe this error was preventing another newly crated printer from being published. A new printer was created on the PrintServer. But the printer would now show up in the Find network printer wizard. Right at the
same time I added this new printer, the Event ID 322 for the unrelated printer (AA-BB-4SE-COLOR-FXLSR) was logged. Odd.
I then unpublished and republished the AA-BB-4SE-COLOR-FXLSR printer. Windows logged both success and the same failure! Also interesting is the published name it used is different
9/13/2013 12:47:19 PM - The printer was successfully removed from the Active Directory directory service. Print queue CN=PrintServer-AA-BB-4SE-COLOR-FXLSR was successfully deleted from container LDAP://its-ad-a1.ABC.MyDomain.org/CN=PrintServer,OU=Level5,OU=Servers,OU=ManagedObjects,DC=ABC,DC=MyDomain,DC=org. The printer can no longer be located by searching Active Directory. No user action is required.
9/13/2013 12:47:19 PM - The printer was successfully published to the Active Directory directory service. The print queue CN=PrintServer-AA-BB-4SE-C0064222313 was successfully created in container LDAP://its-ad-a2.ABC.MyDomain.org/CN=PrintServer,OU=Level5,OU=Servers,OU=ManagedObjects,DC=ABC,DC=MyDomain,DC=org. No user action is required.
9/13/2013 12:47:19 PM - While attempting to publish the printer to the Active Directory directory service, Windows failed to publish property printBinNames at LDAP://its-ad-a2.ABC.MyDomain.org/CN=PrintServer-AA-BB-4SE-C0064222313,CN=PrintServer,OU=Level5,OU=Servers,OU=ManagedObjects,DC=ABC,DC=MyDomain,DC=org. Error: 8007200d