Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords:
ndsHomeDirectory = textattribute cn=BSCWZ2_DATA,ou=services,o=cwz#4#\Profiles\gerritWinbatch gives
CN=BSCWZ2_DATA.OU=services..\\Profiles\gerrit Simply altering the servername and trying to write it back to NDS withnwModifyObject(user,"OVERWRITE_VALUE","Home Directory",newname,0,0,0) nwModifyObject(user,'*COMMIT*','','',0,0,0)gives ill formatted attribute value. Can anyone please point me in the right direction?
From the help topic for nwGetObjValue():
(i) flag This is a numeric value that contains set of bit mask flags. The flags alter the way that this function operates. Different flag values can be combined by adding their values together or by bitwise OR'ing them together.Bit 0: (value = 1 if set)
***IMPORTANT***
If the attribute value returned by nwGetObjValue() is to be used in subsequent calls to nwSearchFilter(), nwModifyObject(), etc...,then this flag bit must be set/enabled. Failing to do so will result in the attribute value returned by this function not being in the proper format to pass in to other nw*() extender functions as an attribute value.
If clear:
Return basic string values in same format as the old n4ObjProps function from the old NetWare extender.
If set:
Return all fields from structure type attribute values in a delimited list. The field delimiter is set by the nwSetOptions function and defaults to a vertical bar "|" character. This causes values to be returned in the same format as the n4ObjGetVal function from the old NetWare extender.
Article ID: W17431
File Created: 2012:11:26:09:53:22
Last Updated: 2012:11:26:09:53:22