1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-14 16:58:25 +03:00

821 Commits

Author SHA1 Message Date
Rustem Bapin
e45cd1fd18 refactor, add update and replace actions 2020-10-21 20:36:32 +04:00
Rustem Bapin
ca01b20464 Catch exception in case kinit is not successful 2020-10-16 22:16:02 +04:00
Rustem Bapin
590fd8c464 environment variables applier 2020-10-16 22:08:46 +04:00
Evgeny Sinelnikov
d967c0786d 0.8.1-alt3
- Fixed compatibility upgrade trigger condition
0.8.1-alt3
2020-10-07 06:33:05 +04:00
Evgeny Sinelnikov
b426ab5b36 0.8.1-alt2
- Fixed compatibility upgrade trigger from 0.7 releases for update
  active local-policy in new gpupdate.ini configuartion file
0.8.1-alt2
2020-10-07 05:47:22 +04:00
Evgeny Sinelnikov
bb54d3e01e 0.8.1-alt1
- Workaround for control names with special symbols
- Improved logging on Kerberos errors
0.8.1-alt1
2020-09-11 22:05:50 +04:00
NIR
e2c386b6d0
Merge pull request #119 from altlinux/fix_kerberos_logging
Improved logging on Kerberos errors
2020-09-11 19:08:37 +04:00
66c2303069
Improved logging on Kerberos errors 2020-09-11 19:06:02 +04:00
NIR
e9cf33855c
Merge pull request #117 from altlinux/control_spec_workaround
Workaround for control names with special symbols
2020-09-11 18:56:07 +04:00
3eae206e6f
Workaround for control names with special symbols 2020-09-11 18:39:36 +04:00
536d989497
Automatically detect local policy name 2020-09-11 14:26:25 +04:00
Evgeny Sinelnikov
6cf0a7b136 0.8.0-alt1
- Improve gpo applier logging
- Add new configuration file /etc/gpupdate/gpupdate.ini
- Fix folders applier regression
- kinit move to samba backend
- Replace gpupdate-setup utility with new implementation
0.8.0-alt1
2020-09-10 00:40:48 +04:00
Evgeny Sinelnikov
48e484937e Set gpupdate-setup enable options not positional 2020-09-10 00:40:13 +04:00
Evgeny Sinelnikov
150ed3d29f Fix write action arguments 2020-09-09 23:11:23 +04:00
NIR
cff5ed1932 control 'system-policy global' changed to 'system-policy remote' 2020-09-09 23:02:29 +04:00
Evgeny Sinelnikov
b6a41c3843
Merge pull request #114 from altlinux/gpsetup_active_backend
Active backend selection fixes in gpupdate-setup
2020-09-09 20:53:10 +04:00
564d324b53
gpupdate-setup: Added set-backend and default-backend commands 2020-09-09 19:58:20 +04:00
41de03e6e8
Fix DC selection logging 2020-09-09 19:57:46 +04:00
828f6099da
Fix logging for Kerberos 2020-09-09 19:57:27 +04:00
0a5af77655
Eliminate unused variable in util.windows 2020-09-09 19:57:08 +04:00
4abea3cc32
Make samba default backend in code 2020-09-09 19:56:38 +04:00
2597ae46cd
Handle GPT retrieval error on incorrect DC specification 2020-09-09 19:56:10 +04:00
fdec0dc765
Two new FATAL-level messages added 2020-09-09 19:55:25 +04:00
8f96b1be85
Don't do anything if log metadata is not JSON-encodable 2020-09-09 19:54:43 +04:00
1f6b7d4cb7
Changed default backend to samba in configuration file 2020-09-09 19:52:21 +04:00
NIR
adea356f1b
Merge pull request #113 from altlinux/dc_fix_log
Omit missing variable from log
2020-09-08 15:18:05 +04:00
75bb669ce7
Omit missing variable from log 2020-09-08 15:15:46 +04:00
NIR
e7967e5cc4
Merge pull request #112 from altlinux/avoid_dc_search
Avoid DC search on DC specification (either as CLI or config option)
2020-09-07 17:41:16 +04:00
d99ec2d890
Avoid DC search on DC specification (either as CLI or config option) 2020-09-07 17:11:07 +04:00
NIR
91b5c7f858
Merge pull request #111 from altlinux/dc_in_config
Added functionality to tune Samba backend via INI file
2020-09-07 16:53:56 +04:00
cb5101fc48
Added functionality to tune Samba backend via INI file
It is now possible to write in `/etc/gpupdate/gpupdate.ini`:

```
[samba]
dc = your.buggy.dc
```

To avoid auto-selection of Domain Controller for policy replication.
2020-09-07 16:51:38 +04:00
Evgeny Sinelnikov
a9f9689032
Merge pull request #108 from altlinux/freeipa_backend_stub
gpupdate-setup and other improvements
2020-09-02 20:31:40 +04:00
508fbe4dd5
Kinit functionality moved to Samba backend 2020-08-28 22:10:09 +04:00
ea379c3181
Correctly handle backend initialization 2020-08-28 21:52:40 +04:00
Evgeny Sinelnikov
ccfba4b592
Merge pull request #109 from altlinux/update-desktop-database
Shortcuts applier improvement
2020-08-26 17:57:30 +04:00
Evgeny Sinelnikov
3dcebe25e2
Merge pull request #110 from altlinux/storage_trigger
Postinst trigger introduced
2020-08-26 17:56:33 +04:00
37416ab77d
Postinst trigger introduced
There are situations when we might lose storage compatibility between
versions due to SQLite3 table structure changes. This commit introduces
trigger which removes old storage in case of specific version change.

The storage will be regenerated on next GPOA run.
2020-08-21 16:34:21 +04:00
22cd8844ba
Logic fix for shortcuts applier 2020-08-21 16:03:34 +04:00
c8cfd51915
Shortcuts applier improvement
Run update-desktop-database utility only in case there are
shortcuts for processing present in storage.
2020-08-21 16:00:39 +04:00
1a4ae69cdf
Install gpupdate.ini 2020-08-20 18:33:33 +04:00
e1170d2096
FreeIPA backend stub added 2020-08-20 18:30:24 +04:00
e44b3c96ec
gpupdate-setup: Fixed GPOA call 2020-08-20 18:29:41 +04:00
7e7450d52a
gpupdate-setup: Retain behavior of active-policy option 2020-08-20 18:29:29 +04:00
e4113e971f
gpupdate-setup: Check for gpupdate-user.service correctly 2020-08-20 18:29:01 +04:00
57607d1311
gpupdate-setup.is_unit_enabled(): Fixed stdout check 2020-08-20 18:28:30 +04:00
103110bdef
gpupdate-setup.is_unit_enabled(): Work with global units too 2020-08-20 18:28:05 +04:00
126f2ffd7d
backend: Fixed incorrect variable reference error 2020-08-20 18:27:15 +04:00
914a20b244
Operate on configuration file instead of symlinks 2020-08-20 15:09:40 +04:00
55dbdfc246
Numerous config parser fixes 2020-08-20 15:08:37 +04:00
b5059620a7
gpupdate-setup functions for local policy setup moved to util.util 2020-08-20 15:01:23 +04:00