Hello

I'm trying to sort out setting up Office Communicator in our AD
Environment and been bashing my head against a brick wall with this
one.

I'm trying to add a attribute to a "DNWithBinary" Attribute called
"msRTCSIP-UserPolicy" in AD.

This is what I get in the trace on the RL with the Syntax as per the
driver load:
DirXML: [12/02/10 14:09:09.71]: ADDriver: Imported attribute
msRTCSIP-UserPolicy
MAD syntax DNWithBinary (2.5.5.7,127,KoZIhvcUAQEBCw==)
XDS syntax octet
Single valued false
Case sensitive true

When I try and see the attribute via IDM I get this in the driver log:

DirXML: [12/02/10 14:10:57.28]: Loader: Calling
subscriptionShim->execute()
DirXML: [12/02/10 14:10:57.28]: Loader: XML Document:
DirXML: [12/02/10 14:10:57.28]: <nds dtdversion="3.5"
ndsversion="8.x">
<source>
<product version="3.5.11.20080307 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="user" dest-dn="CN=User,DC=CORP,DC=COM"
event-id="AD Driver##12ca451571a##0">
<modify-attr attr-name="msRTCSIP-UserPolicy">
<remove-all-values/>
<add-value>
<value
type="string">B:8:01000000:CN={E674D098-2B48-4BE2-A64B-7A8EC5C1F504},CN=Policies,CN=RTC
Service,CN=Services,CN=Configuration,DC=CORP,DC=CO M</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
DirXML: [12/02/10 14:10:57.28]: ADDriver: parse command

className user
destDN CN=User,DC=CORP,DC=COM
eventId AD Driver##12ca451571a##0
association
DirXML: [12/02/10 14:10:57.28]: ADDriver: parse modify class = user
DirXML: [12/02/10 14:10:57.28]: ADDriver: modify-attr
DirXML: [12/02/10 14:10:57.28]: ADDriver: remove-all-values
DirXML: [12/02/10 14:10:57.28]: ADDriver: add-value
DirXML: [12/02/10 14:10:57.28]: ADDriver: value
DirXML: [12/02/10 14:10:57.28]: ADDriver:
B:8:01000000:CN={E674D098-2B48-4BE2-A64B-7A8EC5C1F504},CN=Policies,CN=RTC
Service,CN=Services,CN=Configuration,DC=CORP,DC=CO M
DirXML: [12/02/10 14:10:57.28]: ADDriver: ldap_modify user
CN=User,DC=CORP,DC=COM
LDAPMod operations:
delete attribute binary msRTCSIP-UserPolicy
DirXML: [12/02/10 14:10:57.28]: Loader: subscriptionShim->execute()
returned:
DirXML: [12/02/10 14:10:57.28]: Loader: XML Document:
DirXML: [12/02/10 14:10:57.28]: <nds ndsversion="8.7"
dtdversion="1.1">
<source>
<product version="3.5.9" asn1id="" build="20100625_120000"
instance="\META\ADMIN\IDM\DirXML Driver Set\AD Driver">AD</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="success" event-id="AD Driver##12ca451571a##0"/>
</output>
</nds>
DirXML: [12/02/10 14:10:57.28]:
DirXML Log Event -------------------
Driver = \META\ADMIN\IDM\DirXML Driver Set\AD Driver
Thread = Subscriber Channel
Object = CN=User,DC=CORP,DC=COM
Level = success


To me that looks like this doesn't work with the AD Driver.

We're running the "IDM361ADIR4" Driver with the ADDriver.dll dated as 2
July 2010 1:10pm

This works fine if I push the same attribute in using ICE into AD using
a LDIF, but fails to work using the ADDriver, obviously because there is
no "Add" being doing by the AD Driver as per the above trace..

DirXML: [12/02/10 14:10:57.28]: ADDriver: ldap_modify user
CN=User,DC=CORP,DC=COM
LDAPMod operations:
delete attribute binary msRTCSIP-UserPolicy
DirXML: [12/02/10 14:10:57.28]: Loader: subscriptionShim->execute()
returned:

There should be an add attribute after the delete attribute binary.

There are a few MS Links talking about the syntax:
'Object(DN-Binary) Syntax (Windows)'
(http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx)
'msRTCSIP-UserPolicy - Here's How to Write it ~ Active Directory
Scripts and Tools'
(http://adscripts.blogspot.com/2010/0...-to-write.html)

So I know I could use the scripting driver, but we're not licensed for
that

Any suggestions???


--
peter_lambrechtsen
------------------------------------------------------------------------
peter_lambrechtsen's Profile: http://forums.novell.com/member.php?userid=56168
View this thread: http://forums.novell.com/showthread.php?t=427223