Fix revision 13752 (for Trac #2697)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13764 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13764 594d385d-05f5-0310-b6e9-bd551577e9d8
Use preselected priority, so that preset priorities
do not get reset (Trac #2643)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13763 594d385d-05f5-0310-b6e9-bd551577e9d8
do not get reset (Trac #2643)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13763 594d385d-05f5-0310-b6e9-bd551577e9d8
Compare LDAP::fix()'ed DNs only, because othereise the the comparison
can fail if DNs contain special characters.
(#1917)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13761 594d385d-05f5-0310-b6e9-bd551577e9d8
can fail if DNs contain special characters.
(#1917)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13761 594d385d-05f5-0310-b6e9-bd551577e9d8
Silence error message when SNMP-support is missing (Trac #2006)
Do not show an error message if SNMP-support is missing,
instead indicate it in status view.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13756 594d385d-05f5-0310-b6e9-bd551577e9d8
Do not show an error message if SNMP-support is missing,
instead indicate it in status view.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13756 594d385d-05f5-0310-b6e9-bd551577e9d8
Committing results from running update-locale..
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13755 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13755 594d385d-05f5-0310-b6e9-bd551577e9d8
Revert 13752 because it might cause data loss
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13754 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13754 594d385d-05f5-0310-b6e9-bd551577e9d8
Apply patch for Trac #2697 by mba
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13752 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13752 594d385d-05f5-0310-b6e9-bd551577e9d8
Apply patch for Trac #225 by mba
Properly show object group membership in system list
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13751 594d385d-05f5-0310-b6e9-bd551577e9d8
Properly show object group membership in system list
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13751 594d385d-05f5-0310-b6e9-bd551577e9d8
Apply patch for #225 by mba
- Properly handle renaming of systems that contain
special characters
- Properly capture object group membership when editing systems
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13750 594d385d-05f5-0310-b6e9-bd551577e9d8
- Properly handle renaming of systems that contain
special characters
- Properly capture object group membership when editing systems
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13750 594d385d-05f5-0310-b6e9-bd551577e9d8
Fix by mba for #2697
Reduce '|removed' entries by applying clean_up_releases() function
on child releases, too.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13749 594d385d-05f5-0310-b6e9-bd551577e9d8
Reduce '|removed' entries by applying clean_up_releases() function
on child releases, too.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13749 594d385d-05f5-0310-b6e9-bd551577e9d8
Apply patch for Trac #2697
Save changes first, before cleaning up FAI-classes wrt
to "|removed" information
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13747 594d385d-05f5-0310-b6e9-bd551577e9d8
Save changes first, before cleaning up FAI-classes wrt
to "|removed" information
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13747 594d385d-05f5-0310-b6e9-bd551577e9d8
Applying fix for Trac #2090 from Sebastian Harl
- Fix wrong mountpoint display and wrong partition type,
by setting mountpoint explicit to - (as required for FAI)
- Fix undo of preserve Flag by setting FAIpartitionFlags to
" " explicit
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13742 594d385d-05f5-0310-b6e9-bd551577e9d8
- Fix wrong mountpoint display and wrong partition type,
by setting mountpoint explicit to - (as required for FAI)
- Fix undo of preserve Flag by setting FAIpartitionFlags to
" " explicit
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13742 594d385d-05f5-0310-b6e9-bd551577e9d8
Revert commit 11689 which breaked known behaviour
and update the line to use session::get.
(Trac: #2603)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13741 594d385d-05f5-0310-b6e9-bd551577e9d8
and update the line to use session::get.
(Trac: #2603)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13741 594d385d-05f5-0310-b6e9-bd551577e9d8
Fix check for used DNs
(Trac: #2673)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13740 594d385d-05f5-0310-b6e9-bd551577e9d8
(Trac: #2673)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13740 594d385d-05f5-0310-b6e9-bd551577e9d8
Fix device driver upload by handling the special case
'new' properly (without copying empty files)
(Trac: #2715)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13729 594d385d-05f5-0310-b6e9-bd551577e9d8
'new' properly (without copying empty files)
(Trac: #2715)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13729 594d385d-05f5-0310-b6e9-bd551577e9d8
Accept same share-/server-combination if gosaUnitTag is different
(Trac: #500)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13728 594d385d-05f5-0310-b6e9-bd551577e9d8
(Trac: #500)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13728 594d385d-05f5-0310-b6e9-bd551577e9d8
Relax checks when adding a new share.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13727 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13727 594d385d-05f5-0310-b6e9-bd551577e9d8
Improve commit messages for already existing shares
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13726 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13726 594d385d-05f5-0310-b6e9-bd551577e9d8
Followup commit for 13555: Add missing string in messages.po
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13725 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13725 594d385d-05f5-0310-b6e9-bd551577e9d8
Correct variablename from $ignoreACl to $ignoreACL.
Ticket: #2594
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13721 594d385d-05f5-0310-b6e9-bd551577e9d8
Ticket: #2594
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13721 594d385d-05f5-0310-b6e9-bd551577e9d8
Add special-character-handling for gotoHotplugDeviceDN-entries.
Ticket #2156
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13720 594d385d-05f5-0310-b6e9-bd551577e9d8
Ticket #2156
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13720 594d385d-05f5-0310-b6e9-bd551577e9d8
Add localisation for #225
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13719 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13719 594d385d-05f5-0310-b6e9-bd551577e9d8
Followup commit for #2644
Clear FAI class list if FAI mirror has been set to inherited
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13718 594d385d-05f5-0310-b6e9-bd551577e9d8
Clear FAI class list if FAI mirror has been set to inherited
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13718 594d385d-05f5-0310-b6e9-bd551577e9d8
Apply patch from mba for Trac #2644
Avoid error message when saving a workstation object
with Startup -> FAI-Classes set to state 'inherited'
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13717 594d385d-05f5-0310-b6e9-bd551577e9d8
Avoid error message when saving a workstation object
with Startup -> FAI-Classes set to state 'inherited'
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13717 594d385d-05f5-0310-b6e9-bd551577e9d8
Apply patch from psc/mba for #225:
- Show inheritance symbol behind system, when object inherited
attributes from an object group
- Display of FAI-release if member is not a member of an object
group, but has a release set
- Show the FAI-release if member is member of an object group
but has its own FAI-release
- Show the inheritance symbol behind the release, if the release
was inherited from the object group, too.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13716 594d385d-05f5-0310-b6e9-bd551577e9d8
- Show inheritance symbol behind system, when object inherited
attributes from an object group
- Display of FAI-release if member is not a member of an object
group, but has a release set
- Show the FAI-release if member is member of an object group
but has its own FAI-release
- Show the inheritance symbol behind the release, if the release
was inherited from the object group, too.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13716 594d385d-05f5-0310-b6e9-bd551577e9d8
Followup patch for #2634
- Add localisation for de
- Fix "Address is not a valid IPv4 or IPv6 address" error
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13714 594d385d-05f5-0310-b6e9-bd551577e9d8
- Add localisation for de
- Fix "Address is not a valid IPv4 or IPv6 address" error
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13714 594d385d-05f5-0310-b6e9-bd551577e9d8
Apply patch by mba for Trac #2634
- Show a message if a printer has been created on a
different server, to warn the user.
- Do not simply overwrite ppd URI when editting a printer,
that has been created on a different server.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13703 594d385d-05f5-0310-b6e9-bd551577e9d8
- Show a message if a printer has been created on a
different server, to warn the user.
- Do not simply overwrite ppd URI when editting a printer,
that has been created on a different server.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13703 594d385d-05f5-0310-b6e9-bd551577e9d8
Make new queue items in gotomasses appear instant
Sleep a second, before reloading the list of queued
jobs, to avoid timing issues when adding new queue entries,
that are not listed, immediately after they've been added,
because gosa-si appearently needs some time to process it.
(Trac: #2658)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13702 594d385d-05f5-0310-b6e9-bd551577e9d8
Sleep a second, before reloading the list of queued
jobs, to avoid timing issues when adding new queue entries,
that are not listed, immediately after they've been added,
because gosa-si appearently needs some time to process it.
(Trac: #2658)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13702 594d385d-05f5-0310-b6e9-bd551577e9d8
- Make indices in FAIclasses numeric
- Make getpos work properly with numeric indices
- Don't show 'Move Up' link on first item and no 'Move Down' on
last item.
- Remove cobineArrays function, because its not needed anymore
These changes fixes various behaviour problems with
the Move Up/Down functionality.
(Trac #2637)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13694 594d385d-05f5-0310-b6e9-bd551577e9d8
- Make getpos work properly with numeric indices
- Don't show 'Move Up' link on first item and no 'Move Down' on
last item.
- Remove cobineArrays function, because its not needed anymore
These changes fixes various behaviour problems with
the Move Up/Down functionality.
(Trac #2637)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13694 594d385d-05f5-0310-b6e9-bd551577e9d8
Use faiPackageList instead of faiPackage because thats actually
the right objectclass for package lists.
Fixes problems with incomplete listings of FAI classes.
(Trac #2665)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13675 594d385d-05f5-0310-b6e9-bd551577e9d8
the right objectclass for package lists.
Fixes problems with incomplete listings of FAI classes.
(Trac #2665)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13675 594d385d-05f5-0310-b6e9-bd551577e9d8
Add a allow_remove function to the goShareServer class
to disallow removal of systems, when it provides shares
that are in use. (Trac: #2638)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13672 594d385d-05f5-0310-b6e9-bd551577e9d8
to disallow removal of systems, when it provides shares
that are in use. (Trac: #2638)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13672 594d385d-05f5-0310-b6e9-bd551577e9d8
Undo previous commit
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13671 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13671 594d385d-05f5-0310-b6e9-bd551577e9d8
Add a allow_remove function to the goService class
to disallow removal of systems, when it provides services
that are in use.
(Trac: #2638)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13670 594d385d-05f5-0310-b6e9-bd551577e9d8
to disallow removal of systems, when it provides services
that are in use.
(Trac: #2638)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13670 594d385d-05f5-0310-b6e9-bd551577e9d8
Make repository class only conflict with itself (so
that a repository service cannot be added twice) instead
of conflicting with goKioskService, which made
it impossible to have both services on one machine.
(Trac: #2641)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13668 594d385d-05f5-0310-b6e9-bd551577e9d8
that a repository service cannot be added twice) instead
of conflicting with goKioskService, which made
it impossible to have both services on one machine.
(Trac: #2641)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13668 594d385d-05f5-0310-b6e9-bd551577e9d8
Make usage of apostrophes in "Number of listed %s" strings
consistent with the rest of the interface. This fixes
problems with truncated strings ("Number of listed")
as well as it is enhancing consistence.
(Trac #2635)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13665 594d385d-05f5-0310-b6e9-bd551577e9d8
consistent with the rest of the interface. This fixes
problems with truncated strings ("Number of listed")
as well as it is enhancing consistence.
(Trac #2635)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13665 594d385d-05f5-0310-b6e9-bd551577e9d8
Increased Timeouts for communications with the gosa-si server
-Global timeout from 10 to 15 seconds.
-Ping timeout from 0.5 to 2 seconds
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13632 594d385d-05f5-0310-b6e9-bd551577e9d8
-Global timeout from 10 to 15 seconds.
-Ping timeout from 0.5 to 2 seconds
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13632 594d385d-05f5-0310-b6e9-bd551577e9d8
Removed dummy part from acl check.
"Wir haben bemerkt das bei unten genannter Änderung ein Teil im alten
LHM-Tree wieder entfernt wurde.
r13612 - branches/2.6-lhm/trunk/gosa-plugins/fai/admin/fai
von Herrn hickert
$acl_dn = "cn=dummy,".$this->acl_base_for_current_object($this->dn);
Wir besitzen keine Gruppe dummy auf die im Code referenziert werden könnte.
Bitte lassen Sie diesen Codeteil nochmals dahingehend prüfen."
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13631 594d385d-05f5-0310-b6e9-bd551577e9d8
"Wir haben bemerkt das bei unten genannter Änderung ein Teil im alten
LHM-Tree wieder entfernt wurde.
r13612 - branches/2.6-lhm/trunk/gosa-plugins/fai/admin/fai
von Herrn hickert
$acl_dn = "cn=dummy,".$this->acl_base_for_current_object($this->dn);
Wir besitzen keine Gruppe dummy auf die im Code referenziert werden könnte.
Bitte lassen Sie diesen Codeteil nochmals dahingehend prüfen."
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13631 594d385d-05f5-0310-b6e9-bd551577e9d8
recheckin of patch r12833
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13626 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13626 594d385d-05f5-0310-b6e9-bd551577e9d8
recheckin of patch r12975
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13625 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13625 594d385d-05f5-0310-b6e9-bd551577e9d8
recheckin of patch r12474
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13624 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13624 594d385d-05f5-0310-b6e9-bd551577e9d8
Applied commit from 12992
- Fixed tagging.
Application tagging is now user based.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13623 594d385d-05f5-0310-b6e9-bd551577e9d8
- Fixed tagging.
Application tagging is now user based.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13623 594d385d-05f5-0310-b6e9-bd551577e9d8
Applied patches
- 12995
- 12994
- 12993
- 12991
The above commits modified the unit tagging for fai objects.
Objects will now be tagged with the unit tag of the editing user.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13622 594d385d-05f5-0310-b6e9-bd551577e9d8
- 12995
- 12994
- 12993
- 12991
The above commits modified the unit tagging for fai objects.
Objects will now be tagged with the unit tag of the editing user.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13622 594d385d-05f5-0310-b6e9-bd551577e9d8
updating 'waiting' softupdate or reinstalling jobs to 'processing' if client wakes up and reports progress
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13621 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13621 594d385d-05f5-0310-b6e9-bd551577e9d8
Applied patch from 12800
-Updated actions for groups of workstations
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13617 594d385d-05f5-0310-b6e9-bd551577e9d8
-Updated actions for groups of workstations
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13617 594d385d-05f5-0310-b6e9-bd551577e9d8
Applied commit 12534
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13616 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13616 594d385d-05f5-0310-b6e9-bd551577e9d8
Applied patch from 12998.
-Removes special tabs - For ACLs, references aso.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13614 594d385d-05f5-0310-b6e9-bd551577e9d8
-Removes special tabs - For ACLs, references aso.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13614 594d385d-05f5-0310-b6e9-bd551577e9d8
Applied commits from 13003.
-Added special check when copying applications.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13613 594d385d-05f5-0310-b6e9-bd551577e9d8
-Added special check when copying applications.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13613 594d385d-05f5-0310-b6e9-bd551577e9d8
Aplied changes from revision 12395.
- Changes were partly missing (class_faiManagement.inc, class_faiTemplate.inc)
- ACL related modifications. The default ACL dn to check was modified.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13612 594d385d-05f5-0310-b6e9-bd551577e9d8
- Changes were partly missing (class_faiManagement.inc, class_faiTemplate.inc)
- ACL related modifications. The default ACL dn to check was modified.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13612 594d385d-05f5-0310-b6e9-bd551577e9d8
Removed usage of recreate_database (doesn't help in case of database failure).
Removed function recreate_database.
Changed connection handling to allow exactly one database connection at once, seems to fix corruption failures.
Corrected printError=0 in case of database recreation at start time.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13604 594d385d-05f5-0310-b6e9-bd551577e9d8
Removed function recreate_database.
Changed connection handling to allow exactly one database connection at once, seems to fix corruption failures.
Corrected printError=0 in case of database recreation at start time.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13604 594d385d-05f5-0310-b6e9-bd551577e9d8
Merge Statements.
Recreate table if 2nd try after analyze fails.
Check if filehandle is open before locking.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13574 594d385d-05f5-0310-b6e9-bd551577e9d8
Recreate table if 2nd try after analyze fails.
Check if filehandle is open before locking.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13574 594d385d-05f5-0310-b6e9-bd551577e9d8
Fix problems with empty boot params by partially reverting
previously commits to this file, as proposed by mba.
(Trac: #2298)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13573 594d385d-05f5-0310-b6e9-bd551577e9d8
previously commits to this file, as proposed by mba.
(Trac: #2298)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13573 594d385d-05f5-0310-b6e9-bd551577e9d8
When sending set_activated_for_installation in job_trigger_activate_new
prepend a fresh 'new_ldap_config' to the message; fixes problems
with mass installations that don't get a new ldap configuration on
activation and therefore fail to install (missing ldap.conf)
(Trac #2026)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13572 594d385d-05f5-0310-b6e9-bd551577e9d8
prepend a fresh 'new_ldap_config' to the message; fixes problems
with mass installations that don't get a new ldap configuration on
activation and therefore fail to install (missing ldap.conf)
(Trac #2026)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13572 594d385d-05f5-0310-b6e9-bd551577e9d8
Don't loose schema definition internally to allow easy re-creation of database.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13569 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13569 594d385d-05f5-0310-b6e9-bd551577e9d8
Create a new numerated array of the items to delete, instead of merging
the arrays, because this overwrites existing entries,
due to the fact that the existing arrays have conflicting keys,
which leads to the situation, that array_merge discards the first added
record in favor of the last one (Trac #2269)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13568 594d385d-05f5-0310-b6e9-bd551577e9d8
the arrays, because this overwrites existing entries,
due to the fact that the existing arrays have conflicting keys,
which leads to the situation, that array_merge discards the first added
record in favor of the last one (Trac #2269)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13568 594d385d-05f5-0310-b6e9-bd551577e9d8
Apply patch from mba: If all classes of a certain type are in FAIstate freeze, don't allow removal and show lock-symbol (Trac #2271)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13561 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13561 594d385d-05f5-0310-b6e9-bd551577e9d8
+ Move reset handling before object creation, otherwise no
new object is created, when _GET['reset'] is set to 1.
+ Add missing reset handling where it was removed by changeset
13288.
(Fixes Trac #2270)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13559 594d385d-05f5-0310-b6e9-bd551577e9d8
new object is created, when _GET['reset'] is set to 1.
+ Add missing reset handling where it was removed by changeset
13288.
(Fixes Trac #2270)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13559 594d385d-05f5-0310-b6e9-bd551577e9d8
Use msgPool::required function if no valid option name was given (fixes error 25)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13557 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13557 594d385d-05f5-0310-b6e9-bd551577e9d8
Partially revert commit 12758, because ACL evaluation does not work properly when creating new printer objects (Trac #2246)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13556 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13556 594d385d-05f5-0310-b6e9-bd551577e9d8
Make error message for the case when trying to create a
share with special characters more informative.
(Trac #2244)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13555 594d385d-05f5-0310-b6e9-bd551577e9d8
share with special characters more informative.
(Trac #2244)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13555 594d385d-05f5-0310-b6e9-bd551577e9d8
Followup commit for changeset 13551:
Remove the tabs::tabs call from tabs_workstation.inc, too.
(Trac #2246)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13553 594d385d-05f5-0310-b6e9-bd551577e9d8
Remove the tabs::tabs call from tabs_workstation.inc, too.
(Trac #2246)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13553 594d385d-05f5-0310-b6e9-bd551577e9d8
Remove the tabs::tabs call from tabs_printers.inc because
it does not work (properly) in this special case as the printGeneric
class takes more arguments as usual. Instead set $this->acl_category
manually to avoid access control problems.
(Fixes PHP errors at various places; Trac #2246)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13551 594d385d-05f5-0310-b6e9-bd551577e9d8
it does not work (properly) in this special case as the printGeneric
class takes more arguments as usual. Instead set $this->acl_category
manually to avoid access control problems.
(Fixes PHP errors at various places; Trac #2246)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13551 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si-server: early prepare UID / GID as daemon_log needs it
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13550 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13550 594d385d-05f5-0310-b6e9-bd551577e9d8
Fix @13541 - there is no port to check in this function
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13548 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13548 594d385d-05f5-0310-b6e9-bd551577e9d8
Optimize group listing:
Only fetch the items that are needed to decide weither to show an
application item or not, instead of fetching all items from the ldap,
which takes a lot of time in larger environments.
(Fixes performance problems where group listing might fail at all, because
its runtime exceeds the max_execution_time, Trac #2232)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13543 594d385d-05f5-0310-b6e9-bd551577e9d8
Only fetch the items that are needed to decide weither to show an
application item or not, instead of fetching all items from the ldap,
which takes a lot of time in larger environments.
(Fixes performance problems where group listing might fail at all, because
its runtime exceeds the max_execution_time, Trac #2232)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13543 594d385d-05f5-0310-b6e9-bd551577e9d8
Correct permissions for /etc/ldap/ldap-shell.conf from 0600 to 0644.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13542 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13542 594d385d-05f5-0310-b6e9-bd551577e9d8
Try to translate hostname to ip.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13541 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13541 594d385d-05f5-0310-b6e9-bd551577e9d8
Increase trace level on error.
Repair logic of move_table.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13540 594d385d-05f5-0310-b6e9-bd551577e9d8
Repair logic of move_table.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13540 594d385d-05f5-0310-b6e9-bd551577e9d8
Make recreate_packages_list work again.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13539 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13539 594d385d-05f5-0310-b6e9-bd551577e9d8
Translate hostnames to ip-addresses if possible.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13538 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13538 594d385d-05f5-0310-b6e9-bd551577e9d8
sqlite crashes on schema changes if using prepare_cached.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13537 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13537 594d385d-05f5-0310-b6e9-bd551577e9d8
Don't print ERROR on DEBUG message.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13536 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13536 594d385d-05f5-0310-b6e9-bd551577e9d8
Allow optional indices on table.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13535 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13535 594d385d-05f5-0310-b6e9-bd551577e9d8
Merged statements, changed waiting time from 10 to 60 seconds.
-- Diese und die folgenden Zeilen werden ignoriMerert --
M gosaTriggered.pm
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13532 594d385d-05f5-0310-b6e9-bd551577e9d8
-- Diese und die folgenden Zeilen werden ignoriMerert --
M gosaTriggered.pm
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13532 594d385d-05f5-0310-b6e9-bd551577e9d8
Add more verbosity if wanted.
Correct calls of instance methods.
Add DBI trace on failures if debug level is at 7 or above.
Changed 'normal' statements to cached prepared ones.
Use transactions if needed.
Don't print errors to STDERR.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13530 594d385d-05f5-0310-b6e9-bd551577e9d8
Correct calls of instance methods.
Add DBI trace on failures if debug level is at 7 or above.
Changed 'normal' statements to cached prepared ones.
Use transactions if needed.
Don't print errors to STDERR.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13530 594d385d-05f5-0310-b6e9-bd551577e9d8
Added flocks to daemon_log.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13526 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13526 594d385d-05f5-0310-b6e9-bd551577e9d8
Changed most statements from 'do' to complete prepared statements.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13524 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13524 594d385d-05f5-0310-b6e9-bd551577e9d8
Changed open to sysopen.
More debugging messages about locking.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13511 594d385d-05f5-0310-b6e9-bd551577e9d8
More debugging messages about locking.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13511 594d385d-05f5-0310-b6e9-bd551577e9d8
changing file permissions of /var/log/gosa-si-client.log, /etc/ldap/ldap-shell.conf, /var/run/gosa-si-client.opts, /var/log/fai/..., /var/lib/gosa-si/*.db*
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13508 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13508 594d385d-05f5-0310-b6e9-bd551577e9d8
Updated several tabs_*.inc files:
- Properly call the tabs::tabs function to make sure ACLs are
properly inherited on a re_init etc.
(Fixes problem with the Apply button in several objects, e.g
when editting printer objects; Trac: #1205)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13506 594d385d-05f5-0310-b6e9-bd551577e9d8
- Properly call the tabs::tabs function to make sure ACLs are
properly inherited on a re_init etc.
(Fixes problem with the Apply button in several objects, e.g
when editting printer objects; Trac: #1205)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13506 594d385d-05f5-0310-b6e9-bd551577e9d8
Check weither is defined, before using it (Fixes Trac #2193)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13502 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13502 594d385d-05f5-0310-b6e9-bd551577e9d8
sqlite needs id INTEGER PRIMARY KEY
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13501 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13501 594d385d-05f5-0310-b6e9-bd551577e9d8
Allow a maximum value of 50 POE Childs.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13500 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13500 594d385d-05f5-0310-b6e9-bd551577e9d8
Fixed typos.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13498 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13498 594d385d-05f5-0310-b6e9-bd551577e9d8
Fix typo.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13496 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13496 594d385d-05f5-0310-b6e9-bd551577e9d8
'Repair' count_dbentries function.
Use DBsqlite->count_dbentries for count functions (fai_release, fai_server, packages_list).
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13495 594d385d-05f5-0310-b6e9-bd551577e9d8
Use DBsqlite->count_dbentries for count functions (fai_release, fai_server, packages_list).
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13495 594d385d-05f5-0310-b6e9-bd551577e9d8
Don't loose complete schema description of database tables.
Added missing lock statements.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13494 594d385d-05f5-0310-b6e9-bd551577e9d8
Added missing lock statements.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13494 594d385d-05f5-0310-b6e9-bd551577e9d8
Changed wrong function name.
Use SQL Count()-Function to improve performance.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13493 594d385d-05f5-0310-b6e9-bd551577e9d8
Use SQL Count()-Function to improve performance.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13493 594d385d-05f5-0310-b6e9-bd551577e9d8
Merged Statements.
When reqeueing, always use 1 minute.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13492 594d385d-05f5-0310-b6e9-bd551577e9d8
When reqeueing, always use 1 minute.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13492 594d385d-05f5-0310-b6e9-bd551577e9d8
Use auto-increment from sqlite, no subselect anymore.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13490 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13490 594d385d-05f5-0310-b6e9-bd551577e9d8
Added automatic deletion of malformed databases.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13489 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13489 594d385d-05f5-0310-b6e9-bd551577e9d8
Added database tests to verify malforming of sqlite databases.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13488 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13488 594d385d-05f5-0310-b6e9-bd551577e9d8
Applied patch from upstream trunk, changeset:13477
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13482 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13482 594d385d-05f5-0310-b6e9-bd551577e9d8
Fix object group deletion ACLs
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13481 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13481 594d385d-05f5-0310-b6e9-bd551577e9d8
Add a PrepareForCopyPaste function to make copying of applications
also copy applicationParameters (Fix for LHM #1269)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13473 594d385d-05f5-0310-b6e9-bd551577e9d8
also copy applicationParameters (Fix for LHM #1269)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13473 594d385d-05f5-0310-b6e9-bd551577e9d8
Add a PrepareForCopyPaste function to make copying of applications
also copy applicationParameters (Fix for LHM #1269)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13472 594d385d-05f5-0310-b6e9-bd551577e9d8
also copy applicationParameters (Fix for LHM #1269)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13472 594d385d-05f5-0310-b6e9-bd551577e9d8
Add vboxvideo to video driver list
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13459 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13459 594d385d-05f5-0310-b6e9-bd551577e9d8
Don't take ->initially_was_account into account, when checking weither a ppd was selected, because this leads to removing a selected ppd when creating a new printer object
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13454 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13454 594d385d-05f5-0310-b6e9-bd551577e9d8
Applied changeset:13437
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13447 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13447 594d385d-05f5-0310-b6e9-bd551577e9d8
Added changeset:13433 done by psc
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13446 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13446 594d385d-05f5-0310-b6e9-bd551577e9d8
Updated references
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13445 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13445 594d385d-05f5-0310-b6e9-bd551577e9d8