Code

Fixed win workstation acls.
[gosa.git] / plugins / personal / samba / class_sambaAccount.inc
index edc286e0ea0fd5666f6987f75cf596110d8a9963..c9c48a1ee812dac2ab9a85ecc7d6d33ecd0db264 100644 (file)
@@ -328,7 +328,8 @@ class sambaAccount extends plugin
       }
       $regex= $sambafilter['regex'];
       $filter= "(&(objectClass=sambaSAMAccount)$exclude(uid=*$)(|(uid=$regex)(cn=$regex)))";
-      $res= get_list($filter, "workstation", $sambafilter['depselect'], array("uid"), GL_SUBSEARCH | GL_SIZELIMIT);
+      $res= get_list($filter, "winworkstation", $sambafilter['depselect'], array("uid"), GL_SUBSEARCH | GL_SIZELIMIT);
+        
       $wslist= array();
       foreach ($res as $attrs){
         $wslist[]= preg_replace('/\$/', '', $attrs['uid'][0]);