gandres / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

Importing pwmUser class from edirectory-schema.sch fails #466

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Attempted to import pwm schema via ndssch tool and edirectory-schema.sch file.  
Import of pwmUser fails with "Unknown error -758".  This appears to be due to 
the containment flags used and the position of the Flags directive.

Here is the original:

"pwmUser" OBJECT-CLASS ::=
 { 
         Operation      ADD, 
         MayContain     { "pwmLastPwdUpdate", "pwmEventLog", "pwmResponseSet", "pwmGUID", "pwmToken" },
         Flags  { DS_AUXILIARY_CLASS, DS_CONTAINER_CLASS, DS_AMBIGUOUS_CONTAINMENT }, 
         ASN1ObjID      { 1 3 6 1 4 1 35015 1 1 1 } 
 }

END

And here is the fixed version:

"pwmUser" OBJECT-CLASS ::=
 { 
         Operation      ADD, 
         Flags  {DS_AUXILIARY_CLASS}, 
         MayContain     { "pwmLastPwdUpdate", "pwmEventLog", "pwmResponseSet", "pwmGUID", "pwmToken" },
         ASN1ObjID      { 1 3 6 1 4 1 35015 1 1 1 } 
 }

END

Using PWM 1.7 RC3 and eDirectory 8.8 SP7 Patch 3

Original issue reported on code.google.com by mweisb...@gmail.com on 30 Aug 2013 at 5:16

GoogleCodeExporter commented 9 years ago
Also discovered that the pwmToken and pwmGUID attributes were in the SCH file 
using PATH syntax.  Changed those to a Case Ignore String syntax as well.  

Original comment by m...@weisberg.net on 7 Sep 2013 at 8:01

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks. Fixed in revision 608.

Original comment by menno.pi...@gmail.com on 7 Sep 2013 at 9:02