index fdcb6e4e6c9359dcc942788a4fa8b5e183027845..95cf21cb3e4c9e2a9c8e60bcbd412427d95e3e7f 100644 (file)
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
$baseobject= $this->by_object['wingeneric'];
- $this->dn= "cn=$baseobject->cn,ou=winstations,ou=systems,".$baseobject->base;
+ $this->dn= "uid=$baseobject->cn,ou=winstations,ou=systems,".$baseobject->base;
+ $baseobject->dn= $this->dn;
foreach ($this->by_object as $key => $obj){
$this->by_object[$key]->dn= $this->dn;