altlinux / gpupdate

Utility to apply GPOs from Windows Active Directory domains in UNIX environments
https://www.altlinux.org/Групповые_политики
GNU General Public License v3.0
23 stars 17 forks source link

Questions about shortcuts policy #144

Open x09 opened 3 years ago

x09 commented 3 years ago

On AD side, create test group policy - Shortcut policy and Shortcut policy for users. User's shortcuts with 'u' prefix in name

_2021-08-18_12-24

run sudo gpoa --loglevel 0 i see xml definitions of shortcuts policy (for computer and users) ... 2021-08-18 12:27:14.223|[D00024]| Поиск настроек в машинной части GPT|{"setting": "shortcuts", "prefpath": "/var/cache/samba/gpo_cache/ADM72.LOCAL/POLICIES/{A57FEC51-4AE8-4A96-BBAF-EA4D5D85B3B6}/MACHINE/PREFERENCES/SHORTCUTS/SHORTCUTS.XML"} 2021-08-18 12:27:14.224|[D00023]| Поиск настроек в пользовательской части GPT|{"setting": "shortcuts", "prefpath": "/var/cache/samba/gpo_cache/ADM72.LOCAL/POLICIES/{A57FEC51-4AE8-4A96-BBAF-EA4D5D85B3B6}/USER/PREFERENCES/SHORTCUTS/SHORTCUTS.XML"} ..

At now I see desktop files (from computer's policy) in /etc/skel/Desktop/

ls -1 /etc/skel/Desktop/
Geany2.desktop
Geany.desktop
geany_wo_icon.desktop
'Редактор NotepadQQ.desktop'

First question: Files from /etc/skel/Desktop/ apply to first user login when home created. Not for exist users. Second question: Where is shortcuts for users (winth u prefix)? They are nowhere to be found, and on the desktop too.

mastersin commented 3 years ago

Machine preferences for shortcuts is defaults in /etc/skel. It is ok.

User preferences applied by command gpoa USERNAME by oddjobd service from

mastersin commented 3 years ago

Reopen due mistake.

x09 commented 3 years ago

Where are my user shortcuts?

cat /root/shevtsovay_gpoa.log | grep  A57FEC51-4AE8-4A96-BBAF-EA4D5D85B3B6

2021-08-18 23:45:21.416|[I00002]| Получен объект групповой политики|{"gpo_name": "Alt_P9_Install", "gpo_uuid": "{A57FEC51-4AE8-4A96-BBAF-EA4D5D85B3B6}"}
2021-08-18 23:45:22.647|[D00030]| Найден путь SYSVOL|{"sysvol_path": "\\\\adm72.local\\SysVol\\adm72.local\\Policies\\{A57FEC51-4AE8-4A96-BBAF-EA4D5D85B3B6}", "gpo_name": "Alt_P9_Install", "gpo_path": "ADM72.LOCAL/POLICIES/{A57FEC51-4AE8-4A96-BBAF-EA4D5D85B3B6}"}
2021-08-18 23:45:22.678|[D00024]| Поиск настроек в машинной части GPT|{"setting": "shortcuts", "prefpath": "/var/cache/samba/gpo_cache/ADM72.LOCAL/POLICIES/{A57FEC51-4AE8-4A96-BBAF-EA4D5D85B3B6}/MACHINE/PREFERENCES/SHORTCUTS/SHORTCUTS.XML"}
2021-08-18 23:45:22.679|[D00023]| Поиск настроек в пользовательской части GPT|{"setting": "shortcuts", "prefpath": "/var/cache/samba/gpo_cache/ADM72.LOCAL/POLICIES/{A57FEC51-4AE8-4A96-BBAF-EA4D5D85B3B6}/USER/PREFERENCES/SHORTCUTS/SHORTCUTS.XML"}

shortcuts from /var/cache/samba/gpo_cache/ADM72.LOCAL/POLICIES/{A57FEC51-4AE8-4A96-BBAF-EA4D5D85B3B6}/MACHINE/PREFERENCES/SHORTCUTS/SHORTCUTS.XML i found in /etc/skel/Desktop, ok.

where are shortcuts from /var/cache/samba/gpo_cache/ADM72.LOCAL/POLICIES/{A57FEC51-4AE8-4A96-BBAF-EA4D5D85B3B6}/USER/PREFERENCES/SHORTCUTS/SHORTCUTS.XML ?

ghost commented 3 years ago

@x09 , have you assigned the policy to the user you want shortcuts to be applied to? Anyway, still not enough information.

x09 commented 3 years ago

@x09 , have you assigned the policy to the user you want shortcuts to be applied to? Anyway, still not enough information.

yes, assigned изображение

ghost commented 3 years ago

@x09 , unfortunately, the information you are sending is not sufficient enough for me to help you. Could you possibly contact me by e-mail on nir -at- basealt.ru so we will be able to discuss problem and exchange log files?

x09 commented 3 years ago

email sent