Highlighted
Knowledge Partner
Knowledge Partner

Re: IDM SDK 2018 Update

geoffc;2491907 wrote:
> Good catch, Lothar!
> From the first view, I can see that number of DX related functions
> deprecated.
> https://www.netiq.com/documentation/identity-manager-developer/driver-developer-kit/javadocs/


That is interesting, especially since some of those are very useful in
dxcmd and Console2. Did you notice if they were replaced or just
removed? I.e. Do they expect cn=monitor or the like via LDAP to replace it?


Deprecated only number of specific DX functions:
com.novell.nds.dirxml.util.DxWire.constructGetDriverCacheLimit(String)
com.novell.nds.dirxml.util.DxWire.constructListNamedPasswords(String, int)
com.novell.nds.dirxml.util.DxWire.constructResetShimPassword(String)
com.novell.nds.dirxml.util.DxWire.constructSetAppPassword(String, String)
com.novell.nds.dirxml.util.DxWire.constructSetDriverCacheLimit(String, int)
com.novell.nds.dirxml.util.DxWire.constructSetMutualAuthKeyPassword(String, String)
com.novell.nds.dirxml.util.DxWire.constructSetMutualAuthKSPassword(String, String)
com.novell.nds.dirxml.util.DxWire.constructSetNamedPassword(String, String, String)
com.novell.nds.dirxml.util.DxWire.constructSetNamedPassword(String, String, String, String)
com.novell.nds.dirxml.util.DxWire.constructSetRemoteLoaderPassword(String, String)
com.novell.nds.dirxml.util.DxWire.constructSetShimPassword(String, String, boolean)
com.novell.nds.dirxml.util.DxWire.extractDriverCacheLimit(byte[], int)
com.novell.nds.dirxml.util.DxWire.extractPasswordName(byte[], int, int)
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: IDM SDK 2018 Update

On 12/5/2018 12:44 AM, al b wrote:
>
> geoffc;2491907 Wrote:
>>> Good catch, Lothar!
>>> From the first view, I can see that number of DX related functions
>>> deprecated.
>>>

>> https://www.netiq.com/documentation/identity-manager-developer/driver-developer-kit/javadocs/
>>
>> That is interesting, especially since some of those are very useful in
>> dxcmd and Console2. Did you notice if they were replaced or just
>> removed? I.e. Do they expect cn=monitor or the like via LDAP to replace
>> it?

>
> Deprecated only number of specific DX functions:
>> com.novell.nds.dirxml.util.DxWire.constructGetDriverCacheLimit(String)
>> com.novell.nds.dirxml.util.DxWire.constructListNamedPasswords(String,
>> int)
>> com.novell.nds.dirxml.util.DxWire.constructResetShimPassword(String)
>> com.novell.nds.dirxml.util.DxWire.constructSetAppPassword(String,
>> String)
>> com.novell.nds.dirxml.util.DxWire.constructSetDriverCacheLimit(String,
>> int)
>> com.novell.nds.dirxml.util.DxWire.constructSetMutualAuthKeyPassword(String,
>> String)
>> com.novell.nds.dirxml.util.DxWire.constructSetMutualAuthKSPassword(String,
>> String)
>> com.novell.nds.dirxml.util.DxWire.constructSetNamedPassword(String,
>> String, String)
>> com.novell.nds.dirxml.util.DxWire.constructSetNamedPassword(String,
>> String, String, String)
>> com.novell.nds.dirxml.util.DxWire.constructSetRemoteLoaderPassword(String,
>> String)
>> com.novell.nds.dirxml.util.DxWire.constructSetShimPassword(String,
>> String, boolean)
>> com.novell.nds.dirxml.util.DxWire.extractDriverCacheLimit(byte[], int)
>> com.novell.nds.dirxml.util.DxWire.extractPasswordName(byte[], int, int)


Understood. But the discussion is moved to, are these the NCP only
versions and replaced by LDAP versions? Or is Set named password gone
period? (Aka what was it replaced with?)


0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: IDM SDK 2018 Update

On 2018-12-05 13:51, Geoffrey Carman wrote:
> On 12/5/2018 12:44 AM, al b wrote:
>>
>> geoffc;2491907 Wrote:
>>>> Good catch, Lothar!
>>>>   From the first view, I can see that number of DX related functions
>>>> deprecated.
>>>>
>>> https://www.netiq.com/documentation/identity-manager-developer/driver-developer-kit/javadocs/
>>>
>>>
>>> That is interesting, especially since some of those are very useful in
>>> dxcmd and Console2.  Did you notice if they were replaced or just
>>> removed?  I.e. Do they expect cn=monitor or the like via LDAP to replace
>>> it?

>>
>> Deprecated only number of specific DX functions:
>>> com.novell.nds.dirxml.util.DxWire.constructGetDriverCacheLimit(String)
>>> com.novell.nds.dirxml.util.DxWire.constructListNamedPasswords(String,
>>> int)
>>> com.novell.nds.dirxml.util.DxWire.constructResetShimPassword(String)
>>> com.novell.nds.dirxml.util.DxWire.constructSetAppPassword(String,
>>> String)
>>> com.novell.nds.dirxml.util.DxWire.constructSetDriverCacheLimit(String,
>>> int)
>>> com.novell.nds.dirxml.util.DxWire.constructSetMutualAuthKeyPassword(String,
>>>
>>> String)
>>> com.novell.nds.dirxml.util.DxWire.constructSetMutualAuthKSPassword(String,
>>>
>>> String)
>>> com.novell.nds.dirxml.util.DxWire.constructSetNamedPassword(String,
>>> String, String)
>>> com.novell.nds.dirxml.util.DxWire.constructSetNamedPassword(String,
>>> String, String, String)
>>> com.novell.nds.dirxml.util.DxWire.constructSetRemoteLoaderPassword(String,
>>>
>>> String)
>>> com.novell.nds.dirxml.util.DxWire.constructSetShimPassword(String,
>>> String, boolean)
>>> com.novell.nds.dirxml.util.DxWire.extractDriverCacheLimit(byte[], int)
>>> com.novell.nds.dirxml.util.DxWire.extractPasswordName(byte[], int, int)

>
> Understood. But the discussion is moved to, are these the NCP only
> versions and replaced by LDAP versions?  Or is Set named password gone
> period?  (Aka what was it replaced with?)
>
>

Did you check the docs?
There is a constructSetNamedPassword that is not marked deprecated.

--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: IDM SDK 2018 Update

alekz;2491964 wrote:
On 2018-12-05 13:51, Geoffrey Carman wrote:
>>> com.novell.nds.dirxml.util.DxWire.constructSetNamedPassword(String,
>>> String, String)

> Understood. But the discussion is moved to, are these the NCP only
> versions and replaced by LDAP versions?Â* Or is Set named password gone
> period?Â* (Aka what was it replaced with?)
>
>

Did you check the docs?
There is a constructSetNamedPassword that is not marked deprecated.



I was trying to understand what they did and I am not that familiar with the Java classes in use, was hoping someone looking at it would understand the consequences, instead of just the literal words. Know what I mean?

I see what is deprecated, but what does it mean?
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: IDM SDK 2018 Update

On 2018-12-05 19:14, geoffc wrote:
> I see what is deprecated, but what does it mean?

Probably they came up with some stuff that works better so they don't
recommend the old methods.

--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: IDM SDK 2018 Update

geoffc wrote:

>
> alekz;2491964 Wrote:
> > On 2018-12-05 13:51, Geoffrey Carman wrote:
> > >>> com.novell.nds.dirxml.util.DxWire.constructSetNamedPassword(String,
> > >>> String, String)

> >
> > > Understood. But the discussion is moved to, are these the NCP only
> > > versions and replaced by LDAP versions?�* Or is Set named password

> > gone
> > > period?�* (Aka what was it replaced with?)
> > >
> > >

> > Did you check the docs?
> > There is a constructSetNamedPassword that is not marked deprecated.
> >
> >

>
> I was trying to understand what they did and I am not that familiar with
> the Java classes in use, was hoping someone looking at it would
> understand the consequences, instead of just the literal words. Know
> what I mean?
>
> I see what is deprecated, but what does it mean?


Well.. Consider that if Designer 4.7 can still do this, there must be a way.

Simple rule of thumb.

DxWire is described as a "Utility class to construct NDAP wire-format buffers
for DirXML subverbs."

NDAP (Novell Directory Access Protocol) is built on top of NCP and as such is
going away as part of the general move away from NCP.

Replacements for DxWire will be based upon
com.novell.ldap.LDAPExtendedOperation, the majority of these were added 10+
years ago in anticipation of the eventual deprecation of NCP.

--
If you find this post helpful, and are viewing this using the web, please show
your appreciation by clicking on the star below
Alex McHugh - Knowledge Partner - Stavanger, Norway
Who are the Knowledge Partners
If you appreciate my comments, please click the Like button.
If I have resolved your issue, please click the Accept as Solution button.
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: IDM SDK 2018 Update

On 12/6/2018 2:48 AM, Alex McHugh wrote:
> geoffc wrote:
>
>>
>> alekz;2491964 Wrote:
>>> On 2018-12-05 13:51, Geoffrey Carman wrote:
>>>>>> com.novell.nds.dirxml.util.DxWire.constructSetNamedPassword(String,
>>>>>> String, String)
>>>
>>>> Understood. But the discussion is moved to, are these the NCP only
>>>> versions and replaced by LDAP versions?�* Or is Set named password
>>> gone
>>>> period?�* (Aka what was it replaced with?)
>>>>
>>>>
>>> Did you check the docs?
>>> There is a constructSetNamedPassword that is not marked deprecated.
>>>
>>>

>>
>> I was trying to understand what they did and I am not that familiar with
>> the Java classes in use, was hoping someone looking at it would
>> understand the consequences, instead of just the literal words. Know
>> what I mean?
>>
>> I see what is deprecated, but what does it mean?

>
> Well.. Consider that if Designer 4.7 can still do this, there must be a way.
>
> Simple rule of thumb.
>
> DxWire is described as a "Utility class to construct NDAP wire-format buffers
> for DirXML subverbs."
>
> NDAP (Novell Directory Access Protocol) is built on top of NCP and as such is
> going away as part of the general move away from NCP.
>
> Replacements for DxWire will be based upon
> com.novell.ldap.LDAPExtendedOperation, the majority of these were added 10+
> years ago in anticipation of the eventual deprecation of NCP.


Thank you, that is the question I was looking forward to finding an answer.

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: IDM SDK 2018 Update

I've attempted to build the .NET sample Driver with no luck. It looks like the sample or SDK kit is missing DXMLBase\DXMLBase.cs. It has a dxmlbase.dll but this doesn't seem sufficient for building the project.

Can anyone help with this obscure issue? 😉
0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Re: IDM SDK 2018 Update

On 06.12.18 21:06, Zygomax wrote:
>
> I've attempted to build the .NET sample Driver with no luck. It looks
> like the sample or SDK kit is missing DXMLBase\DXMLBase.cs. It has a
> dxmlbase.dll but this doesn't seem sufficient for building the project.
>
> Can anyone help with this obscure issue? 😉
>
>

I actually have been able to rebuild it with Visual Studio Mac 😄

You need to add the DXMLBase.dll to you project, I'm not a Visual Studio
person at all, so I might have done this wrong.

First add DXMLBase.dll as a Solution item, then you can add it to your
Project References, and then you can build the skeleton driver.

Hope it helps - I remember it being easier with Visual Studio on Windows.

Casper
0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: IDM SDK 2018 Update

cpedersen;2492165 wrote:
On 06.12.18 21:06, Zygomax wrote:
>
> I've attempted to build the .NET sample Driver with no luck. It looks
> like the sample or SDK kit is missing DXMLBase\DXMLBase.cs. It has a
> dxmlbase.dll but this doesn't seem sufficient for building the project.
>
> Can anyone help with this obscure issue? 😉
>
>

I actually have been able to rebuild it with Visual Studio Mac 😄

You need to add the DXMLBase.dll to you project, I'm not a Visual Studio
person at all, so I might have done this wrong.

First add DXMLBase.dll as a Solution item, then you can add it to your
Project References, and then you can build the skeleton driver.

Hope it helps - I remember it being easier with Visual Studio on Windows.

Casper


I got it going, thanks! After adding the DLL as a Solution Item, I had to remove the existing bogus reference and re-add it (just browsed for the DLL). Now it works.

-- Sam
0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Re: IDM SDK 2018 Update

On 11.12.18 20:34, Zygomax wrote:
>
> cpedersen;2492165 Wrote:
>> On 06.12.18 21:06, Zygomax wrote:
>>>
>>> I've attempted to build the .NET sample Driver with no luck. It looks
>>> like the sample or SDK kit is missing DXMLBase\DXMLBase.cs. It has a
>>> dxmlbase.dll but this doesn't seem sufficient for building the

>> project.
>>>
>>> Can anyone help with this obscure issue? 😉
>>>
>>>

>> I actually have been able to rebuild it with Visual Studio Mac 😄
>>
>> You need to add the DXMLBase.dll to you project, I'm not a Visual Studio
>> person at all, so I might have done this wrong.
>>
>> First add DXMLBase.dll as a Solution item, then you can add it to your
>> Project References, and then you can build the skeleton driver.
>>
>> Hope it helps - I remember it being easier with Visual Studio on
>> Windows.
>>
>> Casper

>
> I got it going, thanks! After adding the DLL as a Solution Item, I had
> to remove the existing bogus reference and re-add it (just browsed for
> the DLL). Now it works.
>
> -- Sam
>
>


Good to know, thank you for letting us know.

Casper
0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Re: IDM SDK 2018 Update

On 05.12.18 16:10, alekz wrote:
> On 2018-12-05 13:51, Geoffrey Carman wrote:
>> On 12/5/2018 12:44 AM, al b wrote:
>>>
>>> geoffc;2491907 Wrote:
>>>>> Good catch, Lothar!
>>>>>   From the first view, I can see that number of DX related functions
>>>>> deprecated.
>>>>>
>>>> https://www.netiq.com/documentation/identity-manager-developer/driver-developer-kit/javadocs/
>>>>
>>>>
>>>> That is interesting, especially since some of those are very useful in
>>>> dxcmd and Console2.  Did you notice if they were replaced or just
>>>> removed?  I.e. Do they expect cn=monitor or the like via LDAPto
>>>> replace
>>>> it?
>>>
>>> Deprecated only number of specific DX functions:
>>>> com.novell.nds.dirxml.util.DxWire.constructGetDriverCacheLimit(String)
>>>> com.novell.nds.dirxml.util.DxWire.constructListNamedPasswords(String,
>>>> int)
>>>> com.novell.nds.dirxml.util.DxWire.constructResetShimPassword(String)
>>>> com.novell.nds.dirxml.util.DxWire.constructSetAppPassword(String,
>>>> String)
>>>> com.novell.nds.dirxml.util.DxWire.constructSetDriverCacheLimit(String,
>>>> int)
>>>> com.novell.nds.dirxml.util.DxWire.constructSetMutualAuthKeyPassword(String,
>>>>
>>>> String)
>>>> com.novell.nds.dirxml.util.DxWire.constructSetMutualAuthKSPassword(String,
>>>>
>>>> String)
>>>> com.novell.nds.dirxml.util.DxWire.constructSetNamedPassword(String,
>>>> String, String)
>>>> com.novell.nds.dirxml.util.DxWire.constructSetNamedPassword(String,
>>>> String, String, String)
>>>> com.novell.nds.dirxml.util.DxWire.constructSetRemoteLoaderPassword(String,
>>>>
>>>> String)
>>>> com.novell.nds.dirxml.util.DxWire.constructSetShimPassword(String,
>>>> String, boolean)
>>>> com.novell.nds.dirxml.util.DxWire.extractDriverCacheLimit(byte[], int)
>>>> com.novell.nds.dirxml.util.DxWire.extractPasswordName(byte[], int, int)

>>
>> Understood. But the discussion is moved to, are these the NCP only
>> versions and replaced by LDAP versions?  Or is Set named passwordgone
>> period?  (Aka what was it replaced with?)
>>
>>

> Did you check the docs?
> There is a constructSetNamedPassword that is not marked deprecated.
>


I don't know constructSetNamedPassword, but I have been using the
extendedldap operation SetNamedPasswordRequest for some times to do the
same.


Casper

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.