summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7d5bd35)
raw | patch | inline | side by side (parent: 7d5bd35)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Jan 2006 15:32:31 +0000 (15:32 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Jan 2006 15:32:31 +0000 (15:32 +0000) |
Updated support lib to handle more than one IDE disk of the same type
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2493 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2493 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/fai/goto-fai/goto-support.lib | patch | blob | history | |
plugins/admin/systems/class_selectUserToPrinterDialog.inc | patch | blob | history |
index b608c041a4ea04aac4f191cbb5b2715fbd56aa77..c6bdbba8ea5f29cfb4ebba1eab86d6ec5ad57bf9 100644 (file)
# Insert IDE-Devices
for f in /proc/ide/ide?/hd?/model; do
- [ -f $f ] && echo "ghIdeDev: "$(cat $f)
+ [ -f $f ] && echo "ghIdeDev: "$(echo $f | cut -d/ -f5)" ("$(cat $f)")"
done
(cat /proc/scsi/scsi | sed -ne 's/.*Vendor: \([^ ]*\) *Model: \([^ ]*\) *.*$/\1 \2/p') 2> /dev/null|while read line; do
diff --git a/plugins/admin/systems/class_selectUserToPrinterDialog.inc b/plugins/admin/systems/class_selectUserToPrinterDialog.inc
index 6bde4054494bd7b64a31285b24328112480bd3e0..cde125b4731f5ba5af7d3b43f95ca9d93fe046f9 100644 (file)
switch($type){
case "AddUser" :
- $this->searchObjects = "(objectClass=person)(objectClass=inetOrgPerson)(!(uid=*$))";
+ $this->searchObjects = "(objectClass=gosaAccount)(!(uid=*$))";
$this->searchAttrs = array("cn","uid");
$this->searchAppend = "uid";
;break;
$this->searchAppend = "cn";
;break;
case "AddAdminUser" :
- $this->searchObjects = "(objectClass=person)(objectClass=inetOrgPerson)(!(uid=*$))";
+ $this->searchObjects = "(objectClass=gosaAccount)(!(uid=*$))";
$this->searchAttrs = array("cn","uid");
$this->searchAppend = "uid";
;break;