https://git.reactos.org/?p=reactos.git;a=commitdiff;h=54d6fab0e165b1d6c60a0…
commit 54d6fab0e165b1d6c60a0859362a3f024fe4d22f
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Jan 3 06:17:48 2021 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Jan 3 06:17:48 2021 +0100
[SAMSRV] Add 'Print Operators', 'Performance Monitor Users' and 'Performance Log Users' aliases to servers
---
dll/win32/samsrv/lang/de-DE.rc | 8 +++++++-
dll/win32/samsrv/lang/en-US.rc | 6 ++++++
dll/win32/samsrv/lang/es-ES.rc | 6 ++++++
dll/win32/samsrv/lang/hi-IN.rc | 6 ++++++
dll/win32/samsrv/lang/hu-HU.rc | 6 ++++++
dll/win32/samsrv/lang/it-IT.rc | 6 ++++++
dll/win32/samsrv/lang/ja-JP.rc | 6 ++++++
dll/win32/samsrv/lang/pl-PL.rc | 6 ++++++
dll/win32/samsrv/lang/pt-PT.rc | 6 ++++++
dll/win32/samsrv/lang/ro-RO.rc | 6 ++++++
dll/win32/samsrv/lang/ru-RU.rc | 6 ++++++
dll/win32/samsrv/lang/sq-AL.rc | 6 ++++++
dll/win32/samsrv/lang/tr-TR.rc | 6 ++++++
dll/win32/samsrv/lang/zh-CN.rc | 6 ++++++
dll/win32/samsrv/lang/zh-TW.rc | 6 ++++++
dll/win32/samsrv/resources.h | 23 ++++++++++++++---------
dll/win32/samsrv/samsrv.c | 5 +++++
dll/win32/samsrv/samsrv.h | 3 ++-
dll/win32/samsrv/setup.c | 33 +++++++++++++++++++++++++++++++++
19 files changed, 145 insertions(+), 11 deletions(-)
diff --git a/dll/win32/samsrv/lang/de-DE.rc b/dll/win32/samsrv/lang/de-DE.rc
index a3ace8da4d2..8b4f33721e1 100644
--- a/dll/win32/samsrv/lang/de-DE.rc
+++ b/dll/win32/samsrv/lang/de-DE.rc
@@ -13,7 +13,9 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "Hauptbenutzer besitzen die meisten Rechte mit einigen Einschränkungen."
IDS_ALIAS_USERS_NAME "Benutzer"
IDS_ALIAS_USERS_COMMENT "Benutzer können keine Änderungen am System vornehmen."
- IDS_ALIAS_BACKUP_OPS_NAME "Sicherungs-Operator"
+ IDS_ALIAS_PRINT_OPS_NAME "Druck-Operatoren"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Mitglieder können Drucker in der Domäne verwalten."
+ IDS_ALIAS_BACKUP_OPS_NAME "Sicherungs-Operatoren"
IDS_ALIAS_BACKUP_OPS_COMMENT "Sicherungs-Operatoren können Sicherheitseinschränkungen nur zum Sichern und Wiederherstellen von Dateien außer Kraft setzen."
IDS_ALIAS_REPLICATOR_NAME "Replikations-Operator"
IDS_ALIAS_REPLICATOR_COMMENT "Unterstützt Dateireplikation in Domänen."
@@ -21,6 +23,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Mitglieder dieser Gruppe haben die Berechtigung, sich remote anzumelden."
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Netzwerkkonfigurations-Operator"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Mitglieder dieser Gruppe verfügen über einige Administratorrechte zum Verwalten der Konfiguration von Netzwerkfunktionen."
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance-Monitor Benutzer"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Mitglieder dieser Gruppe vefügen über Remotezugriff zum Überwachen dieses Computers."
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance-Protokoll Benutzer"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Mitglieder dieser Gruppe verfügen über Remotezugriff um die Protokollierung von Leistungsindikatoren auf diesem Computer zu planen."
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/en-US.rc b/dll/win32/samsrv/lang/en-US.rc
index c810e11229f..0d41b80d032 100644
--- a/dll/win32/samsrv/lang/en-US.rc
+++ b/dll/win32/samsrv/lang/en-US.rc
@@ -13,6 +13,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "Power Users have most administrative rights with some restrictions."
IDS_ALIAS_USERS_NAME "Users"
IDS_ALIAS_USERS_COMMENT "Users are prevented from making system-wide changes."
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members of this group can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -21,6 +23,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/es-ES.rc b/dll/win32/samsrv/lang/es-ES.rc
index 3a30a78eaec..7fbea54d956 100644
--- a/dll/win32/samsrv/lang/es-ES.rc
+++ b/dll/win32/samsrv/lang/es-ES.rc
@@ -14,6 +14,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "Los usuarios avanzados obtienen la mayor parte de los derechos administrativos con algunas restricciones."
IDS_ALIAS_USERS_NAME "Usuarios"
IDS_ALIAS_USERS_COMMENT "Los usuarios no pueden hacer cambios que afecten al sistema."
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -22,6 +24,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/hi-IN.rc b/dll/win32/samsrv/lang/hi-IN.rc
index 0dd5934f3a0..e32da0140f1 100644
--- a/dll/win32/samsrv/lang/hi-IN.rc
+++ b/dll/win32/samsrv/lang/hi-IN.rc
@@ -20,6 +20,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "पावर उपयोगकर्ताओं के पास कुछ प्रतिबंधों के साथ अधिकांश प्रशासनिक अधिकार हैं।"
IDS_ALIAS_USERS_NAME "उपयोगकर्ता"
IDS_ALIAS_USERS_COMMENT "उपयोगकर्ताओं को सिस्टम-व्यापी परिवर्तन करने से रोका जाता है।"
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -28,6 +30,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/hu-HU.rc b/dll/win32/samsrv/lang/hu-HU.rc
index f478b4bcbd6..dbf378bb059 100644
--- a/dll/win32/samsrv/lang/hu-HU.rc
+++ b/dll/win32/samsrv/lang/hu-HU.rc
@@ -13,6 +13,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "A haladó felhasználók a legtöbb adminisztrációs joggal rendelkeznek, bizonyos korlátozásokkal."
IDS_ALIAS_USERS_NAME "Felhasználók"
IDS_ALIAS_USERS_COMMENT "A felhasználók nem tudnak rendszerszintű változtatásokat végrehajtani."
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -21,6 +23,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/it-IT.rc b/dll/win32/samsrv/lang/it-IT.rc
index f31a8c6eba2..bfd5af15c31 100644
--- a/dll/win32/samsrv/lang/it-IT.rc
+++ b/dll/win32/samsrv/lang/it-IT.rc
@@ -13,6 +13,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "Gli utenti avanzati hanno la maggior parte dei diritti amministrativi con alcune restrizioni."
IDS_ALIAS_USERS_NAME "Utente"
IDS_ALIAS_USERS_COMMENT "Gli utenti non possono apportare modifiche a livello di sistema."
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -21,6 +23,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/ja-JP.rc b/dll/win32/samsrv/lang/ja-JP.rc
index a9ac1c943d8..5fe3d7a3a45 100644
--- a/dll/win32/samsrv/lang/ja-JP.rc
+++ b/dll/win32/samsrv/lang/ja-JP.rc
@@ -13,6 +13,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "パワーユーザーは、いくつかの制限付きでほとんどの管理権限を持ちます。"
IDS_ALIAS_USERS_NAME "ユーザー"
IDS_ALIAS_USERS_COMMENT "ユーザーは、システム規模の変更をすることができません。"
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -21,6 +23,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/pl-PL.rc b/dll/win32/samsrv/lang/pl-PL.rc
index 5ba9f28f774..0a27b160ee3 100644
--- a/dll/win32/samsrv/lang/pl-PL.rc
+++ b/dll/win32/samsrv/lang/pl-PL.rc
@@ -13,6 +13,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "Użytkownicy zaawansowani maja większość uprawnień administracyjnych, z kilkoma wyjątkami."
IDS_ALIAS_USERS_NAME "Użytkownicy"
IDS_ALIAS_USERS_COMMENT "Użytkownicy nie mogą dokonywać istotnych zmian w systemie."
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -21,6 +23,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/pt-PT.rc b/dll/win32/samsrv/lang/pt-PT.rc
index dff259f5dc9..43450ec4171 100644
--- a/dll/win32/samsrv/lang/pt-PT.rc
+++ b/dll/win32/samsrv/lang/pt-PT.rc
@@ -13,6 +13,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "Utilizadores avançados têm a maioria dos direitos administrativos com algumas restrições."
IDS_ALIAS_USERS_NAME "Utilizadores"
IDS_ALIAS_USERS_COMMENT "Os utilizadores são impedidos de fazer alterações em todo o sistema."
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -21,6 +23,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/ro-RO.rc b/dll/win32/samsrv/lang/ro-RO.rc
index 4282b8619f7..409884ed2e0 100644
--- a/dll/win32/samsrv/lang/ro-RO.rc
+++ b/dll/win32/samsrv/lang/ro-RO.rc
@@ -15,6 +15,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "Utilizatorii avansați posedă majoritatea drepturilor administrative cu unele restricții."
IDS_ALIAS_USERS_NAME "Utilizatori"
IDS_ALIAS_USERS_COMMENT "Utilizatorilor le este limitată capacitatea de a aduce modificări în sistem."
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -23,6 +25,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/ru-RU.rc b/dll/win32/samsrv/lang/ru-RU.rc
index f63ce09b2c5..5798dd9406a 100644
--- a/dll/win32/samsrv/lang/ru-RU.rc
+++ b/dll/win32/samsrv/lang/ru-RU.rc
@@ -15,6 +15,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "Категория опытных пользователей обладает ограниченными административными правами."
IDS_ALIAS_USERS_NAME "Пользователи"
IDS_ALIAS_USERS_COMMENT "Пользователи не имеют прав на изменение параметров системы и могут запускать большинство приложений."
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -23,6 +25,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/sq-AL.rc b/dll/win32/samsrv/lang/sq-AL.rc
index 4dd2d2465cc..b839fef8040 100644
--- a/dll/win32/samsrv/lang/sq-AL.rc
+++ b/dll/win32/samsrv/lang/sq-AL.rc
@@ -17,6 +17,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "Përdorues të Fuqishëm katë të drejta administrative me disa kufizime."
IDS_ALIAS_USERS_NAME "Përdoruesit"
IDS_ALIAS_USERS_COMMENT "Përdoruesit janë të penguar për ndryshim bërje të gjërave të sistemit."
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -25,6 +27,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/tr-TR.rc b/dll/win32/samsrv/lang/tr-TR.rc
index d18c6d75472..dd475f8b1e1 100644
--- a/dll/win32/samsrv/lang/tr-TR.rc
+++ b/dll/win32/samsrv/lang/tr-TR.rc
@@ -15,6 +15,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "Güçlü Kullanıcılar, birtakım kısıtlamalarla çoğu yönetim yetkilerine iyedir."
IDS_ALIAS_USERS_NAME "Kullanıcılar"
IDS_ALIAS_USERS_COMMENT "Kullanıcılar, dizge değişiklikleri yapmaktan alıkonulmuştur."
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -23,6 +25,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/zh-CN.rc b/dll/win32/samsrv/lang/zh-CN.rc
index 5e65630bdd9..e45a94e183c 100644
--- a/dll/win32/samsrv/lang/zh-CN.rc
+++ b/dll/win32/samsrv/lang/zh-CN.rc
@@ -16,6 +16,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "高级用户拥有大多数管理权限,但存在一些限制。"
IDS_ALIAS_USERS_NAME "用户"
IDS_ALIAS_USERS_COMMENT "防止用户进行对系统进行全面更改。"
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -24,6 +26,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/lang/zh-TW.rc b/dll/win32/samsrv/lang/zh-TW.rc
index 17a122af24f..9038404f8cf 100644
--- a/dll/win32/samsrv/lang/zh-TW.rc
+++ b/dll/win32/samsrv/lang/zh-TW.rc
@@ -16,6 +16,8 @@ BEGIN
IDS_ALIAS_POWER_USERS_COMMENT "進階使用者擁有大多數管理權限,但存在一些限制。"
IDS_ALIAS_USERS_NAME "使用者"
IDS_ALIAS_USERS_COMMENT "防止使用者對系統進行全面變更。"
+ IDS_ALIAS_PRINT_OPS_NAME "Print Operators"
+ IDS_ALIAS_PRINT_OPS_COMMENT "Members can administer domain printers"
IDS_ALIAS_BACKUP_OPS_NAME "Backup Operators"
IDS_ALIAS_BACKUP_OPS_COMMENT "Backup Operators can override security restrictions for the sole purpose of backing up or resoring files"
IDS_ALIAS_REPLICATOR_NAME "Replicator"
@@ -24,6 +26,10 @@ BEGIN
IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT "Members in this group are granted the right to logon remotely"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME "Network Configuration Operators"
IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT "Members in this group can have some administrative privileges to manage configuration of networking features"
+ IDS_ALIAS_MONITORING_USERS_NAME "Performance Monitor Users"
+ IDS_ALIAS_MONITORING_USERS_COMMENT "Members of this group have remote access to monitor this computer"
+ IDS_ALIAS_LOGGING_USERS_NAME "Performance Log Users"
+ IDS_ALIAS_LOGGING_USERS_COMMENT "Members of this group have remote access to schedule logging of performance counters on this computer"
/*
* ATTENTION:
* If you translate the administrator account name, keep IDS_USER_ADMINISTRATOR_NAME and
diff --git a/dll/win32/samsrv/resources.h b/dll/win32/samsrv/resources.h
index d67d496bca5..a2f881cf4f7 100644
--- a/dll/win32/samsrv/resources.h
+++ b/dll/win32/samsrv/resources.h
@@ -21,15 +21,20 @@
#define IDS_ALIAS_POWER_USERS_COMMENT 125
#define IDS_ALIAS_USERS_NAME 126
#define IDS_ALIAS_USERS_COMMENT 127
-#define IDS_ALIAS_BACKUP_OPS_NAME 128
-#define IDS_ALIAS_BACKUP_OPS_COMMENT 129
-#define IDS_ALIAS_REPLICATOR_NAME 130
-#define IDS_ALIAS_REPLICATOR_COMMENT 131
-#define IDS_ALIAS_REMOTE_DESKTOP_USERS_NAME 132
-#define IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT 133
-#define IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME 134
-#define IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT 135
-
+#define IDS_ALIAS_PRINT_OPS_NAME 128
+#define IDS_ALIAS_PRINT_OPS_COMMENT 129
+#define IDS_ALIAS_BACKUP_OPS_NAME 130
+#define IDS_ALIAS_BACKUP_OPS_COMMENT 131
+#define IDS_ALIAS_REPLICATOR_NAME 132
+#define IDS_ALIAS_REPLICATOR_COMMENT 133
+#define IDS_ALIAS_REMOTE_DESKTOP_USERS_NAME 134
+#define IDS_ALIAS_REMOTE_DESKTOP_USERS_COMMENT 135
+#define IDS_ALIAS_NETWORK_CONFIGURATION_OPS_NAME 136
+#define IDS_ALIAS_NETWORK_CONFIGURATION_OPS_COMMENT 137
+#define IDS_ALIAS_MONITORING_USERS_NAME 138
+#define IDS_ALIAS_MONITORING_USERS_COMMENT 139
+#define IDS_ALIAS_LOGGING_USERS_NAME 140
+#define IDS_ALIAS_LOGGING_USERS_COMMENT 141
#define IDS_USER_ADMINISTRATOR_NAME 160
#define IDS_USER_ADMINISTRATOR_COMMENT 161
diff --git a/dll/win32/samsrv/samsrv.c b/dll/win32/samsrv/samsrv.c
index 7efaabe6e7f..5e4fd9d96f3 100644
--- a/dll/win32/samsrv/samsrv.c
+++ b/dll/win32/samsrv/samsrv.c
@@ -26,6 +26,7 @@
ENCRYPTED_NT_OWF_PASSWORD EmptyNtHash;
ENCRYPTED_LM_OWF_PASSWORD EmptyLmHash;
RTL_RESOURCE SampResource;
+NT_PRODUCT_TYPE SampProductType;
/* FUNCTIONS *****************************************************************/
@@ -104,6 +105,10 @@ SamIInitialize(VOID)
TRACE("SamIInitialize() called\n");
+ Status = RtlGetNtProductType(&SampProductType);
+ if (!NT_SUCCESS(Status))
+ SampProductType = NtProductWinNt;
+
Status = SampInitHashes();
if (!NT_SUCCESS(Status))
return Status;
diff --git a/dll/win32/samsrv/samsrv.h b/dll/win32/samsrv/samsrv.h
index 842ac51e2d0..e16308c9338 100644
--- a/dll/win32/samsrv/samsrv.h
+++ b/dll/win32/samsrv/samsrv.h
@@ -21,6 +21,7 @@
#include <winbase.h>
#include <winreg.h>
#define NTOS_MODE_USER
+#include <ndk/ketypes.h>
#include <ndk/kefuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/rtlfuncs.h>
@@ -119,7 +120,7 @@ extern PGENERIC_MAPPING pServerMapping;
extern ENCRYPTED_NT_OWF_PASSWORD EmptyNtHash;
extern ENCRYPTED_LM_OWF_PASSWORD EmptyLmHash;
extern RTL_RESOURCE SampResource;
-
+extern NT_PRODUCT_TYPE SampProductType;
/* alias.c */
diff --git a/dll/win32/samsrv/setup.c b/dll/win32/samsrv/setup.c
index 210039f938a..30e11a96019 100644
--- a/dll/win32/samsrv/setup.c
+++ b/dll/win32/samsrv/setup.c
@@ -1022,6 +1022,18 @@ SampInitializeSAM(VOID)
szComment,
DOMAIN_ALIAS_RID_POWER_USERS);
+ if (SampProductType != NtProductWinNt)
+ {
+ /* Create the Print Operators alias (Server only) */
+ SampLoadString(hInstance, IDS_ALIAS_PRINT_OPS_NAME, szName, 80);
+ SampLoadString(hInstance, IDS_ALIAS_PRINT_OPS_COMMENT, szComment, 256);
+
+ SampSetupCreateAliasAccount(hBuiltinDomainKey,
+ szName,
+ szComment,
+ DOMAIN_ALIAS_RID_PRINT_OPS);
+ }
+
/* Create the Backup Operators alias */
SampLoadString(hInstance, IDS_ALIAS_BACKUP_OPS_NAME, szName, 80);
SampLoadString(hInstance, IDS_ALIAS_BACKUP_OPS_COMMENT, szComment, 256);
@@ -1058,6 +1070,27 @@ SampInitializeSAM(VOID)
szComment,
DOMAIN_ALIAS_RID_NETWORK_CONFIGURATION_OPS);
+ if (SampProductType != NtProductWinNt)
+ {
+ /* Create the Performance Monitor Users alias (Server only) */
+ SampLoadString(hInstance, IDS_ALIAS_MONITORING_USERS_NAME, szName, 80);
+ SampLoadString(hInstance, IDS_ALIAS_MONITORING_USERS_COMMENT, szComment, 256);
+
+ SampSetupCreateAliasAccount(hBuiltinDomainKey,
+ szName,
+ szComment,
+ DOMAIN_ALIAS_RID_MONITORING_USERS);
+
+ /* Create the Performance Log Users alias (Server only) */
+ SampLoadString(hInstance, IDS_ALIAS_LOGGING_USERS_NAME, szName, 80);
+ SampLoadString(hInstance, IDS_ALIAS_LOGGING_USERS_COMMENT, szComment, 256);
+
+ SampSetupCreateAliasAccount(hBuiltinDomainKey,
+ szName,
+ szComment,
+ DOMAIN_ALIAS_RID_LOGGING_USERS);
+ }
+
/* Add the Administrator user to the Administrators alias */
pSid = AppendRidToSid(AccountDomainInfo->DomainSid,
DOMAIN_USER_RID_ADMIN);
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ca1b2ada343a7ca2edd55…
commit ca1b2ada343a7ca2edd556f013ed55622318039d
Author: Victor Perevertkin <victor.perevertkin(a)reactos.org>
AuthorDate: Sun Jan 3 03:46:12 2021 +0300
Commit: Victor Perevertkin <victor.perevertkin(a)reactos.org>
CommitDate: Sun Jan 3 03:46:12 2021 +0300
[CMAKE] Replace DIVISION_SLASH unicode character with SOLIDUS
This fixes the build on some machines. In addition, replace
the hardcoded "LINK /LIB" with ${CMAKE_AR}
Addendum to b96e88894a4d55f5e8b94430deeb0f086151b24f
---
sdk/cmake/msvc.cmake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/cmake/msvc.cmake b/sdk/cmake/msvc.cmake
index 1601805404a..ee6c343451d 100644
--- a/sdk/cmake/msvc.cmake
+++ b/sdk/cmake/msvc.cmake
@@ -320,9 +320,9 @@ function(generate_import_lib _libname _dllname _spec_file)
add_custom_command(
OUTPUT ${_libfile_tmp}
COMMAND
- LINK /LIB ∕NOLOGO /MACHINE:${WINARCH}
+ ${CMAKE_AR} /NOLOGO /MACHINE:${WINARCH}
$<TARGET_PROPERTY:${_libname},STATIC_LIBRARY_FLAGS> $<TARGET_PROPERTY:${_libname},STATIC_LIBRARY_OPTIONS>
- ∕DEF:${_def_file} /OUT:${_libfile_tmp} ${_asm_stubs_file}.obj
+ /DEF:${_def_file} /OUT:${_libfile_tmp} ${_asm_stubs_file}.obj
DEPENDS ${_asm_stubs_file}.obj ${_def_file})
# By giving the import lib as an object input, LIB extracts the relevant object files and make a new library.