gosa-plugin-sudo-2.7.4/0000755000175000017500000000000011752422556013726 5ustar cajuscajusgosa-plugin-sudo-2.7.4/contrib/0000755000175000017500000000000011752422556015366 5ustar cajuscajusgosa-plugin-sudo-2.7.4/contrib/sudo.schema0000644000175000017500000000217310776436520017526 0ustar cajuscajus# # schema file for sudo # attributetype ( 1.3.6.1.4.1.15953.9.1.1 NAME 'sudoUser' DESC 'User(s) who may run sudo' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) attributetype ( 1.3.6.1.4.1.15953.9.1.2 NAME 'sudoHost' DESC 'Host(s) who may run sudo' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) attributetype ( 1.3.6.1.4.1.15953.9.1.3 NAME 'sudoCommand' DESC 'Command(s) to be executed by sudo' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) attributetype ( 1.3.6.1.4.1.15953.9.1.4 NAME 'sudoRunAs' DESC 'User(s) impersonated by sudo' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) attributetype ( 1.3.6.1.4.1.15953.9.1.5 NAME 'sudoOption' DESC 'Options(s) followed by sudo' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) objectclass ( 1.3.6.1.4.1.15953.9.2.1 NAME 'sudoRole' SUP top STRUCTURAL DESC 'Sudoer Entries' MUST ( cn ) MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoOption $ description ) ) gosa-plugin-sudo-2.7.4/contrib/sudo.ldif0000644000175000017500000000220111043607556017171 0ustar cajuscajusdn: cn=sudo,cn=schema,cn=config objectClass: olcSchemaConfig cn: sudo olcAttributeTypes: ( 1.3.6.1.4.1.15953.9.1.1 NAME 'sudoUser' DESC 'User(s) who may run sudo' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) olcAttributeTypes: ( 1.3.6.1.4.1.15953.9.1.2 NAME 'sudoHost' DESC 'Host(s) who may run sudo' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) olcAttributeTypes: ( 1.3.6.1.4.1.15953.9.1.3 NAME 'sudoCommand' DESC 'Command(s) to be executed by sudo' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) olcAttributeTypes: ( 1.3.6.1.4.1.15953.9.1.4 NAME 'sudoRunAs' DESC 'User(s) impersonated by sudo' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) olcAttributeTypes: ( 1.3.6.1.4.1.15953.9.1.5 NAME 'sudoOption' DESC 'Options(s) followed by sudo' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) olcObjectClasses: ( 1.3.6.1.4.1.15953.9.2.1 NAME 'sudoRole' SUP top STRUCTURAL DESC 'Sudoer Entries' MUST ( cn ) MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoOption $ description ) ) gosa-plugin-sudo-2.7.4/html/0000755000175000017500000000000011752422556014672 5ustar cajuscajusgosa-plugin-sudo-2.7.4/html/images/0000755000175000017500000000000011752422556016137 5ustar cajuscajusgosa-plugin-sudo-2.7.4/html/images/sudo.png0000644000175000017500000000505211362007217017607 0ustar cajuscajusPNG  IHDR00WsRGB pHYs7]7]F]tIME7bKGD IDATxY[l>^c61  [*Mj!B EET%jPڗV*xD$J[>P QL"d,ח:ewFKGvu\̜sf:Fd8uf  +'5w]u"aLgsS2"3- m?3/qZO4xҥp8P(tr|>_ S<08'8>Ko ۜȏ &0ʝ߇6T}tر޾}o=H??^^^ޟL&ǃ8L&c ,DDr_N<96e5絿O~ۻwog/@L45D%a~zksss@ihh0---f}}q~ȑ#OM@_ޱcOnj6nhqSQQaKtݦtuuFHȘǏQgݻgFFF " moo76m+Dyѧ!e$CQBzzz b][z: Ҋ"(!bgnܸaݾf۶mQ=yٿ+ Xf(pĪ7ozvzzM}Dչb0:NlbeeGFNp QQ?WoAhO{.ZXX`͞={H\ ihQ.t:mRӈxd_7Rcccfiib1ϽU]p+W.gBϳٔyI4ӄ%^gjB^HL')ҵ111Ný[IszS..Gb`Bib{_k l)_. >Stz,S[ E1HFIPQ佝nMHd䞈(:ȺA0[0"pѦdɩ;ԩOŽm#\sNu3 !b"M@`QZg`WeE`X},F+4L"L {=ד"{ i2jaxBtttt#ڣdxIދ"P[HѐHm0}ϴ#;Xb^r:%uiU|E-ZF>Hհlh46yFy!_T-BGBH)2="\a@"@8p@^_v{Vө>( P0KH@k$I:E!DDx_ ^I G>|XtI xy۰y&iN)^/%uHN!jmPyyF& Ek@w4 V#Rh?q,R5/ :CWE}oT@ QsY.`qBhE@`а-J*J4">\>m tmQ"M<wʉE4 T(~u!d:}8~CoCˈB5_ Yg+۶ҏc7ńЫؑb+EL>s_w_J$BHH+휷J); zR$Y#^10ɴ p!C3wWnsPw^%(HR6\tş'={( pJx䫀4=1l! 7#`#'}>p3wc di\' =@ [ў.+MOi}q;ӟ43'b H+rGQCe4999 EG7Qt|e[ڞj%29O)r} < ,dQu cF1 ë5H hA+APv D$p6iϲ~gs|H^JE$J \ E:ى{s;.SS5xK*DUz-')1$,<*@T%-DSJ@Z"+޷"dE%=WXK wd5TK V$ >H[S*3_ "Dp海lmt;ZrK (DNE%I[0kJ9 Z@A!U3e9FqIENDB`gosa-plugin-sudo-2.7.4/html/images/select_workstation.png0000644000175000017500000000146111042036770022561 0ustar cajuscajusPNG  IHDRagAMA7IDATxmk\U{g\C&8I D("?FBё".C;۵K֭_j: IM"4L<|Vϻx~#VVV>F`>512Ό~Ƨkkk8^7)d(# SnϮ›o\\WN̝c?}cS(J1DaQH؋}/>>nKK=;QQYp*߿^c ~e`x 00)me +ŕ? @5?a4 P ۷X!!Nׯ?0|6?~ xo&$  `VIIQ9..B0@ .. --4 X@l 0@1"_Nl`W߁~ ??`0?`z0b@y|XﺺNJʰ7,`q!#@9Y3f at2H߿62 A^ @(061+0m$sF7@ ٢,ˠNkdeeſ@X&8@ 'a` c8z<4]y v˗ blIENDB`gosa-plugin-sudo-2.7.4/html/images/negate.png0000644000175000017500000000135111042023023020062 0ustar cajuscajusPNG  IHDR5T pHYs  #ugAMA|Q cHRMz%u0`:o_F_IDATxb?###:8Xkgg(v9Ԁ@!ܵϜEE108 ĀBLJ[!#ӏ pr o`` !5! Ӂj`D\__ hkbpƍ  !R_0pz0󍏁EI+z… 20\/,͇@`C}8{k S\ >!#=.lz018  a/ӄW|g9HW _& ln~᝙0!1 /Ä}q1gxa`nE^*dtY`?ng@a$sZ@6" t @l.Lx1I!!5kо| @X7 ?:ΠfeW@ .Uj_j?9FK /O8UC Q{,$PLzIENDB`gosa-plugin-sudo-2.7.4/plugin.dsc0000644000175000017500000000040111363242352015702 0ustar cajuscajus[gosa-plugin] name = sudo description = "Sudo manager" version = 2.6.8 author = "Cajus Pollmeier " maintainer = "GOsa packages maintainers group " homepage = https://oss.gonicus.de/labs/gosa/ depends = systems gosa-plugin-sudo-2.7.4/locale/0000755000175000017500000000000011752422556015165 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/ru/0000755000175000017500000000000011752422556015613 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/ru/LC_MESSAGES/0000755000175000017500000000000011752422556017400 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/ru/LC_MESSAGES/messages.po0000644000175000017500000002624511475426262021560 0ustar cajuscajus# Translation of messages.po to Russian # Valia V. Vaneeva , 2004. # $Id: messages.po,v 1.61 2005/04/18 10:37:13 migor-guest Exp $ msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2005-04-18 14:35+0300\n" "Last-Translator: Igor Muratov \n" "Language-Team: ALT Linux Team\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: poEdit 1.3.1\n" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Type" msgstr "Тип" #: admin/sudo/class_sudoGeneric.inc:112 #, fuzzy msgid "Member" msgstr "Включаемые объекты" #: admin/sudo/class_sudoGeneric.inc:112 admin/sudo/class_sudoGeneric.inc:115 #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:119 #, fuzzy msgid "Option" msgstr "Параметры" #: admin/sudo/class_sudoGeneric.inc:115 #, fuzzy msgid "System" msgstr "Системы" #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:552 #, fuzzy msgid "Command" msgstr "и" #: admin/sudo/class_sudoGeneric.inc:119 admin/sudo/class_sudoGeneric.inc:366 msgid "User" msgstr "Пользователь" #: admin/sudo/class_sudoGeneric.inc:308 msgid "Error" msgstr "" #: admin/sudo/class_sudoGeneric.inc:367 msgid "Group" msgstr "Группа" #: admin/sudo/class_sudoGeneric.inc:462 #, fuzzy msgid "LDAP error" msgstr "Ошибка LDAP:" #: admin/sudo/class_sudoGeneric.inc:476 admin/sudo/class_sudoGeneric.inc:481 #: admin/sudo/class_sudoGeneric.inc:486 admin/sudo/class_sudoGeneric.inc:495 #: admin/sudo/class_sudoGeneric.inc:548 admin/sudo/generic.tpl:7 #: admin/sudo/generic.tpl:34 admin/sudo/sudo-list.xml:32 #: admin/sudo/paste_generic.tpl:5 msgid "Name" msgstr "Фамилия" #: admin/sudo/class_sudoGeneric.inc:525 #, fuzzy msgid "Sudo" msgstr "Имя сервера" #: admin/sudo/class_sudoGeneric.inc:526 admin/sudo/class_sudoGeneric.inc:531 #, fuzzy msgid "Sudo role" msgstr "состояние неизвестно" #: admin/sudo/class_sudoGeneric.inc:539 #, fuzzy msgid "RDN for sudo rule storage." msgstr "Почтовые настройки пользователя" #: admin/sudo/class_sudoGeneric.inc:547 msgid "System trust" msgstr "Системные доверия" #: admin/sudo/class_sudoGeneric.inc:549 admin/sudo/generic.tpl:15 #: admin/sudo/generic.tpl:44 admin/sudo/sudo-list.xml:40 msgid "Description" msgstr "Описание" #: admin/sudo/class_sudoGeneric.inc:550 msgid "Users" msgstr "Пользователи" #: admin/sudo/class_sudoGeneric.inc:551 msgid "Host" msgstr "" #: admin/sudo/class_sudoGeneric.inc:553 #, fuzzy msgid "Run as user" msgstr "Пользователи домена" #: admin/sudo/class_sudoGeneric.inc:554 #, fuzzy msgid "Access control list" msgstr "Параметры доступа" #: admin/sudo/options.tpl:3 admin/sudo/class_sudoOption.inc:539 #: admin/sudo/class_sudoOption.inc:546 #, fuzzy msgid "Sudo options" msgstr "состояние неизвестно" #: admin/sudo/options.tpl:5 #, fuzzy msgid "Option name" msgstr "Местоположение" #: admin/sudo/options.tpl:7 #, fuzzy msgid "Value" msgstr "мужской" #: admin/sudo/options.tpl:8 admin/sudo/class_sudoOption.inc:538 msgid "Options" msgstr "Параметры" #: admin/sudo/options.tpl:89 #, fuzzy msgid "Available options" msgstr "Доступные приложения" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 admin/sudo/generic.tpl:27 #: admin/sudo/generic.tpl:29 admin/sudo/generic.tpl:31 #: admin/sudo/paste_generic.tpl:1 msgid "Generic" msgstr "Общее" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 #: admin/sudo/paste_generic.tpl:1 msgid "global defaults" msgstr "" #: admin/sudo/generic.tpl:61 #, fuzzy msgid "Users and groups" msgstr "группы" #: admin/sudo/generic.tpl:73 admin/sudo/generic.tpl:91 msgid "Add from list" msgstr "" #: admin/sudo/generic.tpl:78 #, fuzzy msgid "Systems" msgstr "Системы" #: admin/sudo/generic.tpl:99 #, fuzzy msgid "Commands" msgstr "и" #: admin/sudo/generic.tpl:112 #, fuzzy msgid "Run as" msgstr "Пользователи домена" #: admin/sudo/sudo-list.xml:11 #, fuzzy msgid "List of Sudo roles" msgstr "Список пользователей" #: admin/sudo/sudo-list.xml:15 admin/sudo/sudo-list.xml:65 msgid "Role" msgstr "Роль" #: admin/sudo/sudo-list.xml:48 msgid "Actions" msgstr "Действия" #: admin/sudo/sudo-list.xml:59 msgid "Create" msgstr "Создать" #: admin/sudo/sudo-list.xml:72 #, fuzzy msgid "Default" msgstr "Удалить" #: admin/sudo/sudo-list.xml:85 msgid "Remove" msgstr "Удалить" #: admin/sudo/sudo-list.xml:117 #, fuzzy msgid "Edit Sudo role" msgstr "состояние неизвестно" #: admin/sudo/sudo-list.xml:130 #, fuzzy msgid "Remove Sudo role" msgstr "состояние неизвестно" #: admin/sudo/paste_generic.tpl:2 #, fuzzy msgid "Paste sudo entry" msgstr "Дата" #: admin/sudo/class_sudoOption.inc:154 #, fuzzy msgid "Unknown option" msgstr "состояние неизвестно" #: admin/sudo/class_sudoOption.inc:155 #, fuzzy, php-format msgid "The Sudo option '%s' is invalid!" msgstr "Указанное имя уже используется." #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "string" msgstr "Предупреждение" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:285 #: admin/sudo/class_sudoOption.inc:286 msgid "boolean" msgstr "" #: admin/sudo/class_sudoOption.inc:285 #, fuzzy msgid "integer" msgstr "принтеры" #: admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "list" msgstr "Английский" #: admin/sudo/sudo-filter.xml:22 #, fuzzy msgid "Default filter" msgstr "Параметры загрузки" #: admin/sudo/sudo-filter.xml:36 #, fuzzy msgid "By member" msgstr "Члены группы" #: admin/sudo/class_sudoManagement.inc:25 #, fuzzy msgid "Sudo rules" msgstr "состояние неизвестно" #: admin/sudo/class_sudoManagement.inc:26 msgid "Manage all aspects of system wide sudoers definitions" msgstr "" #, fuzzy #~ msgid "Filter" #~ msgstr "Фильтры" #~ msgid "Warning" #~ msgstr "Предупреждение" #~ msgid "" #~ "Please double check if you really want to do this since there is no way " #~ "for GOsa to get your data back." #~ msgstr "" #~ "Подумайте еще раз, действительно ли вам нужно удаление, так как GOsa не " #~ "сможет восстановить эти данные." #, fuzzy #~ msgid "" #~ "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Если вы уверены в своих действиях, нажмите на кнопку Удалить, " #~ "иначе нажмите Отмена." #~ msgid "disabled" #~ msgstr "отключен" #~ msgid "full access" #~ msgstr "полный доступ" #~ msgid "allow access to these hosts" #~ msgstr "разрешить доступ только на эти хосты" #, fuzzy #~ msgid "Trust mode" #~ msgstr "Режим" #, fuzzy #~ msgid "Sudo management" #~ msgstr "Управление системами" #, fuzzy #~ msgid "List of users and groups" #~ msgstr "группы" #, fuzzy #~ msgid "Description name" #~ msgstr "Описание" #~ msgid "Add" #~ msgstr "Добавить" #~ msgid "Base" #~ msgstr "Ветка" #~ msgid "Select systems to add" #~ msgstr "Выберите системы для добавления" #~ msgid "Display systems of department" #~ msgstr "Показать системы в подразделении" #~ msgid "Choose the department the search will be based on" #~ msgstr "Выбрать раздел, для которого будет осуществлен поиск" #~ msgid "Display systems matching" #~ msgstr "Показать подходяшие системы" #~ msgid "Regular expression for matching addresses" #~ msgstr "Регулярное выражение для поиска адреса" #, fuzzy #~ msgid "List of systems" #~ msgstr "Список пользователей" #~ msgid "Server" #~ msgstr "Сервер" #~ msgid "Workstation" #~ msgstr "Рабочая станция" #, fuzzy #~ msgid "Terminal" #~ msgstr "Терминалы" #, fuzzy #~ msgid "Show users" #~ msgstr "Показать пользователей Samba" #, fuzzy #~ msgid "Show groups" #~ msgstr "Показать группы samba" #~ msgid "Show servers" #~ msgstr "Показать серверы" #~ msgid "Show workstations" #~ msgstr "Показать рабочие станции" #~ msgid "Show terminals" #~ msgstr "Показать терминалы" #, fuzzy #~ msgid "Available systems" #~ msgstr "Доступные приложения" #~ msgid "Object name" #~ msgstr "Имя объекта" #~ msgid "Select to see terminals" #~ msgstr "Выберите чтобы посмотреть терминалы" #~ msgid "Select to see servers" #~ msgstr "Выберите, чтобы просмотреть серверы" #~ msgid "Select to see workstations" #~ msgstr "Выберите чтобы посмотреть рабочие станции" #~ msgid "Regular expression for matching group names" #~ msgstr "Регулярное выражение, соответствующее именам групп" #, fuzzy #~ msgid "Select the target objects" #~ msgstr "Выберите подразделение" #, fuzzy #~ msgid "Available members" #~ msgstr "Доступные приложения" #, fuzzy #~ msgid "Select to see users" #~ msgstr "Выберите, чтобы просмотреть серверы" #, fuzzy #~ msgid "Select to see groups" #~ msgstr "Выберите чтобы посмотреть группы GOsa" #~ msgid "Apply" #~ msgstr "Применить" #, fuzzy #~ msgid "If you're sure, press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Если вы уверены в своих действиях, нажмите на кнопку Удалить, " #~ "иначе нажмите Отмена." #, fuzzy #~ msgid "Sudo role administration" #~ msgstr "Управление группами" #, fuzzy #~ msgid "Select all" #~ msgstr "Удалить" #~ msgid "Department" #~ msgstr "Подразделение" #, fuzzy #~ msgid "Regular expression for matching role names" #~ msgstr "Регулярное выражение, соответствующее именам групп" #, fuzzy #~ msgid "Regular expression for matching role member names" #~ msgstr "Регулярное выражение, соответствующее именам объектов" #, fuzzy #~ msgid "Edit this entry" #~ msgstr "Редактиовать объект" #, fuzzy #~ msgid "Delete this entry" #~ msgstr "Удалить" #, fuzzy #~ msgid "Number of listed roles" #~ msgstr "Название группы" #, fuzzy #~ msgid "Manage sudo roles" #~ msgstr "Пользователи домена" #, fuzzy #~ msgid "Permission" #~ msgstr "Права для членов группы" #, fuzzy #~ msgid "Permission error" #~ msgstr "Права для членов группы" gosa-plugin-sudo-2.7.4/locale/pl/0000755000175000017500000000000011752422556015600 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/pl/LC_MESSAGES/0000755000175000017500000000000011752422556017365 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/pl/LC_MESSAGES/messages.po0000644000175000017500000002256411475426262021545 0ustar cajuscajusmsgid "" msgstr "" "Project-Id-Version: polski\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2007-07-14 21:45+0100\n" "Last-Translator: Piotr Rybicki \n" "Language-Team: Piotr Rybicki \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Polish\n" "X-Poedit-Country: POLAND\n" "X-Poedit-SourceCharset: iso-8859-2\n" "X-Poedit-Basepath: tedst\n" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Type" msgstr "Typ" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Member" msgstr "Członek" #: admin/sudo/class_sudoGeneric.inc:112 admin/sudo/class_sudoGeneric.inc:115 #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:119 #, fuzzy msgid "Option" msgstr "Opcje" #: admin/sudo/class_sudoGeneric.inc:115 #, fuzzy msgid "System" msgstr "System" #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:552 #, fuzzy msgid "Command" msgstr "i" #: admin/sudo/class_sudoGeneric.inc:119 admin/sudo/class_sudoGeneric.inc:366 msgid "User" msgstr "Użytkownik" #: admin/sudo/class_sudoGeneric.inc:308 msgid "Error" msgstr "Błąd" #: admin/sudo/class_sudoGeneric.inc:367 msgid "Group" msgstr "Grupa" #: admin/sudo/class_sudoGeneric.inc:462 #, fuzzy msgid "LDAP error" msgstr "błąd LDAP:" #: admin/sudo/class_sudoGeneric.inc:476 admin/sudo/class_sudoGeneric.inc:481 #: admin/sudo/class_sudoGeneric.inc:486 admin/sudo/class_sudoGeneric.inc:495 #: admin/sudo/class_sudoGeneric.inc:548 admin/sudo/generic.tpl:7 #: admin/sudo/generic.tpl:34 admin/sudo/sudo-list.xml:32 #: admin/sudo/paste_generic.tpl:5 msgid "Name" msgstr "Imię" #: admin/sudo/class_sudoGeneric.inc:525 #, fuzzy msgid "Sudo" msgstr "Nazwisko" #: admin/sudo/class_sudoGeneric.inc:526 admin/sudo/class_sudoGeneric.inc:531 #, fuzzy msgid "Sudo role" msgstr "! nieznane id" #: admin/sudo/class_sudoGeneric.inc:539 #, fuzzy msgid "RDN for sudo rule storage." msgstr "Ustawienia profilu Kiosk" #: admin/sudo/class_sudoGeneric.inc:547 msgid "System trust" msgstr "Zaufanie systemowe" #: admin/sudo/class_sudoGeneric.inc:549 admin/sudo/generic.tpl:15 #: admin/sudo/generic.tpl:44 admin/sudo/sudo-list.xml:40 msgid "Description" msgstr "Opis" #: admin/sudo/class_sudoGeneric.inc:550 msgid "Users" msgstr "Użytkownicy" #: admin/sudo/class_sudoGeneric.inc:551 #, fuzzy msgid "Host" msgstr "Zaczepy" #: admin/sudo/class_sudoGeneric.inc:553 #, fuzzy msgid "Run as user" msgstr "Użytkownicy domeny" #: admin/sudo/class_sudoGeneric.inc:554 #, fuzzy msgid "Access control list" msgstr "Kontrola dostępu" #: admin/sudo/options.tpl:3 admin/sudo/class_sudoOption.inc:539 #: admin/sudo/class_sudoOption.inc:546 #, fuzzy msgid "Sudo options" msgstr "Nieznane" #: admin/sudo/options.tpl:5 #, fuzzy msgid "Option name" msgstr "Nazwa lokalizacji" #: admin/sudo/options.tpl:7 #, fuzzy msgid "Value" msgstr "mężczyzna" #: admin/sudo/options.tpl:8 admin/sudo/class_sudoOption.inc:538 msgid "Options" msgstr "Opcje" #: admin/sudo/options.tpl:89 #, fuzzy msgid "Available options" msgstr "Dostępni odbiorcy" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 admin/sudo/generic.tpl:27 #: admin/sudo/generic.tpl:29 admin/sudo/generic.tpl:31 #: admin/sudo/paste_generic.tpl:1 msgid "Generic" msgstr "Ogólne" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 #: admin/sudo/paste_generic.tpl:1 msgid "global defaults" msgstr "" #: admin/sudo/generic.tpl:61 #, fuzzy msgid "Users and groups" msgstr "grupy" #: admin/sudo/generic.tpl:73 admin/sudo/generic.tpl:91 msgid "Add from list" msgstr "" #: admin/sudo/generic.tpl:78 #, fuzzy msgid "Systems" msgstr "System" #: admin/sudo/generic.tpl:99 #, fuzzy msgid "Commands" msgstr "i" #: admin/sudo/generic.tpl:112 #, fuzzy msgid "Run as" msgstr "Użytkownicy domeny" #: admin/sudo/sudo-list.xml:11 #, fuzzy msgid "List of Sudo roles" msgstr "Lista użytkowników" #: admin/sudo/sudo-list.xml:15 admin/sudo/sudo-list.xml:65 msgid "Role" msgstr "Pełniona funkcja" #: admin/sudo/sudo-list.xml:48 msgid "Actions" msgstr "Akcje" #: admin/sudo/sudo-list.xml:59 msgid "Create" msgstr "Utwórz" #: admin/sudo/sudo-list.xml:72 #, fuzzy msgid "Default" msgstr "Usuń" #: admin/sudo/sudo-list.xml:85 msgid "Remove" msgstr "Usuń" #: admin/sudo/sudo-list.xml:117 #, fuzzy msgid "Edit Sudo role" msgstr "! nieznane id" #: admin/sudo/sudo-list.xml:130 #, fuzzy msgid "Remove Sudo role" msgstr "! nieznane id" #: admin/sudo/paste_generic.tpl:2 #, fuzzy msgid "Paste sudo entry" msgstr "Wklej użytkownika" #: admin/sudo/class_sudoOption.inc:154 #, fuzzy msgid "Unknown option" msgstr "Nieznane" #: admin/sudo/class_sudoOption.inc:155 #, fuzzy, php-format msgid "The Sudo option '%s' is invalid!" msgstr "Podana nazwa jest nieprawidłowa" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "string" msgstr "Ostrzeżenie" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:285 #: admin/sudo/class_sudoOption.inc:286 msgid "boolean" msgstr "" #: admin/sudo/class_sudoOption.inc:285 #, fuzzy msgid "integer" msgstr "drukarki" #: admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "list" msgstr "klasa" #: admin/sudo/sudo-filter.xml:22 #, fuzzy msgid "Default filter" msgstr "Parametr" #: admin/sudo/sudo-filter.xml:36 #, fuzzy msgid "By member" msgstr "Brak członków" #: admin/sudo/class_sudoManagement.inc:25 #, fuzzy msgid "Sudo rules" msgstr "! nieznane id" #: admin/sudo/class_sudoManagement.inc:26 msgid "Manage all aspects of system wide sudoers definitions" msgstr "" #, fuzzy #~ msgid "Filter" #~ msgstr "Filtry" #~ msgid "Warning" #~ msgstr "Ostrzeżenie" #~ msgid "" #~ "Please double check if you really want to do this since there is no way " #~ "for GOsa to get your data back." #~ msgstr "Proszę upewnić się czy kontynuować, gdyż nie ma możliwości powrotu." #~ msgid "" #~ "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Jeśli jesteś pewien - naciśnij 'Usuń' aby kontynuować lub 'Anuluj' aby " #~ "anulować." #~ msgid "disabled" #~ msgstr "wyłączone" #~ msgid "full access" #~ msgstr "pełen dostęp" #~ msgid "allow access to these hosts" #~ msgstr "zezwól na dostęp do tych hostów" #~ msgid "Trust mode" #~ msgstr "Tryb zaufania" #, fuzzy #~ msgid "Sudo management" #~ msgstr "Zarządzanie systemem" #, fuzzy #~ msgid "List of users and groups" #~ msgstr "grupy" #, fuzzy #~ msgid "Description name" #~ msgstr "Opis" #~ msgid "Add" #~ msgstr "Dodaj" #~ msgid "Base" #~ msgstr "Kontener" #~ msgid "Update" #~ msgstr "Aktualizuj" #~ msgid "Submit" #~ msgstr "Wyślij" #~ msgid "Select systems to add" #~ msgstr "Wybierz systemy do dodania" #~ msgid "Display systems of department" #~ msgstr "Wyświetl systemy departamentu" #~ msgid "Choose the department the search will be based on" #~ msgstr "Wybierz departament na którym wyszukiwanie będzie bazować" #~ msgid "Display systems matching" #~ msgstr "Wyświetl systemy pasujące" #~ msgid "Regular expression for matching addresses" #~ msgstr "Wyrażenie regularne dla dopasowania adresów" #, fuzzy #~ msgid "List of systems" #~ msgstr "Lista użytkowników" #~ msgid "Server" #~ msgstr "Serwer" #~ msgid "Workstation" #~ msgstr "Stacja robocza" #~ msgid "Terminal" #~ msgstr "Terminal" #, fuzzy #~ msgid "Show users" #~ msgstr "Pokaż użytkowników Samby" #, fuzzy #~ msgid "Show groups" #~ msgstr "Pokaż grupy samba" #~ msgid "Show servers" #~ msgstr "Pokaż serwery" #~ msgid "Show workstations" #~ msgstr "Pokaż stacje robocze" #~ msgid "Show terminals" #~ msgstr "Pokaż terminale" #, fuzzy #~ msgid "Available systems" #~ msgstr "Dostępni członkowie" #~ msgid "Object name" #~ msgstr "Nazwa obiektu" #~ msgid "Select to see terminals" #~ msgstr "Wybierz aby zobaczyć terminale" #~ msgid "Select to see servers" #~ msgstr "Proszę aby zobaczyć serwery" #~ msgid "Select to see workstations" #~ msgstr "Wybierz aby zobaczyc stacje robocze" #~ msgid "Regular expression for matching group names" #~ msgstr "Wyrażenie regularne dla dopasowania nazw grup" #, fuzzy #~ msgid "Select the target objects" #~ msgstr "Wybierz aby zobaczyć departamenty" #~ msgid "Available members" #~ msgstr "Dostępni członkowie" #, fuzzy #~ msgid "Select to see users" #~ msgstr "Proszę aby zobaczyć serwery" #, fuzzy #~ msgid "Select to see groups" #~ msgstr "Wybierz aby zobaczyć grupy GOsa" #~ msgid "Apply" #~ msgstr "Zastosuj" #, fuzzy #~ msgid "If you're sure, press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Jeśli jesteś pewien - naciśnij 'Usuń' aby kontynuować lub 'Anuluj' aby " #~ "anulować." #, fuzzy #~ msgid "Sudo role administration" #~ msgstr "Administracja Grupą" #, fuzzy #~ msgid "Select all" #~ msgstr "Wybierz" #~ msgid "Department" #~ msgstr "Departament" #, fuzzy #~ msgid "Regular expression for matching role names" #~ msgstr "Wyrażenie regularne dla dopasowania nazw grup" #, fuzzy #~ msgid "Regular expression for matching role member names" #~ msgstr "Wyrażenie regularne dla dopasowania nazw obiektów" #~ msgid "Edit this entry" #~ msgstr "Edytuj ten obiekt" #~ msgid "Delete this entry" #~ msgstr "Usuń ten obiekt" #, fuzzy #~ msgid "Number of listed roles" #~ msgstr "Nazwa grupy" #, fuzzy #~ msgid "Manage sudo roles" #~ msgstr "Użytkownicy domeny" #, fuzzy #~ msgid "Permission" #~ msgstr "Uprawnienia" #, fuzzy #~ msgid "Permission error" #~ msgstr "Uprawnienia" gosa-plugin-sudo-2.7.4/locale/it/0000755000175000017500000000000011752422556015601 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/it/LC_MESSAGES/0000755000175000017500000000000011752422556017366 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/it/LC_MESSAGES/messages.po0000644000175000017500000002153511475426262021543 0ustar cajuscajus# translation of messages.po to Italian # Copyright (c) 2005 B-Open Solutions srl - http://www.bopen.it/ # Copyright (c) 2005 Alessandro Amici # Alessandro Amici , 2005. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2005-11-18 15:26+0100\n" "Last-Translator: Alessandro Amici \n" "Language-Team: Italian\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.9.1\n" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Type" msgstr "Tipo" #: admin/sudo/class_sudoGeneric.inc:112 #, fuzzy msgid "Member" msgstr "Membri" #: admin/sudo/class_sudoGeneric.inc:112 admin/sudo/class_sudoGeneric.inc:115 #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:119 #, fuzzy msgid "Option" msgstr "Opzioni" #: admin/sudo/class_sudoGeneric.inc:115 #, fuzzy msgid "System" msgstr "Sistemi" #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:552 #, fuzzy msgid "Command" msgstr "e" #: admin/sudo/class_sudoGeneric.inc:119 admin/sudo/class_sudoGeneric.inc:366 msgid "User" msgstr "" #: admin/sudo/class_sudoGeneric.inc:308 msgid "Error" msgstr "" #: admin/sudo/class_sudoGeneric.inc:367 msgid "Group" msgstr "Gruppo" #: admin/sudo/class_sudoGeneric.inc:462 #, fuzzy msgid "LDAP error" msgstr "Errore LDAP" #: admin/sudo/class_sudoGeneric.inc:476 admin/sudo/class_sudoGeneric.inc:481 #: admin/sudo/class_sudoGeneric.inc:486 admin/sudo/class_sudoGeneric.inc:495 #: admin/sudo/class_sudoGeneric.inc:548 admin/sudo/generic.tpl:7 #: admin/sudo/generic.tpl:34 admin/sudo/sudo-list.xml:32 #: admin/sudo/paste_generic.tpl:5 msgid "Name" msgstr "Cognome" #: admin/sudo/class_sudoGeneric.inc:525 #, fuzzy msgid "Sudo" msgstr "Cognome" #: admin/sudo/class_sudoGeneric.inc:526 admin/sudo/class_sudoGeneric.inc:531 #, fuzzy msgid "Sudo role" msgstr "Cognome" #: admin/sudo/class_sudoGeneric.inc:539 #, fuzzy msgid "RDN for sudo rule storage." msgstr "Opzioni di posta dell'identità" #: admin/sudo/class_sudoGeneric.inc:547 msgid "System trust" msgstr "Accesso ai sistemi" #: admin/sudo/class_sudoGeneric.inc:549 admin/sudo/generic.tpl:15 #: admin/sudo/generic.tpl:44 admin/sudo/sudo-list.xml:40 msgid "Description" msgstr "Descrizione" #: admin/sudo/class_sudoGeneric.inc:550 msgid "Users" msgstr "Utenti" #: admin/sudo/class_sudoGeneric.inc:551 msgid "Host" msgstr "" #: admin/sudo/class_sudoGeneric.inc:553 #, fuzzy msgid "Run as user" msgstr "Utenti di Dominio" #: admin/sudo/class_sudoGeneric.inc:554 #, fuzzy msgid "Access control list" msgstr "Opzioni di accesso" #: admin/sudo/options.tpl:3 admin/sudo/class_sudoOption.inc:539 #: admin/sudo/class_sudoOption.inc:546 #, fuzzy msgid "Sudo options" msgstr "Utenti di Dominio" #: admin/sudo/options.tpl:5 #, fuzzy msgid "Option name" msgstr "Nome locazione" #: admin/sudo/options.tpl:7 #, fuzzy msgid "Value" msgstr "maschio" #: admin/sudo/options.tpl:8 admin/sudo/class_sudoOption.inc:538 msgid "Options" msgstr "Opzioni" #: admin/sudo/options.tpl:89 #, fuzzy msgid "Available options" msgstr "Applicazioni disponibili" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 admin/sudo/generic.tpl:27 #: admin/sudo/generic.tpl:29 admin/sudo/generic.tpl:31 #: admin/sudo/paste_generic.tpl:1 msgid "Generic" msgstr "Generale" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 #: admin/sudo/paste_generic.tpl:1 msgid "global defaults" msgstr "" #: admin/sudo/generic.tpl:61 #, fuzzy msgid "Users and groups" msgstr "gruppi" #: admin/sudo/generic.tpl:73 admin/sudo/generic.tpl:91 msgid "Add from list" msgstr "" #: admin/sudo/generic.tpl:78 #, fuzzy msgid "Systems" msgstr "Sistemi" #: admin/sudo/generic.tpl:99 #, fuzzy msgid "Commands" msgstr "e" #: admin/sudo/generic.tpl:112 #, fuzzy msgid "Run as" msgstr "Utenti di Dominio" #: admin/sudo/sudo-list.xml:11 #, fuzzy msgid "List of Sudo roles" msgstr "Lista degli utenti" #: admin/sudo/sudo-list.xml:15 admin/sudo/sudo-list.xml:65 msgid "Role" msgstr "Ruolo" #: admin/sudo/sudo-list.xml:48 msgid "Actions" msgstr "Azioni" #: admin/sudo/sudo-list.xml:59 msgid "Create" msgstr "Creare" #: admin/sudo/sudo-list.xml:72 #, fuzzy msgid "Default" msgstr "Rimuovi" #: admin/sudo/sudo-list.xml:85 msgid "Remove" msgstr "Rimuovi" #: admin/sudo/sudo-list.xml:117 #, fuzzy msgid "Edit Sudo role" msgstr "Lista degli utenti" #: admin/sudo/sudo-list.xml:130 #, fuzzy msgid "Remove Sudo role" msgstr "Utenti di Dominio" #: admin/sudo/paste_generic.tpl:2 #, fuzzy msgid "Paste sudo entry" msgstr "Data" #: admin/sudo/class_sudoOption.inc:154 #, fuzzy msgid "Unknown option" msgstr "Utenti di Dominio" #: admin/sudo/class_sudoOption.inc:155 #, fuzzy, php-format msgid "The Sudo option '%s' is invalid!" msgstr "Il valore specificato per l'UID non è valido." #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "string" msgstr "Attenzione" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:285 #: admin/sudo/class_sudoOption.inc:286 msgid "boolean" msgstr "" #: admin/sudo/class_sudoOption.inc:285 #, fuzzy msgid "integer" msgstr "stampanti" #: admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "list" msgstr "classe" #: admin/sudo/sudo-filter.xml:22 #, fuzzy msgid "Default filter" msgstr "Parametro" #: admin/sudo/sudo-filter.xml:36 #, fuzzy msgid "By member" msgstr "Membri del gruppo" #: admin/sudo/class_sudoManagement.inc:25 #, fuzzy msgid "Sudo rules" msgstr "Utenti di Dominio" #: admin/sudo/class_sudoManagement.inc:26 msgid "Manage all aspects of system wide sudoers definitions" msgstr "" #, fuzzy #~ msgid "Filter" #~ msgstr "Filtri" #~ msgid "Warning" #~ msgstr "Attenzione" #, fuzzy #~ msgid "" #~ "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Quindi - Se sei sicuro - premi Rimuovi per continuare o " #~ "Annulla per abortire." #~ msgid "disabled" #~ msgstr "disabilitato" #~ msgid "full access" #~ msgstr "accesso completo" #~ msgid "allow access to these hosts" #~ msgstr "accesso limitato ai seguenti host" #, fuzzy #~ msgid "Sudo management" #~ msgstr "Dirigenza" #, fuzzy #~ msgid "List of users and groups" #~ msgstr "gruppi" #, fuzzy #~ msgid "Description name" #~ msgstr "Descrizione" #~ msgid "Add" #~ msgstr "Aggiungi" #~ msgid "Base" #~ msgstr "Base" #~ msgid "Select systems to add" #~ msgstr "Seleziona un sistema da aggiungere" #~ msgid "Display systems of department" #~ msgstr "Mostra i sistemi del dipartimento" #~ msgid "Choose the department the search will be based on" #~ msgstr "Scegli il dipartimento di base per la ricerca" #~ msgid "Display systems matching" #~ msgstr "Mostra i sistemi che corrispondono a:" #~ msgid "Regular expression for matching addresses" #~ msgstr "Espressione regolare per selezionare l'indirizzo" #, fuzzy #~ msgid "List of systems" #~ msgstr "Lista degli utenti" #~ msgid "Server" #~ msgstr "Server" #, fuzzy #~ msgid "Terminal" #~ msgstr "Terminali" #, fuzzy #~ msgid "Show users" #~ msgstr "Mostra utenti Samba" #, fuzzy #~ msgid "Show groups" #~ msgstr "Mostra gruppi samba" #~ msgid "Show servers" #~ msgstr "Mostra server" #~ msgid "Show workstations" #~ msgstr "Mostra workstation" #~ msgid "Show terminals" #~ msgstr "Mostra terminali" #, fuzzy #~ msgid "Available systems" #~ msgstr "Applicazioni disponibili" #~ msgid "Object name" #~ msgstr "Nome dell'oggetto" #, fuzzy #~ msgid "Select to see terminals" #~ msgstr "Seleziona per mostrare le applicazioni" #, fuzzy #~ msgid "Select to see workstations" #~ msgstr "Seleziona per mostrare le applicazioni" #~ msgid "Regular expression for matching group names" #~ msgstr "Espressioni regolare per selezionare il nome del gruppo" #, fuzzy #~ msgid "Select to see users" #~ msgstr "Rimuovi" #, fuzzy #~ msgid "Select to see groups" #~ msgstr "Mostra gruppi che contengono utenti" #~ msgid "Apply" #~ msgstr "Applica" #, fuzzy #~ msgid "If you're sure, press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Quindi - Se sei sicuro - premi Rimuovi per continuare o " #~ "Annulla per abortire." #, fuzzy #~ msgid "Sudo role administration" #~ msgstr "Amministrazione dei gruppi di utenti" #, fuzzy #~ msgid "Select all" #~ msgstr "Rimuovi" #~ msgid "Department" #~ msgstr "Dipartimento" #, fuzzy #~ msgid "Regular expression for matching role names" #~ msgstr "Espressioni regolare per selezionare il nome del gruppo" #, fuzzy #~ msgid "Regular expression for matching role member names" #~ msgstr "Espressioni regolare per selezionare il nome del gruppo" #~ msgid "Edit this entry" #~ msgstr "Modifica questo record" #~ msgid "Delete this entry" #~ msgstr "Elimina questo record" #, fuzzy #~ msgid "Number of listed roles" #~ msgstr "Nome del gruppo" #, fuzzy #~ msgid "Permission" #~ msgstr "Permessi" #, fuzzy #~ msgid "Permission error" #~ msgstr "Permessi" gosa-plugin-sudo-2.7.4/locale/pt_BR/0000755000175000017500000000000011752422556016173 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/pt_BR/LC_MESSAGES/0000755000175000017500000000000011752422556017760 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/pt_BR/LC_MESSAGES/messages.po0000644000175000017500000001470211475426262022133 0ustar cajuscajus# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: GOsa plugins - sudo\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2010-03-13 15:51-0300\n" "Last-Translator: Marcos Amorim \n" "Language-Team: Marcos Amorim Clever de Oliveira " "\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Portuguese\n" "X-Poedit-Country: BRAZIL\n" #: admin/sudo/class_sudoGeneric.inc:112 #, fuzzy msgid "Type" msgstr "Tipo" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Member" msgstr "Membro" #: admin/sudo/class_sudoGeneric.inc:112 admin/sudo/class_sudoGeneric.inc:115 #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:119 #, fuzzy msgid "Option" msgstr "Opções" #: admin/sudo/class_sudoGeneric.inc:115 #, fuzzy msgid "System" msgstr "Sistemas" #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:552 msgid "Command" msgstr "Comando" #: admin/sudo/class_sudoGeneric.inc:119 admin/sudo/class_sudoGeneric.inc:366 msgid "User" msgstr "Usuário" #: admin/sudo/class_sudoGeneric.inc:308 msgid "Error" msgstr "Erro" #: admin/sudo/class_sudoGeneric.inc:367 msgid "Group" msgstr "Grupo" #: admin/sudo/class_sudoGeneric.inc:462 msgid "LDAP error" msgstr "Erro LDAP" #: admin/sudo/class_sudoGeneric.inc:476 admin/sudo/class_sudoGeneric.inc:481 #: admin/sudo/class_sudoGeneric.inc:486 admin/sudo/class_sudoGeneric.inc:495 #: admin/sudo/class_sudoGeneric.inc:548 admin/sudo/generic.tpl:7 #: admin/sudo/generic.tpl:34 admin/sudo/sudo-list.xml:32 #: admin/sudo/paste_generic.tpl:5 msgid "Name" msgstr "Nome" #: admin/sudo/class_sudoGeneric.inc:525 msgid "Sudo" msgstr "Sudo" #: admin/sudo/class_sudoGeneric.inc:526 admin/sudo/class_sudoGeneric.inc:531 msgid "Sudo role" msgstr "Regra SUDO" #: admin/sudo/class_sudoGeneric.inc:539 #, fuzzy msgid "RDN for sudo rule storage." msgstr "Caminho dos perfis Kiosk" #: admin/sudo/class_sudoGeneric.inc:547 msgid "System trust" msgstr "Sistema de confiança" #: admin/sudo/class_sudoGeneric.inc:549 admin/sudo/generic.tpl:15 #: admin/sudo/generic.tpl:44 admin/sudo/sudo-list.xml:40 msgid "Description" msgstr "Descrição" #: admin/sudo/class_sudoGeneric.inc:550 msgid "Users" msgstr "Usuários" #: admin/sudo/class_sudoGeneric.inc:551 msgid "Host" msgstr "Host" #: admin/sudo/class_sudoGeneric.inc:553 msgid "Run as user" msgstr "Executar como o usuário" #: admin/sudo/class_sudoGeneric.inc:554 msgid "Access control list" msgstr "Lista de controle de acesso" #: admin/sudo/options.tpl:3 admin/sudo/class_sudoOption.inc:539 #: admin/sudo/class_sudoOption.inc:546 msgid "Sudo options" msgstr "Opções Sudo" #: admin/sudo/options.tpl:5 msgid "Option name" msgstr "Opção" #: admin/sudo/options.tpl:7 msgid "Value" msgstr "Valor" #: admin/sudo/options.tpl:8 admin/sudo/class_sudoOption.inc:538 msgid "Options" msgstr "Opções" #: admin/sudo/options.tpl:89 msgid "Available options" msgstr "Opções disponíveis" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 admin/sudo/generic.tpl:27 #: admin/sudo/generic.tpl:29 admin/sudo/generic.tpl:31 #: admin/sudo/paste_generic.tpl:1 msgid "Generic" msgstr "Geral" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 #: admin/sudo/paste_generic.tpl:1 msgid "global defaults" msgstr "padrões globais" #: admin/sudo/generic.tpl:61 msgid "Users and groups" msgstr "Usuários e grupos" #: admin/sudo/generic.tpl:73 admin/sudo/generic.tpl:91 msgid "Add from list" msgstr "Adicionar da lista" #: admin/sudo/generic.tpl:78 msgid "Systems" msgstr "Sistemas" #: admin/sudo/generic.tpl:99 msgid "Commands" msgstr "Comandos" #: admin/sudo/generic.tpl:112 msgid "Run as" msgstr "Executar como" #: admin/sudo/sudo-list.xml:11 #, fuzzy msgid "List of Sudo roles" msgstr "Lista de papéis do sudo" #: admin/sudo/sudo-list.xml:15 admin/sudo/sudo-list.xml:65 msgid "Role" msgstr "Papéis" #: admin/sudo/sudo-list.xml:48 msgid "Actions" msgstr "Ações" #: admin/sudo/sudo-list.xml:59 msgid "Create" msgstr "Criar" #: admin/sudo/sudo-list.xml:72 msgid "Default" msgstr "Padrão" #: admin/sudo/sudo-list.xml:85 msgid "Remove" msgstr "Remover" #: admin/sudo/sudo-list.xml:117 #, fuzzy msgid "Edit Sudo role" msgstr "Editar papel sudo" #: admin/sudo/sudo-list.xml:130 #, fuzzy msgid "Remove Sudo role" msgstr "Remover papel sudo" #: admin/sudo/paste_generic.tpl:2 #, fuzzy msgid "Paste sudo entry" msgstr "Colar" #: admin/sudo/class_sudoOption.inc:154 msgid "Unknown option" msgstr "Opção desconhecida" #: admin/sudo/class_sudoOption.inc:155 #, fuzzy, php-format msgid "The Sudo option '%s' is invalid!" msgstr "A opção '%s' é inválida" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:286 msgid "string" msgstr "string" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:285 #: admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "boolean" msgstr "boleano" #: admin/sudo/class_sudoOption.inc:285 msgid "integer" msgstr "inteiro" #: admin/sudo/class_sudoOption.inc:286 msgid "list" msgstr "lista" #: admin/sudo/sudo-filter.xml:22 #, fuzzy msgid "Default filter" msgstr "Aplicar filtro" #: admin/sudo/sudo-filter.xml:36 #, fuzzy msgid "By member" msgstr "Sem membros" #: admin/sudo/class_sudoManagement.inc:25 #, fuzzy msgid "Sudo rules" msgstr "Regra SUDO" #: admin/sudo/class_sudoManagement.inc:26 msgid "Manage all aspects of system wide sudoers definitions" msgstr "" #~ msgid "Filter" #~ msgstr "Filtro" #~ msgid "Warning" #~ msgstr "Aviso" #~ msgid "" #~ "Please double check if you really want to do this since there is no way " #~ "for GOsa to get your data back." #~ msgstr "" #~ "Por favor, verifique se você realmente quer fazer isso já que não há " #~ "caminho para GOsa para obter seus dados de volta." #~ msgid "" #~ "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Portanto - se você está certo - pressione 'Excluir' para continuar ou " #~ "'Cancelar' para abortar." #~ msgid "disabled" #~ msgstr "desabilitado" #~ msgid "full access" #~ msgstr "acesso total" #~ msgid "allow access to these hosts" #~ msgstr "permitir acesso a esses hosts" #~ msgid "Trust mode" #~ msgstr "Modo de confiança" #~ msgid "Sudo management" #~ msgstr "Gerenciamento Sudo" gosa-plugin-sudo-2.7.4/locale/es/0000755000175000017500000000000011752422556015574 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/es/LC_MESSAGES/0000755000175000017500000000000011752422556017361 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/es/LC_MESSAGES/messages.po0000644000175000017500000002306011475426262021531 0ustar cajuscajus# translation of admin.po to # translation of systems.po to # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # , 2010. msgid "" msgstr "" "Project-Id-Version: admin\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2010-01-28 23:56+0100\n" "Last-Translator: \n" "Language-Team: Spanish <>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Type" msgstr "Tipo" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Member" msgstr "Miembro" #: admin/sudo/class_sudoGeneric.inc:112 admin/sudo/class_sudoGeneric.inc:115 #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:119 #, fuzzy msgid "Option" msgstr "Opciones" #: admin/sudo/class_sudoGeneric.inc:115 #, fuzzy msgid "System" msgstr "Sistemas" #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:552 msgid "Command" msgstr "Comando" #: admin/sudo/class_sudoGeneric.inc:119 admin/sudo/class_sudoGeneric.inc:366 msgid "User" msgstr "Usuario" #: admin/sudo/class_sudoGeneric.inc:308 msgid "Error" msgstr "Error" #: admin/sudo/class_sudoGeneric.inc:367 msgid "Group" msgstr "Grupo" #: admin/sudo/class_sudoGeneric.inc:462 msgid "LDAP error" msgstr "Error LDAP" #: admin/sudo/class_sudoGeneric.inc:476 admin/sudo/class_sudoGeneric.inc:481 #: admin/sudo/class_sudoGeneric.inc:486 admin/sudo/class_sudoGeneric.inc:495 #: admin/sudo/class_sudoGeneric.inc:548 admin/sudo/generic.tpl:7 #: admin/sudo/generic.tpl:34 admin/sudo/sudo-list.xml:32 #: admin/sudo/paste_generic.tpl:5 msgid "Name" msgstr "Nombre" #: admin/sudo/class_sudoGeneric.inc:525 msgid "Sudo" msgstr "Sudo" #: admin/sudo/class_sudoGeneric.inc:526 admin/sudo/class_sudoGeneric.inc:531 msgid "Sudo role" msgstr "Rol Sudo" #: admin/sudo/class_sudoGeneric.inc:539 #, fuzzy msgid "RDN for sudo rule storage." msgstr "Ruta del almacén de perfiles kiosk" #: admin/sudo/class_sudoGeneric.inc:547 msgid "System trust" msgstr "Sistema de seguridad" #: admin/sudo/class_sudoGeneric.inc:549 admin/sudo/generic.tpl:15 #: admin/sudo/generic.tpl:44 admin/sudo/sudo-list.xml:40 msgid "Description" msgstr "Descripción" #: admin/sudo/class_sudoGeneric.inc:550 msgid "Users" msgstr "Usuarios" #: admin/sudo/class_sudoGeneric.inc:551 msgid "Host" msgstr "Nombre de equipo" #: admin/sudo/class_sudoGeneric.inc:553 msgid "Run as user" msgstr "Ejecutar como usuario" #: admin/sudo/class_sudoGeneric.inc:554 msgid "Access control list" msgstr "Lista de control de acceso" #: admin/sudo/options.tpl:3 admin/sudo/class_sudoOption.inc:539 #: admin/sudo/class_sudoOption.inc:546 msgid "Sudo options" msgstr "Opciones Sudo" #: admin/sudo/options.tpl:5 msgid "Option name" msgstr "Nombre de la opción" #: admin/sudo/options.tpl:7 msgid "Value" msgstr "Valor" #: admin/sudo/options.tpl:8 admin/sudo/class_sudoOption.inc:538 msgid "Options" msgstr "Opciones" #: admin/sudo/options.tpl:89 msgid "Available options" msgstr "Opciones disponibles" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 admin/sudo/generic.tpl:27 #: admin/sudo/generic.tpl:29 admin/sudo/generic.tpl:31 #: admin/sudo/paste_generic.tpl:1 msgid "Generic" msgstr "Genérico" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 #: admin/sudo/paste_generic.tpl:1 msgid "global defaults" msgstr "Opciones predeterminadas" #: admin/sudo/generic.tpl:61 msgid "Users and groups" msgstr "Usuarios y grupos" #: admin/sudo/generic.tpl:73 admin/sudo/generic.tpl:91 msgid "Add from list" msgstr "Añadir de la lista" #: admin/sudo/generic.tpl:78 msgid "Systems" msgstr "Sistemas" #: admin/sudo/generic.tpl:99 msgid "Commands" msgstr "Comandos" #: admin/sudo/generic.tpl:112 msgid "Run as" msgstr "Ejecutar como" #: admin/sudo/sudo-list.xml:11 #, fuzzy msgid "List of Sudo roles" msgstr "Lista de roles Sudo" #: admin/sudo/sudo-list.xml:15 admin/sudo/sudo-list.xml:65 msgid "Role" msgstr "Rol" #: admin/sudo/sudo-list.xml:48 msgid "Actions" msgstr "Acciones" #: admin/sudo/sudo-list.xml:59 msgid "Create" msgstr "Crear" #: admin/sudo/sudo-list.xml:72 msgid "Default" msgstr "Por defecto" #: admin/sudo/sudo-list.xml:85 msgid "Remove" msgstr "Eliminar" #: admin/sudo/sudo-list.xml:117 #, fuzzy msgid "Edit Sudo role" msgstr "Editar rol Sudo" #: admin/sudo/sudo-list.xml:130 #, fuzzy msgid "Remove Sudo role" msgstr "Eliminar rol Sudo" #: admin/sudo/paste_generic.tpl:2 #, fuzzy msgid "Paste sudo entry" msgstr "Pegar" #: admin/sudo/class_sudoOption.inc:154 msgid "Unknown option" msgstr "Opción desconocida" #: admin/sudo/class_sudoOption.inc:155 #, fuzzy, php-format msgid "The Sudo option '%s' is invalid!" msgstr "¡La opción Sudo %s no es válida!" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:286 msgid "string" msgstr "cadena de texto" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:285 #: admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "boolean" msgstr "Booleano" #: admin/sudo/class_sudoOption.inc:285 msgid "integer" msgstr "Entero" #: admin/sudo/class_sudoOption.inc:286 msgid "list" msgstr "lista" #: admin/sudo/sudo-filter.xml:22 #, fuzzy msgid "Default filter" msgstr "Parámetro" #: admin/sudo/sudo-filter.xml:36 #, fuzzy msgid "By member" msgstr "Sin miembros" #: admin/sudo/class_sudoManagement.inc:25 #, fuzzy msgid "Sudo rules" msgstr "Roles Sudo" #: admin/sudo/class_sudoManagement.inc:26 msgid "Manage all aspects of system wide sudoers definitions" msgstr "" #~ msgid "Filter" #~ msgstr "Filtro" #~ msgid "Warning" #~ msgstr "Aviso" #~ msgid "" #~ "Please double check if you really want to do this since there is no way " #~ "for GOsa to get your data back." #~ msgstr "" #~ "Si está seguro de lo que quiere hacer pulse dos veces, ya que no hay " #~ "forma de que GOsa pueda recuperar posteriormente esa información" #~ msgid "" #~ "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Entonces, si esta seguro, presione Eliminar para continuar o " #~ "Cancelar para Abortar." #~ msgid "disabled" #~ msgstr "desactivado" #~ msgid "full access" #~ msgstr "Acceso sin restricciones" #~ msgid "allow access to these hosts" #~ msgstr "Permitir el acceso a estos equipos" #~ msgid "Trust mode" #~ msgstr "Modo seguro" #~ msgid "Sudo management" #~ msgstr "Administración Sudo" #, fuzzy #~ msgid "List of users and groups" #~ msgstr "Usuarios y grupos" #, fuzzy #~ msgid "Description name" #~ msgstr "Descripción" #~ msgid "Add" #~ msgstr "Añadir" #~ msgid "Base" #~ msgstr "Base" #~ msgid "Update" #~ msgstr "Actualizar" #~ msgid "Submit" #~ msgstr "Enviar" #~ msgid "Select systems to add" #~ msgstr "Seleccione los sistemas a añadir" #~ msgid "Display systems of department" #~ msgstr "Mostrar los sistemas del departamento" #~ msgid "Choose the department the search will be based on" #~ msgstr "Escoja el departamento base de la búsqueda" #~ msgid "Display systems matching" #~ msgstr "Mostrar sistemas que coincidan con" #~ msgid "Regular expression for matching addresses" #~ msgstr "Expresiones regulares para buscar direcciones" #, fuzzy #~ msgid "List of systems" #~ msgstr "Lista de usuarios" #~ msgid "Server" #~ msgstr "Servidor" #~ msgid "Workstation" #~ msgstr "Estación de trabajo" #~ msgid "Terminal" #~ msgstr "Terminal" #~ msgid "Show users" #~ msgstr "Mostrar usuarios" #~ msgid "Show groups" #~ msgstr "Mostrar grupos" #~ msgid "Show servers" #~ msgstr "Mostrar servidores" #~ msgid "Show workstations" #~ msgstr "Mostrar estaciones de trabajo" #~ msgid "Show terminals" #~ msgstr "Mostrar terminales" #~ msgid "If you're sure, press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Entonces, si esta seguro, presione Eliminar para continuar o " #~ "Cancelar para Abortar." #~ msgid "Select the target objects for your scheduled action." #~ msgstr "Seleccionar los objetos objetivos para su acción programada." #~ msgid "Available systems" #~ msgstr "Sistemas disponibles" #~ msgid "Object name" #~ msgstr "Nombre de objeto" #~ msgid "Select to see terminals" #~ msgstr "Seleccione para ver los terminales" #~ msgid "Select to see servers" #~ msgstr "Seleccione para mostrar los servidores" #~ msgid "Select to see workstations" #~ msgstr "Seleccione para mostrar las estaciones de trabajo" #~ msgid "Regular expression for matching group names" #~ msgstr "Expresión regular para buscar nombres de grupos" #~ msgid "Select the target objects" #~ msgstr "Seleccione los objetos" #~ msgid "Available members" #~ msgstr "Miembros disponibles" #~ msgid "Select to see users" #~ msgstr "Seleccione para mostrar los usuarios" #~ msgid "Select to see groups" #~ msgstr "Seleccione para mostrar grupos" #~ msgid "Apply" #~ msgstr "Aplicar" #~ msgid "Sudo role administration" #~ msgstr "Administración de rol Sudo" #~ msgid "Select all" #~ msgstr "Seleccione todos" #~ msgid "Department" #~ msgstr "Departamento" #~ msgid "Regular expression for matching role names" #~ msgstr "Expresión regular para buscar nombres de roles" #~ msgid "Regular expression for matching role member names" #~ msgstr "Expresión regular para buscar miembros de roles" #~ msgid "Edit this entry" #~ msgstr "Editar esta entrada" #~ msgid "Delete this entry" #~ msgstr "Eliminar esta entrada" #~ msgid "Number of listed roles" #~ msgstr "Número de roles mostrados" #~ msgid "Manage sudo roles" #~ msgstr "Administrar roles Sudo" #~ msgid "Permission" #~ msgstr "Permiso" #~ msgid "Permission error" #~ msgstr "Error de Permisos" gosa-plugin-sudo-2.7.4/locale/de/0000755000175000017500000000000011752422556015555 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/de/LC_MESSAGES/0000755000175000017500000000000011752422556017342 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/de/LC_MESSAGES/messages.po0000644000175000017500000001504711511625630021507 0ustar cajuscajus# translation of messages.po to deutsch # translation of messages.po to # Header entry was created by KBabel! # # Cajus Pollmeier , 2008. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2010-09-17 11:05+0100\n" "Last-Translator: Fabian Hickert \n" "Language-Team: deutsch \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Type" msgstr "Typ" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Member" msgstr "Mitglied" #: admin/sudo/class_sudoGeneric.inc:112 admin/sudo/class_sudoGeneric.inc:115 #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:119 msgid "Option" msgstr "Optionen" #: admin/sudo/class_sudoGeneric.inc:115 msgid "System" msgstr "System" #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:552 msgid "Command" msgstr "Kommando" #: admin/sudo/class_sudoGeneric.inc:119 admin/sudo/class_sudoGeneric.inc:366 msgid "User" msgstr "Benutzer" #: admin/sudo/class_sudoGeneric.inc:308 msgid "Error" msgstr "Fehler" #: admin/sudo/class_sudoGeneric.inc:367 msgid "Group" msgstr "Gruppe" #: admin/sudo/class_sudoGeneric.inc:462 msgid "LDAP error" msgstr "LDAP-Fehler" #: admin/sudo/class_sudoGeneric.inc:476 admin/sudo/class_sudoGeneric.inc:481 #: admin/sudo/class_sudoGeneric.inc:486 admin/sudo/class_sudoGeneric.inc:495 #: admin/sudo/class_sudoGeneric.inc:548 admin/sudo/generic.tpl:7 #: admin/sudo/generic.tpl:34 admin/sudo/sudo-list.xml:32 #: admin/sudo/paste_generic.tpl:5 msgid "Name" msgstr "Name" #: admin/sudo/class_sudoGeneric.inc:525 msgid "Sudo" msgstr "Sudo" #: admin/sudo/class_sudoGeneric.inc:526 admin/sudo/class_sudoGeneric.inc:531 msgid "Sudo role" msgstr "Sudo-Rolle" #: admin/sudo/class_sudoGeneric.inc:539 msgid "RDN for sudo rule storage." msgstr "RDN zur Ablage von Sudo-Regeln." #: admin/sudo/class_sudoGeneric.inc:547 msgid "System trust" msgstr "System-Vertrauen" #: admin/sudo/class_sudoGeneric.inc:549 admin/sudo/generic.tpl:15 #: admin/sudo/generic.tpl:44 admin/sudo/sudo-list.xml:40 msgid "Description" msgstr "Beschreibung" #: admin/sudo/class_sudoGeneric.inc:550 msgid "Users" msgstr "Benutzer" #: admin/sudo/class_sudoGeneric.inc:551 msgid "Host" msgstr "System" #: admin/sudo/class_sudoGeneric.inc:553 msgid "Run as user" msgstr "Als Benutzer ausführen" #: admin/sudo/class_sudoGeneric.inc:554 msgid "Access control list" msgstr "Zugriffsberechtigungen" #: admin/sudo/options.tpl:3 admin/sudo/class_sudoOption.inc:539 #: admin/sudo/class_sudoOption.inc:546 msgid "Sudo options" msgstr "Sudo-Optionen" #: admin/sudo/options.tpl:5 msgid "Option name" msgstr "Options-Name" #: admin/sudo/options.tpl:7 msgid "Value" msgstr "Wert" #: admin/sudo/options.tpl:8 admin/sudo/class_sudoOption.inc:538 msgid "Options" msgstr "Optionen" #: admin/sudo/options.tpl:89 msgid "Available options" msgstr "Verfügbare Optionen" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 admin/sudo/generic.tpl:27 #: admin/sudo/generic.tpl:29 admin/sudo/generic.tpl:31 #: admin/sudo/paste_generic.tpl:1 msgid "Generic" msgstr "Allgemein" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 #: admin/sudo/paste_generic.tpl:1 msgid "global defaults" msgstr "globale Vorgaben" #: admin/sudo/generic.tpl:61 msgid "Users and groups" msgstr "Benutzer und Gruppen" #: admin/sudo/generic.tpl:73 admin/sudo/generic.tpl:91 msgid "Add from list" msgstr "Aus Liste hinzufügen" #: admin/sudo/generic.tpl:78 msgid "Systems" msgstr "Systeme" #: admin/sudo/generic.tpl:99 msgid "Commands" msgstr "Kommandos" #: admin/sudo/generic.tpl:112 msgid "Run as" msgstr "Ausführen als" #: admin/sudo/sudo-list.xml:11 msgid "List of Sudo roles" msgstr "Liste der sudo-Rollen" #: admin/sudo/sudo-list.xml:15 admin/sudo/sudo-list.xml:65 msgid "Role" msgstr "Rolle" #: admin/sudo/sudo-list.xml:48 msgid "Actions" msgstr "Aktionen" #: admin/sudo/sudo-list.xml:59 msgid "Create" msgstr "Anlegen" #: admin/sudo/sudo-list.xml:72 msgid "Default" msgstr "Vorgabe" #: admin/sudo/sudo-list.xml:85 msgid "Remove" msgstr "Entfernen" #: admin/sudo/sudo-list.xml:117 msgid "Edit Sudo role" msgstr "sudo-Rolle bearbeiten" #: admin/sudo/sudo-list.xml:130 msgid "Remove Sudo role" msgstr "Sudo-Rollen löschen" #: admin/sudo/paste_generic.tpl:2 msgid "Paste sudo entry" msgstr "Sudo Eintrag einfügen" #: admin/sudo/class_sudoOption.inc:154 msgid "Unknown option" msgstr "Unbekannte Option" #: admin/sudo/class_sudoOption.inc:155 #, php-format msgid "The Sudo option '%s' is invalid!" msgstr "Die sudo-Option '%s' ist ungültig!" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:286 msgid "string" msgstr "Zeichenkette" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:285 #: admin/sudo/class_sudoOption.inc:286 msgid "boolean" msgstr "Bool'sch" #: admin/sudo/class_sudoOption.inc:285 msgid "integer" msgstr "Ganzzahl" #: admin/sudo/class_sudoOption.inc:286 msgid "list" msgstr "Liste" #: admin/sudo/sudo-filter.xml:22 msgid "Default filter" msgstr "Standard-Filter" #: admin/sudo/sudo-filter.xml:36 msgid "By member" msgstr "Pro Mitglieder" #: admin/sudo/class_sudoManagement.inc:25 msgid "Sudo rules" msgstr "Sudo-Rolle" #: admin/sudo/class_sudoManagement.inc:26 msgid "Manage all aspects of system wide sudoers definitions" msgstr "Aspekte der systemweiten Sudoers Definitionen verwalten" #~ msgid "" #~ "The 'sudoRDN' statement defines the location where new sudo-roles will be " #~ "created. The default is 'ou=sudoers,'." #~ msgstr "" #~ "Die Option 'sudoRDN' definiert den Ablageort für neue Sudo-Definitionen. " #~ "Der Standard ist 'ou=sudoers,'." #~ msgid "Filter" #~ msgstr "Filter" #~ msgid "Warning" #~ msgstr "Warnung" #~ msgid "" #~ "Please double check if you really want to do this since there is no way " #~ "for GOsa to get your data back." #~ msgstr "" #~ "Bitte überprüfen Sie genau was Sie tun, weil GOsa keine Möglichkeit hat, " #~ "die Daten wiederherzustellen." #~ msgid "" #~ "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Wenn Sie sicher sind, drücken Sie 'Entfernen' um fortzufahren oder " #~ "'Abbrechen' zum Abbruch." #~ msgid "disabled" #~ msgstr "deaktiviert" #~ msgid "full access" #~ msgstr "Vollzugriff" #~ msgid "allow access to these hosts" #~ msgstr "erlaube Zugriff auf diese Hosts" #~ msgid "Trust mode" #~ msgstr "Vertrauens-Modus" #~ msgid "Sudo management" #~ msgstr "SUDO-Verwaltung" gosa-plugin-sudo-2.7.4/locale/fr/0000755000175000017500000000000011752422556015574 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/fr/LC_MESSAGES/0000755000175000017500000000000011752422556017361 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/fr/LC_MESSAGES/messages.po0000644000175000017500000001273111475426262021534 0ustar cajuscajus# translation of messages.po to # Header entry was created by KBabel! # # Benoit Mortier , 2008, 2009, 2010. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2010-11-25 23:28+0100\n" "Last-Translator: Benoit Mortier \n" "Language-Team: \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Type" msgstr "Type" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Member" msgstr "Membres" #: admin/sudo/class_sudoGeneric.inc:112 admin/sudo/class_sudoGeneric.inc:115 #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:119 msgid "Option" msgstr "" #: admin/sudo/class_sudoGeneric.inc:115 msgid "System" msgstr "Système" #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:552 msgid "Command" msgstr "Commande" #: admin/sudo/class_sudoGeneric.inc:119 admin/sudo/class_sudoGeneric.inc:366 msgid "User" msgstr "Utilisateur" #: admin/sudo/class_sudoGeneric.inc:308 msgid "Error" msgstr "Erreur" #: admin/sudo/class_sudoGeneric.inc:367 msgid "Group" msgstr "Groupes" #: admin/sudo/class_sudoGeneric.inc:462 msgid "LDAP error" msgstr "Erreur LDAP" #: admin/sudo/class_sudoGeneric.inc:476 admin/sudo/class_sudoGeneric.inc:481 #: admin/sudo/class_sudoGeneric.inc:486 admin/sudo/class_sudoGeneric.inc:495 #: admin/sudo/class_sudoGeneric.inc:548 admin/sudo/generic.tpl:7 #: admin/sudo/generic.tpl:34 admin/sudo/sudo-list.xml:32 #: admin/sudo/paste_generic.tpl:5 msgid "Name" msgstr "Nom" #: admin/sudo/class_sudoGeneric.inc:525 msgid "Sudo" msgstr "" #: admin/sudo/class_sudoGeneric.inc:526 admin/sudo/class_sudoGeneric.inc:531 msgid "Sudo role" msgstr "Rôle sudo" #: admin/sudo/class_sudoGeneric.inc:539 msgid "RDN for sudo rule storage." msgstr "" #: admin/sudo/class_sudoGeneric.inc:547 msgid "System trust" msgstr "Système de Confiance" #: admin/sudo/class_sudoGeneric.inc:549 admin/sudo/generic.tpl:15 #: admin/sudo/generic.tpl:44 admin/sudo/sudo-list.xml:40 msgid "Description" msgstr "" #: admin/sudo/class_sudoGeneric.inc:550 msgid "Users" msgstr "Utilisateurs" #: admin/sudo/class_sudoGeneric.inc:551 msgid "Host" msgstr "Hôte" #: admin/sudo/class_sudoGeneric.inc:553 msgid "Run as user" msgstr "Exécuter comme un utilisateur" #: admin/sudo/class_sudoGeneric.inc:554 msgid "Access control list" msgstr "Contrôle d'accès (ACL)" #: admin/sudo/options.tpl:3 admin/sudo/class_sudoOption.inc:539 #: admin/sudo/class_sudoOption.inc:546 msgid "Sudo options" msgstr "Options Sudo" #: admin/sudo/options.tpl:5 msgid "Option name" msgstr "Nom de l'option" #: admin/sudo/options.tpl:7 msgid "Value" msgstr "Valeur" #: admin/sudo/options.tpl:8 admin/sudo/class_sudoOption.inc:538 msgid "Options" msgstr "" #: admin/sudo/options.tpl:89 msgid "Available options" msgstr "Options disponibles" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 admin/sudo/generic.tpl:27 #: admin/sudo/generic.tpl:29 admin/sudo/generic.tpl:31 #: admin/sudo/paste_generic.tpl:1 msgid "Generic" msgstr "Informations" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 #: admin/sudo/paste_generic.tpl:1 msgid "global defaults" msgstr "Paramètres globaux par défaut" #: admin/sudo/generic.tpl:61 msgid "Users and groups" msgstr "Utilisateurs et groupes" #: admin/sudo/generic.tpl:73 admin/sudo/generic.tpl:91 msgid "Add from list" msgstr "Ajouter à la liste" #: admin/sudo/generic.tpl:78 msgid "Systems" msgstr "Systèmes" #: admin/sudo/generic.tpl:99 msgid "Commands" msgstr "Commandes" #: admin/sudo/generic.tpl:112 msgid "Run as" msgstr "Exécuter comme" #: admin/sudo/sudo-list.xml:11 msgid "List of Sudo roles" msgstr "Liste des rôles sudo" #: admin/sudo/sudo-list.xml:15 admin/sudo/sudo-list.xml:65 msgid "Role" msgstr "Rôle" #: admin/sudo/sudo-list.xml:48 msgid "Actions" msgstr "" #: admin/sudo/sudo-list.xml:59 msgid "Create" msgstr "Créer" #: admin/sudo/sudo-list.xml:72 msgid "Default" msgstr "Défaut" #: admin/sudo/sudo-list.xml:85 msgid "Remove" msgstr "Supprimer" #: admin/sudo/sudo-list.xml:117 msgid "Edit Sudo role" msgstr "Editer le rôle sudo" #: admin/sudo/sudo-list.xml:130 msgid "Remove Sudo role" msgstr "Supprimer le rôle sudo" #: admin/sudo/paste_generic.tpl:2 msgid "Paste sudo entry" msgstr "Coller un entrée sudo" #: admin/sudo/class_sudoOption.inc:154 msgid "Unknown option" msgstr "Option inconnue" #: admin/sudo/class_sudoOption.inc:155 #, fuzzy, php-format msgid "The Sudo option '%s' is invalid!" msgstr "L'option sudo '%s' est non valide !" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:286 msgid "string" msgstr "chaîne" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:285 #: admin/sudo/class_sudoOption.inc:286 msgid "boolean" msgstr "booléen" #: admin/sudo/class_sudoOption.inc:285 msgid "integer" msgstr "entier" #: admin/sudo/class_sudoOption.inc:286 msgid "list" msgstr "liste" #: admin/sudo/sudo-filter.xml:22 msgid "Default filter" msgstr "Filtre par défaut" #: admin/sudo/sudo-filter.xml:36 msgid "By member" msgstr "Par membre" #: admin/sudo/class_sudoManagement.inc:25 msgid "Sudo rules" msgstr "Rôle sudo" #: admin/sudo/class_sudoManagement.inc:26 msgid "Manage all aspects of system wide sudoers definitions" msgstr "Gère tout les aspects de sudo sur tout les systèmes" gosa-plugin-sudo-2.7.4/locale/en/0000755000175000017500000000000011752422556015567 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/en/LC_MESSAGES/0000755000175000017500000000000011752422556017354 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/messages.po0000644000175000017500000001153011475426262017334 0ustar cajuscajus# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Type" msgstr "" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Member" msgstr "" #: admin/sudo/class_sudoGeneric.inc:112 admin/sudo/class_sudoGeneric.inc:115 #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:119 msgid "Option" msgstr "" #: admin/sudo/class_sudoGeneric.inc:115 msgid "System" msgstr "" #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:552 msgid "Command" msgstr "" #: admin/sudo/class_sudoGeneric.inc:119 admin/sudo/class_sudoGeneric.inc:366 msgid "User" msgstr "" #: admin/sudo/class_sudoGeneric.inc:308 msgid "Error" msgstr "" #: admin/sudo/class_sudoGeneric.inc:367 msgid "Group" msgstr "" #: admin/sudo/class_sudoGeneric.inc:462 msgid "LDAP error" msgstr "" #: admin/sudo/class_sudoGeneric.inc:476 admin/sudo/class_sudoGeneric.inc:481 #: admin/sudo/class_sudoGeneric.inc:486 admin/sudo/class_sudoGeneric.inc:495 #: admin/sudo/class_sudoGeneric.inc:548 admin/sudo/generic.tpl:7 #: admin/sudo/generic.tpl:34 admin/sudo/sudo-list.xml:32 #: admin/sudo/paste_generic.tpl:5 msgid "Name" msgstr "" #: admin/sudo/class_sudoGeneric.inc:525 msgid "Sudo" msgstr "" #: admin/sudo/class_sudoGeneric.inc:526 admin/sudo/class_sudoGeneric.inc:531 msgid "Sudo role" msgstr "" #: admin/sudo/class_sudoGeneric.inc:539 msgid "RDN for sudo rule storage." msgstr "" #: admin/sudo/class_sudoGeneric.inc:547 msgid "System trust" msgstr "" #: admin/sudo/class_sudoGeneric.inc:549 admin/sudo/generic.tpl:15 #: admin/sudo/generic.tpl:44 admin/sudo/sudo-list.xml:40 msgid "Description" msgstr "" #: admin/sudo/class_sudoGeneric.inc:550 msgid "Users" msgstr "" #: admin/sudo/class_sudoGeneric.inc:551 msgid "Host" msgstr "" #: admin/sudo/class_sudoGeneric.inc:553 msgid "Run as user" msgstr "" #: admin/sudo/class_sudoGeneric.inc:554 msgid "Access control list" msgstr "" #: admin/sudo/options.tpl:3 admin/sudo/class_sudoOption.inc:539 #: admin/sudo/class_sudoOption.inc:546 msgid "Sudo options" msgstr "" #: admin/sudo/options.tpl:5 msgid "Option name" msgstr "" #: admin/sudo/options.tpl:7 msgid "Value" msgstr "" #: admin/sudo/options.tpl:8 admin/sudo/class_sudoOption.inc:538 msgid "Options" msgstr "" #: admin/sudo/options.tpl:89 msgid "Available options" msgstr "" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 admin/sudo/generic.tpl:27 #: admin/sudo/generic.tpl:29 admin/sudo/generic.tpl:31 #: admin/sudo/paste_generic.tpl:1 msgid "Generic" msgstr "" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 #: admin/sudo/paste_generic.tpl:1 msgid "global defaults" msgstr "" #: admin/sudo/generic.tpl:61 msgid "Users and groups" msgstr "" #: admin/sudo/generic.tpl:73 admin/sudo/generic.tpl:91 msgid "Add from list" msgstr "" #: admin/sudo/generic.tpl:78 msgid "Systems" msgstr "" #: admin/sudo/generic.tpl:99 msgid "Commands" msgstr "" #: admin/sudo/generic.tpl:112 msgid "Run as" msgstr "" #: admin/sudo/sudo-list.xml:11 msgid "List of Sudo roles" msgstr "" #: admin/sudo/sudo-list.xml:15 admin/sudo/sudo-list.xml:65 msgid "Role" msgstr "" #: admin/sudo/sudo-list.xml:48 msgid "Actions" msgstr "" #: admin/sudo/sudo-list.xml:59 msgid "Create" msgstr "" #: admin/sudo/sudo-list.xml:72 msgid "Default" msgstr "" #: admin/sudo/sudo-list.xml:85 msgid "Remove" msgstr "" #: admin/sudo/sudo-list.xml:117 msgid "Edit Sudo role" msgstr "" #: admin/sudo/sudo-list.xml:130 msgid "Remove Sudo role" msgstr "" #: admin/sudo/paste_generic.tpl:2 msgid "Paste sudo entry" msgstr "" #: admin/sudo/class_sudoOption.inc:154 msgid "Unknown option" msgstr "" #: admin/sudo/class_sudoOption.inc:155 #, php-format msgid "The Sudo option '%s' is invalid!" msgstr "" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:286 msgid "string" msgstr "" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:285 #: admin/sudo/class_sudoOption.inc:286 msgid "boolean" msgstr "" #: admin/sudo/class_sudoOption.inc:285 msgid "integer" msgstr "" #: admin/sudo/class_sudoOption.inc:286 msgid "list" msgstr "" #: admin/sudo/sudo-filter.xml:22 msgid "Default filter" msgstr "" #: admin/sudo/sudo-filter.xml:36 msgid "By member" msgstr "" #: admin/sudo/class_sudoManagement.inc:25 msgid "Sudo rules" msgstr "" #: admin/sudo/class_sudoManagement.inc:26 msgid "Manage all aspects of system wide sudoers definitions" msgstr "" gosa-plugin-sudo-2.7.4/locale/zh/0000755000175000017500000000000011752422556015606 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/zh/LC_MESSAGES/0000755000175000017500000000000011752422556017373 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/zh/LC_MESSAGES/messages.po0000644000175000017500000002200611475426262021542 0ustar cajuscajus# translation of messages.po to Chinese Simplified # Copyright (C) 2003 GONICUS GmbH, Germany # This file is distributed under the same license as the GOsa2 package. # # Jiang Xin , 2007. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2007-06-03 12:27+0800\n" "Last-Translator: Jiang Xin \n" "Language-Team: Chinese Simplified \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Type" msgstr "类型" #: admin/sudo/class_sudoGeneric.inc:112 #, fuzzy msgid "Member" msgstr "成员" #: admin/sudo/class_sudoGeneric.inc:112 admin/sudo/class_sudoGeneric.inc:115 #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:119 #, fuzzy msgid "Option" msgstr "选项" #: admin/sudo/class_sudoGeneric.inc:115 #, fuzzy msgid "System" msgstr "系统" #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:552 #, fuzzy msgid "Command" msgstr "和" #: admin/sudo/class_sudoGeneric.inc:119 admin/sudo/class_sudoGeneric.inc:366 msgid "User" msgstr "用户" #: admin/sudo/class_sudoGeneric.inc:308 msgid "Error" msgstr "错误" #: admin/sudo/class_sudoGeneric.inc:367 msgid "Group" msgstr "组" #: admin/sudo/class_sudoGeneric.inc:462 #, fuzzy msgid "LDAP error" msgstr "LDAP 错误:" #: admin/sudo/class_sudoGeneric.inc:476 admin/sudo/class_sudoGeneric.inc:481 #: admin/sudo/class_sudoGeneric.inc:486 admin/sudo/class_sudoGeneric.inc:495 #: admin/sudo/class_sudoGeneric.inc:548 admin/sudo/generic.tpl:7 #: admin/sudo/generic.tpl:34 admin/sudo/sudo-list.xml:32 #: admin/sudo/paste_generic.tpl:5 msgid "Name" msgstr "名称" #: admin/sudo/class_sudoGeneric.inc:525 #, fuzzy msgid "Sudo" msgstr "姓" #: admin/sudo/class_sudoGeneric.inc:526 admin/sudo/class_sudoGeneric.inc:531 #, fuzzy msgid "Sudo role" msgstr "! 未知 id" #: admin/sudo/class_sudoGeneric.inc:539 #, fuzzy msgid "RDN for sudo rule storage." msgstr "Kiosk profile 设置" #: admin/sudo/class_sudoGeneric.inc:547 msgid "System trust" msgstr "信赖的系统" #: admin/sudo/class_sudoGeneric.inc:549 admin/sudo/generic.tpl:15 #: admin/sudo/generic.tpl:44 admin/sudo/sudo-list.xml:40 msgid "Description" msgstr "描述" #: admin/sudo/class_sudoGeneric.inc:550 msgid "Users" msgstr "用户" #: admin/sudo/class_sudoGeneric.inc:551 #, fuzzy msgid "Host" msgstr "钩子" #: admin/sudo/class_sudoGeneric.inc:553 #, fuzzy msgid "Run as user" msgstr "域用户" #: admin/sudo/class_sudoGeneric.inc:554 #, fuzzy msgid "Access control list" msgstr "访问选项" #: admin/sudo/options.tpl:3 admin/sudo/class_sudoOption.inc:539 #: admin/sudo/class_sudoOption.inc:546 #, fuzzy msgid "Sudo options" msgstr "未知" #: admin/sudo/options.tpl:5 #, fuzzy msgid "Option name" msgstr "位置名称" #: admin/sudo/options.tpl:7 #, fuzzy msgid "Value" msgstr "男" #: admin/sudo/options.tpl:8 admin/sudo/class_sudoOption.inc:538 msgid "Options" msgstr "选项" #: admin/sudo/options.tpl:89 #, fuzzy msgid "Available options" msgstr "可用的应用程序" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 admin/sudo/generic.tpl:27 #: admin/sudo/generic.tpl:29 admin/sudo/generic.tpl:31 #: admin/sudo/paste_generic.tpl:1 msgid "Generic" msgstr "通用配置" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 #: admin/sudo/paste_generic.tpl:1 msgid "global defaults" msgstr "" #: admin/sudo/generic.tpl:61 #, fuzzy msgid "Users and groups" msgstr "组" #: admin/sudo/generic.tpl:73 admin/sudo/generic.tpl:91 msgid "Add from list" msgstr "" #: admin/sudo/generic.tpl:78 #, fuzzy msgid "Systems" msgstr "系统" #: admin/sudo/generic.tpl:99 #, fuzzy msgid "Commands" msgstr "和" #: admin/sudo/generic.tpl:112 #, fuzzy msgid "Run as" msgstr "域用户" #: admin/sudo/sudo-list.xml:11 #, fuzzy msgid "List of Sudo roles" msgstr "用户列表" #: admin/sudo/sudo-list.xml:15 admin/sudo/sudo-list.xml:65 msgid "Role" msgstr "角色" #: admin/sudo/sudo-list.xml:48 msgid "Actions" msgstr "动作" #: admin/sudo/sudo-list.xml:59 msgid "Create" msgstr "创建" #: admin/sudo/sudo-list.xml:72 #, fuzzy msgid "Default" msgstr "删除" #: admin/sudo/sudo-list.xml:85 msgid "Remove" msgstr "删除" #: admin/sudo/sudo-list.xml:117 #, fuzzy msgid "Edit Sudo role" msgstr "! 未知 id" #: admin/sudo/sudo-list.xml:130 #, fuzzy msgid "Remove Sudo role" msgstr "! 未知 id" #: admin/sudo/paste_generic.tpl:2 #, fuzzy msgid "Paste sudo entry" msgstr "粘贴" #: admin/sudo/class_sudoOption.inc:154 #, fuzzy msgid "Unknown option" msgstr "未知" #: admin/sudo/class_sudoOption.inc:155 #, fuzzy, php-format msgid "The Sudo option '%s' is invalid!" msgstr "指定的 branch 名称无效。" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "string" msgstr "警告" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:285 #: admin/sudo/class_sudoOption.inc:286 msgid "boolean" msgstr "" #: admin/sudo/class_sudoOption.inc:285 #, fuzzy msgid "integer" msgstr "打印机" #: admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "list" msgstr "类" #: admin/sudo/sudo-filter.xml:22 #, fuzzy msgid "Default filter" msgstr "参数" #: admin/sudo/sudo-filter.xml:36 #, fuzzy msgid "By member" msgstr "组成员" #: admin/sudo/class_sudoManagement.inc:25 #, fuzzy msgid "Sudo rules" msgstr "! 未知 id" #: admin/sudo/class_sudoManagement.inc:26 msgid "Manage all aspects of system wide sudoers definitions" msgstr "" #, fuzzy #~ msgid "Filter" #~ msgstr "过滤器" #~ msgid "Warning" #~ msgstr "警告" #~ msgid "" #~ "Please double check if you really want to do this since there is no way " #~ "for GOsa to get your data back." #~ msgstr "请再次检查您是否要这么做,因为 GOsa 没有办法将您的数据找回。" #~ msgid "" #~ "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "所以,如果您确定,请按“删除”继续,否则按“取消”退出。" #~ msgid "disabled" #~ msgstr "禁用" #~ msgid "full access" #~ msgstr "完全访问权限" #~ msgid "allow access to these hosts" #~ msgstr "允许访问这些主机" #~ msgid "Trust mode" #~ msgstr "信赖模式" #, fuzzy #~ msgid "Sudo management" #~ msgstr "系统管理" #, fuzzy #~ msgid "List of users and groups" #~ msgstr "组" #, fuzzy #~ msgid "Description name" #~ msgstr "描述" #~ msgid "Add" #~ msgstr "添加" #~ msgid "Base" #~ msgstr "位置" #~ msgid "Submit" #~ msgstr "提交" #~ msgid "Select systems to add" #~ msgstr "选择要添加的系统" #~ msgid "Display systems of department" #~ msgstr "显示部门的系统" #~ msgid "Choose the department the search will be based on" #~ msgstr "选择一个部门来做查询" #~ msgid "Display systems matching" #~ msgstr "显示匹配的系统" #~ msgid "Regular expression for matching addresses" #~ msgstr "匹配地址的正则表达式" #, fuzzy #~ msgid "List of systems" #~ msgstr "用户列表" #~ msgid "Server" #~ msgstr "服务器" #~ msgid "Workstation" #~ msgstr "工作站" #~ msgid "Terminal" #~ msgstr "终端" #, fuzzy #~ msgid "Show users" #~ msgstr "显示 samba 用户" #, fuzzy #~ msgid "Show groups" #~ msgstr "显示 samba 用户组" #~ msgid "Show servers" #~ msgstr "显示服务器" #~ msgid "Show workstations" #~ msgstr "显示工作站" #~ msgid "Show terminals" #~ msgstr "显示终端" #, fuzzy #~ msgid "Available systems" #~ msgstr "可用的应用程序" #~ msgid "Object name" #~ msgstr "对象名称" #~ msgid "Select to see terminals" #~ msgstr "选择查看终端" #~ msgid "Select to see servers" #~ msgstr "选择显示服务器" #~ msgid "Select to see workstations" #~ msgstr "选择查看工作站" #~ msgid "Regular expression for matching group names" #~ msgstr "用于匹配组名的正则表达式" #, fuzzy #~ msgid "Select the target objects" #~ msgstr "选择查看部门" #, fuzzy #~ msgid "Select to see users" #~ msgstr "选择显示服务器" #, fuzzy #~ msgid "Select to see groups" #~ msgstr "选择查看 GOsa 组" #~ msgid "Apply" #~ msgstr "应用" #, fuzzy #~ msgid "If you're sure, press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "所以,如果您确定,请按“删除”继续,否则按“取消”退出。" #, fuzzy #~ msgid "Sudo role administration" #~ msgstr "组管理" #, fuzzy #~ msgid "Select all" #~ msgstr "选择" #~ msgid "Department" #~ msgstr "部门" #, fuzzy #~ msgid "Regular expression for matching role names" #~ msgstr "用于匹配组名的正则表达式" #, fuzzy #~ msgid "Regular expression for matching role member names" #~ msgstr "匹配对象名的正则表达式" #~ msgid "Edit this entry" #~ msgstr "编辑这条记录" #~ msgid "Delete this entry" #~ msgstr "删除这个条目" #, fuzzy #~ msgid "Number of listed roles" #~ msgstr "组名称" #, fuzzy #~ msgid "Manage sudo roles" #~ msgstr "域用户" #, fuzzy #~ msgid "Permission" #~ msgstr "允许" #, fuzzy #~ msgid "Permission error" #~ msgstr "允许" gosa-plugin-sudo-2.7.4/locale/nl/0000755000175000017500000000000011752422556015576 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/nl/LC_MESSAGES/0000755000175000017500000000000011752422556017363 5ustar cajuscajusgosa-plugin-sudo-2.7.4/locale/nl/LC_MESSAGES/messages.po0000644000175000017500000002311611475426262021535 0ustar cajuscajus# translation of messages.po to Dutch # GOsa2 Translations # Copyright (C) 2003 GONICUS GmbH, Germany # This file is distributed under the same license as the GOsa2 package. # Alfred Schroeder , 2004. # Cajus Pollmeier , 2004. # # Translator: # Niels Klomp (CareWorks ICT Services) , 2005. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2006-06-02 16:58+0100\n" "Last-Translator: Niels Klomp (CareWorks ICT Services) \n" "Language-Team: CareWorks ICT Services \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: admin/sudo/class_sudoGeneric.inc:112 msgid "Type" msgstr "Type" #: admin/sudo/class_sudoGeneric.inc:112 #, fuzzy msgid "Member" msgstr "Groepsleden" #: admin/sudo/class_sudoGeneric.inc:112 admin/sudo/class_sudoGeneric.inc:115 #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:119 #, fuzzy msgid "Option" msgstr "Opties" #: admin/sudo/class_sudoGeneric.inc:115 #, fuzzy msgid "System" msgstr "Systeem" #: admin/sudo/class_sudoGeneric.inc:117 admin/sudo/class_sudoGeneric.inc:552 #, fuzzy msgid "Command" msgstr "en" #: admin/sudo/class_sudoGeneric.inc:119 admin/sudo/class_sudoGeneric.inc:366 msgid "User" msgstr "Gebruiker" #: admin/sudo/class_sudoGeneric.inc:308 msgid "Error" msgstr "Fout" #: admin/sudo/class_sudoGeneric.inc:367 msgid "Group" msgstr "Groep" #: admin/sudo/class_sudoGeneric.inc:462 #, fuzzy msgid "LDAP error" msgstr "LDAP fout:" #: admin/sudo/class_sudoGeneric.inc:476 admin/sudo/class_sudoGeneric.inc:481 #: admin/sudo/class_sudoGeneric.inc:486 admin/sudo/class_sudoGeneric.inc:495 #: admin/sudo/class_sudoGeneric.inc:548 admin/sudo/generic.tpl:7 #: admin/sudo/generic.tpl:34 admin/sudo/sudo-list.xml:32 #: admin/sudo/paste_generic.tpl:5 msgid "Name" msgstr "Naam" #: admin/sudo/class_sudoGeneric.inc:525 #, fuzzy msgid "Sudo" msgstr "Achternaam" #: admin/sudo/class_sudoGeneric.inc:526 admin/sudo/class_sudoGeneric.inc:531 #, fuzzy msgid "Sudo role" msgstr "! onbekend id" #: admin/sudo/class_sudoGeneric.inc:539 #, fuzzy msgid "RDN for sudo rule storage." msgstr "Kiosk profiel instellingen" #: admin/sudo/class_sudoGeneric.inc:547 msgid "System trust" msgstr "Systeem vertrouwen" #: admin/sudo/class_sudoGeneric.inc:549 admin/sudo/generic.tpl:15 #: admin/sudo/generic.tpl:44 admin/sudo/sudo-list.xml:40 msgid "Description" msgstr "Omschrijving" #: admin/sudo/class_sudoGeneric.inc:550 msgid "Users" msgstr "Gebruikers" #: admin/sudo/class_sudoGeneric.inc:551 #, fuzzy msgid "Host" msgstr "Inhakers" #: admin/sudo/class_sudoGeneric.inc:553 #, fuzzy msgid "Run as user" msgstr "Windows gebruikers" #: admin/sudo/class_sudoGeneric.inc:554 #, fuzzy msgid "Access control list" msgstr "Toegangsopties" #: admin/sudo/options.tpl:3 admin/sudo/class_sudoOption.inc:539 #: admin/sudo/class_sudoOption.inc:546 #, fuzzy msgid "Sudo options" msgstr "Onbekend" #: admin/sudo/options.tpl:5 #, fuzzy msgid "Option name" msgstr "Naam van de locatie" #: admin/sudo/options.tpl:7 #, fuzzy msgid "Value" msgstr "man" #: admin/sudo/options.tpl:8 admin/sudo/class_sudoOption.inc:538 msgid "Options" msgstr "Opties" #: admin/sudo/options.tpl:89 #, fuzzy msgid "Available options" msgstr "Beschikbare programma's" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 admin/sudo/generic.tpl:27 #: admin/sudo/generic.tpl:29 admin/sudo/generic.tpl:31 #: admin/sudo/paste_generic.tpl:1 msgid "Generic" msgstr "Algemeen" #: admin/sudo/generic.tpl:3 admin/sudo/generic.tpl:4 #: admin/sudo/paste_generic.tpl:1 msgid "global defaults" msgstr "" #: admin/sudo/generic.tpl:61 #, fuzzy msgid "Users and groups" msgstr "groepen" #: admin/sudo/generic.tpl:73 admin/sudo/generic.tpl:91 msgid "Add from list" msgstr "" #: admin/sudo/generic.tpl:78 #, fuzzy msgid "Systems" msgstr "Systeem" #: admin/sudo/generic.tpl:99 #, fuzzy msgid "Commands" msgstr "en" #: admin/sudo/generic.tpl:112 #, fuzzy msgid "Run as" msgstr "Windows gebruikers" #: admin/sudo/sudo-list.xml:11 #, fuzzy msgid "List of Sudo roles" msgstr "Lijst met gebruikers" #: admin/sudo/sudo-list.xml:15 admin/sudo/sudo-list.xml:65 msgid "Role" msgstr "Funktie" #: admin/sudo/sudo-list.xml:48 msgid "Actions" msgstr "Acties" #: admin/sudo/sudo-list.xml:59 msgid "Create" msgstr "Aanmaken" #: admin/sudo/sudo-list.xml:72 #, fuzzy msgid "Default" msgstr "Verwijderen" #: admin/sudo/sudo-list.xml:85 msgid "Remove" msgstr "Verwijderen" #: admin/sudo/sudo-list.xml:117 #, fuzzy msgid "Edit Sudo role" msgstr "! onbekend id" #: admin/sudo/sudo-list.xml:130 #, fuzzy msgid "Remove Sudo role" msgstr "! onbekend id" #: admin/sudo/paste_generic.tpl:2 #, fuzzy msgid "Paste sudo entry" msgstr "Plakken" #: admin/sudo/class_sudoOption.inc:154 #, fuzzy msgid "Unknown option" msgstr "Onbekend" #: admin/sudo/class_sudoOption.inc:155 #, fuzzy, php-format msgid "The Sudo option '%s' is invalid!" msgstr "De opgegeven naam is ongeldig." #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "string" msgstr "Waarschuwing" #: admin/sudo/class_sudoOption.inc:284 admin/sudo/class_sudoOption.inc:285 #: admin/sudo/class_sudoOption.inc:286 msgid "boolean" msgstr "" #: admin/sudo/class_sudoOption.inc:285 #, fuzzy msgid "integer" msgstr "printers" #: admin/sudo/class_sudoOption.inc:286 #, fuzzy msgid "list" msgstr "klasse" #: admin/sudo/sudo-filter.xml:22 #, fuzzy msgid "Default filter" msgstr "Parameters" #: admin/sudo/sudo-filter.xml:36 #, fuzzy msgid "By member" msgstr "Groepsleden" #: admin/sudo/class_sudoManagement.inc:25 #, fuzzy msgid "Sudo rules" msgstr "! onbekend id" #: admin/sudo/class_sudoManagement.inc:26 msgid "Manage all aspects of system wide sudoers definitions" msgstr "" #, fuzzy #~ msgid "Filter" #~ msgstr "Filters" #~ msgid "Warning" #~ msgstr "Waarschuwing" #~ msgid "" #~ "Please double check if you really want to do this since there is no way " #~ "for GOsa to get your data back." #~ msgstr "" #~ "Controleer a.u.b. of u dit daadwerkelijk wil doen, aangezien er geen " #~ "mogelijkheid voor GOsa is om uw data terug te krijgen." #~ msgid "" #~ "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Indien u zeker bent drukt u dan 'Verwijderen' om door te gaan of " #~ "'Annuleren' om te annuleren." #~ msgid "disabled" #~ msgstr "gedeactiveerd" #~ msgid "full access" #~ msgstr "volledige toegang" #~ msgid "allow access to these hosts" #~ msgstr "sta toegang op deze computers toe" #~ msgid "Trust mode" #~ msgstr "Vertrouwensmodus" #, fuzzy #~ msgid "Sudo management" #~ msgstr "Systeembeheer" #, fuzzy #~ msgid "List of users and groups" #~ msgstr "groepen" #, fuzzy #~ msgid "Description name" #~ msgstr "Omschrijving" #~ msgid "Add" #~ msgstr "Toevoegen" #~ msgid "Base" #~ msgstr "Basis" #~ msgid "Submit" #~ msgstr "Verwerk" #~ msgid "Select systems to add" #~ msgstr "Selecteer de toe te voegen systemen" #~ msgid "Display systems of department" #~ msgstr "Toon systemen van afdeling" #~ msgid "Choose the department the search will be based on" #~ msgstr "Selecteer de afdeling waarbinnen gezocht zal worden" #~ msgid "Display systems matching" #~ msgstr "Toon de overeenkomende systemen" #~ msgid "Regular expression for matching addresses" #~ msgstr "Reguliere expresie voor overeenkomende adressen" #, fuzzy #~ msgid "List of systems" #~ msgstr "Lijst met gebruikers" #~ msgid "Server" #~ msgstr "Server" #~ msgid "Workstation" #~ msgstr "Werkstation" #~ msgid "Terminal" #~ msgstr "Terminal" #, fuzzy #~ msgid "Show users" #~ msgstr "Toon Samba gebruikers" #, fuzzy #~ msgid "Show groups" #~ msgstr "Toon Samba groepen" #~ msgid "Show servers" #~ msgstr "Toon servers" #~ msgid "Show workstations" #~ msgstr "Toon werkstations" #~ msgid "Show terminals" #~ msgstr "Toon terminals" #, fuzzy #~ msgid "Available systems" #~ msgstr "Beschikbare programma's" #~ msgid "Object name" #~ msgstr "Objectnaam" #~ msgid "Select to see terminals" #~ msgstr "Selecteer om terminals te zien" #~ msgid "Select to see servers" #~ msgstr "Selecteer om servers te zien" #~ msgid "Select to see workstations" #~ msgstr "Selecteer om werkstations te zien" #~ msgid "Regular expression for matching group names" #~ msgstr "Reguliere expressie voor overeenkomende groepnamen" #, fuzzy #~ msgid "Select the target objects" #~ msgstr "Selecteer om afdelingen te zien" #, fuzzy #~ msgid "Select to see users" #~ msgstr "Selecteer om servers te zien" #, fuzzy #~ msgid "Select to see groups" #~ msgstr "Selecteer om GOsa groepen te zien" #~ msgid "Apply" #~ msgstr "Toepassen" #, fuzzy #~ msgid "If you're sure, press 'Delete' to continue or 'Cancel' to abort." #~ msgstr "" #~ "Indien u zeker bent drukt u dan 'Verwijderen' om door te gaan of " #~ "'Annuleren' om te annuleren." #, fuzzy #~ msgid "Sudo role administration" #~ msgstr "Groepen beheer" #, fuzzy #~ msgid "Select all" #~ msgstr "Selecteer" #~ msgid "Department" #~ msgstr "Afdeling" #, fuzzy #~ msgid "Regular expression for matching role names" #~ msgstr "Reguliere expressie voor overeenkomende groepnamen" #, fuzzy #~ msgid "Regular expression for matching role member names" #~ msgstr "Reguliere expressie voor overeenkomende objectnamen" #~ msgid "Edit this entry" #~ msgstr "Bewerk deze invoer" #~ msgid "Delete this entry" #~ msgstr "Verwijder deze invoer" #, fuzzy #~ msgid "Number of listed roles" #~ msgstr "Naam van de groep" #, fuzzy #~ msgid "Manage sudo roles" #~ msgstr "Windows gebruikers" #, fuzzy #~ msgid "Permission" #~ msgstr "Rechten" #, fuzzy #~ msgid "Permission error" #~ msgstr "Rechten" gosa-plugin-sudo-2.7.4/admin/0000755000175000017500000000000011752422556015016 5ustar cajuscajusgosa-plugin-sudo-2.7.4/admin/sudo/0000755000175000017500000000000011752422556015770 5ustar cajuscajusgosa-plugin-sudo-2.7.4/admin/sudo/sudo-filter.xml0000644000175000017500000000223211347442100020731 0ustar cajuscajus sudo true default one dn objectClass cn description sudoUser sudoHost sudoCommand sudoOption default LDAP (&(objectClass=sudoRole)(cn=$)) cn 0.5 3 byMember LDAP (&(objectClass=sudoRole)(|(sudoUser=$)(sudoHost=$))) cn 0.5 3 gosa-plugin-sudo-2.7.4/admin/sudo/tabs_sudo.inc0000644000175000017500000000373011424304056020437 0ustar cajuscajusaddSpecialTabs(); } function set_default($state) { if(isset($this->by_object['sudo'])){ $this->by_object['sudo']->set_default($state); } } function save($ignore_account= FALSE) { $baseobject= $this->by_object['sudo']; /* Check for new 'dn', in order to propagate the 'dn' to all plugins */ $cn = preg_replace('/,/', '\,', $baseobject->get_cn()); $cn = preg_replace('/"/', '\"', $cn); $new_dn= 'cn='.$cn.','.sudo::get_sudoers_ou($baseobject->config); /* Move group? */ if ($this->dn != $new_dn){ /* Write entry on new 'dn' */ if ($this->dn != "new"){ $baseobject->update_acls($this->dn,$new_dn); $baseobject->move($this->dn, $new_dn); $this->by_object['sudo']= $baseobject; } /* Happen to use the new one */ $this->dn= $new_dn; } $ret= tabs::save(); return $ret; } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> gosa-plugin-sudo-2.7.4/admin/sudo/class_sudoManagement.inc0000644000175000017500000000564311424271076022622 0ustar cajuscajusconfig = $config; $this->ui = $ui; $this->storagePoints = array(get_ou("sudo", "sudoRDN")); // Build filter if (session::global_is_set(get_class($this)."_filter")){ $filter= session::global_get(get_class($this)."_filter"); } else { $filter = new filter(get_template_path("sudo-filter.xml", true)); $filter->setObjectStorage($this->storagePoints); } $this->setFilter($filter); // Build headpage $headpage = new listing(get_template_path("sudo-list.xml", true)); $headpage->setFilter($filter); // Add copy&paste and snapshot handler. if ($this->config->boolValueIsTrue("core", "copyPaste")){ $this->cpHandler = new CopyPasteHandler($this->config); } if($this->config->get_cfg_value("core","enableSnapshots") == "true"){ $this->snapHandler = new SnapshotHandler($this->config); } $this->registerAction("new_default", "newEntry"); parent::__construct($config, $ui, "sudo", $headpage); } function newEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="") { $str = management::newEntry($action,$target,$all,$altTabClass,$altTabType,$altAclCategory); /* This entry will become the default entry */ if($action == "new_default"){ $this->tabObject->set_default(TRUE); } if(!empty($str)) return($str); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> gosa-plugin-sudo-2.7.4/admin/sudo/sudo-list.xml0000644000175000017500000000545011424574755020446 0ustar cajuscajus false false false true sudo 1 sudoRole sudo sudo plugins/sudo/images/select_sudo.png |20px;c|120px||170px;r| %{filter:objectType(dn,objectClass)} cn string %{filter:link(row,dn,"%s",cn)} true description string %{filter:link(row,dn,"%s",description)} true %{filter:actions(dn,row,objectClass)}
sub images/lists/element.png[new] new entry plugins/sudo/images/select_sudo.png[new] new_default entry plugins/sudo/images/select_sudo.png separator remove entry images/lists/trash.png exporter separator copypaste snapshot cp copypaste edit entry images/lists/edit.png snapshot snapshot remove entry images/lists/trash.png sudo/sudo[d]
gosa-plugin-sudo-2.7.4/admin/sudo/sudo-list.tpl0000644000175000017500000000073511352410473020430 0ustar cajuscajus

{$HEADLINE} {$SIZELIMIT}

{$ROOT} {$BACK} {$HOME} {$RELOAD} {$ACTIONS} {$FILTER}
{$LIST}
gosa-plugin-sudo-2.7.4/admin/sudo/migration/0000755000175000017500000000000011752422556017761 5ustar cajuscajusgosa-plugin-sudo-2.7.4/admin/sudo/migration/class_migrate_sudoRDN.inc0000644000175000017500000000021311424271103024645 0ustar cajuscajus gosa-plugin-sudo-2.7.4/admin/sudo/generic.tpl0000644000175000017500000000556211473740175020135 0ustar cajuscajus{if $is_default}

{t}Generic{/t} - {t}global defaults{/t}

{t}Name{/t}{$must}
{t}Description{/t} {render acl=$descriptionACL} {/render}
{else}

{t}Generic{/t}

{t}Name{/t}{$must} {render acl=$cnACL} {/render}
{t}Description{/t} {render acl=$descriptionACL} {/render}
{$trustModeDialog}

{t}Users and groups{/t}

{render acl=$sudoUserACL} {$listing_sudoUser} {/render} {render acl=$sudoUserACL} {/render} {render acl=$sudoUserACL} {/render} {render acl=$sudoUserACL} {/render}

{t}Systems{/t}

{render acl=$sudoHostACL} {$listing_sudoHost} {/render} {render acl=$sudoHostACL} {/render} {render acl=$sudoHostACL} {/render} {if $systemEnabled} {render acl=$sudoHostACL} {/render} {/if}

{t}Commands{/t}

{render acl=$sudoCommandACL} {$listing_sudoCommand} {/render} {render acl=$sudoCommandACL} {/render} {render acl=$sudoCommandACL} {/render}

{t}Run as{/t}

{render acl=$sudoRunAsACL} {$listing_sudoRunAs} {/render} {render acl=$sudoRunAsACL} {/render} {render acl=$sudoRunAsACL} {/render}
{/if} gosa-plugin-sudo-2.7.4/admin/sudo/class_sudoGeneric.inc0000644000175000017500000005153711613742614022126 0ustar cajuscajuscurrent['BASE']); } /*! \brief Initializes this sudo class, with all required attributes. @param Object $config GOsa configuration object. @param String $db "new" or the sudo role dn. @return . */ function sudo(&$config, $dn= NULL) { plugin::plugin ($config, $dn); $this->systemEnabled = class_available("systemSelect"); $this->trustModeDialog = new trustModeDialog($this->config, $this->dn,NULL); $this->trustModeDialog->setAcl('sudo/sudo'); if($this->initially_was_account){ foreach(array("sudoUser","sudoCommand","sudoHost","sudoRunAs") as $attr){ $this->$attr = array(); if(isset($this->attrs[$attr])){ $tmp = array(); for($i = 0 ; $i < $this->attrs[$attr]['count']; $i++){ $tmp[] = $this->attrs[$attr][$i]; } $this->$attr = $tmp; } } } if(preg_match("/^defaults$/i",$this->cn)){ $this->is_default = TRUE; } /* Get global filter config */ if (!session::is_set("sysfilter")){ $ui= get_userinfo(); $base= get_base_from_people($ui->dn); $sysfilter= array( "depselect" => $base, "regex" => "*"); session::set("sysfilter", $sysfilter); } $this->orig_dn = $this->dn; // Build sortable lists foreach(array('sudoUser','sudoCommand','sudoHost','sudoRunAs') as $l){ $ll = $l."List"; $this->$ll = new sortableListing($this->$l); $this->$ll->setDeleteable(false); $this->$ll->setEditable(false); $this->$ll->setWidth("100%"); $this->$ll->setHeight("100px"); $this->$ll->setAcl($this->getacl($l)); $this->$ll->setDefaultSortColumn(1); } $this->sudoUserList->setHeader(array("!",_("Type"),_("Member"),_("Option"))); $this->sudoUserList->setColspecs(array('24px','24px','*','46px')); $this->sudoUserList->setDefaultSortColumn(2); $this->sudoHostList->setHeader(array("!",_("System"),_("Option"))); $this->sudoHostList->setColspecs(array('24px','*','46px')); $this->sudoCommandList->setHeader(array("!",_("Command"),_("Option"))); $this->sudoCommandList->setColspecs(array('24px','*','46px')); $this->sudoRunAsList->setHeader(array("!",_("User"),_("Option"))); $this->sudoRunAsList->setColspecs(array('24px','*','46px')); } /*! \brief Creates the sudo generic ui. @return String The generated HTML content for this plugin. */ function execute() { /* Call parent execute */ plugin::execute(); // Set list ACLs foreach(array('sudoUser','sudoCommand','sudoHost','sudoRunAs') as $l){ $ll = $l."List"; $this->$ll->setAcl($this->getacl($l)); } // Handle trust mode dialog $trustModeDialog = $this->trustModeDialog->execute(); if($this->trustModeDialog->trustSelect){ $this->dialog = TRUE; return($trustModeDialog); } if(!is_object($this->dialog)){ $this->dialog = FALSE; } /********************* Add users *********************/ if(isset($_POST['list_sudoUser']) && !is_object($this->dialog) && $this->acl_is_writeable("sudoUser")){ $this->dialog =new userGroupSelect($this->config,get_userinfo()); } /* Add selected hosts to the sudoUser list */ if(isset($_POST['userGroupSelect_save']) && $this->dialog instanceof userGroupSelect){ if($this->acl_is_writeable("sudoUser")){ foreach($this->dialog->save() as $entry){ if(in_array_strict("posixGroup",$entry['objectClass'])){ $name = trim("%".$entry['cn'][0]); }elseif(isset($entry['uid'][0])){ $name = trim($entry['uid'][0]); } if(!in_array_strict($name,$this->sudoUser) && !in_array_strict("!".$name,$this->sudoUser)){ $this->sudoUser[] = $name; } } } unset($this->dialog); $this->dialog = NULL; } if(isset($_POST['userGroupSelect_cancel']) && $this->dialog instanceOf userGroupSelect){ unset($this->dialog); $this->dialog = NULL; } if($this->dialog instanceOf userGroupSelect){ $used = array(); foreach($this->sudoUser as $name){ $str = preg_replace("/^!/","",$name); if(preg_match("/^%/", $str)){ $used['cn'][] = preg_replace("/^%/","",$str); }else{ $used['uid'][] = $str; } } // Build up blocklist session::set('filterBlacklist', $used); return($this->dialog->execute()); } /********************* Add systems *********************/ if(isset($_POST['list_sudoHost']) && !is_object($this->dialog) && $this->acl_is_writeable("sudoHost")){ $this->dialog =new systemSelect($this->config,get_userinfo()); } /* Add selected hosts to the sudoHost list */ if(isset($_POST['systemSelect_save']) && $this->dialog instanceof systemSelect){ if($this->acl_is_writeable("sudoHost")){ foreach($this->dialog->save() as $entry){ $cn = trim($entry['cn'][0]); if(!in_array_strict($cn,$this->sudoHost) && !in_array_strict("!".$cn,$this->sudoHost)){ $this->sudoHost[] = $cn; } } } unset($this->dialog); $this->dialog = NULL; } if(isset($_POST['systemSelect_cancel']) && $this->dialog instanceOf systemSelect){ unset($this->dialog); $this->dialog = NULL; } if($this->dialog instanceOf systemSelect){ $used = array(); foreach($this->sudoHost as $name){ $used['cn'][] = preg_replace("/^!/","",$name); } // Build up blocklist session::set('filterBlacklist', $used); return($this->dialog->execute()); } /********************* Dialog handling / display / close *********************/ if(is_object($this->dialog)){ return($this->dialog->execute()); } /********************* NEGATE values *********************/ foreach($_POST as $name => $value){ $value =get_post($name); if(preg_match("/^neg_/",$name)){ $attr = preg_replace("/^neg_([^_]*)_.*$/","\\1",$name); $value= preg_replace("/^neg_[^_]*_([0-9]*)$/","\\1",$name); if($this->acl_is_writeable($attr)){ $attrs = $this->$attr; if(isset( $attrs[$value])){ $v = $attrs[$value]; if(preg_match("/^!/",$v)){ $attrs[$value] = preg_replace("/^!/","",$v); }else{ $attrs[$value] = "!".$v; } $this->$attr = $attrs; } } break; // Do it once, image inputs will be posted twice } } /********************* Delete values *********************/ foreach($_POST as $name => $value){ $value =get_post($name); if(preg_match("/^delS_/",$name)){ $attr = preg_replace("/^delS_([^_]*).*$/","\\1",$name); $value= preg_replace("/^delS_[^_]*_([0-9]*)$/","\\1",$name); if($this->acl_is_writeable($attr)){ $attrs = $this->$attr; if(isset( $attrs[$value])){ unset($attrs[$value]); $this->$attr = $attrs; } } break; // Do it once, image inputs will be posted twice } } /********************* ADD values *********************/ /* User / Host / Runas */ foreach(array("sudoUser","sudoHost","sudoRunAs") as $attr){ if($this->acl_is_writeable($attr) && isset($_POST["add_".$attr]) && isset($_POST['new_'.$attr]) && !empty($_POST['new_'.$attr])){ $c = preg_quote(' *+-?_|!\'"()','/'); if(preg_match("/^[a-z0-9{$c}]*$/i",get_post('new_'.$attr))){ $attrs = $this->$attr; $attrs[] = trim(get_post('new_'.$attr)); $this->$attr = $attrs; }else{ msg_dialog::display(_("Error"),msgPool::invalid($attr,get_post('new_'.$attr),"/[a-z0-9{$c}]/i")); } } } /* Command */ foreach(array("sudoCommand") as $attr){ if($this->acl_is_writeable($attr) && isset($_POST["add_".$attr]) && isset($_POST['new_'.$attr])){ $attrs = $this->$attr; $attrs[] = trim(get_post('new_'.$attr)); $this->$attr = $attrs; } } /********************* SMARTY assignments *********************/ $smarty = get_smarty(); $smarty->assign("systemEnabled", $this->systemEnabled); $smarty->assign("trustModeDialog" , $trustModeDialog); $smarty->assign("is_default",$this->is_default); foreach($this->attributes as $attr){ $smarty->assign($attr, set_post($this->$attr)); $smarty->assign($attr."ACL",$this->getacl($attr)); } /* Fill listings */ $neg_img= image('plugins/sudo/images/negate.png','','!'); $option = image('plugins/sudo/images/negate.png','neg_%ATTR%_%KEY%'); $option.= image('images/lists/trash.png', 'delS_%ATTR%_%KEY%'); foreach(array('sudoUser','sudoCommand','sudoHost','sudoRunAs') as $l){ $l.="Data"; $$l = array(); } foreach(array("sudoCommand","sudoHost","sudoRunAs") as $attr){ $tmp =array(); $list = $attr."List"; $data = $attr."Data"; foreach($this->$attr as $id => $entry){ $neg = ""; if(preg_match("/^!/",$entry)){ $neg = $neg_img; } $entry = preg_replace("/^!/","",$entry); $action =preg_replace(array("/%KEY%/","/%ATTR%/"),array($id,$attr),$option); $tmp[$id] = array('data'=>array($neg,$entry,$action)) ; } $this->$list->setListData($this->$attr, $tmp); $this->$list->update(); $smarty->assign("listing_{$attr}", $this->$list->render()); } $img1 = image('plugins/users/images/select_user.png','',_("User")); $img2 = image('plugins/groups/images/select_group.png','',_("Group")); $sudoUserData = array(); foreach($this->sudoUser as $id => $entry){ $neg = ""; if(preg_match("/^!/",$entry)){ $neg = $neg_img; } $entry = preg_replace("/^!/","",$entry); $img = $img1; if(preg_match("/^%/",$entry)){ $img = $img2; } $entry = preg_replace("/^%/","",$entry); $action =preg_replace(array("/%KEY%/","/%ATTR%/"),array($id,'sudoUser'),$option); $sudoUserData[$id] = array('data'=>array($neg,$img,$entry,$action)) ; } $this->sudoUserList->setListData($this->sudoUser,$sudoUserData); $this->sudoUserList->update(); $smarty->assign("listing_sudoUser", $this->sudoUserList->render()); return($smarty->fetch(get_template_path('generic.tpl', TRUE))); } /*! \brief Remove this sudo role from the ldap server */ function remove_from_parent() { plugin::remove_from_parent(); $ldap = $this->config->get_ldap_link(); $ldap->cd($this->dn); $ldap->rmdir($this->dn); /* Send signal to the world that we've done */ $this->handle_post_events("remove"); } /*! \brief Save all relevant HTML posts. */ function save_object() { plugin::save_object(); $this->trustModeDialog->save_object(); if($this->is_default){ $this->cn = "defaults"; } } function set_acl_base($base) { plugin::set_acl_base($base); $this->trustModeDialog->set_acl_base($base); } /*! \brief Save changes into the ldap database. */ function save() { plugin::save(); /* Ensure a correct array index */ $this->attrs['sudoHost'] = array_values($this->attrs['sudoHost']); $this->attrs['sudoRunAs'] = array_values($this->attrs['sudoRunAs']); $this->attrs['sudoUser'] = array_values($this->attrs['sudoUser']); $this->attrs['sudoCommand'] = array_values($this->attrs['sudoCommand']); $this->cleanup(); $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); if($this->is_new){ $ldap->create_missing_trees(preg_replace('/^[^,]+,/', '', $this->dn)); $ldap->cd($this->dn); $ldap->add($this->attrs); /* Send signal to the world that we've done */ $this->handle_post_events("add"); }else{ $ldap->cd($this->dn); $ldap->modify($this->attrs);; /* Send signal to the world that we've done */ $this->handle_post_events("modify"); } $this->trustModeDialog->dn = $this->dn; $this->trustModeDialog->save(); if (!$ldap->success()){ msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_DEL, get_class())); } } /*! \brief Check the given input. @return Array All error messages in an array(); */ function check() { $message = plugin::check(); /* Is a name given? */ if($this->cn == ""){ $message[] = msgPool::required(_("Name")); } /* Check if name is reserved */ if(!$this->is_default && preg_match("/^defaults$/i",$this->cn)){ $message[] = msgPool::reserved(_("Name")); } /* Check name */ if(!preg_match("/^[0-9a-z\@]*$/i",$this->cn)){ $message[] = msgPool::invalid(_("Name"),$this->cn,"/[0-9a-z\@]/i"); } /* Check if this entry will cause duplicated ldap entries */ $ldap = $this->config->get_ldap_link(); $ldap->cd($this->get_sudoers_ou($this->config)); $ldap->search("(&(objectClass=sudoRole)(cn=".$this->cn."))"); while($attrs = $ldap->fetch()){ if($attrs['dn'] != $this->dn){ $message[] = msgPool::duplicated(_("Name")); } } /* Check if we are allowed to create or move this object */ if($this->orig_dn == "new" && !$this->acl_is_createable($this->get_sudoers_ou($this->config))){ $message[] = msgPool::permCreate(); } return ($message); } /*! \brief Force this entry to be handled and saved as 'default' @param BOOL TRUE -force defaults FALSE -normal */ public function set_default($state) { $this->is_default = TRUE; $this->cn = "defaults"; } /*! \brief Add ACL object @return Returns the ACL object. */ static function plInfo() { return (array( "plShortName" => _("Sudo"), "plDescription" => _("Sudo role"), "plSelfModify" => FALSE, "plDepends" => array(), "plPriority" => 0, "plSection" => array("administration"), "plCategory" => array("sudo" => array("objectClass" => "sudoRole", "description" => _("Sudo role"))), "plProperties" => array( array( "name" => "sudoRDN", "type" => "rdn", "default" => "ou=sudoers,", "description" => _("RDN for sudo rule storage."), "check" => "gosaProperty::isRdn", "migrate" => "migrate_sudoRDN", "group" => "plugin", "mandatory" => FALSE)), "plProvidedAcls" => array( "accessTo" => _("System trust"), "cn" => _("Name"), "description" => _("Description"), "sudoUser" => _("Users"), "sudoHost" => _("Host"), "sudoCommand" => _("Command"), "sudoRunAs" => _("Run as user"), "trustModel" => _("Access control list")) )); } /*! \brief This function will be called if an object gets copied. This function adapts attributes from the source object. @param Array The source object. */ function PrepareForCopyPaste($source) { plugin::PrepareForCopyPaste($source); $this->trustModeDialog->PrepareForCopyPaste($source); foreach(array("sudoUser","sudoCommand","sudoHost","sudoRunAs") as $attr){ $this->$attr = array(); if(isset($source[$attr])){ $tmp = array(); for($i = 0 ; $i < $source[$attr]['count']; $i++){ $tmp[] = $source[$attr][$i]; } $this->$attr = $tmp; } } } /*! \brief Used for copy & paste. Returns a HTML input mask, which allows to change the cn of this entry. @param Array Array containing current status && a HTML template. */ function getCopyDialog() { $vars = array("cn"); $smarty = get_smarty(); $smarty->assign("cn", set_post($this->cn)); $str = $smarty->fetch(get_template_path("paste_generic.tpl",TRUE)); $ret = array(); $ret['string'] = $str; $ret['status'] = ""; return($ret); } public function get_cn() { return($this->cn); } /*! \brief Used for copy & paste. Some entries must be renamed to avaoid duplicate entries. */ function saveCopyDialog() { if(isset($_POST['cn'])){ $this->cn = get_post('cn'); } } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> gosa-plugin-sudo-2.7.4/admin/sudo/options.tpl0000644000175000017500000001061311350114231020163 0ustar cajuscajus

Used sudo role options

{foreach from=$sudoOption item=item key=key} {foreach from=$item item=entry key=entry_key} {/foreach} {/foreach}
{t}Option name{/t} {t}Value{/t} {t}Options{/t}
{$key} {if $entry.NEGATE} {image path="plugins/sudo/images/negate.png"} {/if} {render acl=$ACL} {if $options[$entry.NAME].TYPE == "STRING"} {elseif $options[$entry.NAME].TYPE == "LISTS"} {elseif $options[$entry.NAME].TYPE == "INTEGER"} {elseif $options[$entry.NAME].TYPE == "BOOLEAN"} {elseif $options[$entry.NAME].TYPE == "BOOL_INTEGER"} {elseif $options[$entry.NAME].TYPE == "STRING_BOOL"} {/if} {/render} {render acl=$ACL} {image path="plugins/sudo/images/negate.png" action="negOption_{$key}_{$entry_key}"} {/render} {render acl=$ACL} {image path="images/lists/trash.png" action="delOption_{$key}_{$entry_key}"} {/render}


{t}Available options{/t}:

{render acl=$ACL} {/render} {render acl=$ACL} {/render} gosa-plugin-sudo-2.7.4/admin/sudo/paste_generic.tpl0000644000175000017500000000031711352436361021315 0ustar cajuscajus

{t}Generic{/t} - {t}global defaults{/t}

{t}Name{/t}
gosa-plugin-sudo-2.7.4/admin/sudo/class_sudoOption.inc0000644000175000017500000006033511613742614022016 0ustar cajuscajus'long_otp_prompt' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['ignore_dot']= array('NAME' =>'ignore_dot' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'TRUE'); $option['mail_always']= array('NAME' =>'mail_always' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['mail_badpass']= array('NAME' =>'mail_badpass' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['mail_no_user']= array('NAME' =>'mail_no_user' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'TRUE'); $option['mail_no_host']= array('NAME' =>'mail_no_host' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['mail_no_perms']= array('NAME' =>'mail_no_perms' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['tty_tickets']= array('NAME' =>'tty_tickets' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'TRUE'); $option['authenticate']= array('NAME' =>'authenticate' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'TRUE'); $option['root_sudo']= array('NAME' =>'root_sudo' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'TRUE'); $option['log_host']= array('NAME' =>'log_host' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['log_year']= array('NAME' =>'log_year' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['shell_noargs']= array('NAME' =>'shell_noargs' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['set_home']= array('NAME' =>'set_home' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['always_set_home']= array('NAME' =>'always_set_home' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['path_info']= array('NAME' =>'path_info' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['preserve_groups']= array('NAME' =>'preserve_groups' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['fqdn']= array('NAME' =>'fqdn' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['insults']= array('NAME' =>'insults' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['requiretty']= array('NAME' =>'requiretty' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['env_editor']= array('NAME' =>'env_editor' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'TRUE'); $option['rootpw']= array('NAME' =>'rootpw' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['runaspw']= array('NAME' =>'runaspw' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['targetpw']= array('NAME' =>'targetpw' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['set_logname']= array('NAME' =>'set_logname' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'TRUE'); $option['stay_setuid']= array('NAME' =>'stay_setuid' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'TRUE'); $option['env_reset']= array('NAME' =>'env_reset' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'TRUE'); $option['use_loginclass']= array('NAME' =>'use_loginclass' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['noexec']= array('NAME' =>'noexec' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['ignore_local_sudoers']= array('NAME' =>'ignore_local_sudoers' , 'TYPE' => 'BOOLEAN' , 'DEFAULT' => 'FALSE'); $option['passwd_tries']= array('NAME' =>'passwd_tries' , 'TYPE' => 'INTEGER' , 'DEFAULT' => 3); $option['loglinelen']= array('NAME' =>'loglinelen' , 'TYPE' => 'BOOL_INTEGER' , 'DEFAULT' => 80); $option['timestamp_timeout']= array('NAME' =>'timestamp_timeout' , 'TYPE' => 'BOOL_INTEGER' , 'DEFAULT' => 0); $option['passwd_timeout']= array('NAME' =>'passwd_timeout' , 'TYPE' => 'BOOL_INTEGER' , 'DEFAULT' => 15); $option['umask']= array('NAME' =>'umask' , 'TYPE' => 'BOOL_INTEGER' , 'DEFAULT' => "0022"); $option['mailsub']= array('NAME' =>'mailsub' , 'TYPE' => 'STRING' , 'DEFAULT' => '*** SECURITY information for %h ***'); $option['badpass_message']= array('NAME' =>'badpass_message' , 'TYPE' => 'STRING' , 'DEFAULT' => 'Sorry, try again'); $option['timestampdir']= array('NAME' =>'timestampdir' , 'TYPE' => 'STRING' , 'DEFAULT' => '/var/run/sudo'); $option['timestampowner']= array('NAME' =>'timestampowner' , 'TYPE' => 'STRING' , 'DEFAULT' => 'root'); $option['passprompt']= array('NAME' =>'passprompt' , 'TYPE' => 'STRING' , 'DEFAULT' => '[sudo] password for %p: '); $option['runas_default']= array('NAME' =>'runas_default' , 'TYPE' => 'STRING' , 'DEFAULT' => 'root'); $option['syslog_goodpri']= array('NAME' =>'syslog_goodpri' , 'TYPE' => 'STRING' , 'DEFAULT' => 'notice'); $option['syslog_badpri']= array('NAME' =>'syslog_badpri' , 'TYPE' => 'STRING' , 'DEFAULT' => 'alert'); $option['editor']= array('NAME' =>'editor' , 'TYPE' => 'STRING' , 'DEFAULT' => '/usr/bin/vi'); $option['noexec_file']= array('NAME' =>'noexec_file' , 'TYPE' => 'STRING' , 'DEFAULT' => '/usr/lib/sudo/sudo_noexec.so'); $option['lecture']= array('NAME' =>'lecture' , 'TYPE' => 'STRING_BOOL' , 'DEFAULT' => 'once'); $option['lecture_file']= array('NAME' =>'lecture_file' , 'TYPE' => 'STRING_BOOL' , 'DEFAULT' => ''); $option['logfile']= array('NAME' =>'logfile' , 'TYPE' => 'STRING_BOOL' , 'DEFAULT' => 'syslog'); $option['syslog']= array('NAME' =>'syslog' , 'TYPE' => 'STRING_BOOL' , 'DEFAULT' => 'authpriv'); $option['mailerpath']= array('NAME' =>'mailerpath' , 'TYPE' => 'STRING_BOOL' , 'DEFAULT' => ''); $option['mailerflags']= array('NAME' =>'mailerflags' , 'TYPE' => 'STRING_BOOL' , 'DEFAULT' => '-t'); $option['mailto']= array('NAME' =>'mailto' , 'TYPE' => 'STRING_BOOL' , 'DEFAULT' => 'root'); $option['exempt_group']= array('NAME' =>'exempt_group' , 'TYPE' => 'STRING_BOOL' , 'DEFAULT' => 'root'); $option['verifypw']= array('NAME' =>'verifypw' , 'TYPE' => 'STRING_BOOL' , 'DEFAULT' => 'all'); $option['listpw']= array('NAME' =>'listpw' , 'TYPE' => 'STRING_BOOL' , 'DEFAULT' => 'any'); $option['env_check']= array('NAME' =>'env_check' , 'TYPE' => 'LISTS' , 'DEFAULT' => ''); $option['env_delete']= array('NAME' =>'env_delete' , 'TYPE' => 'LISTS' , 'DEFAULT' => ''); $option['env_keep']= array('NAME' =>'env_keep' , 'TYPE' => 'LISTS' , 'DEFAULT' => ''); ksort($option); $this->options = $option; $this->load_options(); } private function load_options() { /**** Parse given sudoOption attributes ****/ $this->sudoOption = array(); if(isset($this->attrs['sudoOption'])){ for($i = 0 ; $i < $this->attrs['sudoOption']['count']; $i++){ /**** Detect attribute name/value/negation ****/ $opt = $this->attrs['sudoOption'][$i]; /* Get negation */ $negation = FALSE; if(preg_match("/^!/",$opt)){ $negation = TRUE; $opt = preg_replace("/^!/","",$opt); } /* Get value / name*/ $value = ""; if(preg_match("/=/",$opt)){ $value = preg_replace("/^[^=]*+=/","",$opt); $opt = preg_replace("/=.*$/","",$opt); } /* Special chars are escaped, remove escape char now. \\ => \ \: => : \, => , \= => = */ $value = $this->unescape_command($value); /* Check if the given value is part of our options list. If it is not, add it as type STRING and display a warning. */ if(!isset($this->options[$opt])){ $this->options[$opt]=array('NAME'=>$opt,'TYPE'=>'STRING','DEFAULT' => ''); msg_dialog::display(_("Unknown option"), sprintf(_("The Sudo option '%s' is invalid!"), $opt),WARNING_DIALOG); } /* Create internal sudoOption object */ $option = array(); $option['NAME'] = $opt; $option['VALUE'] = $value; $option['NEGATE'] = $negation; /* Special handling for mixed flag types. Some attributes like (BOOL_INTEGER) can be TRUE/FALSE and INTEGER. This means, if the value is empty it is BOOL and $negation defines its boolean value. */ if(in_array_strict($this->options[$opt]['TYPE'],array("BOOL_INTEGER","STRING_BOOL"))){ if(empty($value)){ $option['NEGATE'] = FALSE; if($negation){ $option['VALUE'] = "FALSE"; }else{ $option['VALUE'] = "TRUE"; } } } /* Special handling for BOOLEAN values */ if(in_array_strict($this->options[$opt]['TYPE'],array("BOOLEAN"))){ $option['NEGATE'] = FALSE; if($negation){ $option['VALUE'] = "FALSE"; }else{ $option['VALUE'] = "TRUE"; } } /* Append values */ $this->sudoOption[$opt][] = $option; } } } /*! \brief Create HTML output for this plugin @return String HTML output for this plugin. */ function execute() { /* Call parent execute */ plugin::execute(); /***** Handle Posts *****/ if($this->acl_is_writeable("")){ foreach($_POST as $name => $value){ $value = get_post($name); if(preg_match("/^negOption_/",$name)){ $opt = preg_replace("/^negOption_(.*)_[0-9]*$/","\\1", $name); $id = preg_replace("/^negOption_.*_([0-9])*$/","\\1", $name); if(isset($this->sudoOption[$opt][$id])){ $val = $this->sudoOption[$opt][$id]["VALUE"]; /***** Negate STRING_BOOL && BOOL_INTEGER *****/ if(in_array_strict($this->options[$opt]['TYPE'],array('STRING_BOOL','BOOL_INTEGER'))){ if(in_array_strict($val, array("TRUE","FALSE"))){ if($val == "TRUE"){ $this->sudoOption[$opt][$id]["VALUE"] = "FALSE"; }else{ $this->sudoOption[$opt][$id]["VALUE"] = "TRUE"; } }else{ $this->sudoOption[$opt][$id]['NEGATE'] = !$this->sudoOption[$opt][$id]['NEGATE']; } } /***** Negate STRING / INTEGER *****/ if(in_array_strict($this->options[$opt]['TYPE'],array('STRING','INTEGER','LISTS'))){ $this->sudoOption[$opt][$id]['NEGATE'] = !$this->sudoOption[$opt][$id]['NEGATE']; } /***** Negate BOOLEAN *****/ if(in_array_strict($this->options[$opt]['TYPE'],array('BOOLEAN'))){ if($val == "TRUE"){ $this->sudoOption[$opt][$id]["VALUE"] = "FALSE"; }else{ $this->sudoOption[$opt][$id]["VALUE"] = "TRUE"; } } } break; } /***** Remove options *****/ if(preg_match("/^delOption/",$name)){ $opt = preg_replace("/^delOption_/","",$name); $opt = preg_replace("/_[^_]*$/","",$opt); $id = preg_replace("/^.*_([0-9])*$/","\\1",$opt); $opt = preg_replace("/_[0-9]*$/","",$opt); if(isset($this->sudoOption[$opt][$id])){ unset($this->sudoOption[$opt][$id]); } if(!count($this->sudoOption[$opt])){ unset($this->sudoOption[$opt]); } break; } } } $smarty = get_smarty(); $smarty->assign("ACL",$this->getacl("")); $smarty->assign("map", set_post( array( "STRING" => _("string"), "BOOLEAN" => _("boolean"), "INTEGER" => _("integer") , "BOOL_INTEGER" => _("integer")."-"._("boolean") , "STRING_BOOL" => _("string")."-"._("boolean"),"LISTS" => _("list")))); $smarty->assign("sudoOption",$this->prepare_for_html($this->sudoOption)); $smarty->assign("options",$this->options); return($smarty->fetch(get_template_path('options.tpl', TRUE))); } /*! \brief Prepare options array to be used in HTML. @param Array The options array ($this->sudoOption) @return Array HTML ready sudoOption. Can now be used in smarty templates */ function prepare_for_html($a_options) { foreach($a_options as $name => $options){ foreach($options as $key => $option){ $a_options[set_post($name)][$key]['VALUE'] = set_post($option['VALUE']); } } return($a_options); } /*! \brief Removes this plugin */ function remove_from_parent() { } /*! \brief Saves all relevant HTML post values for this plugin */ function save_object() { if($this->acl_is_writeable("")){ plugin::save_object(); if(isset($_POST['add_option']) && isset($_POST['option'])){ $opt = get_post("option"); /* Append attribute only once, lists are handled below */ if(isset($this->options[$opt])){ $type = $this->options[$opt]['TYPE']; $val = $this->options[$opt]['DEFAULT']; $option = array("NAME" => $opt, "VALUE" => $val , "NEGATE" => FALSE); $this->sudoOption[$opt][] = $option; } } foreach($this->sudoOption as $name => $opts){ foreach($opts as $id => $opt){ /**** Get posted value for BOOLEAN ****/ if(in_array_strict($this->options[$name]['TYPE'],array("BOOLEAN"))){ if(isset($_POST['option_value__'.$name.'_'.$id])){ $this->sudoOption[$name][$id]["VALUE"] = get_post('option_value__'.$name.'_'.$id); } } /**** Get posted value for STRING / INTEGER ****/ if(in_array_strict($this->options[$name]['TYPE'],array("STRING","INTEGER"))){ if(isset($_POST['option_value__'.$name.'_'.$id])){ $this->sudoOption[$name][$id]["VALUE"] = get_post('option_value__'.$name.'_'.$id); } } /**** Get posted value for STRING_BOOL / BOOL_INTEGER ****/ if(in_array_strict($this->options[$name]['TYPE'],array("BOOL_INTEGER","STRING_BOOL"))){ if(isset($_POST['option_selection__'.$name.'_'.$id])){ $sel = get_post('option_selection__'.$name.'_'.$id); $val = ""; if(isset($_POST['option_value__'.$name.'_'.$id])){ $val = get_post('option_value__'.$name.'_'.$id); } if($sel == "FALSE" || $sel == "TRUE"){ $this->sudoOption[$name][$id]['VALUE'] = $sel; $this->sudoOption[$name][$id]['NEGATE'] = FALSE; }else{ $this->sudoOption[$name][$id]['VALUE'] = $val; } } } /**** Get posted value for LISTS ****/ if(in_array_strict($this->options[$name]['TYPE'],array("LISTS"))){ foreach($this->sudoOption[$name] as $entry_key => $entry){ if(isset($_POST['list_value__'.$name.'_'.$entry_key])){ $val = get_post('list_value__'.$name.'_'.$entry_key); $this->sudoOption[$name][$entry_key]["VALUE"] = $val; } } } } } } } /*! \brief Save changes to ldap */ function save() { plugin::save(); $this->attrs['sudoOption'] = array(); foreach($this->sudoOption as $name => $opts){ foreach($opts as $id => $opt){ $type = $this->options[$name]['TYPE']; $neg = $opt['NEGATE']; $value = $opt['VALUE']; $option = ""; /* Escape special chars */ $value = $this->escape_command($value); /**** Save LISTS ****/ if($type=="LISTS"){ if($value == ""){ $option = $name; }else{ $option = $name."=".$value; } if($neg){ $option = "!".$option; } } /**** Save BOOLEAN ****/ if(in_array_strict($type,array("BOOLEAN"))){ $option = $name; if($value == "FALSE"){ $option = "!".$option; } } /**** Save STRING / INTEGER ****/ if(in_array_strict($type,array("STRING","INTEGER"))){ if($value != ""){ $option = $name."=".$value; }else{ $option = $name; } if($neg){ $option = "!".$option; } } /**** Save STRING_BOOL / BOOL_INTEGER ****/ if(in_array_strict($type,array("STRING_BOOL","BOOL_INTEGER"))){ if($value == "FALSE"){ $option = "!".$name; }elseif($value == "TRUE"){ $option = $name; }else{ if($value != ""){ $option = $name."=".$value; }else{ $option = $name; } if($neg){ $option = "!".$option; } } } $this->attrs['sudoOption'][] = $option; } } $this->cleanup(); $ldap = $this->config->get_ldap_link(); $ldap->cd($this->dn); $ldap->modify($this->attrs);; } /*! \brief Checks input validity */ function check() { $message = plugin::check(); foreach($this->sudoOption as $name => $options){ foreach($options as $id => $option){ switch($this->options[$name]['TYPE']){ /* Check for a valid integer value */ case 'INTEGER' : { if(!preg_match("/^[0-9]*$/",$option['VALUE'])){ $message[] = msgPool::invalid($name,$option['VALUE'],"/[0-9]/"); } } break; } } } return ($message); } /*! \brief This function will be called if an object gets copied. This function adapts attributes from the source object. @param Array The source object. */ function PrepareForCopyPaste($source) { plugin::PrepareForCopyPaste($source); if(isset($source['sudoOption'])){ $this->attrs['sudoOption'] = $source['sudoOption']; $this->load_options(); } } /*! \brief Escape special chars in function parameters. @param String the string to that must be escaped. */ private function escape_command($str) { /* Check if given value is a command (/[a-z]/ ..) */ if(preg_match("/^\//",$str)){ $cmd = preg_replace("/^([^ ]*).*$/","\\1",$str); $val = preg_replace("/^[^ ]*(.*)$/","\\1",$str); $str = $cmd.addcslashes($val,":.,\\"); } return($str); } /*! \brief Add ACL object @return Returns the ACL object. */ static function plInfo() { return (array( "plShortName" => _("Options"), "plDescription" => _("Sudo options"), "plSelfModify" => FALSE, "plDepends" => array(), "plPriority" => 2, "plSection" => array("administration"), "plCategory" => array("sudo"), "plProvidedAcls" => array( "sudoOption" => _("Sudo options") ) )); } /*! \brief Unescape special chars in function parameters. @param String the string to that must be unescaped. */ private function unescape_command($str) { /* Check if given value is a command (/[a-z]/ ..) */ if(preg_match("/^\//",$str)){ $cmd = preg_replace("/^([^ ]*).*$/","\\1",$str); $val = preg_replace("/^[^ ]*(.*)$/","\\1",$str); $val = preg_replace(array("/\\\\\\\\/","/\\\\,/","/\\\\:/","/\\\\=/"), array("\\",",",":","="),$val); $str = $cmd.$val; } return($str); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> gosa-plugin-sudo-2.7.4/admin/sudo/main.inc0000644000175000017500000000337511450302243017400 0ustar cajuscajusremove_lock(); } } /* Remove this plugin from session */ if ( $cleanup ){ session::un_set('sudoManagement'); }else{ /* Create rolemanagement object on demand */ if (!session::is_set('sudoManagement')){ $sudoManagement= new sudoManagement ($config, $ui); session::set('sudoManagement',$sudoManagement); } $sudoManagement = session::get('sudoManagement'); $display= $sudoManagement->execute(); /* Reset requested? */ if (isset($_GET['reset']) && $_GET['reset'] == 1){ session::un_set ('sudoManagement'); } /* Show and save dialog */ session::set('sudoManagement',$sudoManagement); } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>