realmd-0.15.0/0000775000175000017500000000000012263034131013022 5ustar00stefstef00000000000000realmd-0.15.0/po/0000775000175000017500000000000012263034131013440 5ustar00stefstef00000000000000realmd-0.15.0/po/wa.po0000664000175000017500000003304512263033740014421 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Walloon (http://www.transifex.com/projects/p/freedesktop/language/wa/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: wa\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/zh_CN.po0000664000175000017500000004052112263033662015013 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Christopher Meng , 2013 # Wylmer Wang , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: stef0x77 \n" "Language-Team: Chinese (China) (http://www.transifex.com/projects/p/freedesktop/language/zh_CN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "搜索领域" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "搜索 Kerberos 领域需要认证" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "将计算机加入领域" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "将此计算机加入领域或域需要认证" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "从领域中移除计算机" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "从领域或域中移除此计算机需要认证。" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "变更登录策略" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "更改什么用户可登录此计算机的策略需要进行认证。" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "进程被信号终止:%d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "操作已取消" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "未找到已配置的命令:%s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "跳过命令:%s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "已配置的命令不正确:%s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "不支持或未知的成员管理软件“%s”" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "已加入一个域" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "管理员用户名或密码无效" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "当前未加入至该域中" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "需要凭据以离开该域" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "没有足够的权限执行该操作" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "操作已取消。" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "在领域中登记计算机失败。请查看诊断信息。" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "从域中取消登记计算机失败。请查看诊断信息。" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "不支持使用机密(secret)来取消登记这个领域" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "不支持使用密码来登记到这个领域" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "不支持使用密码来取消登记这个领域" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "已经在运行另一个操作" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "变更许可的登录失败。请查看诊断。" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "这个领域不允许指定的登录" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "无效的登录参数%s%s%s 与登录格式不符。" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "搜索领域失败。请查看诊断信息。" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "尚未加入该域" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "Samba 提供程序无法对允许的登录进行限制。" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "在 nsswitch.conf 和 PAM 中启用 SSSD 失败。" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "无法自动加入域" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "只有“%s” 成员管理软件支持通过一次密码性加入域" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "只有“%s”成员管理软件支持通过一个用户密码加入域" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "不支持的域加入凭据" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "已加入该域" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "同名的域已经配置" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "sssd.conf 中已经有域 %s" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "sssd.conf 中未包含域 %s" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "搜索可用的领域" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "在领域中登记此计算机" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "从领域中取消登记此计算机" #: ../tools/realm.c:45 msgid "List known realms" msgstr "列出已知的领域" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "许可用户登录" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "拒绝用户登录" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "将模式安装到指定前缀" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "Verbose 输出" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "无法连接领域服务" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "无法加载领域服务" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "无法连接系统总线" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "无法创建套接字对:%s" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "无法创建套接字" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "无法运行 realmd" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "无法解析凭据缓存" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "%s 的密码无效" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "无法认证 %s " #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "无法解析用户名:%s" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "无法读物凭据缓存" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "无法初始化 Kerberos" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "%s 的密码: " #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "无法弹出输入密码提示:%s" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "领域不支持使用密码的成员身份操作" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "领域不支持使用一次性密码的成员身份操作" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "领域不支持自动的成员身份操作" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "无法找到领域" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "未找到默认的领域" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "未找到该领域:%s" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "显示所有已找到的领域" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "只显示名称" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "使用指定的客户端" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "使用指定的成员管理软件" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "使用指定的服务端" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "显示全部领域" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "无法加入领域" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "未找到该领域" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "用于登记的用户名" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "要加入的计算机 OU DN" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "无需密码自动加入" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "使用预设的一次性密码加入" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "指定一个待加入的领域" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "--no-password 参数不能和 --one-time-password 或 --user 共用" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "--one-time-password 参数不能与 --user 共用" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "无法离开领域" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "从领域中移除计算机" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "用于移除的用户名" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "要允许/拒绝登录的领域" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/hr.po0000664000175000017500000003315712263033651014430 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Croatian (http://www.transifex.com/projects/p/freedesktop/language/hr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: hr\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/th.po0000664000175000017500000003303412263033632014423 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Thai (http://www.transifex.com/projects/p/freedesktop/language/th/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: th\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/vi.po0000664000175000017500000003304212263033700014421 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Vietnamese (http://www.transifex.com/projects/p/freedesktop/language/vi/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: vi\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/pt_BR.po0000664000175000017500000004747212263033647015037 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Enrico Nicoletto , 2013 # Enrico Nicoletto , 2013 # Rafael Ferreira , 2013 # ufa , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: Enrico Nicoletto \n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/freedesktop/language/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "Descobrir domínio" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "Autenticação é necessária para descobrir um domínio kerberos" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "Associar máquina a domínio" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "Autenticação é necessária para associar esta máquina a um domínio" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "Remover máquina de domínio" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "Autenticação é necessária para remover este computador de um domínio." #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "Alterar política de início de sessão" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "Autenticação é necessária para alterara a política de quem pode se conectar a este computador." #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "Processo foi terminado c om sinal: %d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "A operação foi cancelada" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "Comando configurado não encontrado: %s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "Comando ignorado: %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "Comando configurado inválido: %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "Foram recebidos dados inválidos ou sem suporte a Netlogon do servidor" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "O LDAP neste sistema não possui suporte a conexões UDP" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "Software de participação \"%s\" desconhecido ou sem suporte" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "Já associada a um domínio" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "Nome de administrador ou senha inválida" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "Não associada a este domínio" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "Requer credenciais para deixar este domínio" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "Não foi possível gravar a configuração: %s" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "Não autorizado a realizar esta ação" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "A operação foi cancelada." #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "Falha ao registrar a máquina no domínio. Veja o diagnóstico." #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "Falha ao desregistrar a máquina do domínio. Veja diagnóstico." #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "Não é possível ingressar neste domínio sem credenciais" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "Não é possível deixar este domínio sem credenciais" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "Não é possível ingressar neste domínio usando um cache de credenciais" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "Não é possível deixar este domínio sem um cache de credenciais" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "Não é possível ingressar neste domínio usando um segredo" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "Não há suporte a desregistrar este domínio usando um segredo" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "Não há suporte a registrar este domínio usando uma senha" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "Não há suporte a desregistrar este domínio usando uma senha" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "Não é possível ingressar neste domínio" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "Não é possível deixar este domínio" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "Já executando outra ação" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "Já associada a outro domínio: %s" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "Falha ao alterar inícios de sessões permitidas. Veja o diagnóstico." #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "Este domínio não permite especificar inícios de sessões" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "Argumento de início de sessão %s%s%s é inválido e não coincide com o formato de início de sessão." #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "Os seguintes pacotes não estão disponíveis para instalação: %s" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "Os pacotes necessários não estão instalados: %s" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "Instalando pacotes necessários" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "Falha ao descobrir o domínio. Veja o diagnóstico." #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "Não associado a este domínio" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "O provedor Samba não pode restringir inícios de sessões permitidos." #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "O argumento '%s' de início de sessão é inválido e contém caracteres não suportados." #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "Falha ao habilitar SSSD em nsswitch.conf e PAM." #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "Não foi possível associar automaticamente ao domínio" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "Associação a um domínio com uma senha de uso único tem suporte apenas com o software de participação \"%s\"" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "Associação a um domínio com uma senha de usuário tem suporte apenas com o software de participação \"%s\"" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "Credenciais sem suporte para associar a um domínio" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "Já associada a este domínio" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "Um domínio com este nome já está configurado" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "Já possui domínio %s no arquivo de configuração sssd.conf" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "Não há domínio %s no arquivo de configuração sssd.conf" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "Não há suporte ao argumento -ou do computador ao ingressar em um domínio IPA." #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "Não associada a este domínio" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "Descobrir domínio disponível" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "Registrar esta máquina em um domínio" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "Desregistrar esta máquina de um domínio" #: ../tools/realm.c:45 msgid "List known realms" msgstr "Listar domínios conhecidos" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "Permite a usuários iniciarem sessões." #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "Nega a usuários iniciarem sessões." #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "Modo de instalação com um prefixo específico" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "Saída detalhada" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "Não solicitar entradas" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "Não foi possível conectar ao serviço de domínio" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "Não foi possível carregar o serviço de domínio" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "Não foi possível conectar ao barramento do sistema" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "Não foi possível criar par de sockets: %s" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "Não foi possível criar socket" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "Não foi possível executar realmd" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "Não foi possível criar diretório de tempo de execução: %s: %s" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "Não foi possível criar o arquivo de cache de credenciais: %s: %s" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "Não foi possível resolver cache de credenciais" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "Senha inválida para %s" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "Não foi possível autenticar como %s" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "Não foi possível analisar o nome de usuário: %s" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "Não foi possível ler o cache de credenciais" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "Não foi possível inicializar kerberos" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "Não é possível solicitar uma senha ao ser executado em modo não assistido" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "Senha para %s:" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "Não foi possível perguntar por uma senha: %s" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "Domínio não tem suporte a participação usando uma senha" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "Domínio não tem suporte a participação usando uma senha de uso único" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "Não foi possível selecionar as credenciais do kerberos" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "Não foi possível ler as credenciais do kerberos" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "Domínio não tem suporte a participação automática" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "Não foi possível descobrir domínios" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "Nenhum domínio padrão descoberto" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "domínio não encontrado: %s" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "Mostra todos os domínios descobertos" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "Mostra somente os nomes" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "Usa um software cliente específico" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "Usa um software de participação específico" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "Usa software de servidor específico" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "Mostra todos os domínios" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "Não foi possível associar ao domínio" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "Não foi possível ingressar neste domínio" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "Domínio não encontrado" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "Nome de usuário para usar no registro" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "Computador ou DN para se associar" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "Associa automaticamente sem uma senha" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "Associa usando uma senha predefinida de uso único" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "Definir o usuário principal para a conta do computador" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "Especifica um domínio para se associar" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "O argumento --no-password não pode ser usado com --one-time-password ou --user" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "O argumento --one-time-password não pode ser usado com --user" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "Não foi possível deixar o domínio" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "Remove o computador do domínio" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "Nome de usuário para usar na remoção" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "Não foi possível alterar inícios de sessões permitidos" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "Permitir qualquer início de sessão de conta de domínio" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "Proibir qualquer início de sessão de conta de domínio" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "Retirar permissão para uma conta de domínio iniciar sessão" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "Tratar nomes como grupos a regular permissões" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "Domínio padrão o qual permitir/negar inícios de sessões" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "Nenhum início de sessão deve ser especificado com -a ou --all" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "Os argumentos --withdraw ou -x não podem ser usados ​​ao proibir inícios de sessões" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "Inícios de sessões específicos devem ser especificados com --withdraw" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "Grupos não podem ser especificados com -a ou --all" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "Use --all para proibir todos os inícios de sessões" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "Especifique usuários específicos para serem adicionaddos ou removidos da lista de usuários permitidos" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "Especificar proibição sem usar --all tornou-se obsoleto. Use a permissão de domínio --withdraw" realmd-0.15.0/po/es.po0000664000175000017500000004710612263033721014423 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Adolfo Jayme Barrientos , 2013 # Adolfo Jayme Barrientos , 2013 # Daniel Mustieles , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: Daniel Mustieles \n" "Language-Team: Spanish (http://www.transifex.com/projects/p/freedesktop/language/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "Descubrir reino" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "Se requiere autenticación para descubrir un reino de Kerberos" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "Unir equipo al reino" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "Se requiere autenticación para unir este equipo a un reino o a un dominio" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "Quitar equipo del reino" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "Se requiere autenticación para quitar este equipo de un reino o de un dominio." #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "Cambiar política de inicio de sesión" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "Para cambiar la política sobre quién puede iniciar sesión en este equipo, necesita autenticarse." #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "El proceso finalizó con la señal: %d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "Se canceló la operación" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "No se encontró la orden configurada: %s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "Orden omitida: %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "La orden configurada no es válida: %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "Se han recibido datos de Netlogon no válidos o no soportados del servidor" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "En este sistema, LDAP no soporta conexiones UDP" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "El software de membresía «%s» es desconocido o no es compatible" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "Ya se unió a un dominio" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "El nombre o la contraseña del administrador no es válido" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "Actualmente no se ha unido a este dominio" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "Necesita credenciales para abandonar este dominio" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "No se pudo escribir la configuración: %s" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "No tiene autorización para realizar esta acción" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "Se canceló la operación." #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "Falló al unir el equipo al reino. Consulte los diagnósticos." #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "Falló al sacar el equipo del dominio. Consulte los diagnósticos." #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "No está soportado el unirse a este reino sin credenciales" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "No está soportado el salir de este reino sin credenciales" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "No está soportado el unirse a este reino usando una caché de credenciales" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "No está soportado el salir de este reino usando una caché de credenciales" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "No está soportado el unirse a este reino usando un secreto" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "No está soportado el salir de este reino usando un secreto" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "No está soportado el unirse a este reino usando una contraseña" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "No está soportado el salir de este reino usando una contraseña" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "No está soportado el unirse a este reino" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "No está soportado el salir de este reino" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "Ya se está ejecutando otra acción" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "Ya se ha unido a otro dominio: %s" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "Falló al cambiar los inicios de sesión permitidos. Consulte los diagnósticos." #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "El reino no permite los inicios de sesión específicos" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "El argumento%s%s%s no válido no coincide con el formato de inicio de sesión." #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "Los siguientes paquetes no están disponibles para instalarlos: %s" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "Paquetes necesarios no instalados: %s" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "Instalando los paquetes necesarios" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "Falló al descubrir reino. Consulte los diagnósticos." #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "No se ha unido a este dominio" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "El proveedor Samba no puede restringir los inicios de sesión permitidos." #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "El argumento de inicio de sesión «%s» no válido contiene caracteres no soportados" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "Falló al activar SSSD en nsswitch.conf y PAM." #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "No se pudo unir automáticamente al dominio" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "Unirse a un dominio con una contraseña de un solo uso solo está soportado con el software del miembro «%s»" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "Unirse a un dominio con una contraseña de usuario solo está soportado con el software del miembro «%s»" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "No se admiten las credenciales para unirse al dominio" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "Ya se ha unido a este dominio" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "Ya está configurado un dominio con este nombre" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "El dominio %s ya está en el archivo de configuración sssd.conf" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "No tiene al dominio %s en el archivo de configuración sssd.conf" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "El argumento del equipo no está soportado al unirse a un dominio IPA." #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "Actualmente no se ha unido a este dominio" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "Descubrir reino disponible" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "Unir este equipo a un reino" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "Sacar este equipo de un reino" #: ../tools/realm.c:45 msgid "List known realms" msgstr "Listar los reinos conocidos" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "Permitir inicios de sesión de usuario" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "Denegar inicios de sesión de usuario" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "Instalar modo en un prefijo específico" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "Salida detallada" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "No preguntar" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "No se pudo conectar al servicio del reino" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "No se pudo cargar el servicio del reino" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "No se pudo conectar al bus del sistema" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "No se pudo crear el par del socket: %s" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "No se pudo crear el socket" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "No se pudo ejecutar realmd" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "No se pudo crear la carpeta en tiempo de ejecución: %s: %s" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "No se pudo crear el archivo de la caché de credenciales: %s: %s" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "No se pudo resolver la caché de credenciales" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "Contraseña no válida para %s" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "No se pudo autenticar como %s" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "No se pudo analizar el nombre de usuario: %s" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "No se pudo leer la caché de la credencial" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "No se pudo inicializar Kerberos" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "No se puede solicitar una contraseña al ejecutarse en modo desatendido" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "Contraseña para %s:" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "No se pudo solicitar la contraseña: %s" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "El reino no soporta que los miembros usen una contraseña" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "El reino no soporta que los miembros usen una contraseña de un solo uso" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "No se pudieron seleccionar las credencias de Kerberos" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "No se pudieron leer las credencias de Kerberos" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "El reino no soporta los miembros automáticos" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "No se pudieron descubrir los reinos" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "No se ha descubierto ningún reino predeterminado" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "No se ha encontrado el reino: %s" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "Mostrar todos los reinos descubiertos" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "Solo mostrar los nombres" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "Utilizar un software cliente específico" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "Usar software de membresía específico" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "Usar software de servidor específico" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "Mostrar todos los reinos" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "No se pudo unir al reino" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "No se puede unir a este reino" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "No se ha encontrado el reino" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "Nombre de usuario que usar para unirse" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "OU DN del equipo que unir" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "Unirse automáticamente sin una contraseña" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "Unirse con una contraseña preestablecida de un solo uso" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "Establecer el usuario principal para la cuenta del equipo" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "Especificar un reino al que unirse" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "No se puede usar el argumento --no-password con --one-time-password ni con --user" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "No se puede usar el argumento--one-time-password con --user" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "No se pudo abandonar el reino" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "Quitar equipo del reino" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "Nombre de usuario que usar para quitar" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "No se pudieron cambiar los inicios de sesión permitidos" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "Permitir el inicio de sesión a cualquier cuenta del reino" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "Denegar el inicio de sesión a cualquier cuenta del reino" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "Quitar permiso para iniciar sesión a una cuenta del reino" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "Tratar nombres como grupos a los que permitir" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "Reino en el que permitir/denegar los inicios de sesión" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "No se deben especificar inicios de sesión con -a ni con --all" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "No se pueden usar los argumentos --withdraw ni -x al denegar inicios de sesión" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "Los inicios de sesión específicos se deben especificar con --withdraw" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "No se pueden especificar los grupos con -a ni con --all" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "Usar --all para denegar todos los inicios de sesión" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "Especificar los usuarios que añadir o quitar de la lista de permitidos" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "Especificar la denegación con --all está obsoleto. Use realm permit --withdraw" realmd-0.15.0/po/pa.po0000664000175000017500000003306012263033630014405 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Panjabi (Punjabi) (http://www.transifex.com/projects/p/freedesktop/language/pa/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pa\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/eo.po0000664000175000017500000003305012263033676014421 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Esperanto (http://www.transifex.com/projects/p/freedesktop/language/eo/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: eo\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/pl.po0000664000175000017500000004733612263033666014444 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Piotr Drąg , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: Piotr Drąg \n" "Language-Team: Polish (http://www.transifex.com/projects/p/freedesktop/language/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pl\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "Wykrywanie obszaru" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "Wymagane jest uwierzytelnienie, aby wykryć obszar Kerberos" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "Dołączenie komputera do obszaru" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "Wymagane jest uwierzytelnienie, aby dołączyć ten komputer do obszaru lub domeny" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "Usunięcie komputera z obszaru" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "Wymagane jest uwierzytelnienie, aby usunąć ten komputer z obszaru lub domeny." #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "Zmiana polityki logowania" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "Wymagane jest uwierzytelnienie, aby zmienić politykę zezwalania na logowanie na tym komputerze." #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "Proces został zakończony z sygnałem: %d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "Działanie zostało anulowane" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "Nie odnaleziono skonfigurowanego polecenia: %s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "Pominięto polecenie: %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "Skonfigurowane polecenie jest nieprawidłowe: %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "Otrzymano nieprawidłowe lub nieobsługiwane dane Netlogon od serwera" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "LDAP w tym systemie nie obsługuje połączeń UDP" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "Nieobsługiwane lub nieznane oprogramowania członkostwa \"%s\"" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "Już dołączono do domeny" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "Nazwa administratora lub hasło jest nieprawidłowe" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "Obecnie nie dołączono do tej domeny" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "Wymagane są dane uwierzytelnienia, aby opuścić tę domenę" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "Nie można zapisać konfiguracji: %s" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "Brak upoważnienia do wykonania tej czynności" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "Anulowano działanie." #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "Zapisanie komputera do obszaru się nie powiodło. Proszę zobaczyć wyjście diagnostyczne." #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "Wypisanie komputera z domeny się nie powiodło. Proszę zobaczyć wyjście diagnostyczne." #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "Dołączenie do tego obszaru bez danych uwierzytelniających jest nieobsługiwane" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "Opuszczenie tego obszaru bez danych uwierzytelniających jest nieobsługiwane" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "Dołączenie do tego obszaru używając pamięci podręcznej danych uwierzytelniających jest nieobsługiwane" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "Opuszczenie obszaru używając pamięci podręcznej danych uwierzytelniających jest nieobsługiwane" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "Dołączenie do tego obszaru używając sekretu jest nieobsługiwane" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "Wypisywanie z tego obszaru używając sekretu jest nieobsługiwane" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "Zapisywanie do tego obszaru używając hasła jest nieobsługiwane" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "Wypisywanie z tego obszaru używając hasła jest nieobsługiwane" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "Dołączenie do tego obszaru jest nieobsługiwane" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "Opuszczenie tego obszaru jest nieobsługiwane" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "Inne działanie jest już uruchomione" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "Już dołączono do innej domeny: %s" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "Zmiana dozwolonych loginów się nie powiodła. Proszę zobaczyć wyjście diagnostyczne." #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "Obszar nie zezwala na określanie loginów" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "Nieprawidłowy parametr logowania%s%s%s nie pasuje do formatu logowania." #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "Następujące pakiety nie są dostępne do instalacji: %s" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "Wymagane pakiety nie są zainstalowane: %s" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "Instalowanie wymaganych pakietów" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "Wykrycie obszaru się nie powiodło. Proszę zobaczyć wyjście diagnostyczne." #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "Nie dołączono do tej domeny" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "Dostawca Samby nie może ograniczać dozwolonych loginów." #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "Nieprawidłowy parametr logowania \"%s\" zawiera nieobsługiwane znaki." #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "Włączenie SSSD w pliku nsswitch.conf i w PAM się nie powiodło." #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "Nie można automatycznie dołączyć do domeny" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "Dołączenie do domeny za pomocą jednorazowego hasła jest obsługiwane tylko za pomocą oprogramowania członkostwa \"%s\"" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "Dołączenie do domeny za pomocą hasła użytkownika jest obsługiwane tylko za pomocą oprogramowania członkostwa \"%s\"" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "Nieobsługiwane dane uwierzytelniające do dołączenia do domeny" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "Już dołączono do tej domeny" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "Domena o tej nazwie jest już skonfigurowana" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "Domena %s już istnieje w pliku konfiguracji sssd.conf" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "Brak domeny %s w pliku konfiguracji sssd.conf" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "Parametr computer-ou nie jest obsługiwany podczas dołączania do domeny IPA." #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "Obecnie nie dołączono do tego obszaru" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "Wykrywa dostępny obszar" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "Zapisuje ten komputer do obszaru" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "Wypisuje ten komputer z obszaru" #: ../tools/realm.c:45 msgid "List known realms" msgstr "Wyświetla listę znanych obszarów" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "Zezwala na loginy użytkowników" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "Odmawia loginy użytkownika" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "Tryb instalacji do podanego przedrostka" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "Więcej informacji" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "Bez pytania użytkownika" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "Nie można połączyć z usługą obszarów" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "Nie można wczytać usługi obszarów" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "Nie można połączyć z magistralą systemową" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "Nie można utworzyć pary gniazd: %s" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "Nie można utworzyć gniazda" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "Nie można uruchomić usługi realmd" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "Nie można utworzyć katalogu czasu uruchamiania: %s: %s" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "Nie można utworzyć pliku pamięci podręcznej danych uwierzytelniających: %s: %s" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "Nie można rozwiązać pamięci podręcznej danych uwierzytelniających" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "Nieprawidłowe hasło dla %s" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "Nie można uwierzytelnić jako %s" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "Nie można przetworzyć nazwy użytkownika: %s" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "Nie można odczytać pamięci podręcznej danych uwierzytelniających" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "Nie można zainicjować oprogramowania Kerberos" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "Nie można zapytać o hasło podczas działania w trybie bezobsługowym" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "Hasło dla %s: " #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "Nie można zapytać o hasło: %s" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "Obszar nie obsługuje członkostwa używając hasła" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "Obszar nie obsługuje członkostwa używając hasła jednorazowego" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "Nie można wybrać danych uwierzytelniających Kerberos" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "Nie można odczytać danych uwierzytelniających Kerberos" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "Obszar nie obsługuje automatycznego członkostwa" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "Nie można wykryć obszarów" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "Nie wykryto domyślnego obszaru" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "Nie odnaleziono takiego obszaru: %s" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "Wyświetla wszystkie wykryte obszary" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "Wyświetla tylko nazwy" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "Używa podanego oprogramowania klienta" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "Używa podanego oprogramowania członkostwa" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "Używa podanego oprogramowania serwera" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "Wyświetla wszystkie obszary" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "Nie można dołączyć do obszaru" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "Nie można dołączyć do tego obszaru" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "Nie odnaleziono takiego obszaru" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "Nazwa użytkownika do użycia do zapisania" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "OU DN komputera do dołączenia" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "Dołącza automatycznie bez hasła" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "Dołącza używając obecnego jednorazowego hasła" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "Ustawia naczelnika użytkownika dla konta komputera" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "Podaje jeden obszar do dołączenia" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "Parametr --no-password nie może być używany z --one-time-password lub --user" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "Parametr --one-time-password nie może być używany z --user" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "Nie można opuścić obszaru" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "Usuwa komputer z obszaru" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "Nazwa użytkownika do użycia do usunięcia" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "Nie można zmienić dozwolonych loginów" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "Zezwolenie na loginy kont obszarów" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "Odmowa loginów kont obszarów" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "Wycofanie zezwolenia na loginy konta obszaru" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "Traktuje nazwy jako grupy do zezwolenia" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "Obszar, do którego pozwolić/zabronić na logowanie" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "Nie można podawać loginów z opcją -a lub --all" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "Parametry --withdraw i -x nie mogą być używane podczas odmawiania loginów" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "Należy podać konkretne loginy podczas używania parametru --withdraw" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "Nie można podawać grup z opcją -a lub --all" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "Użycie --all odmówi wszystkie loginy" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "Podaje konkretnych użytkowników do dodania lub usunięcia z listy dozwolonych" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "Podawanie odmowy bez --all jest przestarzałe. Należy użyć realm permit --withdraw" realmd-0.15.0/po/nl.po0000664000175000017500000003304412263033725014425 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Dutch (http://www.transifex.com/projects/p/freedesktop/language/nl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/es_CL.po0000664000175000017500000003306512213354463015004 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-09-09 16:14+0200\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Spanish (Chile) (http://www.transifex.com/projects/p/freedesktop/language/es_CL/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: es_CL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:350 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:193 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:341 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:83 ../service/realm-samba.c:248 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:171 ../service/realm-samba.c:283 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:179 ../service/realm-example.c:261 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:232 ../service/realm-samba.c:409 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:291 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:126 ../service/realm-kerberos.c:204 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:131 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:209 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:264 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:265 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:302 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:303 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:323 ../service/realm-kerberos.c:497 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:368 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:439 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:738 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:746 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:177 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:235 ../service/realm-packages.c:269 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:240 ../tools/realm-client.c:146 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:441 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:451 ../service/realm-samba.c:493 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:196 ../tools/realm-client.c:206 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:235 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:252 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:282 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:290 ../tools/realm-client.c:322 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:303 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:568 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:578 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:588 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:678 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:682 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:707 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:731 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:757 ../tools/realm-client.c:966 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:822 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:826 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:844 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:879 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:918 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:986 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:1000 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1050 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/de.po0000664000175000017500000003304512263033763014407 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: German (http://www.transifex.com/projects/p/freedesktop/language/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/nb.po0000664000175000017500000003306012263033730014405 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Norwegian Bokmål (http://www.transifex.com/projects/p/freedesktop/language/nb/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: nb\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/tr.po0000664000175000017500000003304512263033624014440 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Turkish (http://www.transifex.com/projects/p/freedesktop/language/tr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: tr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/LINGUAS0000664000175000017500000000036012213354355014474 0ustar00stefstef00000000000000pl ar as az bg bn_IN ca ca@valencia cs cy da de el en_GB eo es_CL es eu fa fi fo fr ga gl gu he hi hr hu ia id it_IT it ja ka kk kn ko lt lv ml mr ms nb nl nn or pa pt_BR pt ro ru sk sl sq sr@latin sv ta te th tr uk vi wa zh_CN zh_HK zh_TW realmd-0.15.0/po/eu.po0000664000175000017500000003304512263033714014424 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Basque (http://www.transifex.com/projects/p/freedesktop/language/eu/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: eu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/da.po0000664000175000017500000003742012263033746014405 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Joe Hansen , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-12-25 18:22+0000\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish (http://www.transifex.com/projects/p/freedesktop/language/da/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: da\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "Registrer område" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "Godkendelse er krævet for at registrere et kerberosområde" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "Slut maskine til område" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "Godkendelse er krævet for at slutte denne maskine til et område eller domæne" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "Fjern maskine fra område" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "Godkendelse er krævet for at fjerne denne computer fra et område eller domæne." #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "Ændr logindpolitik" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "Godkendelse er krævet for at ændre politikken for hvem der kan logge ind på denne computer." #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "Proces blev afsluttet med signal: %d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "Operationen blev afbrudt" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "Konfigureret kommando blev ikke fundet: %s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "Udeladt kommando: %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "Konfigureret kommando er ugyldig: %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "Ikke understøttet eller ukendt medlemskabsprogram »%s«" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "Allerede sluttet til et domæne" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "Administratornavn eller adgangskode er ikke gyldig" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "Er i øjeblikket ikke sluttet til dette domæne" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "Ikke godkendt til at udføre denne handling" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "Kunne ikke tilmelde maskine i område. Se diagnostik." #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "Kunne ikke fjerne tilmelding af maskine fra domæne. Se diagnostik." #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "Fjernelse af tilmelding for dette område med en hemmelighed er ikke understøttet" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "Tilmelding af dette område med brug af en adgangskode er ikke understøttet" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "Fjernelse af tilmelding for dette område med brug af en adgangskode er ikke understøttet" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "Udfører allerede en anden handling" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "Kunne ikke ændre tilladte logind. Se diagnostik." #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "Området tillader ikke specificering af logind" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "Ugyldigt logindparameter%s%s%s matcher ikke logindformatet." #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "Kunne ikke registrere område. Se diagnostik." #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "Ikke sluttet til dette domæne" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "Sambaleverandøren kan ikke begrænse tilladte logind." #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "Aktivering af SSSD i nsswitch.conf og PAM mislykkedes." #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "Allerede sluttet til dette domæne" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "Et domæne med dette navn er allerede konfigureret" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "Har allerede domæne %s i sssd.conf-konfigurationsfilen" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "Registrer tilgængelig område" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "Tilslut denne maskine i et område" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "Fjern tilslutning af denne maskine fra et område" #: ../tools/realm.c:45 msgid "List known realms" msgstr "Vis kendte områder" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "Tillad brugerlogind" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "Nægt brugerlogind" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "Installationstilstand for et specifikt præfiks" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "Uddybende uddata" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "Kunne ikke forbinde til områdetjeneste" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "Kunne ikke indlæse områdetjenesten" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "Kunne ikke forbinde til systembussen" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "Kunne ikke oprette sokkepar: %s" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "Kunne ikke slå akkreditiv-mellemlager op" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "Ugyldig adgangskode for %s" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "Kunne ikke godkende som %s" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "Kunne ikke fortolke brugernavn: %s" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "Kunne ikke læse akkreditiv-mellemlager" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "Kunne ikke initialisere kerberos" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/ro.po0000664000175000017500000003312012263033732014425 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Romanian (http://www.transifex.com/projects/p/freedesktop/language/ro/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ro\n" "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/id.po0000664000175000017500000004555212263033717014420 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Andika Triwidada , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-12-06 06:30+0000\n" "Last-Translator: Andika Triwidada \n" "Language-Team: Indonesian (http://www.transifex.com/projects/p/freedesktop/language/id/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: id\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "Temukan realm" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "Perlu otentikasi untuk menemukan suatu realm kerberos" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "Gabungkan mesin ke realm" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "Perlu otentikasi untuk menggabungkan mesin ini ke suatu realm atau domain" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "Hapus mesin dari realm" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "Perlu otentikasi untuk menghapus komputer ini dari suatu realm atau domain." #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "Ubah kebijakan log masuk" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "Perlu otentikasi untuk mengubah kebijakan tentang siapa yang dapat log masuk ke komputer ini." #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "Proses diakhiri dengan sinyal: %d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "Operasi dibatalkan" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "Perintah yang ditata tak ditemukan: %s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "Perintah dilewati: %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "Perintah yang ditata tak valid: %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "Menerima data Netlogon yang tak valid atau tak didukung dari server" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "LDAP pada sistem ini tak mendukung koneksi UDP" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "Perangkat lunak '%s' keanggotaan tak didukung atau tak dikenal" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "Telah bergabung ke suatu domain" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "Nama atau sandi admin tak valid" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "Tak sedang bergabung ke domain ini" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "Perlu kredensial untuk meninggalkan domain ini" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "Tak bisa menulis config: %s" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "Tak diotorisasi untuk melakukan aksi ini" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "Operasi dibatalkan." #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "Gagal mendaftarkan mesin ke realm. Lihat diagnostik." #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "Gagal membatalkan pendaftaran mesin dari domain. Lihat diagnostik." #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "Bergabung ke realm ini tanpa kredensial tak didukung" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "Meninggalkan realm ini tanpa kredensial tak didukung" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "Bergabung ke realm ini memakai singgahan kredensial tak didukung" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "Meninggalkan realm ini memakai singgahan kredensial tak didukung" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "Bergabung ke realm ini memakai suatu rahasia tak didukung" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "Membatalkan pendaftaran ke realm ini memakai suatu rahasia tak didukung" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "Mendaftar ke realm ini memakai suatu sandi tak didukung" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "Membatalkan pendaftaran ke realm ini memakai suatu sandi tak didukung" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "Bergabung ke realm ini tak didukung" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "Meninggalkan realm ini tak didukung" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "Tengah menjalankan aksi lain" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "Telah bergabung ke domain lain: %s" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "Gagal mengubah log masuk yang diijinkan. Lihat diagnostik." #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "Realm ini tak mengijinkan menyatakan log masuk" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "Argumen%s%s%s log masuk yang tak valid tak cocok dengan format log masuk" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "Paket berikut tak tersedia untuk pemasangan: %s" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "Paket yang dibutuhkan tak terpasang: %s" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "Memasang paket yang diperlukan" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "Gagal menemukan realm. Lihat diagnostik." #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "Tak bergabung ke domain ini" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "Penyedia Samba tak bisa membatasi log masuk yang diijinkan." #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "Argumen log masuk '%s' tak valid karena memuat karakter yang tak didukung." #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "Pemfungsian SSSD dalam nsswitch.conf dan PAM gagal." #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "Tak bisa secara otomatis bergabung ke domain" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "Bergabung ke suatu domain dengan sandi satu waktu hanya didukung dengan perangkat lunak keanggotaan '%s'" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "Bergabung ke suatu domain dengan sandi pengguna hanya didukung dengan perangkat lunak keanggotaan '%s'" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "Kredensial yang tak didukung untuk bergabung ke suatu domain" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "Telah bergabung ke domain ini" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "Suatu domain dengan nama ini telah ditata" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "Telah memiliki domain %s dalam berkas konfig sssd.conf" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "Tak punya domain %s dalam berkas konfig sssd.conf" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "Argumen computer-ou tak didukung ketika bergabung dengan suatu domain IPA." #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "Saat ini tidak sedang bergabung ke realm ini" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "Temukan realm yang tersedia" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "Daftarkan mesin ini ke suatu realm" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "Batalkan pendaftaran mesin ini dari suatu realm" #: ../tools/realm.c:45 msgid "List known realms" msgstr "Sajikan daftar realm yang diketahui" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "Ijinkan pengguna log masuk" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "Tolak pengguna log masuk" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "Mode pemasangan ke suatu prefiks tertentu" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "Keluaran terinci" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "Jangan minta masukan" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "Tak bisa menyambung ke layanan realm" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "Tak bisa memuat layanan realm" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "Tak bisa menyambung ke bus sistem" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "Tak bisa membuat pasangan soket: %s" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "Tak bisa membuat soket" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "Tak bisa menjalankan realmd" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "Tak bisa membuat direktori runtime: %s: %s" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "Tak bisa membuat berkas singgahan kredensial: %s: %s" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "Tak bisa meresolve singgahan kredensial" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "Sandi tak valid bagi %s" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "Tak bisa mengotentikasi sebagai %s" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "Tak bisa mengurai nama pengguna: %s" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "Tak bisa baca singgahan kredensial" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "Tak bisa menginisialisasi kerberos" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "Tak bisa meminta sandi ketika berjalan dalam mode tak interaktif" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "Sandi bagi %s:" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "Tak bisa menanyakan sandi: %s" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "Realm tak mendukung keanggotaan memakai suatu sandi" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "Realm tak mendukung keanggotaan memakai suatu sandi satu waktu" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "Tak bisa memilih kredensial kerberos" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "Tak bisa membaca kredensial kerberos" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "Realm tak mendukung keanggotaan otomatis" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "Tak bisa temukan realm" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "Tak temukan realm baku" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "Realm seperti itu tak ditemukan: %s" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "Tampilkan semua realm yang ditemukan" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "Hanya tampilkan nama" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "Gunakan perangkat lunak klien tertentu" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "Gunakan perangkat lunak keanggotaan tertentu" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "Gunakan perangkat lunak server tertentu" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "Tunjukkan semua realm" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "Tak bisa gabung realm" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "Tak bisa bergabung ke realm ini" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "Realm seperti itu tak ditemukan" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "Nama pengguna yang dipakai untuk pendaftaran" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "OU DN komputer untuk bergabung" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "Secara otomatis bergabung tanpa suatu sandi" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "Bergabung memakai sandi sekali waktu yang dipratata" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "Menata pengguna utama bagi akun komputer" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "Nyatakan satu realm tempat bergabung" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "Argumen --no-password tak bisa dipakai dengan --one-time-password atau --user" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "Argumen --one-time-password tak bisa dipakai dengan --user" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "Tak bisa tinggalkan realm" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "Hapus komputer dari realm" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "Nama pengguna yang dipakai untuk penghapusan" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "Tak bisa mengubah log masuk yang diijinkan" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "Ijinkan log masuk akun realm manapun" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "Tolak log masuk akun realm manapun" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "Cabut ijin bagi suatu akun realm untuk log masuk" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "Perlakukan nama sebagai grup yang diijinkan" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "Realm yang akan diijinkan/ditolak log masuknya" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "Tak ada log masuk yang mesti dinyatakan dengan -a atau --all" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "Argumen --withdraw atau -x tak bisa dipakai ketika menolak log masuk" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "Log masuk tertentu mesti dinyatakan dengan --withdraw" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "Grup tak boleh dinyatakan dengan -a atau --all" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "Pakai --all untuk menolak semua log masuk" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "Nyatakan pengguna tertentu untuk menambah atau menghapus dari daftar yang diijinkan" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "Menyatakan penolakan tanpa --all tak berlaku lagi. Gunakan realm permit --withdraw" realmd-0.15.0/po/lt.po0000664000175000017500000003315012263033627014432 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Lithuanian (http://www.transifex.com/projects/p/freedesktop/language/lt/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: lt\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/ja.po0000664000175000017500000003426412263033747014417 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Hajime Taira , 2013 # Tomoyuki KATO , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: stef0x77 \n" "Language-Team: Japanese (http://www.transifex.com/projects/p/freedesktop/language/ja/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "ログインポリシーの変更" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "操作が取り消されました" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "スキップしたコマンド: %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "設定されたコマンドが無効: %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "すでにドメインに参加済み" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "すでに他の操作が実行中" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "すでにこのドメインに参加済み" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "利用可能なレルムを探索" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "ユーザーのログインを許可" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "ユーザーのログインを拒否" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "詳細な出力" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "ソケットを生成できません" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "realmd を起動できません" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "%s に対する無効なパスワード" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "%s に対するパスワード:" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "名前だけ表示" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "コンピューターをレルムから削除" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/cs.po0000664000175000017500000003307712263033617014427 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Czech (http://www.transifex.com/projects/p/freedesktop/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: cs\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/it.po0000664000175000017500000003304712263033703014427 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: stef0x77 \n" "Language-Team: Italian (http://www.transifex.com/projects/p/freedesktop/language/it/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/zh_TW.po0000664000175000017500000003305612263033652015051 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/freedesktop/language/zh_TW/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh_TW\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/uk.po0000664000175000017500000006202512263033736014436 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Yuri Chornoivan , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: Yuri Chornoivan \n" "Language-Team: Ukrainian (http://www.transifex.com/projects/p/freedesktop/language/uk/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: uk\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "Виявлення області" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "Щоб отримати доступ до виявлення області Kerberos, слід пройти розпізнавання" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "Долучення комп’ютера до області" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "Для долучення цього комп’ютера до області або домену слід пройти розпізнавання" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "Вилучення комп’ютера з області" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "Для вилучення цього комп’ютера з області або домену слід пройти розпізнавання." #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "Зміна правил входу" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "Для змінити правил щодо того, хто може входити до цієї системи, слід пройти розпізнавання." #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "Процес було перервано з таким сигналом: %d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "Дію було скасовано" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "Налаштованої команди не знайдено: %s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "Пропущено таку команду: %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "Налаштована команда є некоректною: %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "Отримано некоректні або непідтримувані дані Netlogon від сервера" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "У LDAP на цій системі не передбачено підтримки з’єднань UDP" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "Непідтримуване або невідоме програмне забезпечення керування членством, «%s»" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "Вже долучено до домену" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "Ім’я користувача-адміністратора або пароль не є чинними" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "Зараз не долучено до цього домену" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "Для виходу з цього домену слід вказати реєстраційні дані" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "Не вдалося записати файл налаштувань: %s" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "Не уповноважено на виконання цієї дії" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "Дію було скасовано." #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "Не вдалося зареєструвати комп’ютер у області. Див. діагностичні повідомлення." #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "Не вдалося скасувати реєстрацію комп’ютера у області. Див. діагностичні повідомлення." #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "Долучення до цього домену без реєстраційних даних не передбачено" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "Полишення цього домену без реєстраційних даних не передбачено" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "Підтримки долучення до цього домену з використанням кешу реєстраційних даних не передбачено" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "Підтримки полишення цього домену з використанням кешу реєстраційних даних не передбачено" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "Підтримки долучення до цього домену з використанням ключа не передбачено" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "Скасування реєстрації у цьому домену з використанням ключа не передбачено" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "Реєстрації у цьому домену з використанням пароля не передбачено" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "Скасування реєстрації у цьому домену з використанням пароля не передбачено" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "Підтримки долучення до цього домену не передбачено" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "Підтримки полишення цього домену не передбачено" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "Вже виконується інша дія" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "Уже долучено до іншого домену: %s" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "Не вдалося змінити список допущених користувачів. Див. діагностичні повідомлення." #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "У області заборонено вказування користувачів" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "Некоректний аргумент користувача%s%s%s не відповідає формату запису користувача." #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "Ці пакунки не доступні для встановлення: %s" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "Не встановлено потрібні для роботи пакунки: %s" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "Встановлюємо потрібні пакунки" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "Не вдалося виявити область. Див. діагностичні повідомлення." #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "Не долучено до цього домену" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "Надавач доступу Samba не може обмежувати перелік дозволених користувачів." #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "У некоректному параметрі входу, «%s», містяться символи, підтримки яких не передбачено." #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "Спроба вмикання SSSD у nsswitch.conf і PAM зазнала невдачі." #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "Не вдалося автоматично долучитися до домену" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "Долучення до домену на основі одноразового пароля передбачено лише у разі використання програмного забезпечення для керування членством «%s»" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "Долучення до домену на основі пароля користувача передбачено лише у разі використання програмного забезпечення для керування членством «%s»" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "Непідтримувані реєстраційні дані для долучення до домену" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "Вже долучено до цього домену" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "Домен з цією назвою вже налаштовано" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "У файлі налаштувань sssd.conf вже є запис домену %s" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "У файлі налаштувань sssd.conf немає запису домену %s" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "Підтримки параметра computer-ou для долучення до домену IPA не передбачено." #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "Зараз не долучено до цієї області" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "Виявити доступну область" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "Зареєструвати цей комп’ютер у області" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "Скасувати реєстрацію цього комп’ютера у області" #: ../tools/realm.c:45 msgid "List known realms" msgstr "Показати список відомих областей" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "Дозволити вхід користувачам" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "Заборонити вхід користувачам" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "Встановити режим до вказаного префіксом каталогу" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "Режим докладних повідомлень" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "Не просити про введення даних" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "Не вдалося встановити зв’язок зі службою обслуговування області" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "Не вдалося завантажити службу обслуговування області" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "Не вдалося встановити з’єднання з каналом обміну даних системи" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "Не вдалося створити пару сокетів: %s" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "Не вдалося створити сокет" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "Не вдалося запустити realmd" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "Не вдалося створити робочий каталог: %s: %s" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "Не вдалося створити файл кешу реєстраційних даних: %s: %s" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "Не вдалося встановити шлях до кешу реєстраційних даних" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "Некоректний пароль до %s" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "Не вдалося пройти розпізнавання як %s" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "Не вдалося обробити ім’я користувача: %s" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "Не вдалося прочитати дані з кешу реєстраційних даних" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "Не вдалося ініціалізувати Kerberos" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "У автономному режимі роботи надсилання запитів щодо введення пароля неможливе" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "Пароль до %s: " #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "Не вдалося надіслати запит щодо пароля: %s" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "У області не передбачено членства на основі пароля" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "У області не передбачено членства на основі одноразового пароля" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "Не вдалося вибрати реєстраційні дані kerberos" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "Не вдалося прочитати реєстраційні дані kerberos" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "У області не передбачено автоматичного членства" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "Не вдалося виявити області" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "Не виявлено типової області" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "Такої області не знайдено: %s" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "Показати всі виявлені області" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "Показувати лише назви" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "Використовувати специфічне клієнтське програмне забезпечення" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "Використовувати специфічне програмне забезпечення для керування членством" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "Використовувати специфічне серверне програмне забезпечення" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "Показувати всі області" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "Не вдалося долучитися до області" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "Долучення до цієї області неможливе" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "Такої області не знайдено" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "Ім’я користувача для реєстрації" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "DN OU комп’ютера для долучення" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "Автоматично долучати без пароля" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "Долучати на основі попередньо встановленого одноразового пароля" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "Встановити реєстраційний запис користувача для цього облікового запису комп’ютера" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "Вказати одну область для долучення" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "Параметр --no-password не можна використовувати разом з параметрами --one-time-password і --user" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "Параметр --one-time-password не можна використовувати разом з параметром --user" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "Не вдалося полишити область" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "Вилучити комп’ютер з області" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "Ім’я користувача для вилучення" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "Не вдалося змінити список допущених користувачів" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "Дозволити вхід для усіх облікових записів області" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "Заборонити вхід для усіх облікових записів області" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "Відкликати дозвіл входу для облікового запису області" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "Вважати імена назвами груп, яким слід надати доступ" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "Область до якої слід дозволити або заборонити вхід" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "Не можна вказувати назви записів для входу, якщо використано параметр -a або --all" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "Під час визначення заборони входу не можна використовувати параметр --withdraw або -x" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "Окремі запис слід вказувати за допомогою --withdraw" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "Не можна вказувати групи, якщо використано параметр -a або --all" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "Скористайтеся параметром --all, щоб заборонити вхід усім" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "Вказати назви записів певних користувачів, які слід додати або вилучити зі списку дозволених" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "Визначення заборони без параметра --all вважається застарілим. Скористайтеся відкликання доступ для області за допомогою параметра --withdraw" realmd-0.15.0/po/ru.po0000664000175000017500000003316012263033724014440 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Russian (http://www.transifex.com/projects/p/freedesktop/language/ru/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ru\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/sr@latin.po0000664000175000017500000003320412263033741015564 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Serbian (Latin) (http://www.transifex.com/projects/p/freedesktop/language/sr@latin/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sr@latin\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/ca@valencia.po0000664000175000017500000003310412263033615016175 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Catalan (Valencian) (http://www.transifex.com/projects/p/freedesktop/language/ca@valencia/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ca@valencia\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/ml.po0000664000175000017500000003305012263033663014422 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Malayalam (http://www.transifex.com/projects/p/freedesktop/language/ml/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ml\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/gu.po0000664000175000017500000003304712263033612014425 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Gujarati (http://www.transifex.com/projects/p/freedesktop/language/gu/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: gu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/he.po0000664000175000017500000003304512263033660014407 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Hebrew (http://www.transifex.com/projects/p/freedesktop/language/he/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: he\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/POTFILES.in0000664000175000017500000000077312140455744015237 0ustar00stefstef00000000000000service/org.freedesktop.realmd.policy.in service/realm-command.c service/realm-disco-mscldap.c service/realm-example.c service/realm-ini-config.c service/realm-invocation.c service/realm-kerberos.c service/realm-ldap.c service/realm-packages.c service/realm-provider.c service/realm-samba.c service/realm-sssd.c service/realm-sssd-ad.c service/realm-sssd-config.c service/realm-sssd-ipa.c tools/realm.c tools/realm-client.c tools/realm-discover.c tools/realm-join.c tools/realm-leave.c tools/realm-logins.c realmd-0.15.0/po/ms.po0000664000175000017500000003303512263033670014432 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Malay (http://www.transifex.com/projects/p/freedesktop/language/ms/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ms\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/it_IT.po0000664000175000017500000003306512213354440015022 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-09-09 16:14+0200\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Italian (Italy) (http://www.transifex.com/projects/p/freedesktop/language/it_IT/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: it_IT\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:350 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:193 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:341 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:83 ../service/realm-samba.c:248 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:171 ../service/realm-samba.c:283 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:179 ../service/realm-example.c:261 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:232 ../service/realm-samba.c:409 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:291 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:126 ../service/realm-kerberos.c:204 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:131 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:209 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:264 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:265 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:302 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:303 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:323 ../service/realm-kerberos.c:497 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:368 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:439 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:738 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:746 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:177 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:235 ../service/realm-packages.c:269 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:240 ../tools/realm-client.c:146 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:441 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:451 ../service/realm-samba.c:493 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:196 ../tools/realm-client.c:206 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:235 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:252 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:282 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:290 ../tools/realm-client.c:322 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:303 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:568 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:578 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:588 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:678 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:682 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:707 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:731 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:757 ../tools/realm-client.c:966 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:822 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:826 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:844 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:879 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:918 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:986 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:1000 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1050 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/sv.po0000664000175000017500000003304612263033705014444 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Swedish (http://www.transifex.com/projects/p/freedesktop/language/sv/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/nn.po0000664000175000017500000003306012263033727014427 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Norwegian Nynorsk (http://www.transifex.com/projects/p/freedesktop/language/nn/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: nn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/or.po0000664000175000017500000003304412263033774014440 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Oriya (http://www.transifex.com/projects/p/freedesktop/language/or/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: or\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/kk.po0000664000175000017500000003303612263033753014423 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Kazakh (http://www.transifex.com/projects/p/freedesktop/language/kk/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: kk\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/ia.po0000664000175000017500000003305212263033706014403 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Interlingua (http://www.transifex.com/projects/p/freedesktop/language/ia/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ia\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/ko.po0000664000175000017500000004153112263033757014432 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Darkcircle , 2013 # Darkcircle , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: Darkcircle \n" "Language-Team: Korean (http://www.transifex.com/projects/p/freedesktop/language/ko/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ko\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "영역 발견" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "커베로스 영역을 발견하려면 인증이 필요합니다" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "장비를 영역에 참여시키기" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "이 장비를 영역이나 도메인에 참여하도록 하려면 인증이 필요합니다" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "장비를 영역에서 빼내기" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "이 컴퓨터를 영역 또는 도메인에서 빼내려면 인증이 필요합니다" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "로그인 정책 변경" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "이 컴퓨터에 누가 로그인할 수 있는지 바꾸려면 인증이 필요합니다" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "다음 시그널로 프로세스가 멈추었습니다: %d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "처리를 취소했습니다" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "설정한 명령을 찾을 수 없습니다: %s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "명령을 건너뛰었습니다: %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "설정한 명령이 잘못되었습니다: %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "잘못되거나 지원하지 않은 네트워크 로그온 데이터를 서버로부터 받았습니다" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "이 시스템의 LDAP 는 UDP 연결을 지원하지 않습니다" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "지원하지 않거나 알 수 없는 구성원 소프트웨어 '%s' 입니다" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "이미 도메인에 참여했습니" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "관리자 이름 또는 암호가 유효하지 않습니" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "현재 이 도메인에 참여하고 있지 않습니다" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "이 도메인을 떠나려면 인증서가 필요합니다" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "설정 파일에 기록할 수 없습니다: %s" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "처리가 취소되었습니다." #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "장비를 영역에 참여하는데 실패했습니다. 진단 기록을 보십시오." #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "장비를 도메인에서 가입 해제하는데 실패했습니다. 진단 기록을 보십시오." #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "인증서없이 이 영역으로의 참여는 지원하지 않습니다" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "인증서 없이 이 영역을 떠나는 기능은 지원하지 않습니다" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "인증서 캐를 사용하여 이 영역에 참여하는 기능은 지원하지 않습니다" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "인증서 캐시를 사용하여 이 영역을 떠나는 기능은 지원하지 않습니다" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "비밀을 사용하여 이 영역으로 참여하는 기능은 지원하지 않습니다" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "이 영역으로의 참여는 지원하지 않습니다" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "이 영역을 떠나는 기능은 지원하지 않습니다" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "다른 동작을 이미 실행중입니다" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "다른 도메인에 이미 참여했습니다: %s" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "설치에 다음 패키지가 없습니다: %s" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "필요한 패키지를 설치하지 않았습니다: %s" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "필요 패키지 설치중" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "이 도메인에 참여하지 않았습니다" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "지원하지 않는 문자가 들어간 '%s' 로그인 인자가 잘못되었습니다" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "sssd.conf 설정 파일에 %s 도메인이 없습니다" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "지정한 접두어에 따른 설치 모드" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "자세한 출력" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "영역 서비스에 연결할 수 없습니다" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "영역 서비스를 불러올 수 없습니다" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "시스템 버스에 연결할 수 없습니" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "소켓 쌍을 생성할 수 없습니다: %s" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "소켓을 만들 수 없습니다" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "realmd를 실행할 수 없습니다" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "인증서 캐시를 해석할 수 없습니다" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "%s의 암호가 잘못되었습니다" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "%s(으)로 인증할 수 없습니다" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "사용자 이름을 해석할 수 없습니다: %s" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "인증서 캐시를 읽을 수 없습니다" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "커베로스를 초기화 할 수 없습니다" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr " %s 암호:" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "암호를 물어볼 수 없습니다: %s" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "영역에 자동 구성원 가입을 지원하지 않습니다" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "영역을 발견할 수 없었습니다" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "발견한 기본 영역이 없습니다" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "찾은 영역이 없습니다: %s" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "발견한 영역만 표시" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "이름만 표시" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "영역을 떠날 수 없습니다" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "영역에서 컴퓨터 제거" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "제거하는데 사용할 사용자 이름" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "로그인을 허용하거나 거절할 영역" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/te.po0000664000175000017500000003304512263033634014424 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Telugu (http://www.transifex.com/projects/p/freedesktop/language/te/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: te\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/as.po0000664000175000017500000003304712263033710014414 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Assamese (http://www.transifex.com/projects/p/freedesktop/language/as/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: as\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/hi.po0000664000175000017500000003304412263033656014417 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Hindi (http://www.transifex.com/projects/p/freedesktop/language/hi/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: hi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/ka.po0000664000175000017500000003304012263033752014403 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Georgian (http://www.transifex.com/projects/p/freedesktop/language/ka/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ka\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/bn_IN.po0000664000175000017500000003306412263033722015000 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Bengali (India) (http://www.transifex.com/projects/p/freedesktop/language/bn_IN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: bn_IN\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/fo.po0000664000175000017500000003304612263033751014421 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Faroese (http://www.transifex.com/projects/p/freedesktop/language/fo/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: fo\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/ca.po0000664000175000017500000003304612263033613014375 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Catalan (http://www.transifex.com/projects/p/freedesktop/language/ca/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ca\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/mr.po0000664000175000017500000003304612263033672014435 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Marathi (http://www.transifex.com/projects/p/freedesktop/language/mr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: mr\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/ar.po0000664000175000017500000003317012263033712014412 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Arabic (http://www.transifex.com/projects/p/freedesktop/language/ar/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ar\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/sk.po0000664000175000017500000003310012263033762014423 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Slovak (http://www.transifex.com/projects/p/freedesktop/language/sk/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sk\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/zh_HK.po0000664000175000017500000003306112263033645015017 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese (Hong Kong) (http://www.transifex.com/projects/p/freedesktop/language/zh_HK/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh_HK\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/sl.po0000664000175000017500000004570312263033772014441 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Martin Srebotnjak , 2013 # mateju <>, 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: Martin Srebotnjak \n" "Language-Team: Slovenian (http://www.transifex.com/projects/p/freedesktop/language/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sl\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "Odkrij polje" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "Za zaznavanje polja kerberos je zahtevana overitev" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "Pridruži napravo v polje" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "Za prijavo naprave v polje ali domeno je zahtevana overitev" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "Odstrani napravo iz polja" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "Za odstranitev naprave iz polja ali domene je zahtevana overitev" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "Spremeni pravila prijavljanja" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "Za spreminjanje dovoljenj prijave za uporabo naprave je zahtevana overitev" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "Postopek je prekinjen s signalom: %d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "Opravilo je preklicano" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "Nastavljenega ukaza ni mogoče najti: %s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "Preskočen ukaz: %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "Nastavljen ukaz ni veljaven: %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "S strežnika prejeti neveljavni ali nepodprti podatki Netlogon" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "LDAP tega sistema ne podpira povezav UDP." #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "Nepodprta ali neznana članska programska oprema '%s'" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "Naprava je že pridružena domeni" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "Ime ali geslo skrbnika ni veljavno" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "Naprava trenutno ni pridružena domeni" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "Za odjavo domene so zahtevana poverila" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "Izpisovanje prilagoditev je spodletelo: %s" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "Za to dejanje ni ustreznih dovoljenj" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "Opravilo je preklicano" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "Vpisovanje naprave v polje je spodletelo. Oglejte si podrobnosti napake." #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "Izpisovanje naprave iz polja je spodletelo. Oglejte si podrobnosti napake." #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "Pridruževanju temu polju brez poverilni podprto." #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "Zapuščanje tega polja brez overil ni podprto." #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "Pridruževanju temu polju s predpomnjenimi poverili ni podprto." #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "Zapuščanje tega polja s predpomnjenimi poverili ni podprto." #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "Pridruževanju temu polju s skrivnim ključem ni podprto." #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "Izpisovanje naprave iz polja z uporabo skrivnega ključa ni podprto." #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "Vpisovanje naprave v polje z uporabo gesla ni podprto." #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "Izpisovanje naprave iz polja z uporabo gesla ni podprto." #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "Pridruževanju temu polju ni podprto." #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "Zapuščanje tega polja ni podprto." #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "Trenutno je dejavno že drugo opravilo." #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "Že pridruženi drugi domeni: %s" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "Spreminjanje dovoljenih prijav je spodletelo. Več podrobnosti je v odvodu opravila." #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "V polju ni dovoljeno navajanje prijav." #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "Neveljaven prijavni argument %s%s%s ni skladen s prijavnim zapisom." #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "Naslednji paketi niso na voljo za namestitev: %s" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "Obvezni paketi niso nameščeni: %s" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "Nameščanje obveznih paketov" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "Zaznavanje polja je spodletelo. Več podrobnosti napake je v odvodu." #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "Naprava ni pridružena domeni." #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "Ponudnik Samba ne omogoča omejevanja dovoljenih prijav." #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "Neveljaven prijavni argument '%s' vsebuje nepodprte znake." #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "Omogočanje SSSD v nastavitvah nsswitch.conf in PAM je spodletelo." #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "Domeni se ni mogoče samodejno pridružiti domeni" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "Pridruženje domeni z uporabo enkratnega gesla je podprto le s člansko programsko opremo '%s'" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "Pridruženje domeni z uporabo uporabniškega gesla je podprto le s člansko programsko opremo '%s'" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "Nepodprta vrsta poveril za pridruženje domeni" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "Naprava je že pridružena tej domeni." #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "Domena s tem imenom je že nastavljena" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "Domena %s je že določena v datoteki nastavitev sssd.conf" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "Domena %s ni zavedena v nastavitveni datoteki " #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "Ob pridruževanju domeni IPA argument computer-ou ni podprt." #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "V to polje trenutno niste pridruženi." #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "Zaznaj razpoložljiva polja" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "Vpiši napravo v polje." #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "Izpiši napravo iz polja." #: ../tools/realm.c:45 msgid "List known realms" msgstr "Izpiši znana polja" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "Dovoli prijave uporabnikov" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "Zavrni prijave uporabnikov" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "Namesti način na določeno predpono" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "Podroben izpis" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "Ne čakaj na vnos" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "Ni se mogoče povezati s storitvijo polja" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "Ni mogoče naložiti storitve polja" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "Povezava s sistemskim vodilom ni mogoča." #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "Ni mogoče ustvariti para vtiča: %s" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "Ni mogoče ustvariti vtiča" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "Ni mogoče zagnati ozadnjega programa realmd." #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "Ustvarjanje izvajalne mape je spodletelo: %s: %s" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "Datoteke predpomnilnika poveril ni mogoče ustvariti: %s: %s" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "Ni mogoče razrešiti predpomnilnika poveril." #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "Neslo za %s ni veljavno." #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "Ni mogoče overiti kot %s" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "Ni mogoče razčleniti uporabniškega imena: %s" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "Ni mogoče prebrati predpomnilnika poveril." #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "Ni mogoče začeti ozadja kerberos." #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "Za geslo ni mogoče povprašati, če program teče v nenadzorovanem načinu" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "Geslo za %s:" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "Ni mogoče zahtevati gesla: %s" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "Polje ne podpira članstva z uporabo gesla" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "Polje ne podpira članstva z uporabo enkratnega gesla" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "Poveril kerberos ni mogoče izbrati" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "Poveril kerberos ni mogoče prebrati" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "Polje ne podpira samodejnega članstva" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "Ni mogoče zaznati razpoložljivih polj" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "Ni zaznanih privzetih polj" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "Ni mogoče najti polja: %s" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "Pokaži sva zaznana polja" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "Pokaži le imena" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "Uporabi posebno odjemalno programsko opremo" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "Uporabi posebno člansko programsko opremo" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "Uporabi posebno strežniško programsko opremo" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "Pokaži vsa polja" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "Pridružitev v polje je spodletela" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "Pridružitev v polje ni možna" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "Takega polja ni mogoče najti" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "Uporabniško ime za vpis" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "Enolično ime organizacijske enote računalnika za pridružitev" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "Pridruži se samodejno brez gesla" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "Pridruži se z uporabo enkratnega gesla" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "Določite glavnega uporabnika za račun računalnika" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "Določi polje za pridružitev" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "Argumenta --no-password ni mogoče uporabiti z argumentom --one-time-password ali --user" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "Argumenta --one-time-password ni mogoče uporabiti z argumentom --user" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "Polja ni mogoče zapustiti" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "Odstrani računalnik iz polja" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "Uporabniško ime za odstranjevanje" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "Spreminjanje dovoljenih prijav je spodletelo." #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "Dovoli uporabniško prijavo poljubnega polja" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "Zavrni uporabniške prijave vseh polj" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "Umakni dovoljenje prijave za uporabniški račun polja" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "Obravnavaj imena kot skupine z dovoljenji" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "Polje za katerega so dovoljene/zavrnjene prijave" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "Nobena prija ne sme biti določena z -a ali --all" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "Argumentov --withdraw in -x pri prepovedi prijave ni mogoče uporabiti" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "Nekatere prijave morajo biti določene z --withdraw" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "Skupin ni dovoljeno določiti z argumentom -a ali --all" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "Uporabite --all za prepoved vseh prijav" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "Navedite uporabnike, ki jih želite dodati ali odstraniti s seznama dovoljenih" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "Določanje deny brez --all je opuščeno. Uporabite realm permit --withdraw" realmd-0.15.0/po/az.po0000664000175000017500000003304312263033715014424 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Azerbaijani (http://www.transifex.com/projects/p/freedesktop/language/az/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: az\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/kn.po0000664000175000017500000003303712263033760014425 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Kannada (http://www.transifex.com/projects/p/freedesktop/language/kn/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: kn\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/lv.po0000664000175000017500000003311212263033625014430 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: stef0x77 \n" "Language-Team: Latvian (http://www.transifex.com/projects/p/freedesktop/language/lv/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: lv\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/ta.po0000664000175000017500000003304412263033644014420 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Tamil (http://www.transifex.com/projects/p/freedesktop/language/ta/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ta\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/fa.po0000664000175000017500000003303712263033743014404 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Persian (http://www.transifex.com/projects/p/freedesktop/language/fa/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: fa\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/pt.po0000664000175000017500000003305112263033622014431 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Portuguese (http://www.transifex.com/projects/p/freedesktop/language/pt/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pt\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/bg.po0000664000175000017500000003305012263033735014402 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Bulgarian (http://www.transifex.com/projects/p/freedesktop/language/bg/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: bg\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/sq.po0000664000175000017500000003304712263033755014445 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Albanian (http://www.transifex.com/projects/p/freedesktop/language/sq/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sq\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/fi.po0000664000175000017500000003304712263033744014416 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: stef0x77 \n" "Language-Team: Finnish (http://www.transifex.com/projects/p/freedesktop/language/fi/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/en_GB.po0000664000175000017500000004452212263033642014767 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Andi Chandler , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: Andi Chandler \n" "Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/freedesktop/language/en_GB/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: en_GB\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "Discover realm" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "Authentication is required to discover a kerberos realm" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "Join machine to realm" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "Authentication is required to join this machine to a realm or domain" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "Remove machine from realm" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "Authentication is required to remove this computer from a realm or domain." #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "Change login policy" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "Authentication is required to change the policy of who can log in on this computer." #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "Process was terminated with signal: %d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "The operation was cancelled" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "Configured command not found: %s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "Skipped command: %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "Configured command invalid: %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "Received invalid or unsupported Netlogon data from server" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "LDAP on this system does not support UDP connections" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "Unsupported or unknown membership software '%s'" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "Already joined to a domain" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "Admin name or password is not valid" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "Not currently joined to this domain" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "Need credentials for leaving this domain" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "Couldn't write out config: %s" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "Not authorised to perform this action" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "Operation was cancelled." #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "Failed to enroll machine in realm. See diagnostics." #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "Failed to unenroll machine from domain. See diagnostics." #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "Joining this realm without credentials is not supported" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "Leaving this realm without credentials is not supported" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "Joining this realm using a credential cache is not supported" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "Leaving this realm using a credential cache is not supported" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "Joining this realm using a secret is not supported" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "Unenrolling this realm using a secret is not supported" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "Enrolling this realm using a password is not supported" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "Unenrolling this realm using a password is not supported" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "Joining this realm is not supported" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "Leaving this realm is not supported" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "Already running another action" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "Already joined to another domain: %s" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "Failed to change permitted logins. See diagnostics." #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "The realm does not allow specifying logins" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "Invalid login argument%s%s%s does not match the login format." #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "The following packages are not available for installation: %s" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "Necessary packages are not installed: %s" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "Installing necessary packages" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "Failed to discover realm. See diagnostics." #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "Not joined to this domain" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "The Samba provider cannot restrict permitted logins." #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "Invalid login argument '%s' contains unsupported characters." #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "Enabling SSSD in nsswitch.conf and PAM failed." #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "Unable to automatically join the domain" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "Joining a domain with a one time password is only supported with the '%s' membership software" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "Joining a domain with a user password is only supported with the '%s' membership software" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "Unsupported credentials for joining a domain" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "Already joined to this domain" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "A domain with this name is already configured" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "Already have domain %s in sssd.conf config file" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "Don't have domain %s in sssd.conf config file" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "The computer-ou argument is not supported when joining an IPA domain." #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "Not currently joined to this realm" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "Discover available realm" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "Enroll this machine in a realm" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "Unenroll this machine from a realm" #: ../tools/realm.c:45 msgid "List known realms" msgstr "List known realms" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "Permit user logins" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "Deny user logins" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "Install mode to a specific prefix" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "Verbose output" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "Do not prompt for input" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "Couldn't connect to realm service" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "Couldn't load the realm service" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "Couldn't connect to system bus" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "Couldn't create socket pair: %s" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "Couldn't create socket" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "Couldn't run realmd" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "Couldn't create runtime directory: %s: %s" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "Couldn't create credential cache file: %s: %s" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "Couldn't resolve credential cache" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "Invalid password for %s" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "Couldn't authenticate as %s" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "Couldn't parse user name: %s" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "Couldn't read credential cache" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "Couldn't initialise kerberos" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "Cannot prompt for a password when running in unattended mode" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "Password for %s: " #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "Couldn't prompt for password: %s" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "Realm does not support membership using a password" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "Realm does not support membership using a one time password" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "Couldn't select kerberos credentials" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "Couldn't read kerberos credentials" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "Realm does not support automatic membership" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "Couldn't discover realms" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "No default realm discovered" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "No such realm found: %s" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "Show all discovered realms" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "Show only the names" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "Use specific client software" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "Use specific membership software" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "Use specific server software" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "Show all realms" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "Couldn't join realm" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "Cannot join this realm" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "No such realm found" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "User name to use for enrollment" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "Computer OU DN to join" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "Join automatically without a password" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "Join using a preset one time password" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "Set the user principal for the computer account" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "Specify one realm to join" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "The --no-password argument cannot be used with --one-time-password or --user" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "The --one-time-password argument cannot be used with --user" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "Couldn't leave realm" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "Remove computer from realm" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "User name to use for removal" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "Couldn't change permitted logins" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "Permit any realm account login" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "Deny any realm account login" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "Withdraw permit for a realm account to login" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "Treat names as groups which to permit" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "Realm to permit/deny logins for" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "No logins should be specified with -a or --all" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "The --withdraw or -x arguments cannot be used when denying logins" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "Specific logins must be specified with --withdraw" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "Groups may not be specified with -a or --all" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "Use --all to deny all logins" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "Specify specific users to add or remove from the permitted list" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "Specifying deny without --all is deprecated. Use realm permit --withdraw" realmd-0.15.0/po/el.po0000664000175000017500000003304412263033674014417 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Greek (http://www.transifex.com/projects/p/freedesktop/language/el/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: el\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/gl.po0000664000175000017500000004614412263033621014416 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Fran Diéguez , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: Fran Diéguez \n" "Language-Team: Galician (http://www.transifex.com/projects/p/freedesktop/language/gl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: gl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "Descubrir reino" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "Debe autenticarse para descubrir un reino de kerberos" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "Unir máquina ao reino" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "Debe autenticarse para unir esta máquina ao reino ou dominio" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "Quitar máquina do reino" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "Debe autenticarse para quitar este computador do reino ou dominio." #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "Cambiar a normativa de inicio de sesión" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "Debe autenticarse para cambiar a normativa de quen pode iniciar sesión neste computador." #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "O proceso rematou co sinal: %d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "A operación foi cancelada" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "A orde configurada non se atopou: %s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "Orde omitida: %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "Orde configurada non válida: %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "Recibironse datos de Netlogon non válidos ou non compatíbeis do servidor" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "O LDAP deste sistema non admite as conexións UDP" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "Membresía de software non admitida ou descoñecida «%s»" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "Xa está unido ao dominio" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "O nome ou contrasinal do administrador non é válido" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "Non está actualmente neste dominio" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "Precisa credenciais para abandonar este dominio" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "Non foi posíbel escribir a configuración: %s" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "Non está autorizado a levar a cabo esta acción" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "A operación foi cancelada." #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "Produciuse un fallo ao unir o computador ao reino. Vexa o diagnóstico." #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "Produciuse un fallo ao quitar o computador do dominio. Vexa o diagnóstico." #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "No se admite a unión a este dominio sen credenciais" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "No se admite deixar a este dominio sen credenciais" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "Non se admite a unión a este reino usando unha caché de credencial." #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "Non se admite deixar a este reino usando unha caché de credencial." #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "Non se admite a unión a este reino usando un segredo" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "Non se admite quitarse deste reino sen usar un segredo" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "Non se admite a unión a este reino usando un contrasinal" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "Non se admite abandonar este reino usando un contrasinal" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "Non se permite a unión a este reino" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "Non se admite deixar este reino" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "Esta executando outra acción" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "Xa está unido a outro dominio: %s" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "Produciuse un fallo ao cambiar os inicios de sesión permitidos. Vexa o diagnóstico." #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "O reino non permite especificar inicios de sesión" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "Os seguintes paquetes non están dispoñíbeis para a súa instalación: %s" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "Os paquetes necesarios non están instalados: %s" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "Instalando os paquetes necesarios" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "Produciuse un fallo ao descubrir o reino. Vexa o diagnóstico." #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "Non unido a este reino" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "O fornecedor Samba non pode restrinxir os inicios de sesión permitidos." #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "O argumento «%s» de Inicio de sesión no válido contén caracteres non admitidos." #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "Produciuse un fallo ao activar SSSD en nsswitch.conf e en PAM." #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "Non foi posíbel a unión automática ao dominio" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "A unión a un dominio con un contrasinal dun só uso só se permite con software de membresía «%s»" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "A unión a un dominio con un contrasinal de usuario só se permite con software de membresía «%s»" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "Credenciais non compatíbeis para a unión a un dominio" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "Xa se uniu a este dominio" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "Xa está configurado un dominio con este nome" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "Xa hai un dominio %s no ficheiro de configuración sssd.conf" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "Non ten o dominio %s no ficheiro de configuración sssd.conf" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "Non unido a este reino actualmente" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "Descubrir reino dispoñíbel" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "Unir este computador no reino" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "Quitar este computador do reino" #: ../tools/realm.c:45 msgid "List known realms" msgstr "Listar os reinos coñecidos" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "Permitir inicios de sesión de usuario" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "Denegar inicios de sesión de usuarios" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "Modo de instalación para un prefixo específico" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "Saída estendida" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "Non preguntar por entrada" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "Non foi posíbel conectarse ao servicio realm" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "Non foi posíbel cargar o servizo realm" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "Non foi posíbel conectarse ao bus do sistema" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "Non foi posíbel crear o par do socket: %s" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "Non foi posíbel crear o socket" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "Non foi posíbel executar realmd" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "Non foi posíbel crear o cartafol en tempo de execución: %s: %s" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "Non foi posíbel crear o ficheiro de caché de credenciais: %s: %s" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "Non foi posíbel resolver a caché de credenciais" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "Contrasinal non válida para %s" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "Non foi posíbel autenticarse como %s" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "Non foi posíbel analizar o nome de usuario: %s" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "Non foi posíbel ler a caché das credenciais" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "Non foi posíbel inicializar kerberos" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "Non é posíbel solicitar un contrasinal mentres se está executando en modo non atendido" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "Contrasinal para %s:" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "Non foi posíbel solicitar o contrasinal: %s" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "Realm non admite a membresía usando un contrasinal" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "Realm non admite a membresía usando un contrasinal de un único uso" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "Non foi posíbel seleccionar as credenciais de kerberos" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "Non foi posíbel ler as credenciais de kerberos" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "Realm non admite a membresía automática" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "Non foi posíbel descubrir reinos" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "Non se descubriu un reino predeterminado" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "Non se atopou o reino: %s" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "Mostrar todos os reinos descubertos" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "Mostrar só os nomes" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "Usar un software de cliente específico" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "Usar un software de membresía específico" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "Usar un software de servidor específico" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "Mostrar todos os reinos" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "Non foi posíbel unirse ao reino" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "Non é posíbel unirse a este reino" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "Non se atopou o reino" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "O nome de usuario a usar para a unión" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "Computador ou DN ao que unirse" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "Unirse automaticamente sen un contrasinal" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "Unirse usando un contrasinal dun só uso" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "Estabelecer o usuario principal para a conta do computador" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "Especifique un reino ao que unirse" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "O argumento --no-password non pode usarse con --one-time-password ou --user" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "O argumento --one-time-password non pode usarse con --user" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "Non foi posíbel deixar o reino" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "Quitar o computador do reino" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "Nome de usuario a usar na desunión" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr " Non foi posíbel cambiar os inicios de sesión permitidos" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "Permitir calquera inicio de sesión de contas do reino" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "Denegar calquera inicio de sesión de contas do reino" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "Tratar nomes como grupos aos que permitir" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "Reino no que permitir/denegar inicios de sesión" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "Non debería especificar inicios de sesión con -a ou --all" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "Os argumentos --withdraw ou -x non poden usarse ao denegar inicios de sesión" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "Inicios de sesión específicos deben ser especificados con --withdraw" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "Os grupos non deberían ser especificados con -a ou --all" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "Use --all para denegar todos os inicios de sesión" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "Especifice os usuarios específicos para engadir ou quitar da lista de permitidos" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/Makefile.in.in0000644000175000017500000001604612263026351016124 0ustar00stefstef00000000000000# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # Copyright (C) 2004-2008 Rodney Dawes # # This file may be copied and used freely without restrictions. It may # be used in projects which are not available under a GNU Public License, # but which still want to provide support for the GNU gettext functionality. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize # # - Modified by Rodney Dawes for use with intltool # # We have the following line for use by intltoolize: # INTLTOOL_MAKEFILE GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ datarootdir = @datarootdir@ libdir = @libdir@ DATADIRNAME = @DATADIRNAME@ itlocaledir = $(prefix)/$(DATADIRNAME)/locale subdir = po install_sh = @install_sh@ # Automake >= 1.8 provides @mkdir_p@. # Until it can be supposed, use the safe fallback: mkdir_p = $(install_sh) -d INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS POTFILES = \ # This comment gets stripped out CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< .po.gmo: $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && gencat $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-data install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $$dir; \ if test -r $$lang.gmo; then \ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $(srcdir)/$$lang.gmo as" \ "$$dir/$(GETTEXT_PACKAGE).mo"; \ fi; \ if test -r $$lang.gmo.m; then \ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ if test -r $(srcdir)/$$lang.gmo.m ; then \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $(srcdir)/$$lang.gmo.m as" \ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ true; \ fi; \ fi; \ done # Empty stubs to satisfy archaic automake needs dvi info ctags tags CTAGS TAGS ID: # Define this as empty until I found a useful application. install-exec installcheck: uninstall: linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ done check: all $(GETTEXT_PACKAGE).pot rm -f missing notexist srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi mostlyclean: rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp rm -f .intltool-merge-cache clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES stamp-it rm -f *.mo *.msg *.cat *.cat.m *.gmo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f Makefile.in.in distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(DISTFILES) dists="$(DISTFILES)"; \ extra_dists="$(EXTRA_DISTFILES)"; \ for file in $$extra_dists; do \ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ done; \ for file in $$dists; do \ test -f $$file || file="$(srcdir)/$$file"; \ ln $$file $(distdir) 2> /dev/null \ || cp -p $$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ echo "$$lang:"; \ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ if $$result; then \ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.gmo failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done Makefile POTFILES: stamp-it @if test ! -f $@; then \ rm -f stamp-it; \ $(MAKE) stamp-it; \ fi stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: realmd-0.15.0/po/cy.po0000664000175000017500000003312112263033664014425 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Welsh (http://www.transifex.com/projects/p/freedesktop/language/cy/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: cy\n" "Plural-Forms: nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/hu.po0000664000175000017500000003305012263033654014426 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Hungarian (http://www.transifex.com/projects/p/freedesktop/language/hu/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: hu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/fr.po0000664000175000017500000003467612263033733014436 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: # Jérôme Fenal , 2013 # Stéphane Aulery , 2013 msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-11-20 09:15+0000\n" "Last-Translator: Jérôme Fenal \n" "Language-Team: French (http://www.transifex.com/projects/p/freedesktop/language/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "Découverte du domaine" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "L'authentification est nécessaire afin de découvrir un domaine kerberos" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "Joindre la machine au domaine" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "L'authentification est nécessaire afin d'inscrire cette machine au domaine kerberos" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "Supprimer la machine du domaine" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "L'authentification est nécessaire afin de supprimer cette machine du domaine." #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "Modifier la politique de connexion" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "L'authentification est nécessaire afin de modifier la politique de qui peut se connecter sur cet ordinateur." #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "Le processus s'est terminé avec un signal : %d" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "L'opération a été annulée" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "Commande configurée introuvable : %s" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "Commande sautée : %s" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "Commande configurée invalide : %s" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "Déjà adjoint à un domaine" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "Le nom ou mot de passe de l'administrateur est invalide" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "Actuellement disjoint d'un quelconque domaine" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "Afficher seulement les noms" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "Utiliser --add pour interdire toute connexion" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/po/ga.po0000664000175000017500000003311212263033616014376 0ustar00stefstef00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Translators: msgid "" msgstr "" "Project-Id-Version: realmd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-01-07 18:08+0100\n" "PO-Revision-Date: 2013-01-14 15:31+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Irish (http://www.transifex.com/projects/p/freedesktop/language/ga/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ga\n" "Plural-Forms: nplurals=5; plural=(n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4);\n" #: ../service/org.freedesktop.realmd.policy.in.h:1 msgid "Discover realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:2 msgid "Authentication is required to discover a kerberos realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:3 msgid "Join machine to realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:4 msgid "Authentication is required to join this machine to a realm or domain" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:5 msgid "Remove machine from realm" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:6 msgid "" "Authentication is required to remove this computer from a realm or domain." msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:7 msgid "Change login policy" msgstr "" #: ../service/org.freedesktop.realmd.policy.in.h:8 msgid "" "Authentication is required to change the policy of who can log in on this " "computer." msgstr "" #: ../service/realm-command.c:347 #, c-format msgid "Process was terminated with signal: %d" msgstr "" #: ../service/realm-command.c:396 ../service/realm-ldap.c:349 #, c-format msgid "The operation was cancelled" msgstr "" #: ../service/realm-command.c:573 #, c-format msgid "Configured command not found: %s" msgstr "" #: ../service/realm-command.c:578 #, c-format msgid "Skipped command: %s" msgstr "" #: ../service/realm-command.c:584 #, c-format msgid "Configured command invalid: %s" msgstr "" #: ../service/realm-disco-mscldap.c:192 #, c-format msgid "Received invalid or unsupported Netlogon data from server" msgstr "" #: ../service/realm-disco-mscldap.c:340 msgid "LDAP on this system does not support UDP connections" msgstr "" #: ../service/realm-example.c:82 ../service/realm-samba.c:247 #: ../service/realm-sssd-ad.c:309 ../service/realm-sssd-ipa.c:318 #, c-format msgid "Unsupported or unknown membership software '%s'" msgstr "" #: ../service/realm-example.c:170 ../service/realm-samba.c:282 msgid "Already joined to a domain" msgstr "" #: ../service/realm-example.c:178 ../service/realm-example.c:260 msgid "Admin name or password is not valid" msgstr "" #: ../service/realm-example.c:231 ../service/realm-samba.c:408 #: ../service/realm-sssd-ad.c:493 msgid "Not currently joined to this domain" msgstr "" #: ../service/realm-example.c:290 msgid "Need credentials for leaving this domain" msgstr "" #: ../service/realm-ini-config.c:736 #, c-format msgid "Couldn't write out config: %s" msgstr "" #: ../service/realm-invocation.c:536 msgid "Not authorized to perform this action" msgstr "" #: ../service/realm-kerberos.c:130 ../service/realm-kerberos.c:208 #: ../service/realm-provider.c:156 msgid "Operation was cancelled." msgstr "" #: ../service/realm-kerberos.c:135 msgid "Failed to enroll machine in realm. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:213 msgid "Failed to unenroll machine from domain. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:268 msgid "Joining this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:269 msgid "Leaving this realm without credentials is not supported" msgstr "" #: ../service/realm-kerberos.c:272 msgid "Joining this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:273 msgid "Leaving this realm using a credential cache is not supported" msgstr "" #: ../service/realm-kerberos.c:276 msgid "Joining this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:277 msgid "Unenrolling this realm using a secret is not supported" msgstr "" #: ../service/realm-kerberos.c:280 msgid "Enrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:281 msgid "Unenrolling this realm using a password is not supported" msgstr "" #: ../service/realm-kerberos.c:306 msgid "Joining this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:307 msgid "Leaving this realm is not supported" msgstr "" #: ../service/realm-kerberos.c:327 ../service/realm-kerberos.c:501 msgid "Already running another action" msgstr "" #: ../service/realm-kerberos.c:372 #, c-format msgid "Already joined to another domain: %s" msgstr "" #: ../service/realm-kerberos.c:443 msgid "Failed to change permitted logins. See diagnostics." msgstr "" #: ../service/realm-kerberos.c:742 #, c-format msgid "The realm does not allow specifying logins" msgstr "" #: ../service/realm-kerberos.c:750 #, c-format msgid "Invalid login argument%s%s%s does not match the login format." msgstr "" #: ../service/realm-packages.c:179 #, c-format msgid "The following packages are not available for installation: %s" msgstr "" #: ../service/realm-packages.c:237 ../service/realm-packages.c:271 #, c-format msgid "Necessary packages are not installed: %s" msgstr "" #. * Various people have been worried by installing packages #. * quietly, so notify about what's going on. #. * #. * In reality *configuring* and *starting* a daemon is far #. * more worrisome than the installation. It's realmd's job #. * to configure, enable and start stuff. So if you're properly #. * worried, remove realmd and do stuff manually. #. #: ../service/realm-packages.c:242 ../tools/realm-client.c:143 msgid "Installing necessary packages" msgstr "" #: ../service/realm-provider.c:161 msgid "Failed to discover realm. See diagnostics." msgstr "" #: ../service/realm-samba.c:440 #, c-format msgid "Not joined to this domain" msgstr "" #: ../service/realm-samba.c:450 ../service/realm-samba.c:492 #, c-format msgid "The Samba provider cannot restrict permitted logins." msgstr "" #: ../service/realm-sssd.c:130 #, c-format msgid "Invalid login argument '%s' contains unsupported characters." msgstr "" #: ../service/realm-sssd-ad.c:126 ../service/realm-sssd-ipa.c:124 #, c-format msgid "Enabling SSSD in nsswitch.conf and PAM failed." msgstr "" #: ../service/realm-sssd-ad.c:240 #, c-format msgid "Unable to automatically join the domain" msgstr "" #: ../service/realm-sssd-ad.c:326 #, c-format msgid "" "Joining a domain with a one time password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:340 #, c-format msgid "" "Joining a domain with a user password is only supported with the '%s' " "membership software" msgstr "" #: ../service/realm-sssd-ad.c:369 #, c-format msgid "Unsupported credentials for joining a domain" msgstr "" #: ../service/realm-sssd-ad.c:411 ../service/realm-sssd-ipa.c:322 #: ../tools/realm-join.c:212 msgid "Already joined to this domain" msgstr "" #: ../service/realm-sssd-ad.c:415 ../service/realm-sssd-ipa.c:326 msgid "A domain with this name is already configured" msgstr "" #: ../service/realm-sssd-config.c:145 #, c-format msgid "Already have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-config.c:190 #, c-format msgid "Don't have domain %s in sssd.conf config file" msgstr "" #: ../service/realm-sssd-ipa.c:312 msgid "The computer-ou argument is not supported when joining an IPA domain." msgstr "" #: ../service/realm-sssd-ipa.c:463 msgid "Not currently joined to this realm" msgstr "" #: ../tools/realm.c:42 msgid "Discover available realm" msgstr "" #: ../tools/realm.c:43 msgid "Enroll this machine in a realm" msgstr "" #: ../tools/realm.c:44 msgid "Unenroll this machine from a realm" msgstr "" #: ../tools/realm.c:45 msgid "List known realms" msgstr "" #: ../tools/realm.c:46 msgid "Permit user logins" msgstr "" #: ../tools/realm.c:47 msgid "Deny user logins" msgstr "" #: ../tools/realm.c:192 msgid "Install mode to a specific prefix" msgstr "" #: ../tools/realm.c:193 msgid "Verbose output" msgstr "" #: ../tools/realm.c:194 msgid "Do not prompt for input" msgstr "" #: ../tools/realm-client.c:193 ../tools/realm-client.c:203 msgid "Couldn't connect to realm service" msgstr "" #: ../tools/realm-client.c:232 msgid "Couldn't load the realm service" msgstr "" #: ../tools/realm-client.c:249 msgid "Couldn't connect to system bus" msgstr "" #: ../tools/realm-client.c:279 #, c-format msgid "Couldn't create socket pair: %s" msgstr "" #: ../tools/realm-client.c:287 ../tools/realm-client.c:319 msgid "Couldn't create socket" msgstr "" #: ../tools/realm-client.c:300 msgid "Couldn't run realmd" msgstr "" #: ../tools/realm-client.c:565 #, c-format msgid "Couldn't create runtime directory: %s: %s" msgstr "" #: ../tools/realm-client.c:575 #, c-format msgid "Couldn't create credential cache file: %s: %s" msgstr "" #: ../tools/realm-client.c:585 msgid "Couldn't resolve credential cache" msgstr "" #: ../tools/realm-client.c:675 #, c-format msgid "Invalid password for %s" msgstr "" #: ../tools/realm-client.c:679 #, c-format msgid "Couldn't authenticate as %s" msgstr "" #: ../tools/realm-client.c:704 #, c-format msgid "Couldn't parse user name: %s" msgstr "" #: ../tools/realm-client.c:728 msgid "Couldn't read credential cache" msgstr "" #: ../tools/realm-client.c:754 ../tools/realm-client.c:963 msgid "Couldn't initialize kerberos" msgstr "" #: ../tools/realm-client.c:819 #, c-format msgid "Cannot prompt for a password when running in unattended mode" msgstr "" #: ../tools/realm-client.c:823 #, c-format msgid "Password for %s: " msgstr "" #: ../tools/realm-client.c:841 #, c-format msgid "Couldn't prompt for password: %s" msgstr "" #: ../tools/realm-client.c:876 #, c-format msgid "Realm does not support membership using a password" msgstr "" #: ../tools/realm-client.c:915 #, c-format msgid "Realm does not support membership using a one time password" msgstr "" #: ../tools/realm-client.c:983 msgid "Couldn't select kerberos credentials" msgstr "" #: ../tools/realm-client.c:997 msgid "Couldn't read kerberos credentials" msgstr "" #: ../tools/realm-client.c:1047 #, c-format msgid "Realm does not support automatic membership" msgstr "" #: ../tools/realm-discover.c:135 msgid "Couldn't discover realms" msgstr "" #: ../tools/realm-discover.c:155 msgid "No default realm discovered" msgstr "" #: ../tools/realm-discover.c:157 #, c-format msgid "No such realm found: %s" msgstr "" #: ../tools/realm-discover.c:181 msgid "Show all discovered realms" msgstr "" #: ../tools/realm-discover.c:182 ../tools/realm-discover.c:273 msgid "Show only the names" msgstr "" #: ../tools/realm-discover.c:183 ../tools/realm-join.c:259 #: ../tools/realm-leave.c:266 msgid "Use specific client software" msgstr "" #: ../tools/realm-discover.c:184 ../tools/realm-join.c:263 msgid "Use specific membership software" msgstr "" #: ../tools/realm-discover.c:185 ../tools/realm-join.c:261 #: ../tools/realm-leave.c:269 msgid "Use specific server software" msgstr "" #: ../tools/realm-discover.c:272 msgid "Show all realms" msgstr "" #: ../tools/realm-join.c:92 ../tools/realm-join.c:132 #: ../tools/realm-join.c:163 msgid "Couldn't join realm" msgstr "" #: ../tools/realm-join.c:203 msgid "Cannot join this realm" msgstr "" #: ../tools/realm-join.c:205 msgid "No such realm found" msgstr "" #: ../tools/realm-join.c:255 msgid "User name to use for enrollment" msgstr "" #: ../tools/realm-join.c:257 msgid "Computer OU DN to join" msgstr "" #: ../tools/realm-join.c:265 msgid "Join automatically without a password" msgstr "" #: ../tools/realm-join.c:267 msgid "Join using a preset one time password" msgstr "" #: ../tools/realm-join.c:269 msgid "Set the user principal for the computer account" msgstr "" #: ../tools/realm-join.c:286 msgid "Specify one realm to join" msgstr "" #: ../tools/realm-join.c:291 msgid "" "The --no-password argument cannot be used with --one-time-password or --user" msgstr "" #: ../tools/realm-join.c:296 msgid "The --one-time-password argument cannot be used with --user" msgstr "" #: ../tools/realm-leave.c:181 ../tools/realm-leave.c:208 msgid "Couldn't leave realm" msgstr "" #: ../tools/realm-leave.c:267 msgid "Remove computer from realm" msgstr "" #: ../tools/realm-leave.c:270 msgid "User name to use for removal" msgstr "" #: ../tools/realm-logins.c:129 ../tools/realm-logins.c:175 msgid "Couldn't change permitted logins" msgstr "" #: ../tools/realm-logins.c:200 msgid "Permit any realm account login" msgstr "" #: ../tools/realm-logins.c:200 msgid "Deny any realm account login" msgstr "" #: ../tools/realm-logins.c:202 msgid "Withdraw permit for a realm account to login" msgstr "" #: ../tools/realm-logins.c:204 msgid "Treat names as groups which to permit" msgstr "" #: ../tools/realm-logins.c:205 msgid "Realm to permit/deny logins for" msgstr "" #: ../tools/realm-logins.c:219 msgid "No logins should be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:222 msgid "The --withdraw or -x arguments cannot be used when denying logins" msgstr "" #: ../tools/realm-logins.c:225 msgid "Specific logins must be specified with --withdraw" msgstr "" #: ../tools/realm-logins.c:228 msgid "Groups may not be specified with -a or --all" msgstr "" #: ../tools/realm-logins.c:235 msgid "Use --all to deny all logins" msgstr "" #: ../tools/realm-logins.c:237 msgid "Specify specific users to add or remove from the permitted list" msgstr "" #: ../tools/realm-logins.c:241 msgid "" "Specifying deny without --all is deprecated. Use realm permit --withdraw" msgstr "" realmd-0.15.0/missing0000755000175000017500000001533112177675036014445 0ustar00stefstef00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2012-06-26.16; # UTC # Copyright (C) 1996-2013 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'automa4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: realmd-0.15.0/INSTALL0000644000175000017500000000000012263026350014043 0ustar00stefstef00000000000000realmd-0.15.0/tests/0000775000175000017500000000000012263034130014163 5ustar00stefstef00000000000000realmd-0.15.0/tests/test-samba-ou-format.c0000664000175000017500000000511412140455744020313 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "service/realm-samba-util.h" #include #include typedef struct { const gchar *ldap_dn; const gchar *domain; const gchar *ou_format; } Fixture; static void test_samba_ou_format (gconstpointer user_data) { const Fixture *fixture = user_data; gchar *result; result = realm_samba_util_build_strange_ou (fixture->ldap_dn, fixture->domain); g_assert_cmpstr (result, ==, fixture->ou_format); g_free (result); } static const Fixture samba_ou_fixtures[] = { { "OU=One", "domain.example.com", "One" }, { "OU=One,ou=two", "domain.example.com", "two/One" }, { "Ou=One Long,OU=two", "domain.example.com", "two/One Long" }, { "Ou=One,OU=two, ou=Three", "domain.example.com", "Three/two/One" }, { "Ou=Test/Escape,Ou=Two", "domain.example.com", "Two/Test\\/Escape" }, { "Ou=Test\\\\Escape,Ou=Two", "domain.example.com", "Two/Test\\\\Escape" }, { "OU=One,DC=domain,dc=example,Dc=COM", "domain.example.com", "One" }, { "OU=One,OU=Two Here,DC=domain,dc=example,Dc=COM", "domain.example.com", "Two Here/One" }, { "OU=One,OU=Two Here,DC=invalid,Dc=COM", "domain.example.com", NULL }, { " ", "domain.example.com", NULL }, { "", "domain.example.com", NULL }, { "OU", "domain.example.com", NULL }, { "OU=One,", "domain.example.com", NULL }, { "CN=Unsupported", "domain.example.com", NULL }, { "OU=One+CN=Unsupported", "domain.example.com", NULL }, { "DC=radi07, DC=segad, DC=lab, DC=sjc, DC=redhat, DC=com", "radi08.segad.lab.sjc.redhat.com", NULL }, }; int main (int argc, char **argv) { gchar *escaped; gchar *name; gint i; #if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init (); #endif g_test_init (&argc, &argv, NULL); g_set_prgname ("test-samba-ou-format"); for (i = 0; i < G_N_ELEMENTS (samba_ou_fixtures); i++) { if (g_str_equal (samba_ou_fixtures[i].ldap_dn, "")) escaped = g_strdup ("_empty_"); else escaped = g_strdup (samba_ou_fixtures[i].ldap_dn); g_strdelimit (escaped, ", =\\/", '_'); name = g_strdup_printf ("/realmd/samba-ou-format/%s", escaped); g_free (escaped); g_test_add_data_func (name, samba_ou_fixtures + i, test_samba_ou_format); g_free (name); } return g_test_run (); } realmd-0.15.0/tests/test-sssd-config.c0000664000175000017500000002643412174154466017554 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "service/realm-settings.h" #include "service/realm-sssd-config.h" #include #include typedef struct { RealmIniConfig *config; } Test; static void setup (Test *test, gconstpointer unused) { test->config = realm_ini_config_new (REALM_INI_NO_WATCH); } static void teardown (Test *test, gconstpointer unused) { g_object_unref (test->config); } static void test_get_domains (Test *test, gconstpointer unused) { const gchar *data = "[domain/one]\nval=1\n[domain/two]\nval=2\n[domain/three]\nval=3\n[sssd]\ndomains=one, two"; gchar **domains; realm_ini_config_read_string (test->config, data); domains = realm_sssd_config_get_domains (test->config); g_assert (domains != NULL); g_assert_cmpstr (domains[0], ==, "one"); g_assert_cmpstr (domains[1], ==, "two"); g_assert (domains[2] == NULL); g_strfreev (domains); } static void test_domain_section (Test *test, gconstpointer unused) { gchar *section; section = realm_sssd_config_domain_to_section ("domain"); g_assert_cmpstr (section, ==, "domain/domain"); g_free (section); section = realm_sssd_config_domain_to_section ("Another"); g_assert_cmpstr (section, ==, "domain/Another"); g_free (section); } static void test_have_domain (Test *test, gconstpointer unused) { const gchar *data = "[domain/one]\nval=1\n[domain/two]\nval=2\n[domain/three]\nval=3\n[sssd]\ndomains=one, two"; realm_ini_config_read_string (test->config, data); g_assert (realm_sssd_config_have_domain (test->config, "one") == TRUE); g_assert (realm_sssd_config_have_domain (test->config, "two") == TRUE); g_assert (realm_sssd_config_have_domain (test->config, "three") == FALSE); g_assert (realm_sssd_config_have_domain (test->config, "non-existant") == FALSE); } static void test_add_domain (Test *test, gconstpointer unused) { const gchar *data = "[domain/one]\nval=1\n[sssd]\ndomains=one"; const gchar *check = "[domain/one]\nval=1\n[sssd]\ndomains = one, two\nconfig_file_version = 2\nservices = nss, pam\n\n[domain/two]\ndos = 2\n"; GError *error = NULL; gchar *output; gboolean ret; realm_ini_config_read_string (test->config, data); ret = realm_ini_config_write_file (test->config, "/tmp/test-sssd.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert (realm_sssd_config_have_domain (test->config, "one") == TRUE); ret = realm_sssd_config_add_domain (test->config, "two", &error, "dos", "2", NULL); g_assert_no_error (error); g_assert (ret == TRUE); ret = g_file_get_contents ("/tmp/test-sssd.conf", &output, NULL, &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_add_domain_already (Test *test, gconstpointer unused) { const gchar *data = "[domain/one]\nval=1\n[sssd]\ndomains=one"; GError *error = NULL; gboolean ret; realm_ini_config_read_string (test->config, data); ret = realm_ini_config_write_file (test->config, "/tmp/test-sssd.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); ret = realm_sssd_config_add_domain (test->config, "one", &error, "uno", "1", NULL); g_assert_error (error, G_FILE_ERROR, G_FILE_ERROR_EXIST); g_assert (ret == FALSE); } static void test_add_domain_only (Test *test, gconstpointer unused) { const gchar *check = "\n[sssd]\ndomains = two\nconfig_file_version = 2\nservices = nss, pam\n\n[domain/two]\ndos = 2\n"; GError *error = NULL; gchar *output; gboolean ret; ret = realm_ini_config_write_file (test->config, "/tmp/test-sssd.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); ret = realm_sssd_config_add_domain (test->config, "two", &error, "dos", "2", NULL); g_assert_no_error (error); g_assert (ret == TRUE); ret = g_file_get_contents ("/tmp/test-sssd.conf", &output, NULL, &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_update_domain (Test *test, gconstpointer unused) { const gchar *data = "[domain/one]\nval=1\n[sssd]\ndomains=one"; const gchar *check = "[domain/one]\nval=1\nuno = 1\neins = one\n[sssd]\ndomains=one"; GError *error = NULL; gchar *output; gboolean ret; realm_ini_config_read_string (test->config, data); ret = realm_ini_config_write_file (test->config, "/tmp/test-sssd.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert (realm_sssd_config_have_domain (test->config, "one") == TRUE); ret = realm_sssd_config_update_domain (test->config, "one", &error, "uno", "1", "eins", "one", NULL); g_assert_no_error (error); g_assert (ret == TRUE); ret = g_file_get_contents ("/tmp/test-sssd.conf", &output, NULL, &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_update_domain_missing (Test *test, gconstpointer unused) { const gchar *data = "[domain/one]\nval=1\n[sssd]\ndomains=one"; GError *error = NULL; gboolean ret; realm_ini_config_read_string (test->config, data); ret = realm_ini_config_write_file (test->config, "/tmp/test-sssd.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert (realm_sssd_config_have_domain (test->config, "another") == FALSE); ret = realm_sssd_config_update_domain (test->config, "another", &error, "uno", "1", "eins", "one", NULL); g_assert_error (error, G_FILE_ERROR, G_FILE_ERROR_NOENT); g_assert (ret == FALSE); } static void test_remove_domain (Test *test, gconstpointer unused) { const gchar *data = "[domain/one]\nval=1\n[sssd]\ndomains=one, two\n[domain/two]\ndos=2\n"; const gchar *check = "[sssd]\ndomains = two\n[domain/two]\ndos=2\n"; GError *error = NULL; gchar *output; gboolean ret; realm_ini_config_read_string (test->config, data); ret = realm_ini_config_write_file (test->config, "/tmp/test-sssd.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); ret = realm_sssd_config_remove_domain (test->config, "one", &error); g_assert_no_error (error); g_assert (ret == TRUE); ret = g_file_get_contents ("/tmp/test-sssd.conf", &output, NULL, &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_remove_domain_not_exist (Test *test, gconstpointer unused) { const gchar *data = "[domain/one]\nval=1\n[sssd]\ndomains = two\n[domain/two]\ndos=2\n"; GError *error = NULL; gchar *output; gboolean ret; realm_ini_config_read_string (test->config, data); ret = realm_ini_config_write_file (test->config, "/tmp/test-sssd.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); ret = realm_sssd_config_remove_domain (test->config, "nonexistant", &error); g_assert_no_error (error); g_assert (ret == TRUE); ret = g_file_get_contents ("/tmp/test-sssd.conf", &output, NULL, &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert_cmpstr (data, ==, output); g_free (output); } static void test_remove_domain_only (Test *test, gconstpointer unused) { const gchar *data = "[sssd]\ndomains = two\n[domain/two]\ndos=2\n"; const gchar *check = "[sssd]\ndomains = \n"; GError *error = NULL; gchar *output; gboolean ret; realm_ini_config_read_string (test->config, data); ret = realm_ini_config_write_file (test->config, "/tmp/test-sssd.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); ret = realm_sssd_config_remove_domain (test->config, "two", &error); g_assert_no_error (error); g_assert (ret == TRUE); ret = realm_ini_config_write_file (test->config, NULL, &error); g_assert_no_error (error); g_assert (ret == TRUE); ret = g_file_get_contents ("/tmp/test-sssd.conf", &output, NULL, &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_remove_and_add_domain (Test *test, gconstpointer unused) { const gchar *data = "[domain/one]\nval = 1\n\n[nss]\ndefault_shell = /bin/bash\n\n[sssd]\ndomains = one, two\nconfig_file_version = 2\nservices = nss, pam\n\n[domain/two]\nval = 2\n"; GError *error = NULL; gchar *output; gboolean ret; realm_ini_config_read_string (test->config, data); ret = realm_ini_config_write_file (test->config, "/tmp/test-sssd.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); ret = realm_sssd_config_remove_domain (test->config, "two", &error); g_assert_no_error (error); g_assert (ret == TRUE); ret = realm_sssd_config_add_domain (test->config, "two", &error, "val", "2", NULL); g_assert_no_error (error); g_assert (ret == TRUE); ret = g_file_get_contents ("/tmp/test-sssd.conf", &output, NULL, &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert_cmpstr (output, ==, data); g_free (output); } int main (int argc, char **argv) { #if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init (); #endif g_test_init (&argc, &argv, NULL); g_set_prgname ("test-sssd-config"); realm_settings_init (); g_test_add ("/realmd/sssd-config/get-domains", Test, NULL, setup, test_get_domains, teardown); g_test_add ("/realmd/sssd-config/domain-section", Test, NULL, setup, test_domain_section, teardown); g_test_add ("/realmd/sssd-config/have-domain", Test, NULL, setup, test_have_domain, teardown); g_test_add ("/realmd/sssd-config/add-domain", Test, NULL, setup, test_add_domain, teardown); g_test_add ("/realmd/sssd-config/add-domain-already", Test, NULL, setup, test_add_domain_already, teardown); g_test_add ("/realmd/sssd-config/add-domain-only", Test, NULL, setup, test_add_domain_only, teardown); g_test_add ("/realmd/sssd-config/update-domain", Test, NULL, setup, test_update_domain, teardown); g_test_add ("/realmd/sssd-config/update-domain-missing", Test, NULL, setup, test_update_domain_missing, teardown); g_test_add ("/realmd/sssd-config/remove-domain", Test, NULL, setup, test_remove_domain, teardown); g_test_add ("/realmd/sssd-config/remove-domain-not-exist", Test, NULL, setup, test_remove_domain_not_exist, teardown); g_test_add ("/realmd/sssd-config/remove-domain-only", Test, NULL, setup, test_remove_domain_only, teardown); g_test_add ("/realmd/sssd-config/remove-and-add-domain", Test, NULL, setup, test_remove_and_add_domain, teardown); return g_test_run (); } realmd-0.15.0/tests/frob-install-packages.c0000664000175000017500000001312212140455744020512 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include #include static GMainLoop *loop; static void on_progress_callback (PkProgress *progress, PkProgressType type, gpointer user_data) { PkPackage *package; gboolean boolean; gchar *string; guint unumber; gint number; switch (type) { case PK_PROGRESS_TYPE_PACKAGE_ID: g_object_get (progress, "package-id", &string, NULL); g_printerr ("progress: package-id: %s\n", string); g_free (string); break; case PK_PROGRESS_TYPE_TRANSACTION_ID: g_object_get (progress, "transaction-id", &string, NULL); g_printerr ("progress: percentage: %s\n", string); g_free (string); break; case PK_PROGRESS_TYPE_PERCENTAGE: g_object_get (progress, "percentage", &number, NULL); g_printerr ("progress: percentage: %d\n", number); break; case PK_PROGRESS_TYPE_ALLOW_CANCEL: g_object_get (progress, "allow-cancel", &boolean, NULL); g_printerr ("progress: allow-cancel: %s\n", boolean ? "TRUE" : "FALSE"); break; case PK_PROGRESS_TYPE_STATUS: g_object_get (progress, "status", &unumber, NULL); g_printerr ("progress: status: %u %s\n", unumber, pk_status_enum_to_string (unumber)); break; case PK_PROGRESS_TYPE_ROLE: g_object_get (progress, "role", &unumber, NULL); g_printerr ("progress: role: %u %s\n", unumber, pk_role_enum_to_string (unumber)); break; case PK_PROGRESS_TYPE_CALLER_ACTIVE: g_object_get (progress, "caller-active", &boolean, NULL); g_printerr ("progress: caller-active: %s\n", boolean ? "TRUE" : "FALSE"); break; case PK_PROGRESS_TYPE_ELAPSED_TIME: g_object_get (progress, "elapsed-time", &unumber, NULL); g_printerr ("progress: elapsed-time: %u\n", unumber); break; case PK_PROGRESS_TYPE_REMAINING_TIME: g_object_get (progress, "remaining-time", &unumber, NULL); g_printerr ("progress: remaining-time: %u\n", unumber); break; case PK_PROGRESS_TYPE_SPEED: g_object_get (progress, "speed", &unumber, NULL); g_printerr ("progress: speed: %u\n", unumber); break; case PK_PROGRESS_TYPE_UID: g_object_get (progress, "uid", &unumber, NULL); g_printerr ("progress: uid: %u\n", unumber); break; case PK_PROGRESS_TYPE_PACKAGE: g_object_get (progress, "package", &package, NULL); g_printerr ("progress: package: %p\n", package); g_object_unref (package); break; case PK_PROGRESS_TYPE_ITEM_PROGRESS: g_object_get (progress, "item-progress-id", &string, "item-progress-value", &unumber, NULL); g_printerr ("progress: package: %s %u\n", string, unumber); g_free (string); break; case PK_PROGRESS_TYPE_INVALID: default: g_warn_if_reached (); break; } } static void on_ready_get_result (GObject *source, GAsyncResult *result, gpointer user_data) { GAsyncResult **place = (GAsyncResult **)user_data; *place = g_object_ref (result); g_main_loop_quit (loop); } static void test_resolve (void) { GAsyncResult *result = NULL; PkTask *task; GError *error = NULL; gchar *packages[] = { "sssd", "samba-client", "samba-common", "freeipa-client" }; PkBitfield filter; PkResults *results; PkPackage *package; GPtrArray *array; GPtrArray *ids; const gchar *id; gint i; task = pk_task_new (); pk_task_set_interactive (task, FALSE); filter = pk_filter_bitfield_from_string ("arch"); pk_task_refresh_cache_async (task, FALSE, NULL, on_progress_callback, NULL, on_ready_get_result, &result); g_main_loop_run (loop); results = pk_task_generic_finish (task, result, &error); g_object_unref (result); if (error != NULL) { g_printerr ("%s\n", error->message); exit (1); } g_object_unref (results); g_printerr ("REFRESHED\n"); pk_task_resolve_async (task, filter, packages, NULL, on_progress_callback, NULL, on_ready_get_result, &result); g_main_loop_run (loop); results = pk_task_generic_finish (task, result, &error); g_object_unref (result); if (error != NULL) { g_printerr ("%s\n", error->message);; exit (1); } ids = g_ptr_array_new_with_free_func (g_free); array = pk_results_get_package_array (results); for (i = 0; i < array->len; i++) { package = PK_PACKAGE (array->pdata[i]); if (pk_package_get_info (package) != PK_INFO_ENUM_INSTALLED) { id = pk_package_get_id (package); g_print ("%s\n", id); g_ptr_array_add (ids, g_strdup (id)); } } g_ptr_array_free (array, TRUE); g_object_unref (results); g_printerr ("RESOLVED\n"); if (ids->len > 0) { g_ptr_array_add (ids, NULL); pk_task_install_packages_async (task, (gchar **)ids->pdata, NULL, on_progress_callback, NULL, on_ready_get_result, &result); g_ptr_array_free (ids, TRUE); g_main_loop_run (loop); results = pk_task_generic_finish (task, result, &error); g_object_unref (result); if (error != NULL) { g_printerr ("%s\n", error->message);; exit (1); } g_object_unref (results); } g_object_unref (task); } int main(int argc, char *argv[]) { #if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init (); #endif loop = g_main_loop_new (NULL, FALSE); test_resolve (); g_main_loop_unref (loop); return 0; } realmd-0.15.0/tests/files/0000755000175000017500000000000012053433306015270 5ustar00stefstef00000000000000realmd-0.15.0/tests/files/smb-one.conf0000644000175000017500000000031511750252567017511 0ustar00stefstef00000000000000 # This is a section [section] one=uno two= dos # This is a comment three = three \ Three \ THREE four =cuatro [broken five = cinco six = seis [another section] without a value ended here = lastrealmd-0.15.0/tests/files/realmd-defaults.conf0000664000175000017500000000013712053433306021213 0ustar00stefstef00000000000000 # Required for sssd config tests [users] default-shell = /bin/bash default-home = /home/%D/%U realmd-0.15.0/tests/files/realmd-distro.conf0000664000175000017500000000013712053433306020710 0ustar00stefstef00000000000000# Empty so far [winbind-packages] samba4-winbind = /usr/sbin/winbindd adcli = /usr/sbin/adcli realmd-0.15.0/tests/test-safe-printf.c0000664000175000017500000001221512261574175017543 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "service/safe-printf.h" #include #include typedef struct { const gchar *format; const gchar *args[8]; const gchar *result; } Fixture; static void callback (void *data, const char *piece, size_t len) { g_string_append_len (data, piece, len); } static void test_safe_printf (gconstpointer user_data) { const Fixture *fixture = user_data; GString *out; int num_args; int ret; for (num_args = 0; fixture->args[num_args] != NULL; ) num_args++; out = g_string_new (""); ret = safe_printf_cb (callback, out, fixture->format, (const gchar **)fixture->args, num_args); if (fixture->result) { g_assert_cmpint (ret, >=, 0); g_assert_cmpstr (out->str, ==, fixture->result); g_assert_cmpint (ret, ==, out->len); } else { g_assert_cmpint (ret, <, 0); } g_string_free (out, TRUE); } static const Fixture fixtures[] = { { /* Just a bog standard string */ "%s", { "blah", NULL, }, "blah" }, { /* Empty to print */ "%s", { "", NULL, }, "" }, { /* Nothing to print */ "", { "blah", NULL, }, "" }, { /* Width right aligned */ "%8s", { "blah", NULL, }, " blah" }, { /* Width left aligned */ "whoop %-8s doo", { "dee", NULL, }, "whoop dee doo" }, { /* Width space aligned (ignored) */ "whoop % 8s doo", { "dee", NULL, }, "whoop dee doo" }, { /* Width left space aligned (ignored) */ "whoop % -8s doo", { "dee", NULL, }, "whoop dee doo" }, { /* Precision 1 digit */ "whoop %.3s doo", { "deedle-dee", NULL, }, "whoop dee doo" }, { /* Precision, N digits */ "whoop %.10s doo", { "deedle-dee-deedle-do-deedle-dum", NULL, }, "whoop deedle-dee doo" }, { /* Precision, zero digits */ "whoop %.s doo", { "deedle", NULL, }, "whoop doo" }, { /* Multiple simple arguments */ "space %s %s", { "man", "dances", NULL, }, "space man dances" }, { /* Literal percent */ "100%% of space folk dance", { NULL, }, "100% of space folk dance" }, { /* Multiple simple arguments */ "space %2$s %1$s", { "dances", "man", NULL, }, "space man dances" }, { /* Skipping an argument (not supported by standard printf) */ "space %2$s dances", { "dances", "man", NULL, }, "space man dances" }, /* Failures start here */ { /* Unsupported conversion */ "%x", { "blah", NULL, }, NULL }, { /* Bad positional argument */ "space %55$s dances", { "dances", "man", NULL, }, NULL }, { /* Zero positional argument */ "space %0$s dances", { "dances", "man", NULL, }, NULL }, { /* Too many args used */ "%s %s dances", { "space", NULL, }, NULL }, }; static void test_safe_snprintf (void) { char buffer[8]; int ret; ret = safe_snprintf (buffer, 8, "%s", "space", "man", NULL); g_assert_cmpint (ret, ==, 5); g_assert_cmpstr (buffer, ==, "space"); ret = safe_snprintf (buffer, 8, "", "space", "man", NULL); g_assert_cmpint (ret, ==, 0); g_assert_cmpstr (buffer, ==, ""); ret = safe_snprintf (buffer, 8, "the %s %s dances away", "space", "man", NULL); g_assert_cmpint (ret, ==, 25); g_assert_cmpstr (buffer, ==, "the spa"); ret = safe_snprintf (buffer, 8, "%5$s", NULL); g_assert_cmpint (ret, <, 0); } static void test_safe_asprintf (void) { char *buffer; int ret; ret = safe_asprintf (&buffer, "%s", "space", "man", NULL); g_assert_cmpint (ret, ==, 5); g_assert_cmpstr (buffer, ==, "space"); free (buffer); ret = safe_asprintf (&buffer, "", "space", "man", NULL); g_assert_cmpint (ret, ==, 0); g_assert_cmpstr (buffer, ==, ""); free (buffer); ret = safe_asprintf (&buffer, "the %s %s dances away", "space", "man", NULL); g_assert_cmpint (ret, ==, 25); g_assert_cmpstr (buffer, ==, "the space man dances away"); free (buffer); ret = safe_asprintf (&buffer, "%1$s %1$s %1$s %1$s %1$s %1$s", "space man", NULL); g_assert_cmpint (ret, ==, 59); g_assert_cmpstr (buffer, ==, "space man space man space man space man space man space man"); free (buffer); ret = safe_asprintf (&buffer, "%5$s", NULL); g_assert_cmpint (ret, <, 0); } int main (int argc, char **argv) { gchar *escaped; gchar *name; gint i; g_test_init (&argc, &argv, NULL); g_set_prgname ("test-safe-printf"); for (i = 0; i < G_N_ELEMENTS (fixtures); i++) { if (g_str_equal (fixtures[i].format, "")) escaped = g_strdup ("_empty_"); else escaped = g_strdup (fixtures[i].format); g_strdelimit (escaped, " =\\/", '_'); name = g_strdup_printf ("/realmd/safe-printf/%s", escaped); g_free (escaped); g_test_add_data_func (name, fixtures + i, test_safe_printf); g_free (name); } g_test_add_func ("/realmd/safe-snprintf", test_safe_snprintf); g_test_add_func ("/realmd/safe-asprintf", test_safe_asprintf); return g_test_run (); } realmd-0.15.0/tests/test-login-name.c0000664000175000017500000001024612041772674017355 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "dbus/realm-dbus-constants.h" #include "service/realm-login-name.h" #include #include typedef struct { gconstpointer unused; } Test; typedef struct { const gchar *const *formats; const gchar *user; const gchar *login; } Fixture; static void setup (Test *test, gconstpointer unused) { } static void teardown (Test *test, gconstpointer unused) { } static void test_format_login (Test *test, gconstpointer data) { const Fixture *fixture = data; gchar *login; login = realm_login_name_format (fixture->formats[0], fixture->user); g_assert_cmpstr (login, ==, fixture->login); g_free (login); } static void test_parse_login (Test *test, gconstpointer data) { const Fixture *fixture = data; gchar *user; user = realm_login_name_parse (fixture->formats, FALSE, fixture->login); if (fixture->user == NULL) g_assert (user == NULL); else g_assert_cmpstr (user, ==, fixture->user); g_free (user); } static void test_parse_all (Test *test, gconstpointer unused) { const gchar *failed = NULL; const gchar *original[] = { "Domain\\User", "Domain\\Two", "Domain\\Three", NULL, }; const gchar *const formats[] = { "Domain\\%U", NULL }; gchar **changed; changed = realm_login_name_parse_all (formats, FALSE, original, &failed); g_assert (changed != NULL); g_assert_cmpstr (changed[0], ==, "User"); g_assert_cmpstr (changed[1], ==, "Two"); g_assert_cmpstr (changed[2], ==, "Three"); g_assert (changed[3] == NULL); g_assert (failed == NULL); g_strfreev (changed); } static void test_parse_all_failed (Test *test, gconstpointer unused) { const gchar *failed = NULL; const gchar *original[] = { "Domain\\User", "Wheeee", NULL, }; const gchar *const formats[] = { "Domain\\%U", NULL }; gchar **changed; changed = realm_login_name_parse_all (formats, FALSE, original, &failed); g_assert (changed == NULL); g_assert_cmpstr (failed, ==, "Wheeee"); g_strfreev (changed); } int main (int argc, char **argv) { static const gchar *const domain_formats[] = { "Domain\\%U", NULL }; static const gchar *const prefix_suffix_formats[] = { "prefix|%U|suffix", NULL }; static const gchar *const email_formats[] = { "%U@domain", NULL }; static const Fixture format_fixtures[] = { { domain_formats, "User", "Domain\\User" }, { prefix_suffix_formats, "User", "prefix|User|suffix" }, { email_formats, "user", "user@domain" }, }; static const Fixture parse_fixtures[] = { { domain_formats, "User", "Domain\\User" }, { prefix_suffix_formats, "User", "prefix|User|suffix" }, { email_formats, "user", "user@domain" }, { domain_formats, NULL, "Another\\User" }, { prefix_suffix_formats, NULL, "different|User|suffix" }, { email_formats, NULL, "user@another" }, }; gchar *name; gint i; g_test_init (&argc, &argv, NULL); g_set_prgname ("test-login-name"); for (i = 0; i < G_N_ELEMENTS (format_fixtures); i++) { name = g_strdup_printf ("/realmd/login-name/format_%s", format_fixtures[i].login); g_strcanon (name, REALM_DBUS_NAME_CHARS "/-", '_'); g_test_add (name, Test, &format_fixtures[i], setup, test_format_login, teardown); g_free (name); } for (i = 0; i < G_N_ELEMENTS (parse_fixtures); i++) { name = g_strdup_printf ("/realmd/login-name/parse_%s", parse_fixtures[i].login); g_strcanon (name, REALM_DBUS_NAME_CHARS "/-", '_'); g_test_add (name, Test, &parse_fixtures[i], setup, test_parse_login, teardown); g_free (name); } g_test_add ("/realmd/login-name/parse-all", Test, NULL, setup, test_parse_all, teardown); g_test_add ("/realmd/login-name/parse-all-failed", Test, NULL, setup, test_parse_all_failed, teardown); return g_test_run (); } realmd-0.15.0/tests/Makefile.in0000664000175000017500000012654612263026711016254 0ustar00stefstef00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(top_srcdir)/Makefile.decl $(srcdir)/Makefile.in \ $(srcdir)/Makefile.am $(top_srcdir)/depcomp check_PROGRAMS = $(am__EXEEXT_2) noinst_PROGRAMS = frob-install-packages$(EXEEXT) $(am__EXEEXT_1) subdir = tests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/build/m4/intltool.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__EXEEXT_1 = am__EXEEXT_2 = test-ini-config$(EXEEXT) test-sssd-config$(EXEEXT) \ test-safe-printf$(EXEEXT) test-login-name$(EXEEXT) \ test-samba-ou-format$(EXEEXT) test-settings$(EXEEXT) \ $(am__EXEEXT_1) PROGRAMS = $(noinst_PROGRAMS) frob_install_packages_SOURCES = frob-install-packages.c frob_install_packages_OBJECTS = \ frob_install_packages-frob-install-packages.$(OBJEXT) am__DEPENDENCIES_1 = frob_install_packages_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) frob_install_packages_LINK = $(CCLD) $(frob_install_packages_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__objects_1 = am_test_ini_config_OBJECTS = test-ini-config.$(OBJEXT) \ realm-ini-config.$(OBJEXT) realm-samba-config.$(OBJEXT) \ realm-settings.$(OBJEXT) $(am__objects_1) test_ini_config_OBJECTS = $(am_test_ini_config_OBJECTS) test_ini_config_LDADD = $(LDADD) test_ini_config_DEPENDENCIES = $(am__DEPENDENCIES_1) am_test_login_name_OBJECTS = test-login-name.$(OBJEXT) \ realm-login-name.$(OBJEXT) $(am__objects_1) test_login_name_OBJECTS = $(am_test_login_name_OBJECTS) test_login_name_LDADD = $(LDADD) test_login_name_DEPENDENCIES = $(am__DEPENDENCIES_1) am_test_safe_printf_OBJECTS = test-safe-printf.$(OBJEXT) \ safe-printf.$(OBJEXT) $(am__objects_1) test_safe_printf_OBJECTS = $(am_test_safe_printf_OBJECTS) test_safe_printf_LDADD = $(LDADD) test_safe_printf_DEPENDENCIES = $(am__DEPENDENCIES_1) am_test_samba_ou_format_OBJECTS = test-samba-ou-format.$(OBJEXT) \ realm-samba-util.$(OBJEXT) $(am__objects_1) test_samba_ou_format_OBJECTS = $(am_test_samba_ou_format_OBJECTS) test_samba_ou_format_LDADD = $(LDADD) test_samba_ou_format_DEPENDENCIES = $(am__DEPENDENCIES_1) am_test_settings_OBJECTS = test-settings.$(OBJEXT) \ realm-settings.$(OBJEXT) $(am__objects_1) test_settings_OBJECTS = $(am_test_settings_OBJECTS) test_settings_LDADD = $(LDADD) test_settings_DEPENDENCIES = $(am__DEPENDENCIES_1) am_test_sssd_config_OBJECTS = test-sssd-config.$(OBJEXT) \ realm-ini-config.$(OBJEXT) realm-sssd-config.$(OBJEXT) \ realm-settings.$(OBJEXT) $(am__objects_1) test_sssd_config_OBJECTS = $(am_test_sssd_config_OBJECTS) test_sssd_config_LDADD = $(LDADD) test_sssd_config_DEPENDENCIES = $(am__DEPENDENCIES_1) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = frob-install-packages.c $(test_ini_config_SOURCES) \ $(test_login_name_SOURCES) $(test_safe_printf_SOURCES) \ $(test_samba_ou_format_SOURCES) $(test_settings_SOURCES) \ $(test_sssd_config_SOURCES) DIST_SOURCES = frob-install-packages.c $(test_ini_config_SOURCES) \ $(test_login_name_SOURCES) $(test_safe_printf_SOURCES) \ $(test_samba_ou_format_SOURCES) $(test_settings_SOURCES) \ $(test_sssd_config_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_POLICY_DIR = @DBUS_POLICY_DIR@ DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTRO = @DISTRO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ KRB5_CFLAGS = @KRB5_CFLAGS@ KRB5_CONFIG = @KRB5_CONFIG@ KRB5_LIBS = @KRB5_LIBS@ LCOV = @LCOV@ LDAP_CFLAGS = @LDAP_CFLAGS@ LDAP_LIBS = @LDAP_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGEKIT_CFLAGS = @PACKAGEKIT_CFLAGS@ PACKAGEKIT_LIBS = @PACKAGEKIT_LIBS@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POLKIT_ACTION_DIR = @POLKIT_ACTION_DIR@ POLKIT_CFLAGS = @POLKIT_CFLAGS@ POLKIT_LIBS = @POLKIT_LIBS@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SYSTEMD_JOURNAL_CFLAGS = @SYSTEMD_JOURNAL_CFLAGS@ SYSTEMD_JOURNAL_LIBS = @SYSTEMD_JOURNAL_LIBS@ SYSTEMD_UNIT_DIR = @SYSTEMD_UNIT_DIR@ TEST_MODE = @TEST_MODE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XMLTO = @XMLTO@ XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ cachedir = @cachedir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ privatedir = @privatedir@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ NULL = TEST_SUPPRESSIONS = $(top_builddir)/build/valgrind-suppressions V_SED = $(V_SED_$(V)) V_SED_ = $(V_SED_$(AM_DEFAULT_VERBOSITY)) V_SED_0 = @echo " SED " $@; SED_SUBST = sed \ -e 's,[@]datadir[@],$(datadir),g' \ -e 's,[@]libexecdir[@],$(libexecdir),g' \ -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]includedir[@],$(includedir),g' \ -e 's,[@]datarootdir[@],$(datarootdir),g' \ -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ -e 's,[@]bindir[@],$(bindir),g' \ -e 's,[@]exec_prefix[@],$(exec_prefix),g' \ -e 's,[@]prefix[@],$(prefix),g' \ -e 's,[@]abs_srcdir[@],$(abs_srcdir),g' \ -e 's,[@]srcdir[@],$(srcdir),g' \ -e 's,[@]privatedir[@],$(privatedir),g' \ -e 's,[@]PACKAGE[@],$(PACKAGE),g' \ -e 's,[@]VERSION[@],$(VERSION),g' \ $(NULL) SUFFIXES = .conf .conf.in .desktop.in .desktop.in.in .service .service.in AM_CPPFLAGS = \ -I$(top_srcdir) \ -DTESTFILE_DIR="\"@abs_srcdir@/files\"" \ -DSYSCONF_DIR="\"/tmp/realmd-etc\"" \ -DPRIVATE_DIR="\"@abs_srcdir@/files\"" \ $(NULL) AM_CFLAGS = \ $(GLIB_CFLAGS) \ $(POLKIT_CFLAGS) LDADD = \ $(GLIB_LIBS) TEST_PROGS = \ test-ini-config \ test-sssd-config \ test-safe-printf \ test-login-name \ test-samba-ou-format \ test-settings \ $(NULL) test_ini_config_SOURCES = \ test-ini-config.c \ $(top_srcdir)/service/realm-ini-config.c \ $(top_srcdir)/service/realm-samba-config.c \ $(top_srcdir)/service/realm-settings.c \ $(NULL) test_sssd_config_SOURCES = \ test-sssd-config.c \ $(top_srcdir)/service/realm-ini-config.c \ $(top_srcdir)/service/realm-sssd-config.c \ $(top_srcdir)/service/realm-settings.c \ $(NULL) test_safe_printf_SOURCES = \ test-safe-printf.c \ $(top_srcdir)/service/safe-printf.c \ $(NULL) test_login_name_SOURCES = \ test-login-name.c \ $(top_srcdir)/service/realm-login-name.c \ $(NULL) test_samba_ou_format_SOURCES = \ test-samba-ou-format.c \ $(top_srcdir)/service/realm-samba-util.c \ $(NULL) test_settings_SOURCES = \ test-settings.c \ $(top_srcdir)/service/realm-settings.c \ $(NULL) frob_install_packages_CFLAGS = \ -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE \ $(PACKAGEKIT_CFLAGS) \ $(NULL) frob_install_packages_LDADD = \ $(PACKAGEKIT_LIBS) \ $(NULL) PY_TESTS = \ $(NULL) PY_ENV = \ $(NULL) EXTRA_DIST = \ files \ $(PY_TESTS) \ $(NULL) CLEANFILES = \ *.gcno \ *.gcda \ $(NULL) all: all-am .SUFFIXES: .SUFFIXES: .conf .conf.in .desktop.in .desktop.in.in .service .service.in .c .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign tests/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.decl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-checkPROGRAMS: -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) clean-noinstPROGRAMS: -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) frob-install-packages$(EXEEXT): $(frob_install_packages_OBJECTS) $(frob_install_packages_DEPENDENCIES) $(EXTRA_frob_install_packages_DEPENDENCIES) @rm -f frob-install-packages$(EXEEXT) $(AM_V_CCLD)$(frob_install_packages_LINK) $(frob_install_packages_OBJECTS) $(frob_install_packages_LDADD) $(LIBS) test-ini-config$(EXEEXT): $(test_ini_config_OBJECTS) $(test_ini_config_DEPENDENCIES) $(EXTRA_test_ini_config_DEPENDENCIES) @rm -f test-ini-config$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_ini_config_OBJECTS) $(test_ini_config_LDADD) $(LIBS) test-login-name$(EXEEXT): $(test_login_name_OBJECTS) $(test_login_name_DEPENDENCIES) $(EXTRA_test_login_name_DEPENDENCIES) @rm -f test-login-name$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_login_name_OBJECTS) $(test_login_name_LDADD) $(LIBS) test-safe-printf$(EXEEXT): $(test_safe_printf_OBJECTS) $(test_safe_printf_DEPENDENCIES) $(EXTRA_test_safe_printf_DEPENDENCIES) @rm -f test-safe-printf$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_safe_printf_OBJECTS) $(test_safe_printf_LDADD) $(LIBS) test-samba-ou-format$(EXEEXT): $(test_samba_ou_format_OBJECTS) $(test_samba_ou_format_DEPENDENCIES) $(EXTRA_test_samba_ou_format_DEPENDENCIES) @rm -f test-samba-ou-format$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_samba_ou_format_OBJECTS) $(test_samba_ou_format_LDADD) $(LIBS) test-settings$(EXEEXT): $(test_settings_OBJECTS) $(test_settings_DEPENDENCIES) $(EXTRA_test_settings_DEPENDENCIES) @rm -f test-settings$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_settings_OBJECTS) $(test_settings_LDADD) $(LIBS) test-sssd-config$(EXEEXT): $(test_sssd_config_OBJECTS) $(test_sssd_config_DEPENDENCIES) $(EXTRA_test_sssd_config_DEPENDENCIES) @rm -f test-sssd-config$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_sssd_config_OBJECTS) $(test_sssd_config_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/frob_install_packages-frob-install-packages.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm-ini-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm-login-name.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm-samba-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm-samba-util.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm-settings.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm-sssd-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/safe-printf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-ini-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-login-name.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-safe-printf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-samba-ou-format.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-settings.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sssd-config.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` frob_install_packages-frob-install-packages.o: frob-install-packages.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -MT frob_install_packages-frob-install-packages.o -MD -MP -MF $(DEPDIR)/frob_install_packages-frob-install-packages.Tpo -c -o frob_install_packages-frob-install-packages.o `test -f 'frob-install-packages.c' || echo '$(srcdir)/'`frob-install-packages.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/frob_install_packages-frob-install-packages.Tpo $(DEPDIR)/frob_install_packages-frob-install-packages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='frob-install-packages.c' object='frob_install_packages-frob-install-packages.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -c -o frob_install_packages-frob-install-packages.o `test -f 'frob-install-packages.c' || echo '$(srcdir)/'`frob-install-packages.c frob_install_packages-frob-install-packages.obj: frob-install-packages.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -MT frob_install_packages-frob-install-packages.obj -MD -MP -MF $(DEPDIR)/frob_install_packages-frob-install-packages.Tpo -c -o frob_install_packages-frob-install-packages.obj `if test -f 'frob-install-packages.c'; then $(CYGPATH_W) 'frob-install-packages.c'; else $(CYGPATH_W) '$(srcdir)/frob-install-packages.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/frob_install_packages-frob-install-packages.Tpo $(DEPDIR)/frob_install_packages-frob-install-packages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='frob-install-packages.c' object='frob_install_packages-frob-install-packages.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -c -o frob_install_packages-frob-install-packages.obj `if test -f 'frob-install-packages.c'; then $(CYGPATH_W) 'frob-install-packages.c'; else $(CYGPATH_W) '$(srcdir)/frob-install-packages.c'; fi` realm-ini-config.o: $(top_srcdir)/service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-ini-config.o -MD -MP -MF $(DEPDIR)/realm-ini-config.Tpo -c -o realm-ini-config.o `test -f '$(top_srcdir)/service/realm-ini-config.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-ini-config.Tpo $(DEPDIR)/realm-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-ini-config.c' object='realm-ini-config.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-ini-config.o `test -f '$(top_srcdir)/service/realm-ini-config.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-ini-config.c realm-ini-config.obj: $(top_srcdir)/service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-ini-config.obj -MD -MP -MF $(DEPDIR)/realm-ini-config.Tpo -c -o realm-ini-config.obj `if test -f '$(top_srcdir)/service/realm-ini-config.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-ini-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-ini-config.Tpo $(DEPDIR)/realm-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-ini-config.c' object='realm-ini-config.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-ini-config.obj `if test -f '$(top_srcdir)/service/realm-ini-config.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-ini-config.c'; fi` realm-samba-config.o: $(top_srcdir)/service/realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-samba-config.o -MD -MP -MF $(DEPDIR)/realm-samba-config.Tpo -c -o realm-samba-config.o `test -f '$(top_srcdir)/service/realm-samba-config.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-samba-config.Tpo $(DEPDIR)/realm-samba-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-samba-config.c' object='realm-samba-config.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-samba-config.o `test -f '$(top_srcdir)/service/realm-samba-config.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-samba-config.c realm-samba-config.obj: $(top_srcdir)/service/realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-samba-config.obj -MD -MP -MF $(DEPDIR)/realm-samba-config.Tpo -c -o realm-samba-config.obj `if test -f '$(top_srcdir)/service/realm-samba-config.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-samba-config.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-samba-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-samba-config.Tpo $(DEPDIR)/realm-samba-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-samba-config.c' object='realm-samba-config.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-samba-config.obj `if test -f '$(top_srcdir)/service/realm-samba-config.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-samba-config.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-samba-config.c'; fi` realm-settings.o: $(top_srcdir)/service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-settings.o -MD -MP -MF $(DEPDIR)/realm-settings.Tpo -c -o realm-settings.o `test -f '$(top_srcdir)/service/realm-settings.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-settings.Tpo $(DEPDIR)/realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-settings.c' object='realm-settings.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-settings.o `test -f '$(top_srcdir)/service/realm-settings.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-settings.c realm-settings.obj: $(top_srcdir)/service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-settings.obj -MD -MP -MF $(DEPDIR)/realm-settings.Tpo -c -o realm-settings.obj `if test -f '$(top_srcdir)/service/realm-settings.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-settings.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-settings.Tpo $(DEPDIR)/realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-settings.c' object='realm-settings.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-settings.obj `if test -f '$(top_srcdir)/service/realm-settings.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-settings.c'; fi` realm-login-name.o: $(top_srcdir)/service/realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-login-name.o -MD -MP -MF $(DEPDIR)/realm-login-name.Tpo -c -o realm-login-name.o `test -f '$(top_srcdir)/service/realm-login-name.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-login-name.Tpo $(DEPDIR)/realm-login-name.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-login-name.c' object='realm-login-name.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-login-name.o `test -f '$(top_srcdir)/service/realm-login-name.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-login-name.c realm-login-name.obj: $(top_srcdir)/service/realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-login-name.obj -MD -MP -MF $(DEPDIR)/realm-login-name.Tpo -c -o realm-login-name.obj `if test -f '$(top_srcdir)/service/realm-login-name.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-login-name.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-login-name.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-login-name.Tpo $(DEPDIR)/realm-login-name.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-login-name.c' object='realm-login-name.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-login-name.obj `if test -f '$(top_srcdir)/service/realm-login-name.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-login-name.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-login-name.c'; fi` safe-printf.o: $(top_srcdir)/service/safe-printf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT safe-printf.o -MD -MP -MF $(DEPDIR)/safe-printf.Tpo -c -o safe-printf.o `test -f '$(top_srcdir)/service/safe-printf.c' || echo '$(srcdir)/'`$(top_srcdir)/service/safe-printf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/safe-printf.Tpo $(DEPDIR)/safe-printf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/safe-printf.c' object='safe-printf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o safe-printf.o `test -f '$(top_srcdir)/service/safe-printf.c' || echo '$(srcdir)/'`$(top_srcdir)/service/safe-printf.c safe-printf.obj: $(top_srcdir)/service/safe-printf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT safe-printf.obj -MD -MP -MF $(DEPDIR)/safe-printf.Tpo -c -o safe-printf.obj `if test -f '$(top_srcdir)/service/safe-printf.c'; then $(CYGPATH_W) '$(top_srcdir)/service/safe-printf.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/safe-printf.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/safe-printf.Tpo $(DEPDIR)/safe-printf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/safe-printf.c' object='safe-printf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o safe-printf.obj `if test -f '$(top_srcdir)/service/safe-printf.c'; then $(CYGPATH_W) '$(top_srcdir)/service/safe-printf.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/safe-printf.c'; fi` realm-samba-util.o: $(top_srcdir)/service/realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-samba-util.o -MD -MP -MF $(DEPDIR)/realm-samba-util.Tpo -c -o realm-samba-util.o `test -f '$(top_srcdir)/service/realm-samba-util.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-samba-util.Tpo $(DEPDIR)/realm-samba-util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-samba-util.c' object='realm-samba-util.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-samba-util.o `test -f '$(top_srcdir)/service/realm-samba-util.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-samba-util.c realm-samba-util.obj: $(top_srcdir)/service/realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-samba-util.obj -MD -MP -MF $(DEPDIR)/realm-samba-util.Tpo -c -o realm-samba-util.obj `if test -f '$(top_srcdir)/service/realm-samba-util.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-samba-util.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-samba-util.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-samba-util.Tpo $(DEPDIR)/realm-samba-util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-samba-util.c' object='realm-samba-util.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-samba-util.obj `if test -f '$(top_srcdir)/service/realm-samba-util.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-samba-util.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-samba-util.c'; fi` realm-sssd-config.o: $(top_srcdir)/service/realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-sssd-config.o -MD -MP -MF $(DEPDIR)/realm-sssd-config.Tpo -c -o realm-sssd-config.o `test -f '$(top_srcdir)/service/realm-sssd-config.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-sssd-config.Tpo $(DEPDIR)/realm-sssd-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-sssd-config.c' object='realm-sssd-config.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-sssd-config.o `test -f '$(top_srcdir)/service/realm-sssd-config.c' || echo '$(srcdir)/'`$(top_srcdir)/service/realm-sssd-config.c realm-sssd-config.obj: $(top_srcdir)/service/realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT realm-sssd-config.obj -MD -MP -MF $(DEPDIR)/realm-sssd-config.Tpo -c -o realm-sssd-config.obj `if test -f '$(top_srcdir)/service/realm-sssd-config.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-sssd-config.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-sssd-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realm-sssd-config.Tpo $(DEPDIR)/realm-sssd-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/service/realm-sssd-config.c' object='realm-sssd-config.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o realm-sssd-config.obj `if test -f '$(top_srcdir)/service/realm-sssd-config.c'; then $(CYGPATH_W) '$(top_srcdir)/service/realm-sssd-config.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/service/realm-sssd-config.c'; fi` ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-local check: check-am all-am: Makefile $(PROGRAMS) all-local installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-checkPROGRAMS clean-generic clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: check-am install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \ check-local clean clean-checkPROGRAMS clean-generic \ clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \ distclean-compile distclean-generic distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am perform-memcheck: $(TEST_PROGS) $(TEST_SUPPRESSIONS) @make -C $(top_builddir)/build all @for test in $(TEST_PROGS); do \ G_SLICE=always-malloc libtool --mode=execute \ valgrind --trace-children=no --gen-suppressions=all \ --suppressions=$(TEST_SUPPRESSIONS) \ --leak-check=full --show-reachable=yes --num-callers=16 \ --quiet --error-exitcode=33 \ $(builddir)/$$test; \ done @WITH_COVERAGE_TRUE@coverage: @WITH_COVERAGE_TRUE@ mkdir -p $(top_builddir)/build/coverage @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --capture --output-file $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(GENHTML) --output-directory $(top_builddir)/build/coverage $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters @WITH_COVERAGE_TRUE@ @echo "file://$(abs_top_builddir)/build/coverage/index.html" @WITH_COVERAGE_TRUE@clear-coverage: @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters .desktop.in.in.desktop.in: $(V_SED) $(SED_SUBST) $< > $@ @INTLTOOL_DESKTOP_RULE@ .service.in.service: $(V_SED) $(SED_SUBST) $< > $@ .conf.in.conf: $(V_SED) $(SED_SUBST) $< > $@ test-c: $(TEST_PROGS) @gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS) test-py: @for py in $(PY_TESTS); do echo "TEST: $$py"; $(PY_ENV) python $(srcdir)/$$py; done test: test-c test-py all-local: $(check_PROGRAMS) check-local: test memcheck: @for test in $(TEST_PROGS); do \ valgrind --error-exitcode=80 --quiet --trace-children=yes ./$$test; \ done .PHONY: memcheck # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: realmd-0.15.0/tests/Makefile.am0000664000175000017500000000376612263025514016241 0ustar00stefstef00000000000000include $(top_srcdir)/Makefile.decl AM_CPPFLAGS = \ -I$(top_srcdir) \ -DTESTFILE_DIR="\"@abs_srcdir@/files\"" \ -DSYSCONF_DIR="\"/tmp/realmd-etc\"" \ -DPRIVATE_DIR="\"@abs_srcdir@/files\"" \ $(NULL) AM_CFLAGS = \ $(GLIB_CFLAGS) \ $(POLKIT_CFLAGS) LDADD = \ $(GLIB_LIBS) TEST_PROGS = \ test-ini-config \ test-sssd-config \ test-safe-printf \ test-login-name \ test-samba-ou-format \ test-settings \ $(NULL) check_PROGRAMS = \ $(TEST_PROGS) noinst_PROGRAMS = \ frob-install-packages \ $(NULL) test_ini_config_SOURCES = \ test-ini-config.c \ $(top_srcdir)/service/realm-ini-config.c \ $(top_srcdir)/service/realm-samba-config.c \ $(top_srcdir)/service/realm-settings.c \ $(NULL) test_sssd_config_SOURCES = \ test-sssd-config.c \ $(top_srcdir)/service/realm-ini-config.c \ $(top_srcdir)/service/realm-sssd-config.c \ $(top_srcdir)/service/realm-settings.c \ $(NULL) test_safe_printf_SOURCES = \ test-safe-printf.c \ $(top_srcdir)/service/safe-printf.c \ $(NULL) test_login_name_SOURCES = \ test-login-name.c \ $(top_srcdir)/service/realm-login-name.c \ $(NULL) test_samba_ou_format_SOURCES = \ test-samba-ou-format.c \ $(top_srcdir)/service/realm-samba-util.c \ $(NULL) test_settings_SOURCES = \ test-settings.c \ $(top_srcdir)/service/realm-settings.c \ $(NULL) frob_install_packages_CFLAGS = \ -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE \ $(PACKAGEKIT_CFLAGS) \ $(NULL) frob_install_packages_LDADD = \ $(PACKAGEKIT_LIBS) \ $(NULL) PY_TESTS = \ $(NULL) PY_ENV = \ $(NULL) test-c: $(TEST_PROGS) @gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS) test-py: @for py in $(PY_TESTS); do echo "TEST: $$py"; $(PY_ENV) python $(srcdir)/$$py; done test: test-c test-py EXTRA_DIST = \ files \ $(PY_TESTS) \ $(NULL) CLEANFILES = \ *.gcno \ *.gcda \ $(NULL) all-local: $(check_PROGRAMS) check-local: test memcheck: @for test in $(TEST_PROGS); do \ valgrind --error-exitcode=80 --quiet --trace-children=yes ./$$test; \ done .PHONY: memcheck realmd-0.15.0/tests/test-settings.c0000664000175000017500000000763712140455744017175 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Marius Vollmer */ #include "config.h" #include "service/realm-settings.h" #include #include #include static void write_config (const char *contents) { GError *error = NULL; int ret; ret = g_mkdir_with_parents ("/tmp/realmd-etc", 0700); g_assert (ret >= 0); g_file_set_contents ("/tmp/realmd-etc/realmd.conf", contents, -1, &error); g_assert_no_error (error); } typedef struct { GLogLevelFlags old_fatals; int n_criticals; } Test; static void log_counter (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data) { Test *test = user_data; if ((log_level & G_LOG_LEVEL_MASK) == G_LOG_LEVEL_CRITICAL) test->n_criticals += 1; } static void setup (Test *test, gconstpointer unused) { test->n_criticals = 0; g_log_set_default_handler (log_counter, test); test->old_fatals = g_log_set_always_fatal (0); } static void teardown (Test *test, gconstpointer unused) { g_log_set_default_handler (g_log_default_handler, NULL); g_log_set_always_fatal (test->old_fatals); } static void test_string (Test *test, gconstpointer unused) { const gchar *value; write_config ("[one]\n" "key = value\n"); realm_settings_init (); value = realm_settings_string ("one", "key"); g_assert_cmpstr (value, ==, "value"); realm_settings_uninit (); } static void test_boolean (Test *test, gconstpointer unused) { gboolean value; write_config ("[one]\n" "true-1 = yes\n" "true-2 = 1\n" "true-3 = true\n" "true-4 = TRUE\n" "true-5 = Yes\n" "false-1 = no\n" "false-2 = 0\n" "false-3 = false\n" "false-4 = nope\n"); #define ASSERT_TRUE(n) \ value = realm_settings_boolean ("one", n, FALSE); \ g_assert_cmpint (value, ==, TRUE); #define ASSERT_FALSE(n) \ value = realm_settings_boolean ("one", n, TRUE); \ g_assert_cmpint (value, ==, FALSE); realm_settings_init (); ASSERT_TRUE("true-1"); ASSERT_TRUE("true-2"); ASSERT_TRUE("true-3"); ASSERT_TRUE("true-4"); ASSERT_TRUE("true-5"); ASSERT_FALSE("false-1"); ASSERT_FALSE("false-2"); ASSERT_FALSE("false-3"); ASSERT_FALSE("false-4"); value = realm_settings_boolean ("one", "invalid", TRUE); g_assert_cmpint (value, ==, TRUE); value = realm_settings_boolean ("one", "invalid", FALSE); g_assert_cmpint (value, ==, FALSE); realm_settings_uninit (); } static void test_double (Test *test, gconstpointer unused) { gdouble value; write_config ("[one]\n" "key = 1234.0\n" "malformed = abc\n"); realm_settings_init (); value = realm_settings_double ("one", "key", 0.0); g_assert_cmpfloat (value, ==, 1234.0); value = realm_settings_double ("one", "non-existing", 5678.0); g_assert_cmpfloat (value, ==, 5678.0); value = realm_settings_double ("one", "malformed", 1212.0); g_assert_cmpfloat (value, ==, 1212.0); g_assert_cmpint (test->n_criticals, ==, 1); realm_settings_uninit (); } int main (int argc, char **argv) { #if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init (); #endif g_test_init (&argc, &argv, NULL); g_set_prgname ("test-ini-config"); g_test_add ("/realmd/settings/string", Test, NULL, setup, test_string, teardown); g_test_add ("/realmd/settings/double", Test, NULL, setup, test_double, teardown); g_test_add ("/realmd/settings/boolean", Test, NULL, setup, test_boolean, teardown); return g_test_run (); } realmd-0.15.0/tests/test-ini-config.c0000664000175000017500000005617512174154466017364 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "service/realm-samba-config.h" #include "service/realm-settings.h" #include #include typedef struct { RealmIniConfig *config; } Test; static void setup (Test *test, gconstpointer unused) { test->config = realm_ini_config_new (REALM_INI_LINE_CONTINUATIONS); } static void teardown (Test *test, gconstpointer unused) { g_object_unref (test->config); } static void on_config_changed (RealmIniConfig *config, gpointer user_data) { gboolean *changed = user_data; *changed = TRUE; } static void test_read_one (Test *test, gconstpointer unused) { gboolean changed = FALSE; GError *error = NULL; gchar *value; gboolean ret; g_signal_connect (test->config, "changed", G_CALLBACK (on_config_changed), &changed); ret = realm_ini_config_read_file (test->config, TESTFILE_DIR "/smb-one.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert (changed == TRUE); value = realm_ini_config_get (test->config, "section", "one"); g_assert_cmpstr (value, ==, "uno"); g_free (value); value = realm_ini_config_get (test->config, "section", "two"); g_assert_cmpstr (value, ==, "dos"); g_free (value); value = realm_ini_config_get (test->config, "section", "three"); g_assert_cmpstr (value, ==, "three \tThree \tTHREE"); g_free (value); value = realm_ini_config_get (test->config, "section", "four"); g_assert_cmpstr (value, ==, "cuatro"); g_free (value); value = realm_ini_config_get (test->config, "section", "five"); g_assert_cmpstr (value, ==, "cinco"); g_free (value); value = realm_ini_config_get (test->config, "section", "six"); g_assert_cmpstr (value, ==, "seis"); g_free (value); /* Not present */ value = realm_ini_config_get (test->config, "section", "zero"); g_assert (value == NULL); /* Section header is broken */ value = realm_ini_config_get (test->config, "broken", "five"); g_assert (value == NULL); value = realm_ini_config_get (test->config, "another section", "ended here"); g_assert_cmpstr (value, ==, "last"); g_free (value); } static void test_read_all (Test *test, gconstpointer unused) { GError *error = NULL; GHashTable *parameters; gboolean ret; ret = realm_ini_config_read_file (test->config, TESTFILE_DIR "/smb-one.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); parameters = realm_ini_config_get_all (test->config, "section"); g_assert_cmpstr (g_hash_table_lookup (parameters, "one"), ==, "uno"); g_assert_cmpstr (g_hash_table_lookup (parameters, "two"), ==, "dos"); g_assert_cmpstr (g_hash_table_lookup (parameters, "three"), ==, "three \tThree \tTHREE"); g_assert_cmpstr (g_hash_table_lookup (parameters, "four"), ==, "cuatro"); g_assert_cmpstr (g_hash_table_lookup (parameters, "five"), ==, "cinco"); /* Section header is broken */ parameters = realm_ini_config_get_all (test->config, "broken"); g_assert (parameters == NULL); } static void test_read_carriage_return (Test *test, gconstpointer unused) { const gchar *data = "[section]\n1=one\r\n2=two"; GBytes *bytes; gchar *value; bytes = g_bytes_new_static (data, strlen (data)); realm_ini_config_read_bytes (test->config, bytes); g_bytes_unref (bytes); value = realm_ini_config_get (test->config, "section", "1"); g_assert_cmpstr (value, ==, "one"); g_free (value); value = realm_ini_config_get (test->config, "section", "2"); g_assert_cmpstr (value, ==, "two"); } static void test_read_string (Test *test, gconstpointer unused) { const gchar *data = "[section]\n1=one\n2=two"; gchar *value; realm_ini_config_read_string (test->config, data); value = realm_ini_config_get (test->config, "section", "1"); g_assert_cmpstr (value, ==, "one"); g_free (value); value = realm_ini_config_get (test->config, "section", "2"); g_assert_cmpstr (value, ==, "two"); } static void test_write_exact (Test *test, gconstpointer unused) { GError *error = NULL; gchar *contents; gsize length; const gchar *output; gsize written; GBytes *bytes; g_file_get_contents (TESTFILE_DIR "/smb-one.conf", &contents, &length, &error); g_assert_no_error (error); bytes = g_bytes_new (contents, length); realm_ini_config_read_bytes (test->config, bytes); g_bytes_unref (bytes); bytes = realm_ini_config_write_bytes (test->config); output = g_bytes_get_data (bytes, &written); g_assert_cmpuint (length, ==, written); g_assert (memcmp (contents, output, length) == 0); g_bytes_unref (bytes); g_free (contents); } static void test_write_file (Test *test, gconstpointer unused) { GError *error = NULL; gchar *contents; gsize length; gchar *output; gsize written; GBytes *bytes; gboolean ret; g_file_get_contents (TESTFILE_DIR "/smb-one.conf", &contents, &length, &error); g_assert_no_error (error); bytes = g_bytes_new (contents, length); realm_ini_config_read_bytes (test->config, bytes); g_bytes_unref (bytes); ret = realm_ini_config_write_file (test->config, "/tmp/test-samba-config.conf", &error); g_assert_no_error (error); g_assert (ret == TRUE); g_file_get_contents (TESTFILE_DIR "/smb-one.conf", &output, &written, &error); g_assert_no_error (error); g_assert_cmpuint (length, ==, written); g_assert (memcmp (contents, output, length) == 0); g_free (contents); g_free (output); } static void test_write_empty_no_create (Test *test, gconstpointer unused) { GError *error = NULL; gboolean ret; ret = realm_ini_config_write_file (test->config, "/non-existant", &error); g_assert_no_error (error); g_assert (ret == TRUE); g_assert (!g_file_test ("/non-existant", G_FILE_TEST_EXISTS)); } static void test_file_not_exist (Test *test, gconstpointer unused) { GError *error = NULL; gboolean ret; ret = realm_ini_config_read_file (test->config, "/non-existant", &error); g_assert_no_error (error); g_assert (ret == TRUE); } static gboolean on_timeout_quit_loop (gpointer user_data) { g_main_loop_quit (user_data); return FALSE; /* don't call again */ } static void test_file_watch (Test *test, gconstpointer unused) { const gchar *data = "[section]\nkey=12345"; const gchar *filename = "/tmp/test-samba-config.watch"; gboolean changed = FALSE; GError *error = NULL; GMainLoop *loop; gchar *value; gboolean ret; g_unlink (filename); ret = realm_ini_config_read_file (test->config, filename, &error); g_assert_no_error (error); g_assert (ret == TRUE); g_signal_connect (test->config, "changed", G_CALLBACK (on_config_changed), &changed); value = realm_ini_config_get (test->config, "section", "key"); g_assert (value == NULL); /* Now write to the file */ g_file_set_contents (filename, data, -1, &error); g_assert_no_error (error); /* Wait a couple seconds */ loop = g_main_loop_new (NULL, FALSE); g_timeout_add_seconds (2, on_timeout_quit_loop, loop); g_main_loop_run (loop); g_main_loop_unref (loop); g_assert (changed == TRUE); value = realm_ini_config_get (test->config, "section", "key"); g_assert_cmpstr (value, ==, "12345"); g_free (value); } static void test_set (Test *test, gconstpointer unused) { const gchar *data = "[section]\n\t1= one\r\n2=two\n3=three"; const gchar *check = "[section]\n1 = the number one\n2=two\n4 = four\n"; gboolean changed = FALSE; gchar *output; realm_ini_config_read_string (test->config, data); g_signal_connect (test->config, "changed", G_CALLBACK (on_config_changed), &changed); realm_ini_config_set (test->config, "section", "1", "the number one", NULL); realm_ini_config_set (test->config, "section", "3", NULL, "4", "four", NULL); g_assert (changed == TRUE); output = realm_ini_config_write_string (test->config); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_set_middle (Test *test, gconstpointer unused) { const gchar *data = "[section]\n1=one\n2=two\n\n[another]\n4=four"; const gchar *check = "[section]\n1=one\n2=two\n3 = three\n\n[another]\n4=four"; gchar *output; realm_ini_config_read_string (test->config, data); realm_ini_config_set (test->config, "section", "3", "three", NULL); output = realm_ini_config_write_string (test->config); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_set_and_get (Test *test, gconstpointer unused) { const gchar *data = "[section]\n1=one\n2=two\n\n[another]\n4=four"; gchar *output; realm_ini_config_read_string (test->config, data); realm_ini_config_set (test->config, "section", "3", "three", NULL); output = realm_ini_config_get (test->config, "section", "3"); g_assert_cmpstr (output, ==, "three"); g_free (output); } static void test_have (Test *test, gconstpointer unused) { const gchar *data = "[section]\n\t1= one\r\n2=two\n3=three"; realm_ini_config_read_string (test->config, data); g_assert_cmpint (realm_ini_config_have (test->config, "section", "1"), ==, TRUE); g_assert_cmpint (realm_ini_config_have (test->config, "section", "not there"), ==, FALSE); g_assert_cmpint (realm_ini_config_have (test->config, "invalid", "2"), ==, FALSE); } static void test_set_section (Test *test, gconstpointer unused) { const gchar *data = "[section]\n1=one\n2=two"; const gchar *check = "[section]\n1=one\n2=two\n\n[happy]\n4 = four\n"; gchar *output; realm_ini_config_read_string (test->config, data); realm_ini_config_set (test->config, "happy", "4", "four", NULL); realm_ini_config_set (test->config, "nope", "6", NULL, NULL); output = realm_ini_config_write_string (test->config); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_set_all (Test *test, gconstpointer unused) { const gchar *data = "[section]\n\t1= one\r\n2=two\n3=three"; const gchar *check = "[section]\n1 = the number one\n2=two\n4 = four\n"; gboolean changed = FALSE; gchar *output; GHashTable *parameters; realm_ini_config_read_string (test->config, data); g_signal_connect (test->config, "changed", G_CALLBACK (on_config_changed), &changed); parameters = g_hash_table_new (g_str_hash, g_str_equal); g_hash_table_insert (parameters, "1", "the number one"); g_hash_table_insert (parameters, "3", NULL); g_hash_table_insert (parameters, "4", "four"); realm_ini_config_set_all (test->config, "section", parameters); g_hash_table_unref (parameters); g_assert (changed == TRUE); output = realm_ini_config_write_string (test->config); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_get_sections (Test *test, gconstpointer unused) { const gchar *data = "[section]\n\t1= one\r\n2=two\n3=three\n[section2]\n[three]"; gchar **sections; realm_ini_config_read_string (test->config, data); sections = realm_ini_config_get_sections (test->config); g_assert (sections != NULL); g_assert_cmpint (g_strv_length (sections), ==, 3); g_strfreev (sections); } static void test_have_section (Test *test, gconstpointer unused) { const gchar *data = "[section]\n\t1= one\r\n2=two\n3=three"; realm_ini_config_read_string (test->config, data); g_assert (realm_ini_config_have_section (test->config, "section") == TRUE); g_assert (realm_ini_config_have_section (test->config, "nonexistant") == FALSE); } static void test_remove_section_first (Test *test, gconstpointer unused) { const gchar *data = "[first]\nblah=blue\n#A\n[section]\n\t1=I\n#B\n2=II\n#C\n[after]\n2=two"; const gchar *check = "#A\n[section]\n\t1=I\n#B\n2=II\n#C\n[after]\n2=two"; gchar *output; realm_ini_config_read_string (test->config, data); realm_ini_config_remove_section (test->config, "first"); output = realm_ini_config_write_string (test->config); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_remove_section_middle (Test *test, gconstpointer unused) { const gchar *data = "[first]\nblah=blue\n#A\n[section]\n\t1=I\n#B\n2=II\n#C\n[after]\n2=two"; const gchar *check = "[first]\nblah=blue\n#A\n#C\n[after]\n2=two"; gchar *output; realm_ini_config_read_string (test->config, data); realm_ini_config_remove_section (test->config, "section"); output = realm_ini_config_write_string (test->config); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_remove_section_last (Test *test, gconstpointer unused) { const gchar *data = "[first]\nblah=blue\n#A\n[section]\n\t1=I\n#B\n2=II\n#C\n[after]\n2=two"; const gchar *check = "[first]\nblah=blue\n#A\n[section]\n\t1=I\n#B\n2=II\n#C\n"; gchar *output; realm_ini_config_read_string (test->config, data); realm_ini_config_remove_section (test->config, "after"); output = realm_ini_config_write_string (test->config); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_remove_section_all (Test *test, gconstpointer unused) { const gchar *data = "#A\n[section]\n\t1=I\n#B\n2=II\n#C\n"; const gchar *check = "#A\n#C\n"; gchar *output; realm_ini_config_read_string (test->config, data); realm_ini_config_remove_section (test->config, "section"); output = realm_ini_config_write_string (test->config); g_assert_cmpstr (check, ==, output); g_free (output); } static void test_remove_section_not_exist (Test *test, gconstpointer unused) { const gchar *data = "[first]\nblah=blue\n# Comment\n[section]\n\t1=I\n#C\n2=II\n# Comment\n[after]\n2=two"; gchar *output; realm_ini_config_read_string (test->config, data); realm_ini_config_remove_section (test->config, "nonexistant"); output = realm_ini_config_write_string (test->config); g_assert_cmpstr (data, ==, output); g_free (output); } static void test_change (Test *test, gconstpointer unused) { const gchar *data = "[section]\n\t1= one\r\n2=two\n3=three"; const gchar *check = "[section]\n1 = the number one\n2=two\n4 = four\n"; GError *error = NULL; gchar *output; /* Setup this file as the system smb.conf */ g_file_set_contents ("/tmp/test-samba-config.conf", data, -1, &error); g_assert_no_error (error); realm_ini_config_set_filename (test->config, "/tmp/test-samba-config.conf"); realm_ini_config_change (test->config, "section", &error, "1", "the number one", "3", NULL, "4", "four", NULL); g_assert_no_error (error); g_file_get_contents ("/tmp/test-samba-config.conf", &output, NULL, &error); g_assert_no_error (error); g_assert_cmpstr (output, ==, check); g_free (output); } static void test_change_list (Test *test, gconstpointer unused) { const gchar *data = "[section]\n\t1= one\n2=two, dos,zwei ,duo\n3=three"; const gchar *check = "[section]\n\t1= one\n2 = dos, zwei, 10\n3=three"; const gchar *remove[] = { "two", "duo", NULL }; const gchar *add[] = { "TWO", "10", NULL }; GError *error = NULL; gchar *output; /* Setup this file as the system smb.conf */ g_file_set_contents ("/tmp/test-samba-config.conf", data, -1, &error); g_assert_no_error (error); realm_ini_config_set_filename (test->config, "/tmp/test-samba-config.conf"); realm_ini_config_change_list (test->config, "section", "2", ",", add, remove, &error); g_assert_no_error (error); g_file_get_contents ("/tmp/test-samba-config.conf", &output, NULL, &error); g_assert_no_error (error); g_assert_cmpstr (output, ==, check); g_free (output); } static void test_change_list_new (Test *test, gconstpointer unused) { const gchar *data = "[section]\n\t1= one\n3=three"; const gchar *check = "[section]\n\t1= one\n3=three\n2 = dos, zwei, 10\n"; const gchar **remove = NULL; const gchar *add[] = { "dos", "zwei", "10", NULL }; GError *error = NULL; gchar *output; /* Setup this file as the system smb.conf */ realm_settings_add ("paths", "smb.conf", "/tmp/test-samba-config.conf"); g_file_set_contents ("/tmp/test-samba-config.conf", data, -1, &error); g_assert_no_error (error); realm_ini_config_set_filename (test->config, "/tmp/test-samba-config.conf"); realm_ini_config_change_list (test->config, "section", "2", ",", add, remove, &error); g_assert_no_error (error); g_file_get_contents ("/tmp/test-samba-config.conf", &output, NULL, &error); g_assert_no_error (error); g_assert_cmpstr (output, ==, check); g_free (output); } static void test_change_list_null_add (Test *test, gconstpointer unused) { const gchar *data = "[section]\n\t1= one\n2=two, dos,zwei ,duo\n3=three"; const gchar *check = "[section]\n\t1= one\n2 = dos, zwei\n3=three"; const gchar *remove[] = { "two", "duo", NULL }; const gchar **add = NULL; GError *error = NULL; gchar *output; /* Setup this file as the system smb.conf */ realm_settings_add ("paths", "smb.conf", "/tmp/test-samba-config.conf"); g_file_set_contents ("/tmp/test-samba-config.conf", data, -1, &error); g_assert_no_error (error); realm_ini_config_set_filename (test->config, "/tmp/test-samba-config.conf"); realm_ini_config_change_list (test->config, "section", "2", ",", add, remove, &error); g_assert_no_error (error); g_file_get_contents ("/tmp/test-samba-config.conf", &output, NULL, &error); g_assert_no_error (error); g_assert_cmpstr (output, ==, check); g_free (output); } static void test_change_list_null_remove (Test *test, gconstpointer unused) { const gchar *data = "[section]\n\t1= one\n2=two, dos,zwei ,duo\n3=three"; const gchar *check = "[section]\n\t1= one\n2 = two, dos, zwei, duo, 10\n3=three"; const gchar **remove = NULL; const gchar *add[] = { "TWO", "10", NULL }; GError *error = NULL; gchar *output; /* Setup this file as the system smb.conf */ realm_settings_add ("paths", "smb.conf", "/tmp/test-samba-config.conf"); g_file_set_contents ("/tmp/test-samba-config.conf", data, -1, &error); g_assert_no_error (error); realm_ini_config_set_filename (test->config, "/tmp/test-samba-config.conf"); realm_ini_config_change_list (test->config, "section", "2", ",", add, remove, &error); g_assert_no_error (error); g_file_get_contents ("/tmp/test-samba-config.conf", &output, NULL, &error); g_assert_no_error (error); g_assert_cmpstr (output, ==, check); g_free (output); } static void test_get_boolean (void) { RealmIniConfig *config; config = realm_ini_config_new (0); realm_ini_config_read_string (config, "[section]\nboolean = true"); g_assert_cmpint (TRUE, ==, realm_ini_config_get_boolean (config, "section", "boolean", FALSE)); realm_ini_config_read_string (config, "[section]\nboolean = FalSE"); g_assert_cmpint (FALSE, ==, realm_ini_config_get_boolean (config, "section", "boolean", TRUE)); realm_ini_config_read_string (config, "[section]\nboolean = false"); g_assert_cmpint (FALSE, ==, realm_ini_config_get_boolean (config, "section", "boolean", TRUE)); realm_ini_config_read_string (config, "[section]\nboolean = false"); g_assert_cmpint (TRUE, ==, realm_ini_config_get_boolean (config, "section", "non-existant", TRUE)); realm_ini_config_read_string (config, "[section]\nboolean = false"); g_assert_cmpint (TRUE, ==, realm_ini_config_get_boolean (config, "section", "non-existant", TRUE)); realm_ini_config_read_string (config, "[section]\nboolean = yes"); g_assert_cmpint (TRUE, ==, realm_ini_config_get_boolean (config, "section", "boolean", TRUE)); realm_ini_config_read_string (config, "[section]\nboolean = no"); g_assert_cmpint (FALSE, ==, realm_ini_config_get_boolean (config, "section", "boolean", FALSE)); realm_ini_config_read_string (config, "[section]\nboolean = 1"); g_assert_cmpint (TRUE, ==, realm_ini_config_get_boolean (config, "section", "boolean", TRUE)); realm_ini_config_read_string (config, "[section]\nboolean = 0"); g_assert_cmpint (FALSE, ==, realm_ini_config_get_boolean (config, "section", "boolean", FALSE)); g_object_unref (config); } int main (int argc, char **argv) { #if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init (); #endif g_test_init (&argc, &argv, NULL); g_set_prgname ("test-ini-config"); realm_settings_init (); g_test_add ("/realmd/ini-config/read-one", Test, NULL, setup, test_read_one, teardown); g_test_add ("/realmd/ini-config/read-all", Test, NULL, setup, test_read_all, teardown); g_test_add ("/realmd/ini-config/read-string", Test, NULL, setup, test_read_string, teardown); g_test_add ("/realmd/ini-config/read-carriage-return", Test, NULL, setup, test_read_carriage_return, teardown); g_test_add ("/realmd/ini-config/write-exact", Test, NULL, setup, test_write_exact, teardown); g_test_add ("/realmd/ini-config/write-file", Test, NULL, setup, test_write_file, teardown); g_test_add ("/realmd/ini-config/write-empty-no-create", Test, NULL, setup, test_write_empty_no_create, teardown); g_test_add ("/realmd/ini-config/have", Test, NULL, setup, test_have, teardown); g_test_add ("/realmd/ini-config/set", Test, NULL, setup, test_set, teardown); g_test_add ("/realmd/ini-config/set-middle", Test, NULL, setup, test_set_middle, teardown); g_test_add ("/realmd/ini-config/set-and-get", Test, NULL, setup, test_set_and_get, teardown); g_test_add ("/realmd/ini-config/set-section", Test, NULL, setup, test_set_section, teardown); g_test_add ("/realmd/ini-config/set-all", Test, NULL, setup, test_set_all, teardown); g_test_add ("/realmd/ini-config/get-sections", Test, NULL, setup, test_get_sections, teardown); g_test_add ("/realmd/ini-config/have-section", Test, NULL, setup, test_have_section, teardown); g_test_add ("/realmd/ini-config/remove-section-first", Test, NULL, setup, test_remove_section_first, teardown); g_test_add ("/realmd/ini-config/remove-section-middle", Test, NULL, setup, test_remove_section_middle, teardown); g_test_add ("/realmd/ini-config/remove-section-last", Test, NULL, setup, test_remove_section_last, teardown); g_test_add ("/realmd/ini-config/remove-section-all", Test, NULL, setup, test_remove_section_all, teardown); g_test_add ("/realmd/ini-config/remove-section-not-exist", Test, NULL, setup, test_remove_section_not_exist, teardown); g_test_add ("/realmd/ini-config/file-not-exist", Test, NULL, setup, test_file_not_exist, teardown); if (!g_test_quick ()) g_test_add ("/realmd/ini-config/file-watch", Test, NULL, setup, test_file_watch, teardown); g_test_add ("/realmd/ini-config/change", Test, NULL, setup, test_change, teardown); g_test_add ("/realmd/ini-config/change-list", Test, NULL, setup, test_change_list, teardown); g_test_add ("/realmd/ini-config/change-list-new", Test, NULL, setup, test_change_list_new, teardown); g_test_add ("/realmd/ini-config/change-list-null-add", Test, NULL, setup, test_change_list_null_add, teardown); g_test_add ("/realmd/ini-config/change-list-null-remove", Test, NULL, setup, test_change_list_null_remove, teardown); g_test_add_func ("/realmd/ini-config/get-boolean", test_get_boolean); return g_test_run (); } realmd-0.15.0/configure0000775000175000017500000107456612263026712014762 0ustar00stefstef00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for realmd 0.15.0. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: http://bugs.freedesktop.org/enter_bug.cgi?product=realmd $0: about your system, including any error possibly output $0: before this message. Then install a modern shell, or $0: manually run the script under such a shell if you do $0: have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='realmd' PACKAGE_TARNAME='realmd' PACKAGE_VERSION='0.15.0' PACKAGE_STRING='realmd 0.15.0' PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=realmd' PACKAGE_URL='' ac_unique_file="service/realm-daemon.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS cachedir privatedir TEST_MODE WITH_COVERAGE_FALSE WITH_COVERAGE_TRUE GENHTML LCOV GCOV ENABLE_DOC_FALSE ENABLE_DOC_TRUE XMLTO XSLTPROC POLKIT_ACTION_DIR DBUS_POLICY_DIR DBUS_SERVICES_DIR LDAP_CFLAGS LDAP_LIBS KRB5_LIBS KRB5_CFLAGS KRB5_CONFIG SYSTEMD_JOURNAL_LIBS SYSTEMD_JOURNAL_CFLAGS WITH_SYSTEMD_FALSE WITH_SYSTEMD_TRUE SYSTEMD_UNIT_DIR POLKIT_LIBS POLKIT_CFLAGS PACKAGEKIT_LIBS PACKAGEKIT_CFLAGS GLIB_LIBS GLIB_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH MKINSTALLDIRS POSUB POFILES PO_IN_DATADIR_FALSE PO_IN_DATADIR_TRUE INTLLIBS INSTOBJEXT GMOFILES CATOBJEXT CATALOGS MSGFMT_OPTS GETTEXT_PACKAGE PKG_CONFIG DATADIRNAME ALL_LINGUAS INTLTOOL_PERL GMSGFMT MSGFMT MSGMERGE XGETTEXT INTLTOOL_POLICY_RULE INTLTOOL_SERVICE_RULE INTLTOOL_THEME_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_CAVES_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_XML_RULE INTLTOOL_KBD_RULE INTLTOOL_XAM_RULE INTLTOOL_UI_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_SHEET_RULE INTLTOOL_SERVER_RULE INTLTOOL_PONG_RULE INTLTOOL_OAF_RULE INTLTOOL_PROP_RULE INTLTOOL_KEYS_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_DESKTOP_RULE intltool__v_merge_options_0 intltool__v_merge_options_ INTLTOOL_V_MERGE_OPTIONS INTLTOOL__v_MERGE_0 INTLTOOL__v_MERGE_ INTLTOOL_V_MERGE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE USE_NLS RANLIB LN_S EGREP GREP CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC DISTRO MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_maintainer_mode with_distro enable_dependency_tracking enable_nls with_systemd_unit_dir with_systemd_journal enable_doc enable_coverage enable_debug enable_strict ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR GLIB_CFLAGS GLIB_LIBS PACKAGEKIT_CFLAGS PACKAGEKIT_LIBS POLKIT_CFLAGS POLKIT_LIBS SYSTEMD_JOURNAL_CFLAGS SYSTEMD_JOURNAL_LIBS KRB5_CFLAGS KRB5_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures realmd 0.15.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/realmd] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of realmd 0.15.0:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --disable-maintainer-mode disable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --disable-nls do not use Native Language Support --enable-doc Disable building documentation --enable-coverage Whether to enable coverage testing --enable-debug=no/default/yes Turn on or off debugging --enable-strict Strict code compilation Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-distro Configure for a specific distribution (eg: redhat) --with-systemd-unit-dir Directory to install systemd service file --with-systemd-journal Use systemd's journal for logging Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config GLIB_LIBS linker flags for GLIB, overriding pkg-config PACKAGEKIT_CFLAGS C compiler flags for PACKAGEKIT, overriding pkg-config PACKAGEKIT_LIBS linker flags for PACKAGEKIT, overriding pkg-config POLKIT_CFLAGS C compiler flags for POLKIT, overriding pkg-config POLKIT_LIBS linker flags for POLKIT, overriding pkg-config SYSTEMD_JOURNAL_CFLAGS C compiler flags for SYSTEMD_JOURNAL, overriding pkg-config SYSTEMD_JOURNAL_LIBS linker flags for SYSTEMD_JOURNAL, overriding pkg-config KRB5_CFLAGS C compiler flags for kerberos, overriding krb5-config KRB5_LIBS linker flags for kerberos, overriding krb5-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF realmd configure 0.15.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ----------------------------------------------------------------------- ## ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=realmd ## ## ----------------------------------------------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by realmd $as_me 0.15.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # ----------------------------------------------------------------------------- # Versions GLIB_REQ=2.36.0 GLIB_MIN=GLIB_VERSION_2_36 GLIB_MAX=GLIB_VERSION_2_36 INTLTOOL_REQ=0.35.0 # ----------------------------------------------------------------------------- am__api_version='1.13' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='realmd' VERSION='0.15.0' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar plaintar pax cpio none' # The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } if test $am_uid -le $am_max_uid; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } _am_tools=none fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } if test $am_gid -le $am_max_gid; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } _am_tools=none fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 $as_echo_n "checking how to create a ustar tar archive... " >&6; } # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_ustar-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do { echo "$as_me:$LINENO: $_am_tar --version" >&5 ($_am_tar --version) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && break done am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x ustar -w "$$tardir"' am__tar_='pax -L -x ustar -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H ustar -L' am__tar_='find "$tardir" -print | cpio -o -H ustar -L' am__untar='cpio -i -H ustar -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_ustar}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } rm -rf conftest.dir if test -s conftest.tar; then { echo "$as_me:$LINENO: $am__untar &5 ($am__untar &5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 (cat conftest.dir/file) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } grep GrepMe conftest.dir/file >/dev/null 2>&1 && break fi done rm -rf conftest.dir if ${am_cv_prog_tar_ustar+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_prog_tar_ustar=$_am_tool fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 $as_echo "$am_cv_prog_tar_ustar" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file ac_config_headers="$ac_config_headers config.h" # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=0;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE # ----------------------------------------------------------------------------- # Distro Detection # Check whether --with-distro was given. if test "${with_distro+set}" = set; then : withval=$with_distro; DISTRO=$withval fi if test -z $DISTRO; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/redhat-release" >&5 $as_echo_n "checking for /etc/redhat-release... " >&6; } if ${ac_cv_file__etc_redhat_release+:} false; then : $as_echo_n "(cached) " >&6 else test "$cross_compiling" = yes && as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 if test -r "/etc/redhat-release"; then ac_cv_file__etc_redhat_release=yes else ac_cv_file__etc_redhat_release=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_redhat_release" >&5 $as_echo "$ac_cv_file__etc_redhat_release" >&6; } if test "x$ac_cv_file__etc_redhat_release" = xyes; then : DISTRO="redhat" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/debian_version" >&5 $as_echo_n "checking for /etc/debian_version... " >&6; } if ${ac_cv_file__etc_debian_version+:} false; then : $as_echo_n "(cached) " >&6 else test "$cross_compiling" = yes && as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 if test -r "/etc/debian_version"; then ac_cv_file__etc_debian_version=yes else ac_cv_file__etc_debian_version=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_debian_version" >&5 $as_echo "$ac_cv_file__etc_debian_version" >&6; } if test "x$ac_cv_file__etc_debian_version" = xyes; then : DISTRO="debian" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /etc/SuSE-release" >&5 $as_echo_n "checking for /etc/SuSE-release... " >&6; } if ${ac_cv_file__etc_SuSE_release+:} false; then : $as_echo_n "(cached) " >&6 else test "$cross_compiling" = yes && as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 if test -r "/etc/SuSE-release"; then ac_cv_file__etc_SuSE_release=yes else ac_cv_file__etc_SuSE_release=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_SuSE_release" >&5 $as_echo "$ac_cv_file__etc_SuSE_release" >&6; } if test "x$ac_cv_file__etc_SuSE_release" = xyes; then : DISTRO="suse" fi # Not customized for these yet fi if test -z $DISTRO; then as_fn_error $? "Couldn't detect the distro to configure for. Specify one with --with-distro" "$LINENO" 5 fi # ----------------------------------------------------------------------------- # Basic tools DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes else MINIX= fi if test "$MINIX" = yes; then $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h $as_echo "#define _MINIX 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } if ${ac_cv_safe_to_define___extensions__+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 $ac_includes_default int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_define___extensions__=yes else ac_cv_safe_to_define___extensions__=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } test $ac_cv_safe_to_define___extensions__ = yes && $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h $as_echo "#define _ALL_SOURCE 1" >>confdefs.h $as_echo "#define _GNU_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 $as_echo_n "checking for library containing strerror... " >&6; } if ${ac_cv_search_strerror+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char strerror (); int main () { return strerror (); ; return 0; } _ACEOF for ac_lib in '' cposix; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_strerror=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_strerror+:} false; then : break fi done if ${ac_cv_search_strerror+:} false; then : else ac_cv_search_strerror=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 $as_echo "$ac_cv_search_strerror" >&6; } ac_res=$ac_cv_search_strerror if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test "x$CC" != xcc; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 $as_echo_n "checking whether cc understands -c and -o together... " >&6; } fi set dummy $CC; ac_cc=`$as_echo "$2" | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # We do the test twice because some compilers refuse to overwrite an # existing .o file with -o, though they will create one. ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' rm -f conftest2.* if { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -f conftest2.$ac_objext && { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then eval ac_cv_prog_cc_${ac_cc}_c_o=yes if test "x$CC" != xcc; then # Test first that cc exists at all. if { ac_try='cc -c conftest.$ac_ext >&5' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' rm -f conftest2.* if { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -f conftest2.$ac_objext && { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # cc works too. : else # cc exists but doesn't like -o. eval ac_cv_prog_cc_${ac_cc}_c_o=no fi fi fi else eval ac_cv_prog_cc_${ac_cc}_c_o=no fi rm -f core conftest* fi if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h fi # FIXME: we rely on the cache variable name because # there is no other way. set dummy $CC am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o if test "$am_t" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } case "$am__api_version" in 1.01234) as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 ;; *) ;; esac INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $INTLTOOL_REQ | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n "$INTLTOOL_REQ"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= $INTLTOOL_REQ" >&5 $as_echo_n "checking for intltool >= $INTLTOOL_REQ... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || as_fn_error $? "Your intltool is too old. You need intltool $INTLTOOL_REQ or later." "$LINENO" 5 fi # Extract the first word of "intltool-update", so it can be a program name with args. set dummy intltool-update; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_UPDATE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE if test -n "$INTLTOOL_UPDATE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 $as_echo "$INTLTOOL_UPDATE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-merge", so it can be a program name with args. set dummy intltool-merge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_MERGE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE if test -n "$INTLTOOL_MERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 $as_echo "$INTLTOOL_MERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-extract", so it can be a program name with args. set dummy intltool-extract; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_EXTRACT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT if test -n "$INTLTOOL_EXTRACT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 $as_echo "$INTLTOOL_EXTRACT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' intltool__v_merge_options_0='-q' INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' else INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' fi INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' # Check the gettext tools to make sure they are GNU # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case $XGETTEXT in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi XGETTEXT=$ac_cv_path_XGETTEXT if test -n "$XGETTEXT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGMERGE in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGMERGE=$ac_cv_path_MSGMERGE if test -n "$MSGMERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGFMT=$ac_cv_path_MSGFMT if test -n "$MSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_PERL+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_PERL in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL if test -n "$INTLTOOL_PERL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 $as_echo "$INTLTOOL_PERL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_PERL"; then as_fn_error $? "perl not found" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 $as_echo_n "checking for perl >= 5.8.1... " >&6; } $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 else IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 $as_echo "$IT_PERL_VERSION" >&6; } fi if test "x" != "xno-xml"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 $as_echo_n "checking for XML::Parser... " >&6; } if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } else as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : DATADIRNAME=share else case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : DATADIRNAME=share else DATADIRNAME=lib fi ;; *) DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi GETTEXT_PACKAGE=realmd cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF for ac_header in locale.h do : ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" if test "x$ac_cv_header_locale_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LOCALE_H 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 $as_echo_n "checking for LC_MESSAGES... " >&6; } if ${am_cv_val_LC_MESSAGES+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_val_LC_MESSAGES=yes else am_cv_val_LC_MESSAGES=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 $as_echo "$am_cv_val_LC_MESSAGES" >&6; } if test $am_cv_val_LC_MESSAGES = yes; then $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h fi fi USE_NLS=yes gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" if test "x$ac_cv_header_libintl_h" = xyes; then : gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 $as_echo_n "checking for ngettext in libc... " >&6; } if ${gt_cv_func_ngettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !ngettext ("","", 1) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_ngettext_libc=yes else gt_cv_func_ngettext_libc=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 $as_echo "$gt_cv_func_ngettext_libc" >&6; } if test "$gt_cv_func_ngettext_libc" = "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 $as_echo_n "checking for dgettext in libc... " >&6; } if ${gt_cv_func_dgettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !dgettext ("","") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_dgettext_libc=yes else gt_cv_func_dgettext_libc=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 $as_echo "$gt_cv_func_dgettext_libc" >&6; } fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF fi done fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } if ${ac_cv_lib_intl_bindtextdomain+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char bindtextdomain (); int main () { return bindtextdomain (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_bindtextdomain=yes else ac_cv_lib_intl_bindtextdomain=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if ${ac_cv_lib_intl_ngettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_ngettext=yes else ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 $as_echo_n "checking for dgettext in -lintl... " >&6; } if ${ac_cv_lib_intl_dgettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dgettext (); int main () { return dgettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_dgettext=yes else ac_cv_lib_intl_dgettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } if test "x$ac_cv_lib_intl_dgettext" = xyes; then : gt_cv_func_dgettext_libintl=yes fi fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 $as_echo "" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if ${ac_cv_lib_intl_ngettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_ngettext=yes else ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 $as_echo_n "checking for dcgettext in -lintl... " >&6; } if ${ac_cv_lib_intl_dcgettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dcgettext (); int main () { return dcgettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_dcgettext=yes else ac_cv_lib_intl_dcgettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv else : fi else : fi fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF fi done LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != "no"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do : ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" if test "x$ac_cv_func_dcgettext" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DCGETTEXT 1 _ACEOF fi done MSGFMT_OPTS= { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 $as_echo_n "checking if msgfmt accepts -c... " >&6; } cat >conftest.foo <<_ACEOF msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" _ACEOF if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } echo "$as_me: failed input was:" >&5 sed 's/^/| /' conftest.foo >&5 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : CATOBJEXT=.gmo DATADIRNAME=share else case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : CATOBJEXT=.gmo DATADIRNAME=share else CATOBJEXT=.mo DATADIRNAME=lib fi ;; *-*-openbsd*) CATOBJEXT=.mo DATADIRNAME=share ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi fi if test "$gt_cv_have_gettext" = "yes" ; then $as_echo "#define ENABLE_NLS 1" >>confdefs.h fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po ac_config_commands="$ac_config_commands default-1" for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 $as_echo_n "checking for catalogs to be installed... " >&6; } NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 $as_echo "$LINGUAS" >&6; } fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES # -------------------------------------------------------------------- # GLib if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 $as_echo_n "checking for GLIB... " >&6; } if test -n "$GLIB_CFLAGS"; then pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQ gio-2.0 gio-unix-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQ gio-2.0 gio-unix-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQ gio-2.0 gio-unix-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GLIB_LIBS"; then pkg_cv_GLIB_LIBS="$GLIB_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQ gio-2.0 gio-unix-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQ gio-2.0 gio-unix-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQ gio-2.0 gio-unix-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQ gio-2.0 gio-unix-2.0" 2>&1` else GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQ gio-2.0 gio-unix-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQ gio-2.0 gio-unix-2.0) were not met: $GLIB_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS GLIB_LIBS=$pkg_cv_GLIB_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=$GLIB_MIN -DGLIB_VERSION_MAX_ALLOWED=$GLIB_MAX" # -------------------------------------------------------------------- # PackageKit pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PACKAGEKIT" >&5 $as_echo_n "checking for PACKAGEKIT... " >&6; } if test -n "$PACKAGEKIT_CFLAGS"; then pkg_cv_PACKAGEKIT_CFLAGS="$PACKAGEKIT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"packagekit-glib2\""; } >&5 ($PKG_CONFIG --exists --print-errors "packagekit-glib2") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PACKAGEKIT_CFLAGS=`$PKG_CONFIG --cflags "packagekit-glib2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$PACKAGEKIT_LIBS"; then pkg_cv_PACKAGEKIT_LIBS="$PACKAGEKIT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"packagekit-glib2\""; } >&5 ($PKG_CONFIG --exists --print-errors "packagekit-glib2") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PACKAGEKIT_LIBS=`$PKG_CONFIG --libs "packagekit-glib2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then PACKAGEKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "packagekit-glib2" 2>&1` else PACKAGEKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "packagekit-glib2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$PACKAGEKIT_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (packagekit-glib2) were not met: $PACKAGEKIT_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PACKAGEKIT_CFLAGS and PACKAGEKIT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PACKAGEKIT_CFLAGS and PACKAGEKIT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else PACKAGEKIT_CFLAGS=$pkg_cv_PACKAGEKIT_CFLAGS PACKAGEKIT_LIBS=$pkg_cv_PACKAGEKIT_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # -------------------------------------------------------------------- # PolicyKit pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POLKIT" >&5 $as_echo_n "checking for POLKIT... " >&6; } if test -n "$POLKIT_CFLAGS"; then pkg_cv_POLKIT_CFLAGS="$POLKIT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "polkit-gobject-1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_POLKIT_CFLAGS=`$PKG_CONFIG --cflags "polkit-gobject-1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$POLKIT_LIBS"; then pkg_cv_POLKIT_LIBS="$POLKIT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "polkit-gobject-1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_POLKIT_LIBS=`$PKG_CONFIG --libs "polkit-gobject-1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then POLKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "polkit-gobject-1" 2>&1` else POLKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "polkit-gobject-1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$POLKIT_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (polkit-gobject-1) were not met: $POLKIT_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables POLKIT_CFLAGS and POLKIT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables POLKIT_CFLAGS and POLKIT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else POLKIT_CFLAGS=$pkg_cv_POLKIT_CFLAGS POLKIT_LIBS=$pkg_cv_POLKIT_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # -------------------------------------------------------------------- # systemd { $as_echo "$as_me:${as_lineno-$LINENO}: checking systemd unit directory" >&5 $as_echo_n "checking systemd unit directory... " >&6; } # Check whether --with-systemd-unit-dir was given. if test "${with_systemd_unit_dir+set}" = set; then : withval=$with_systemd_unit_dir; fi if test "$with_systemd_unit_dir" = "" -o "$with_systemd_unit_dir" = "yes"; then with_systemd_unit_dir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd) if test "$with_systemd_unit_dir" = ""; then as_fn_error $? "\"Couldn't find systemd system unit directory\"" "$LINENO" 5 fi elif test "$with_systemd_unit_dir" = "no"; then with_systemd_unit_dir="" fi SYSTEMD_UNIT_DIR="$with_systemd_unit_dir" if test -n "$with_systemd_unit_dir"; then WITH_SYSTEMD_TRUE= WITH_SYSTEMD_FALSE='#' else WITH_SYSTEMD_TRUE='#' WITH_SYSTEMD_FALSE= fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_systemd_unit_dir" >&5 $as_echo "$with_systemd_unit_dir" >&6; } # Check whether --with-systemd-journal was given. if test "${with_systemd_journal+set}" = set; then : withval=$with_systemd_journal; fi if test "$with_systemd_journal" != "no"; then cat >>confdefs.h <<_ACEOF #define WITH_JOURNAL 1 _ACEOF pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_JOURNAL" >&5 $as_echo_n "checking for SYSTEMD_JOURNAL... " >&6; } if test -n "$SYSTEMD_JOURNAL_CFLAGS"; then pkg_cv_SYSTEMD_JOURNAL_CFLAGS="$SYSTEMD_JOURNAL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SYSTEMD_JOURNAL_LIBS"; then pkg_cv_SYSTEMD_JOURNAL_LIBS="$SYSTEMD_JOURNAL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1` else SYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SYSTEMD_JOURNAL_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (libsystemd-journal) were not met: $SYSTEMD_JOURNAL_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables SYSTEMD_JOURNAL_CFLAGS and SYSTEMD_JOURNAL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables SYSTEMD_JOURNAL_CFLAGS and SYSTEMD_JOURNAL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else SYSTEMD_JOURNAL_CFLAGS=$pkg_cv_SYSTEMD_JOURNAL_CFLAGS SYSTEMD_JOURNAL_LIBS=$pkg_cv_SYSTEMD_JOURNAL_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi with_systemd_journal="yes" fi # ------------------------------------------------------------------- # resolv { $as_echo "$as_me:${as_lineno-$LINENO}: checking for which library has res_query" >&5 $as_echo_n "checking for which library has res_query... " >&6; } for lib in "" "-lresolv"; do saved_LIBS="$LIBS" LIBS="$LIBS $lib" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { res_query (0, 0, 0, 0, 0) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lib:-libc}" >&5 $as_echo "${lib:-libc}" >&6; }; have_res_query="yes"; break; else LIBS="$saved_LIBS" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext done if test "$have_res_query" != "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "Couldn't find the library for the res_query function" "$LINENO" 5 fi # ------------------------------------------------------------------- # Kerberos if test "$KRB5_LIBS" != ""; then KRB5_PASSED_LIBS=$KRB5_LIBS fi if test "$KRB5_CFLAGS" != ""; then KRB5_PASSED_CFLAGS=$KRB5_CFLAGS fi # Extract the first word of "krb5-config", so it can be a program name with args. set dummy krb5-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_KRB5_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $KRB5_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG if test -n "$KRB5_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5_CONFIG" >&5 $as_echo "$KRB5_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working krb5-config" >&5 $as_echo_n "checking for working krb5-config... " >&6; } if test -x "$KRB5_CONFIG"; then KRB5_CFLAGS="`$KRB5_CONFIG --cflags`" KRB5_LIBS="`$KRB5_CONFIG --libs`" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else if test x$KRB5_PASSED_LIBS = x; then as_fn_error $? "no. Please install MIT kerberos devel package" "$LINENO" 5 fi fi if test x$KRB5_PASSED_LIBS != x; then KRB5_LIBS=$KRB5_PASSED_LIBS fi if test x$KRB5_PASSED_CFLAGS != x; then KRB5_CFLAGS=$KRB5_PASSED_CFLAGS fi # ------------------------------------------------------------------- # LDAP { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_search in -lldap" >&5 $as_echo_n "checking for ldap_search in -lldap... " >&6; } if ${ac_cv_lib_ldap_ldap_search+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lldap $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ldap_search (); int main () { return ldap_search (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ldap_ldap_search=yes else ac_cv_lib_ldap_ldap_search=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_search" >&5 $as_echo "$ac_cv_lib_ldap_ldap_search" >&6; } if test "x$ac_cv_lib_ldap_ldap_search" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBLDAP 1 _ACEOF LIBS="-lldap $LIBS" else ldap_invalid=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_pvt_opt_on in -llber" >&5 $as_echo_n "checking for ber_pvt_opt_on in -llber... " >&6; } if ${ac_cv_lib_lber_ber_pvt_opt_on+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-llber $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ber_pvt_opt_on (); int main () { return ber_pvt_opt_on (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_lber_ber_pvt_opt_on=yes else ac_cv_lib_lber_ber_pvt_opt_on=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_pvt_opt_on" >&5 $as_echo "$ac_cv_lib_lber_ber_pvt_opt_on" >&6; } if test "x$ac_cv_lib_lber_ber_pvt_opt_on" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBLBER 1 _ACEOF LIBS="-llber $LIBS" else ldap_invalid=yes fi for ac_header in ldap.h do : ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default" if test "x$ac_cv_header_ldap_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LDAP_H 1 _ACEOF else ldap_invalid=yes fi done if test "$ldap_invalid" = "yes"; then as_fn_error $? "\"Couldn't find OpenLDAP headers or libraries\"" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init_fd in -lldap" >&5 $as_echo_n "checking for ldap_init_fd in -lldap... " >&6; } if ${ac_cv_lib_ldap_ldap_init_fd+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lldap $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ldap_init_fd (); int main () { return ldap_init_fd (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ldap_ldap_init_fd=yes else ac_cv_lib_ldap_ldap_init_fd=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_init_fd" >&5 $as_echo "$ac_cv_lib_ldap_ldap_init_fd" >&6; } if test "x$ac_cv_lib_ldap_ldap_init_fd" = xyes; then : true else as_fn_error $? "Couldn't find ldap_init_fd function in libldap" "$LINENO" 5 fi LDAP_LIBS="" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5 $as_echo_n "checking for res_query in -lresolv... " >&6; } if ${ac_cv_lib_resolv_res_query+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lresolv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char res_query (); int main () { return res_query (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_resolv_res_query=yes else ac_cv_lib_resolv_res_query=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_query" >&5 $as_echo "$ac_cv_lib_resolv_res_query" >&6; } if test "x$ac_cv_lib_resolv_res_query" = xyes; then : LDAP_LIBS="-lresolv" fi LDAP_LIBS="$LDAP_LIBS -lldap -llber" LDAP_CFLAGS="" # ------------------------------------------------------------------- # Directories DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services" DBUS_POLICY_DIR="${sysconfdir}/dbus-1/system.d" POLKIT_ACTION_DIR="${datadir}/polkit-1/actions" # -------------------------------------------------------------------- # Compilation options { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5 $as_echo_n "checking whether to build documentation... " >&6; } # Check whether --enable-doc was given. if test "${enable_doc+set}" = set; then : enableval=$enable_doc; fi if test "$enable_doc" = "no"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_doc" >&5 $as_echo "$enable_doc" >&6; } else if test "$enable_doc" = ""; then disable_msg="(perhaps --disable-doc)" fi enable_doc="yes" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_doc" >&5 $as_echo "$enable_doc" >&6; } # Extract the first word of "xsltproc", so it can be a program name with args. set dummy xsltproc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XSLTPROC+:} false; then : $as_echo_n "(cached) " >&6 else case $XSLTPROC in [\\/]* | ?:[\\/]*) ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no" ;; esac fi XSLTPROC=$ac_cv_path_XSLTPROC if test -n "$XSLTPROC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 $as_echo "$XSLTPROC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$XSLTPROC" = "no"; then as_fn_error $? "the xsltproc command was not found $disable_msg" "$LINENO" 5 fi # Extract the first word of "xmlto", so it can be a program name with args. set dummy xmlto; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XMLTO+:} false; then : $as_echo_n "(cached) " >&6 else case $XMLTO in [\\/]* | ?:[\\/]*) ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_XMLTO" && ac_cv_path_XMLTO="no" ;; esac fi XMLTO=$ac_cv_path_XMLTO if test -n "$XMLTO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5 $as_echo "$XMLTO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$XMLTO" = "no"; then as_fn_error $? "the xmlto command was not found $disable_msg" "$LINENO" 5 fi fi if test "$enable_doc" = "yes"; then ENABLE_DOC_TRUE= ENABLE_DOC_FALSE='#' else ENABLE_DOC_TRUE='#' ENABLE_DOC_FALSE= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with gcov testing" >&5 $as_echo_n "checking whether to build with gcov testing... " >&6; } # Check whether --enable-coverage was given. if test "${enable_coverage+set}" = set; then : enableval=$enable_coverage; else enable_coverage=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_coverage" >&5 $as_echo "$enable_coverage" >&6; } if test "$enable_coverage" = "yes"; then if test "$GCC" != "yes"; then as_fn_error $? "Coverage testing requires GCC" "$LINENO" 5 fi # Extract the first word of "gcov", so it can be a program name with args. set dummy gcov; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GCOV+:} false; then : $as_echo_n "(cached) " >&6 else case $GCOV in [\\/]* | ?:[\\/]*) ac_cv_path_GCOV="$GCOV" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GCOV="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GCOV" && ac_cv_path_GCOV="no" ;; esac fi GCOV=$ac_cv_path_GCOV if test -n "$GCOV"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 $as_echo "$GCOV" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$GCOV" = "no" ; then as_fn_error $? "gcov tool is not available" "$LINENO" 5 fi # Extract the first word of "lcov", so it can be a program name with args. set dummy lcov; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_LCOV+:} false; then : $as_echo_n "(cached) " >&6 else case $LCOV in [\\/]* | ?:[\\/]*) ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no" ;; esac fi LCOV=$ac_cv_path_LCOV if test -n "$LCOV"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 $as_echo "$LCOV" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$LCOV" = "no" ; then as_fn_error $? "lcov tool is not installed" "$LINENO" 5 fi # Extract the first word of "genhtml", so it can be a program name with args. set dummy genhtml; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GENHTML+:} false; then : $as_echo_n "(cached) " >&6 else case $GENHTML in [\\/]* | ?:[\\/]*) ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no" ;; esac fi GENHTML=$ac_cv_path_GENHTML if test -n "$GENHTML"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5 $as_echo "$GENHTML" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$GENHTML" = "no" ; then as_fn_error $? "lcov's genhtml tool is not installed" "$LINENO" 5 fi CFLAGS="$CFLAGS -O0 -g -fprofile-arcs -ftest-coverage" LDFLAGS="$LDFLAGS -lgcov" fi if test "$enable_coverage" = "yes"; then WITH_COVERAGE_TRUE= WITH_COVERAGE_FALSE='#' else WITH_COVERAGE_TRUE='#' WITH_COVERAGE_FALSE= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug mode" >&5 $as_echo_n "checking for debug mode... " >&6; } # Check whether --enable-debug was given. if test "${enable_debug+set}" = set; then : enableval=$enable_debug; fi if test "$enable_debug" != "no"; then cat >>confdefs.h <<_ACEOF #define WITH_DEBUG 1 _ACEOF cat >>confdefs.h <<_ACEOF #define _DEBUG 1 _ACEOF CFLAGS="$CFLAGS -g" fi if test "$enable_debug" = "yes"; then debug_status="yes" CFLAGS="$CFLAGS -O0" elif test "$enable_debug" = "no"; then debug_status="no" CFLAGS="$CFLAGS -O2" cat >>confdefs.h <<_ACEOF #define G_DISABLE_ASSERT 1 _ACEOF else debug_status="default" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug_status" >&5 $as_echo "$debug_status" >&6; } if test "$GCC" = "yes"; then CFLAGS="$CFLAGS \ -Wall -Wmissing-declarations \ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ -Wdeclaration-after-statement -Wformat=2 -Winit-self \ -Waggregate-return -Wmissing-format-attribute" for option in -Wmissing-include-dirs -Wundef; do SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $option" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5 $as_echo_n "checking whether gcc understands $option... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : has_option=yes else has_option=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 $as_echo "$has_option" >&6; } if test $has_option = no; then CFLAGS="$SAVE_CFLAGS" fi done # Only add this when optimizing is enabled (default) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether optimization is enabled" >&5 $as_echo_n "checking whether optimization is enabled... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if __OPTIMIZE__ == 0 #error No optimization #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : has_optimization=yes else has_optimization=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $has_optimization = yes; then CFLAGS="$CFLAGS -Wp,-D_FORTIFY_SOURCE=2" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, fortifying source" >&5 $as_echo "yes, fortifying source" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, not fortifying source" >&5 $as_echo "no, not fortifying source" >&6; } fi fi # Check whether --enable-strict was given. if test "${enable_strict+set}" = set; then : enableval=$enable_strict; fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking build strict" >&5 $as_echo_n "checking build strict... " >&6; } if test "$enable_strict" = "yes"; then CFLAGS="$CFLAGS -Werror \ -DG_DISABLE_DEPRECATED" TEST_MODE="thorough" else CFLAGS="$CFLAGS -Wno-error" TEST_MODE="quick" enable_strict="no" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_strict" >&5 $as_echo "$enable_strict" >&6; } # ------------------------------------------------------------------------------ # Results privatedir='${libdir}/realmd' cachedir='${localstatedir}/cache/realmd' ac_config_files="$ac_config_files Makefile build/Makefile dbus/Makefile doc/Makefile doc/internals/Makefile doc/manual/Makefile doc/website/Makefile doc/version.xml po/Makefile.in po/Makefile service/Makefile tests/Makefile tools/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi ac_config_commands="$ac_config_commands po/stamp-it" if test -z "${WITH_SYSTEMD_TRUE}" && test -z "${WITH_SYSTEMD_FALSE}"; then as_fn_error $? "conditional \"WITH_SYSTEMD\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_DOC_TRUE}" && test -z "${ENABLE_DOC_FALSE}"; then as_fn_error $? "conditional \"ENABLE_DOC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${WITH_COVERAGE_TRUE}" && test -z "${WITH_COVERAGE_FALSE}"; then as_fn_error $? "conditional \"WITH_COVERAGE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by realmd $as_me 0.15.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ realmd config.status 0.15.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;; "dbus/Makefile") CONFIG_FILES="$CONFIG_FILES dbus/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "doc/internals/Makefile") CONFIG_FILES="$CONFIG_FILES doc/internals/Makefile" ;; "doc/manual/Makefile") CONFIG_FILES="$CONFIG_FILES doc/manual/Makefile" ;; "doc/website/Makefile") CONFIG_FILES="$CONFIG_FILES doc/website/Makefile" ;; "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; "service/Makefile") CONFIG_FILES="$CONFIG_FILES service/Makefile" ;; "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; "po/stamp-it":C) if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 fi rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" >"po/stamp-it.tmp" sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r po/POTFILES } ' "po/Makefile.in" >"po/Makefile" rm -f "po/Makefile.tmp" mv "po/stamp-it.tmp" "po/stamp-it" ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi echo echo "CFLAGS: $CFLAGS" echo echo "OPTIONS:" echo " Debug: $debug_status" echo " Coverage: $enable_coverage" echo " Strict: $enable_strict" echo " Documentation: $enable_doc" echo echo "OPTIONAL DEPENDENCIES:" echo " systemd unit dir: $with_systemd_unit_dir" echo " systemd journal: $with_systemd_journal" echo realmd-0.15.0/aclocal.m40000664000175000017500000017510512263026710014677 0ustar00stefstef00000000000000# generated automatically by aclocal 1.13.4 -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003,2004 Red Hat, Inc. # # This file is free software, distributed under the terms of the GNU # General Public License. As a special exception to the GNU General # Public License, this file may be distributed as part of a program # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # # Macro to add for using GNU gettext. # Ulrich Drepper , 1995, 1996 # # Modified to never use included libintl. # Owen Taylor , 12/15/1998 # # Major rework to remove unused code # Owen Taylor , 12/11/2002 # # Added better handling of ALL_LINGUAS from GNU gettext version # written by Bruno Haible, Owen Taylor 5/30/3002 # # Modified to require ngettext # Matthias Clasen 08/06/2004 # # We need this here as well, since someone might use autoconf-2.5x # to configure GLib then an older version to configure a package # using AM_GLIB_GNU_GETTEXT AC_PREREQ(2.53) dnl dnl We go to great lengths to make sure that aclocal won't dnl try to pull in the installed version of these macros dnl when running aclocal in the glib directory. dnl m4_copy([AC_DEFUN],[glib_DEFUN]) m4_copy([AC_REQUIRE],[glib_REQUIRE]) dnl dnl At the end, if we're not within glib, we'll define the public dnl definitions in terms of our private definitions. dnl # GLIB_LC_MESSAGES #-------------------- glib_DEFUN([GLIB_LC_MESSAGES], [AC_CHECK_HEADERS([locale.h]) if test $ac_cv_header_locale_h = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) if test $am_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your file defines LC_MESSAGES.]) fi fi]) # GLIB_PATH_PROG_WITH_TEST #---------------------------- dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in /*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) # GLIB_WITH_NLS #----------------- glib_DEFUN([GLIB_WITH_NLS], dnl NLS is obligatory [USE_NLS=yes AC_SUBST(USE_NLS) gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= AC_CHECK_HEADER(libintl.h, [gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, [AC_TRY_LINK([ #include ], [return !ngettext ("","", 1)], gt_cv_func_ngettext_libc=yes, gt_cv_func_ngettext_libc=no) ]) if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return !dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CHECK_FUNCS(bind_textdomain_codeset) fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dgettext, gt_cv_func_dgettext_libintl=yes)])]) if test "$gt_cv_func_dgettext_libintl" != "yes" ; then AC_MSG_CHECKING([if -liconv is needed to use gettext]) AC_MSG_RESULT([]) AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv], :,-liconv)], :,-liconv) fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset AC_CHECK_FUNCS(bind_textdomain_codeset) LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then AC_DEFINE(HAVE_GETTEXT,1, [Define if the GNU gettext() function is already present or preinstalled.]) GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" AC_CHECK_FUNCS(dcgettext) MSGFMT_OPTS= AC_MSG_CHECKING([if msgfmt accepts -c]) GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) AC_SUBST(MSGFMT_OPTS) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [CATOBJEXT=.gmo DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share and dnl and CATOBJEXT=.gmo in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [CATOBJEXT=.gmo DATADIRNAME=share], [CATOBJEXT=.mo DATADIRNAME=lib]) ;; *-*-openbsd*) CATOBJEXT=.mo DATADIRNAME=share ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac]) LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi ]) if test "$gt_cv_have_gettext" = "yes" ; then AC_DEFINE(ENABLE_NLS, 1, [always defined to indicate that i18n is enabled]) fi dnl Test whether we really found GNU xgettext. if test "$XGETTEXT" != ":"; then dnl If it is not GNU xgettext we define it as : so that the dnl Makefiles still can work. if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else AC_MSG_RESULT( [found xgettext program is not GNU xgettext; ignore it]) XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po AC_OUTPUT_COMMANDS( [case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac]) dnl These rules are solely for the distribution goal. While doing this dnl we only have to keep exactly one list of the available catalogs dnl in configure.ac. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done dnl Make all variables we use known to autoconf. AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) AC_SUBST(DATADIRNAME) AC_SUBST(GMOFILES) AC_SUBST(INSTOBJEXT) AC_SUBST(INTLLIBS) AC_SUBST(PO_IN_DATADIR_TRUE) AC_SUBST(PO_IN_DATADIR_FALSE) AC_SUBST(POFILES) AC_SUBST(POSUB) ]) # AM_GLIB_GNU_GETTEXT # ------------------- # Do checks necessary for use of gettext. If a suitable implementation # of gettext is found in either in libintl or in the C library, # it will set INTLLIBS to the libraries needed for use of gettext # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() # on various variables needed by the Makefile.in.in installed by # glib-gettextize. dnl glib_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl GLIB_LC_MESSAGES GLIB_WITH_NLS if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) fi dnl Construct list of names of catalog files to be constructed. if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but ($top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ]) # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) # ------------------------------- # Define VARIABLE to the location where catalog files will # be installed by po/Makefile. glib_DEFUN([GLIB_DEFINE_LOCALEDIR], [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl glib_save_prefix="$prefix" glib_save_exec_prefix="$exec_prefix" glib_save_datarootdir="$datarootdir" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix datarootdir=`eval echo "${datarootdir}"` if test "x$CATOBJEXT" = "x.mo" ; then localedir=`eval echo "${libdir}/locale"` else localedir=`eval echo "${datadir}/locale"` fi prefix="$glib_save_prefix" exec_prefix="$glib_save_exec_prefix" datarootdir="$glib_save_datarootdir" AC_DEFINE_UNQUOTED($1, "$localedir", [Define the location where the catalogs will be installed]) ]) dnl dnl Now the definitions that aclocal will find dnl ifdef(glib_configure_ac,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) # # Create a temporary file with TEST-FILE as its contents and pass the # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with # 0 and perform ACTION-IF-FAIL for any other exit status. AC_DEFUN([GLIB_RUN_PROG], [cat >conftest.foo <<_ACEOF $2 _ACEOF if AC_RUN_LOG([$1 conftest.foo]); then m4_ifval([$3], [$3], [:]) m4_ifvaln([$4], [else $4])dnl echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD fi]) # nls.m4 serial 5 (gettext-0.18) dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE([nls], [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT([$USE_NLS]) AC_SUBST([USE_NLS]) ]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) # only at the first occurence in configure.ac, so if the first place # it's called might be skipped (such as if it is within an "if", you # have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])# PKG_CHECK_MODULES # PKG_INSTALLDIR(DIRECTORY) # ------------------------- # Substitutes the variable pkgconfigdir as the location where a module # should install pkg-config .pc files. By default the directory is # $libdir/pkgconfig, but the default can be changed by passing # DIRECTORY. The user can override through the --with-pkgconfigdir # parameter. AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([pkgconfigdir], [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, [with_pkgconfigdir=]pkg_default) AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ]) dnl PKG_INSTALLDIR # PKG_NOARCH_INSTALLDIR(DIRECTORY) # ------------------------- # Substitutes the variable noarch_pkgconfigdir as the location where a # module should install arch-independent pkg-config .pc files. By # default the directory is $datadir/pkgconfig, but the default can be # changed by passing DIRECTORY. The user can override through the # --with-noarch-pkgconfigdir parameter. AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([noarch-pkgconfigdir], [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, [with_noarch_pkgconfigdir=]pkg_default) AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ]) dnl PKG_NOARCH_INSTALLDIR # PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, # [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # ------------------------------------------- # Retrieves the value of the pkg-config variable for the given module. AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl _PKG_CONFIG([$1], [variable="][$3]["], [$2]) AS_VAR_COPY([$1], [pkg_cv_][$1]) AS_VAR_IF([$1], [""], [$5], [$4])dnl ])# PKG_CHECK_VAR # Copyright (C) 2002-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.13' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.13.4], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.13.4])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAINTAINER_MODE([DEFAULT-MODE]) # ---------------------------------- # Control maintainer-specific portions of Makefiles. # Default is to disable them, unless 'enable' is passed literally. # For symmetry, 'disable' may be passed as well. Anyway, the user # can override the default with the --enable/--disable switch. AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), [enable], [m4_define([am_maintainer_other], [disable])], [disable], [m4_define([am_maintainer_other], [enable])], [m4_define([am_maintainer_other], [enable]) m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE([maintainer-mode], [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], am_maintainer_other[ make rules and dependencies not useful (and sometimes confusing) to the casual installer])], [USE_MAINTAINER_MODE=$enableval], [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST([MAINT])dnl ] ) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Copyright (C) 1999-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_CC_C_O # -------------- # Like AC_PROG_CC_C_O, but changed for automake. AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl # FIXME: we rely on the cache variable name because # there is no other way. set dummy $CC am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o if test "$am_t" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi dnl Make sure AC_PROG_CC is never called again, or it will override our dnl setting of CC. m4_define([AC_PROG_CC], [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([build/m4/intltool.m4]) realmd-0.15.0/COPYING0000664000175000017500000006364112140455743014101 0ustar00stefstef00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it!realmd-0.15.0/depcomp0000755000175000017500000005601612177675036014430 0ustar00stefstef00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-2013 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: realmd-0.15.0/doc/0000775000175000017500000000000012263034130013566 5ustar00stefstef00000000000000realmd-0.15.0/doc/internals/0000775000175000017500000000000012263034131015566 5ustar00stefstef00000000000000realmd-0.15.0/doc/internals/docbook-params.xsl0000664000175000017500000000033612140455743021233 0ustar00stefstef00000000000000 0 0 realmd-0.15.0/doc/internals/discover-method.svg0000664000175000017500000003022212140455743021414 0ustar00stefstef00000000000000 image/svg+xmlDNS Realm Provider lookup_service(domain) Realm Kerberos {domain, kerberos-kdcs} Discover(domain, options) RealmKerberos object paths config file realmd-0.15.0/doc/internals/static/0000775000175000017500000000000012140455743017067 5ustar00stefstef00000000000000realmd-0.15.0/doc/internals/static/join-method.png0000664000175000017500000007272012140455743022022 0ustar00stefstef00000000000000PNG  IHDR$X&sBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org< IDATxyxT{g¦("j$d2KֽѪնnU[[ϺץVjkֺV;(* d2,ྱ"l,31ey?ϓr瞹d{9Uc1c9c1c1fgc1cL`1c1Ƙ`c1c1c1c: 1c1tc1c,6c1!Xl1c1Cc1cL`1c1Ƙ`c1c1c1c: 1c1tc1c,6c1!Xl1c1Cc1cL`1c1Ƙ`c1c1c1c: 1c1tc1c,6c1!Xl1c1Cc1cL`1c1Ƙ`c1c1c1c: 1c1tc1c,6c1!Xl1c1Cc1cLmc1c̖Y@^{liR{7c1ƘQYnie+Xl1c1[?йmnsO>nFc1c1C`c1MDNH{ŴTWEUk,6c1jА}8ጳ-M<=u.]ܧaL{c1l׳/ 㟎}tq{7Øvcs1c1tc1c,6c1!Xl1c1Cc1cL`1c1Ƙ`c1c1c1c: 1c1tn1 DRRSbvA]WWW0cc0˥1bv-3}_{{c1`cIOO:`w˗k/w31l1c1Ƙ`c1c1c1c: 1c1tc1c,6c1!Xl1c1Cc1cLmc1f! :.'xf?8x"m\|[ ߾-uc1a=cLBg)@a_ t:kDm;3o+(ێ6HcB#|T_ F_$f1uci[7UD®/:xPwK6i>oE٧2r;η1v;vk1Ƙb&n55άYSWEP(}Æ4gmUYYY][Թ= ;ZEΝ[ٕ:ʵuMU~WYP5*ӖOcڂ/JwVDߴ_^E$Vݞ:v}_ڭEcg)8U|v$h[3Wj3f0p{7.Vzԓ :ת 5wHIMz P{gWV?KZͯR:ux۳ԇ[s'ۻ=ͥGݟKZ߳ڻ=4 K@`0"q]b\O*KJTž@(M|X-5&3335sx~g~tfϞ]| "B^_F=L8TmVG ڊHK?#5u9sҢ"gՁ.|_?5-UD}ЧW#@|:DDFCW2-dvTS3zWTr_ pdJ]ݻeeeߵًڍ}\#^{o+/cӻO? t" BۺƘ]1kDeJ//iS~.vnoDġ64[v~N.x,qWW62GeTolӈ'p⟱ иP?xS稻U0^I/7y@`P ,Baۦ]ڥ2**n'=c:9#[ruoeGT&ϳI޷CuLKIv]>:?/\s2Óin PЊļ s?x5 ৢ T,B n\6u59Ub4[/;n>ަ?U}wԷ^oV<-&*"mLc.f]9mQgyHxdY{[|¾%>r#EȌH[Ϙw=T$nx%WG#+JJ^mmI]*Q@ lpLr_ Q./+Bo; D|~̿PU9? ?-_ts}<4_],D7mS?d(⾌ꐏ+8y6SK['ЊH- w0P*af @e9ƿ"uT?(^mF8~x<Ƙ122c"0fj&5,,쒪\ZjnӘ Gk~L}N0x"Չ&cÅ'5U⫁ ?jE홙ũ]}Ha?lviiq"QU%@EUN.;t)/Dapo$>uHQvW{eIv}TEMD&nj\?e233#ݎ@قPUDki󭈄?ß%A.?hל`~ޤ.P("%%wk1vcNGs/)Φ=SV5.'H^V?d9;|due$сBR@"_e7'eCͯzʚ 'BOv.|@O&TDJnlhG08Q (Ef ֬[HdLyyc~)0 e2z@A#nd ET4?1x>3I{hғR;ʤ٥Msaxj㦤,SDDvX9s<%ds-_ꑞp k%3]< s^^ un?&܄R$"5N]cCU| wzFFWU##VjRHIMm-Ujtcjkqc.:oN:L% @2I=t(tڬpxf}yANWHX%) 볃,`>.vdQQѨ7p*x<\f*sDnDavN?t< 2YT>P\vVOi< [|0X27B#+iN3 hG=ׂ.Y plA^ߧ}^m<)/<9MӲ+#_xi~:||P@าHdF}gXϟgө8ō11Ѿ)&>7Fzג=TUg(8-0JduߡSrssM -ڬ/F/L" EAɵ%EI u׳o|P5Bc{lj뎶ܓ)/mvΘC9sֽIJ \>Nɬ[2vcȃ8l5x):kV8S$ȧ {w_cԪ4W{o 0N:<Ӥ?n=_}7aJM}nչ1ۯC}Ryppbf{|%(8.-< &*7YJE';z$OPB=[z7Nd=<D@""y;V;7à(U<r/n$o#OA'Z\XD'pS|Q!5ڣxB`ppL~G<%BÓ^om'Cy}\nCXS7~`fffjjnrVBwpZE7S%w ^T+JK7gG ΛA|6qWG8ڳo|6l\:$1_Ls`jWxFZh,(xȟ.h*gWm=9 W|MqB87E=7h""{539>KKKWdw+ʙן .&qE(,64g#S*Q5@_ F jkjSVʻoW q6y$zǩO.|4gjzOsDjue1C8,3,bNy)N_d7g響l_xzΝ9o -_Ɣp-pڹrE__U3uJþ#e6f#`m7>?0/@EIɃ(_^p 9R{V8\Yr*T^advM^jEΠ/L2eJf#@ȭgUڪ|/!rciMUP'ZxogV;h<u 4&ݫQ*ޙ kVbGsU7p pi?;fȰ|'./m(rx-:uJ;~L'r~ONp,ήhq_x_~F~)\u7>g`-V&+W,g %5zνGgW}ի6Ύz}O3y;~~UmcLtXМĿPyiM}Ӣ ti*n]~.lv=bב -7{j]G7>%3Ҥ&Zĉ5+Jok>TL]KIҥok^#B&'6G"d~8UFTF80%z5%K M U98~j6/5 W",4yݕpx3Z Ml@gdV8`i>2I6m'ZNjeļ3g.ev/./)1H ^28;teIIfbUUgwۘvKI(V_)EK边cM_x`^{={Xf5VWcO֯k(ƠS7_mnZ/]Bzz:V| m۷77xL{Z~ݦm1ƴ^Fs.nuiUj]nbNSSO[r=|Sq@|fjAeQPы`"|۷2'V#0oMM}hk~o֯&y}N@eȌZ}UzЙ@6"W+n/ gZ:sG9$MX6U%A_֧L_M"6f/ߗʒ)Prk\Hv /?H{Kj&@4xY/\}U7@ ~3g"=0 d~7)y"pSlo\ ? ?פ=;?IyX_ l=w"]F`dAAW {]ݛ/){*E˹+:`U+Ϥ3vMZW}X:>M>=#y]"@Wн{|ߵܗd1fzUmW>nGEIu>" ʂwm8z0\ *#%_op̓zėQ֎M-ІL UcE7cvIɒlpx\kfX*IVh_Ikn8=4ш%u<ȨmI ʉg M:\Dl'=ӛ pD{%=)d7'W]XXMեw<]ۀF6vVbLb(vӓ7@vIcLkk\0, `xSxQ@:@>0 >0 ^ yb1}]ћ|ߔoc.ۑ"RB?i=MI &RHtڑmhIO^7Uƀ|Ƥ : ęlgzsg{ș7MQt2~̒gXnO</>={s/f~#ܹ+TߝX4Q|V\ IDAT&>w^<&J;lrjJJmƘcB@OD u6UИMVnJcڂC|86@UDi6|77w\?6. m1G5;?';bVeUu3<_.Z+O6,nFQojrʪHk_ 8eC$z ١ 5-2eJiE&Sx沐&XHUUtpB9ӧ_Y~f;CP:j~-|6qb )DxPTD WUF¿L£JTMVD«'?$@d V~'P X!"KP7Ec5N4!UEm[UNGt"tOOoY!q1յ(*[T$Ꝧ$ҜQ9QO," 4i2% ehogX;| W!,W8CEG VhTTO?*mFDE0b;UDknx:Ša& >=X.իx#>Oj ,7>wSI׳0fW{8Neiϻ1oi1փ\8nPGl~E$(5c̖W$8:)y7].L|h -cًcW_nfP[W#|ɇwoyod /ƈG1p+wquJ9|>;* noW=wvH8\pF qdYLˊq~H9D%V>4b̙3nؐ htEV 0yc%%233tr("C,UYXPW.G_q[庲4Ȃw:j6$⬃Gd/GwxʺwNk`ՖI;E?'}ޭ<[vY0/?#ʕ?-{ɐzCrM2l8y/^ﮛUsO>T7ݖzm")FDpSj6,@✏]ncwzS |#ߎ(+ _HO&"8ē@ml:$ZUwqDUu<ڭ&' JJdj:gd9cN;%!" 2)>J!xH,<^$uⶏFɼ9sޛ;AEI_ teف+#ůwvpf[="HlBGWNmGK_Dy=-6ƘM&H95UBybE$if]ph^F<mFiTo 9VVV,$3C1è$k۹= %pmYkvbS^Ïj?p0$_~1ΛÈGms`ْPRpB4ew;̞%K~dn0ϧ·mTJ`li&+++q)/-~-IqfVl҅YY(Q:I^Vդ MQ8V_<+"QmkkS'Ƈ?;&u,_~1Szm^~-4Rp"c)1+f@}^U?I{l @+$HŌ}y0ݶśO]^Bt.6x*UN:qD^}8vy{.gvei;;Lt,p#fӻJ,6쩔 9c:ARqWU큃\q3ېYIލiK֭tTV~n:{oGs*8t|Gf1fO1fRG 8iW՛:3JKKW=Wljh:w?ߋ<-X?~&nԞ]N䎹SSS5oj=mVXXiڵieee5UDQP9w)$۟$WD .HU_χTѥ :}h]-9\vM,we?c7 xlFfn٬Kb&zq`c̞fڗ@gW{qD<pN0xJU8w@/Z zoNL2%ڸV_ pȝ xSgs T*/ \ '@@qE$|Z-" ^ CsU *ě:&uCM/'o]/Z7e̙ tus9QD/,/)P=777%I=Ma8T/Z7r̙K SQ> 7(pqxBSwR7;/x1M ׽nhEEE=GFBy?q6tT-_}wİ;oQWU:)>n>#?̴^ߪxެr~VZc&*_npgqhXBFUҀ>"\JD/ae}cyS២\JN tyy$|~& m- 7]Du_> 8Sp#%@wQy=W~\@+(/8Ӏ>D]WGѹʾ(}\WcӺzӊQ)ׁQ'y%>J6\}R[7{nHA pJT)N[lo = Q*]\j1f|rC|y*]IMVQV*6ۊ\ ;;3Hmsx9huyϘ~CB)>D4߮+QPgiuyWx ,[ n,כOeLaMGj7y"+uIIMcGr?eAMW8G#L{uj7Ыo~J5cO=3i`]~=ΛUӭ{}e5}K.] >뫪ҭ;qtOmz=ͮq?:fȾ3d7~?l8C o릙f,6cv6eyM Fh_޲zC-͏/*0p{3!xڥۉ( 8-;egvɣ#3"9JW2\Ĭ\:|K*KTd+Tms%MӦ0o< `o V,_N{vj?G _xx* NX4KS/77&Bպulbɼ9wꏩ݉0aS =_:wN申~ƪW2e^xQ ۯŐRq-lذcN$ciLK.?+O_ɚWL]msK:i_}7~g_hcfYl1uDE}lSԑV-Ln3>'.<<^ q)lƄڲ'"0Rݻ;޳gOӠ`ZKJOKR/iծ#yȽ,_Šu@^DFݢ%EKÎ-ٚK {"c*߻"@AXd~7*;ȑ<<*<$UϘyCJN'lbSEXDDr";/&#mM\Cma]c|=_OӰ^dɂK~^ 9`t>>t{y(mWSVߏ`^fXn`z#ѽwn޾={]_i*00O;4W`2&/WT1zә?{{$׸V """ T\\\a}a𱛝?{dŴ֫pL^Pk 70'_=ӆIʥK^=MLg  n}b70ۀ)?!f#+ś `'f$V[MjXGz LM34 K.0K00(6ĸGl_/ (ad[o | (us8inLL{7Q6~;IxIlOĚKذz%'ck}-=JvlM`ғ㰕3ܣ7xxzRTX3YzzzT{ݠjh̜%A!\v4oo?=<_;3hlҸ,b4G MØAo=<֮] b&xi>:^4i>h`W/]2kL3&_Z-W XjɒwLü04 0O~ފE+,i`~`41 ~0Mnf[Wm7cKh.F6/5gEaa!>R[ ̢ .շIh޺-Q1xٺٙ- `bY?гz(uBtVG E H=Y1ګ`"vo3|OFNOÖӼy6}X7&66R7PwS].ygϞ/ ð5H?~iE >x,Q#7ǢQz Oeƶ#K||ثW0jfi[J¢EU_ 1kll &&zGuϪ%K~=UK/CV =zVyV{}Iܐj/xq"*+-Ĭ4 901p+[7g-MCV~tݪqM#D^ArllR-@zj E4mJ+6r췈8 bYq UP][ENmٲe{kzk1M<,_q3ԭ?/pv;EBB`mnf)I@y@--UY[RK5+394:l-?|G]:EEDD4ht0jø4\{ƻQ#|Z@Xdy9,[=)?_0ٵw,[6eԯ((#<2[7g~S2ӫ Tِ_+iن˗Kn=X8IetRt: 8۲k["'N!(-n2l\uw;/=æ5+Yh>;v(lHS[zxML2g$חG'WLfxV׏sG]Kv\2B2ҘLQ9yPpWx;,{3HKNf'jV[i:PNޞ bs^j06čHܸ6Neܳͩ~2}Ynqz=,""" 34Rn&Ұ4 OS\TH΁, ?0w7e׏!=- 8 8kPx ~2jf2ǹն5hVMN=⛔JHOKIXUxEFKoCvV&!5rsbXMDz """Ҡ'9xzyWYTu=`5+tf$.|4#.\'xgL[FfY͢yx{{P\Tsײ|z tZ$o߆aw?4asr1CV;z =-߼""""HOEDNw]\RBv~v;VwbZu'WlҺ}',wv8}u9{(ZiG6!01Y5;ۛJh_ ru< `ýҵivuCοб^$u߲75J(_jF%[0>~Wn^+];X0{Fk}cn%"""RWEDNP\v ɊX=^=8΅W]_1 }8+-7HCMDDNP^\=.x rs*4))k4];pZ*'NJEDDDKXDֹG/z=ܜlJm׏5˗Qw_~[6`&*ݳ;?]X_G_HR9]yX||Xp>92+(+-eذf%$ʬiojb^D7ong75̌t?|_r%wl%#|.sU7h۩ ~[ R<==yɇ*.4,ko*j̝,7;P_rMy,];wh.~ X',"""Ґ0';Ч3y9mO؄Fm>j?1M" 1Cy$Njr4iN09 ? kG@POF# IX2{vQ` fuMNJmlO؄'-۴4va~>I;׈f[Vj>@Zn WW]x ,"""' `nS9yh `q """"""EDDDDD%(KP,"""""".AXD,;'?RDDDDH=(p!0r=÷_ #WY-H޹YuvHXD' =5]ƅW^DDDDN: ""NVϤ'b$1QovvI""""'% qeEE8vnsGr il\>IdtsZnKLU.m&^^>̦X"Vm;kJee$nMӪ {׷SSؼn5) yj ooJw`ԅ6}{yŵ8$dM&'KdtsN FU~+k'skOdtsͪg"""JyGٱe3>+o{Ծ)Lye&lÓF7'Lds}ݕBLQ@ ^^Z) :> O/Jhݏ=CXDngS jL~~%E6 >CDT†|;\uXg{&<"(-14L$ 0" ;i23yHOMۛbL&س4i_:DDD(8Ai7-̡n ènWc׶DF^q-/՝<>uΝѷxJqQ!?猼n?ҸqׯϽ1aQdrB>{5|fsf2k7j =аLd_|y| 1a|:SS8:bCPR\¹Gk/ߎXDKOa ևw xvmKGF\v ֊pMw=@pP͛ܜ_dGT\zt8ȨJۛ=x-˛ kٳ; >O/n{1G(5 ؁9{E}׳yj  exzy쟾bp˽;/@}9 w_8oߚbaO/yuzѱX[\XPP||j``0Ƶs\\VAj_QPi{xVzӪ-c=AMXr9eڶG_| E+{DDDyzyG? ~ů?|WOH0õГ#(| gCY+7HVwNҝnoMIx$%kZODDDN^ ""Nڄ?>`eJ:w ?}sYdߚڴnEE~51ڔoxyZåIaS؛V6o//o%l"+3J҅h{ʩdMcִoϯ۟@AaOEDDDQiڴ4M>xu"%:JhX1 ;_Ȕ^Vc2 _&RmSϣ}.4i/\p e3[JI[=7SeӺU5o#R5)׭ӱ{0ⲫ+ϓi=2=ذj9V;-*h HP$䷟ڳo7=~5OiEPq5_EHGnN6A!\y^sKڟs~.!Ysr`~.x2›ESX4||| )7 ܃݃fwޏ160쒦?,"RWr\ӟEDDh:crnfq%aj@)IDAT=iqv="""0(@ x{a`8g?^alE6Uyj~1..)) F=.ƗaM{qqsi~ZDDguv"r\Fhnqsv!r\F+ժ_Y=Zv/zаk}BXd3Z\͇hKOuAX,>jM RY/gq\ų76[ >ԯT#EDvh,9))ȑEDDDDD%(KP,"""""".AXDDDDDD\`q """""".@DN|1t(C8Z=siծrv9rٽs;[6!AKTL ~\|uvߤ$l\KA^>i~}|yŵ1)LE?[č}&$ WZqJ^}ee{3[gx%v;>~m6~1 ""rRRʺ˘Ň<:M=<]H% f^Vư /-  no͖k9U̘{n /ѡK7f~-Եo稡veS9ԅ=q!Η'_aJuwKH544Ra z_?҇),;7ʔoϟ㸇a 6oyg×;^p3xH{=>O>RSxe ; =]w8+ϙ1O<e7!<2zyuw|v; f`ڗS*}X=~e\ph 8""" ԉ^{LǞ#E+IƱk["͙GÎ}&Mx;~.={>i{S=uSx 6;sL kS}0++-嵧dzck}I())bɟX,Wqc:aQ\2f4'@&3gĸg_qoܿ㞤qhoOcެ8it9-Ndts=2rc iBDTQՉ,_f1yu7f3u ױ8o?0^2+~[⢫o$<2ҙ[:1EDDAXDj],^03nל_ص-כF4#,2g.={f̡̚ }/^n !w[݁Bi.7A^}vĶ-ٺy={STeZnqz=qCn$lXKʮ4k޲:Eq ck= {v\?LVvnc٢ cxKXDaQ|BS]> PΊ%au'9lہ>|胗c?u oMxh12cOʪ̩_}^tNS:2X0g&/2DRTPƱ?#1?B=*/_FTym6nن]I޹g 0 /VK5`ȰǞ㽩V 77*ޔU^H*]v~8*mcϽON-R rC à,]8XCDUxڿ_վnRL.={WYwYqU-+ⱕӳ*X?LEVo5[z,"f#eN~z'=5lX]5<75- CnlZVӱ"Pg#q3w$,25&'s;ٙ؊m}{يoS&?M+֎d~4"J[XdT7*V9V2W;֑}()o&ݧݬVbZf]ֲ5[= T=[jUKzDDD `5_)I;G*-9y9VVO}.֮bѼx{5y 7_|['>>yS_pIۡͯ*7X9x{c ?0Uڼ!s|z_`ڲ?<ϛft~*viE֤&'q2|޾,]4//oN?법xHsgK*mϲlQթQyMy<==).*VZ}}Cra;}V\>?pv>\qQa\>S+?Wm""" Ԛܘ;/?#/Ҥ)i)iZGmoYN!y 9'GJږHfF:-Z1Ui?:̪Orsʟ剡8_`pcrssWl usʯ}_ZZ߳^޴lס+""R Ԛ]m]td׶DJ}[7NҎT|h3`9?wjrM#Lۓ®m寱USSXXiێ- cW]) CPFe}øۮeִo)mˆՎ~ QҪF8u*m{Sٞ^nQ=~e|XG/"")H3 G@p0sgm^|%_ؤkWcyk1Ix$OkXyKa-2N?k.o?ګaQdϊ0z]StsWg a,EO/J;j5bJKXt1i)X=|HVm,nu삗OFPHKg]{0ⲫ9}yLl U?(N6h[iױ ~4V@ێy͏ږH܂)2t_:DDD0ͪkDa2 g Ϧޓ̆+xe8b{qv9 һ/?˧o ?ٵԄ+o팻?RN('N`咅 tԩSeú iZDDħ5"rB().w_0 >"'R>{u^z~2V9??-`XqR"""'&Mm$mʜCϣy.KNYf5 y 1ڐ?ӿB^AzCy0qPqwU~k>1NH~x:_Ļu\X, 6QDDDNL "Ҡ]yXJjъ]HfCO7=wGpH"EDDDNH "ҠoKqаpB]IA`KP,"""""".AXDDDDDD\-rٰjѣlήC[4]G9wm[69iRv*""Rk =Iq!sl3M-gQa:8if,"""""".AXDDDDDD\`q """"""EDDDDD%(KP,"""""".AXDDDDDD\`q """"""EDDDDD%(KP,"""""".AXDDDDDD\`q """"""EDDDDD%(KP,"""""".AXDDDDDD\`q """"""EDDDDD%(KP,"""""".fBzHIENDB`realmd-0.15.0/doc/internals/static/discover-method.png0000664000175000017500000011314112140455743022672 0ustar00stefstef00000000000000PNG  IHDRYCsBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org< IDATxy|TsgvP@!&3P*V֪]]֭ZvZ.jK]b[T!BuAQQ-ǝ`6 @@׋W]Ͻ3>swDDDDDD0.G,R%"""""R@ DDDDDD HAH)) Y"""""" KDDDDDd,R%"""""R@ DDDDDD HAH)) Y"""""" KDDDDDd,R%"""""R@ DDDDDD HAH)) Y"""""" KDDDDDd,R%"""""R@ DDDDDD HAH)) Y"""""" KDDDDDd,wwDD݅錂,֥J{Ae]7^[ DDd KDyW-=֣!]sqo.ȚOH)) Y"""""" KDDDDDd,R%"""""R@ DDDDDD HAHŻ""ar̛;1dǝ8h0/̨g 1dM.^̐wfvx~4VqpĘL.LYE3$e) -Y]~!oyÏ>-73w?NCpeܷ8/7_wWrJ~?U݈ȶCVh¿9o>sܸ3n|%ңgMߧ?̼or)gݠh8eKSޞlMdl5Op*I~),=q /\=S?I+""5Q j -]-]B˭>Y}455PoqZ}JK l}nDDDtz%"EOgu?}<>}ݧͲޚ=f%1t]8n#S߼Ҟo浗_٫G~$w&A,ƔIXljEE? N=\~r7-~V3Ü^G)4O;~#3Y<$f{ӵ?$^T#rҙ__Bz,Z}ꦰdBeHvG{B?-,.x{bA9b1L?>+/<ϥ?(suS?9̘cdْ%TO7w[^9_tm755xB71*I??cgН'ݷc#4d{1.YE p'=Ox/bzX3/Μ/C˒E injZ13gFVswo{m~rrRɾIJK>$ }U> 63R(YoΣp*~gǞ@hll]ňCRsı'pwFm^9  b<wc}01dz^^2o}-Fy4Xvw݁~DrGw7~`ggz53CXsȊOz'?\mxc>>RO:dywg\`g ƞt:9m,=V7?:gj`0<ݠ|0]iu':9<;m2١M)gcn2l z%"2oyx0xɏu]͵^ߧO_/_g^<922}by;:7;'+:9v7^Y#""(Y%гWu.{ Qa^;LìԢtHbC7jݷ0}J\,|U$MBAHy>mdpT(- 05j9(Hu\XLUlTC1WYl:~,^ >_nH G4wmrfA{m"""_ÐB^aެfr߽ƫnkkmiSG 9Zj-xqRk^t@dwoz^DDdk KDd>~5O7T62}K0f)ȦbV% ;=Qӣ,[%2xNkVwo@zǼN VQT\:3|Z0 yo\X^lqqoаu/-""MzݧovuM[uV3GC{&؜ `vd|M|q+/쯝v!7<;;4)"" KD#_.rgo@/[JsS ]H|T)?p;舘ȫ/  vew*FNQqqwQDD#EA6 Ũu8|i0bR%"""""R@ DDDDDD HAH)) em b.tѫ/EY+s.H1\nfeYܚr_rtFAVvw׻"""!) Y"""""" KDDDDDd,R%"""""R@ DDDDDD HAH)) Y"""""" KDDDDDd,2w2HYvKN?goRH{ DDfXǢs\xn""[ w_¢)> DD.hD\PDd+bf= \"H"""ҎdlE}ZwsEDDD: KDd볶@JAH7SsA͚{wCDDDʸJNf-@A֩ *(""PsA5웟׍E< {pIz%""P%"w n""[)3+v<"""wwDDdø{=eMl̬p^w ѯ}DDDH Dddf;g] +W_..Ț(mRKzv{.tK?G@Al>YeU`S7gLNwgKH+Iuk[vDeFca0cꤗ6O +J.L&˳9ir .&7qtwyK$GuLSwG>zFRĘ9-yes2AaMjR-]H&Ou??(\?nwܸqYХNAI|af6rMo $cƌىvu1gՄ V$齀//id2w]w]~v->cǖcZޝر%%,Xv Vׯ=sy9+G.\|̙]]'LfVt[jC˓NKA+ƍ4wv]9cƌ/]Wmme3uπD6RyyyQciio?mڴnʲuU"}겙M@dcKbKw:Q^^޳f̘+˛N*5m9r;`EmmmжЏr.{`f]z6Ԩ>}ga8GOkoX:=0|yCW?5B= ,pZ"I]6Io>`dm%^yܜ׷Fi[}vDeo0?̮VS}ٚLEhLnu;{zU}?X-7;4&gl򢰨bܿF9 ˗^H#3r,񣺚! Z͍kkk;$Jn7LfN\dEozH6;3ٷڔ%Y&^c( aGf>O"pn]6s[Z=g0. \\Qͬ5f̘ N! 6:gߺryyaxScMgיi΍&gnQYon< mڗ v%j߾z3LsS؋x4xh\sP" B39FݔTQQKsX 4/_efwWe3H#aN`)Fp´tЯ4gܽSM}u`[VYu⹦?7c"`=o^gXTr_61`Y7khu̽nXvf|B>#`Yef~wիd%w#> 69qAmuJT*k2`xY_SӦk"3p6fuosŴə[RUU޸'U/+&7.I$}Yk Doz6F]6QɟJ& .>RIn`cK,Xt1y`w ^txiɥ\UO0fw~gX `ix`mmm8#+ l7F&;W['(//+*œ/oOUO>@NT pim&\eX=벙6&ܷz/l7gםʛo-ze3mnקYW1!oJI̘Z=3: G-cXϷ~H+Я;(ѱ+ⱟ˒-?<n!Bs[SDUM絿I$ӧ..3N:gl}Ha}S&>MQoM iLfn1 g,,ig[Zf nq |>rk{m$R xcon ޸/L} .1|KNM$7 t27ˌcSmd [q5xh'Ra(|^p‡ ?cƌ/^4p%þbؿ9%ynD:]ֲ|ciibήa`~nܐH ,6E;G`;+*FHw%X٥`LL-1ol8cD2 w;?9\˝aȰtz`WH+s`'Kv+oۍTu>Q݀_'V-O8>?{1:d Ћ[6L& M 00հ/fߕZ~ɱ=Ho|]6x 1[d]*S wܿb<~lt딥R e/17;˒ֵqV8i3!f֧5}0妼'P7I@M"~N$NaY,fr Vg,Q}c^rՄ~-˛Ynw/7k~ l.OXT> qkǬѲLyyyQ.^_+cEl&W{Hu"}DbCְ1cz<Ɏ}~op+ou+1E!ø8\h0X~~14GrSD2 s|lh|`yC)| \afW=8=t72(<:LdZcGӶ5q(QE1czÙOQʒL3$pƈd wZ:pؖW C^*Kn؁ ~`eW./0{̾_QQq)SNp4,//c0VYs=#+G BҎ~d*w' 6Ո{TF0.{MŋePνӧd?jxe1payU-ճ+*F] ~XO-g||6 1z IDATжp /1'WLs\.(kve7J{m]L2'ږ]t'gix+G&buʝ(tqkW7NTUQ綮겙%dz*Z(iy Y"=/@t^ޟ6mZ=~%겙-,z_ߺLf~la4swvD yKL)s]q HGu7?1UU{9hı[:'RxDm`:u|Юiߤi-ѱѻ[56O̓mފS2)R.gᱣ۷oe^36O{׷drdd--&~RM.?TQ - G/f?W^^޳zqcV91em?y~%=էwRC:'R@Qwuz6{7ƛ`ɖ7ZuQ{W״Dzʪqq)lL벙?k lpcOܳ;VSÖi@) ]hf-:5 :s_.ov|׈A}sث"5XaBK0yk^ZY?8aY*Ah{f엏j:32rg8YFǛ|ۆnț'6[|;&R?ۃ)pfusQs|yъUf7 vp:=xpͨ~od2/cK$mr< k"oq0O0Xn]MZ{bu-3ޠ'?yiޡ>mpjuaXܶP6Kp煎=lpu9ff%Cal(q䂘u %~ANi9ܼUdsئdQ'6|,ӛ xeÂD2=)J]к1c@^z{x:߯0]?5Dk睟1#MA>0wnxv8_nQkwX x̝3QP|-٦\'W΢7A,t`a7$CG& Ke'1If0gCu˻و @ߑx<2}vn|^KR[f+ʗNĚ~nQ~6Os9; xh34/L$O'Rӻ0-vk/ѢoпGNC{pW&ZkuxJvG9lkF ]oSLy'$8MaxA"zld|} @ꪨx.K=Y9̣~@aشlYҵL/߿ߴEum".%J8p! ԧKK -=WX i_Ox'h_;_yyyQYee7ޱ--|tgeZx'mD~٢mcoȿOZzHY*uxv'4nUaDEՉuSYtZ&444b2T[ ~WdFX7i45w55w:K?좳Ea㴊5rAbX=jj_JUY`t(㟄X kZyZS N!A[>7'ی^2evE HLiZ3H^2h??%}|̏+.-/}Li|yk;*o/^ٰnjc„ xy ߀TK5֥bŽE+K:|ol{a}m爛hXf>x9U1◻g vZcZfL529* \ /_DUnr`ڦD2=*jr[A_a;t6-ZwCr~ >`[}d2~0v) 1X@K֡9\~v$lh_9gʆCk{dhU{yܾ &l)CQC;2 wNCq mi7q! &}n6s?AOUU{9 Lr;QZ]D*}!0gϞC9 1Yǵog濎7Nw7}[|Fo[ZoRz`t.8-^t[&LXHs%+!St1Nn,-}gʆ;nܸغ{plMDXB@hD2#k̙b=ڴxq'ߡ|=tjUO[qСgJFoYV. KܓsLLM4,//鄿#쬵-ر%6@.9xgĨQ;827UHVUL>2:,x Cz*x TEE.(R,fUv-+vhfb-mu+Zo7e&,{ȅaf kdћ`ăw8Co s?X̨Go' IZ f]5f̘ S[]=~r͙`?jTt-u *f4YQkWagGa:H$ӗ,^ٰtDERKE3eD6!w_FTNűIu'J02jsL&} 26Z0aBsܛOیب7ffa6y]nױ%R?J{--L~^s!z@-o G$>xeâD*֦@X,<v隘EﴮJ&Ssr UUmB?jT+'#mkO1{ luwXOlwahXV BD2#T`vCQ~g]KgvoΙؘūY qDU> ۰D2} pesZIyeD^\MC!sp Ɔ'ɪ+5ide\7 yƷNM$j<*LfV7s„e#[O$_uN: <D6SQ*SOLV !f\ 4碖',*KU]bD*u{Ep(A࿩tڔ)S$R/0wL.}7\쿱^$*S$U`aHK6RvzH$Qs88 %]Fp%GN]^NUza,̿HV v ٰ1 ]2UView+1~kB忏u~卷YzaH㈒VnZ'\JƜc9HV2;@{g[_C4`Duj\mABsNL$Sc!޷ 6|nd=Qr˗J{~GRwԩĢOJ?MǗm,Lǀ1D*؆E6Л,ߗ(ͧOqËNpl]Zopg2ss9 < v*n0!7nhY͖ޜ57}8ٵ~+o벙i@qۍ894ؽ8 }Z~rD n֍s޴˺zF벙DM&\D4}/'68:N'̏zř3g6͍I Wr={ԩS]Ekx2s<zԼMQ\몒ڏT%as}ڤI">xx.9e,^QwX\<ىzk|ͱuw4.t:]*SN33fLW7s Y9%"'ȇe;d[aÆw|\~ .^~@``]6S6frȨNz!L] K"~6goƽ;hْūf𿛀{ݽv=8޷P K?G:TF;šb}ؘ1{44[Y2A7JyCØ.]ɴ uL1``N r&!AV5=lb [ jxeAluէWsdz*ؚ#벙c-+maZM]vFv˂C$=tPc,6d. ̺l段-kf|q'[h٧4M|ܣ dlffwgkHG5پunCQ߰sz^+>oaE )l)A֨}%_">ou]M"xA4vUZ Y[-1җG|m@۸7ok[HOջw,/.0^7=i.y(:1Mu+Z |d_ȦST'?#n.V.9wKIW$齀߯\݁U^'"[De3k%.9b pPܓHufk޷5˷8.Q=!dY1QV4 /..)bScc:˦7`zo7hE |NlJCwe`iϞ70 VuO+MWJ YA~l K{*?pvccڮ|W> SeK035{]x<e=775-kg]\h=vӾب1D` &e uw ?lc2{k0;Xu@n~%. ]Zn\y'>Җ/]ʫKuf^ACbmp=|(Uۢ|]ٲYW2LY="6SO(dlUwwzTOf KDfN4jK9gˋȶEt Y"5zxxˆGt+Y"qOvwDDd˥zB#) Y"""""" KDDDDDd,R%"""""R@ DDDDDD HAH)) Y"""""" KDDDDDd,R%"""""R@.ȖoL.ئpbl0Y""1xݻMZd K/T%"۴>477s>٧NeRHP%""""e\pOWjJϛ3OpҫW,]{x _t=o6C?mzfZ~+C3ԆG_waRl%眣 4 * I0x& 9*f3NS1 i 9%MS?{wvvvYtay?ϳHWuUuߪ7  G˧Ѹy 8'^űwdͼȄEz :k~?/aq. }.r)Mdӆ1pDd  F TXYdfOR.v3deg,ޅRƒA><N?7]Y  pRfmNӟ9YY;3駜kQj7%9M?DfQ,AAA8Biи/-X5CJ*3v_X?jRS1y^~>o3&O`_JjhDd  \( IDATJMصs{u*WʠW/>WQ;3w?,v={2K^(]>\ʻȊuѐ肂 G9˗m[iuL;TVA}Ɣ/9;qc7_vVm'غe3bXp>7cc:'qōw$ q4#"K2sD6[,Bk@Ǖyf͊<["A065Uk,RKo+5U(V5jri}ؼa3~f7 GGD !aEII-GrEW^+,֯YMiԭ- ~V.]@cn{|޿y_/rMN 7Bj3}x^{+n돊,ACDf~67C~iʕoJg./ƼϗZ3ҫׯZANv6-Zs Xr9oD"8N+9}ϻS&I8DrrJ:Yb5jסFڅծERr29޹;cGU)U[)uEiC!d͊DQjԪCcIp>|a>23ݿFٱ}:- Ul+cǵwoTZ(RRg*) ;o$C3Ѣͱ:/%9Kw^y.8G<:&>Fmmڰl*V"+#z'K)U 8 KuP VE"ۡ˧>6]Cf-r23f٬[5kզ8c ?u42ٰn-ќi8λ Z._ƌq+1{~?KO>`Ϯ4mњAw^gҸ߻p~랕$J$7p>f|TADsrشqKݻwQ~Cνʃjm |[?͔_NGZ9}`*Vκիx婇pzYJp}iѶxfGeV(04W B%;;ukXV&;mWo^lMDs˧-kWwˮOaղ%haDܲq~:t7izq"$N9,:t>5됚BrJ |5wYL\X6^S80qZŊԮwX/ZTJňA@b;Uk- RpSDV,Z ssT p*Fp jAbuiA/TF'Mį?ߠ oe3`f=wZ3Fd1۽{Uנj^8T$%ѸY|m۳-Sf|gи10RbaaT18DAb8bk_iD: x\#AO4ФyȂ4!yǏ@A[8Lbs~ټ;wP|OL/P?@iAƤ+p,9%KKZ'*- ~NK֏j;a}R pTrĈXZoÀD/Kwd f(c>*VDiuL;4om[1ybz V"/ 6k;_l %DYۻ7_Yd |Ca+W. CtGXp]vzqug%pKA#RdŢZ3 *+X-ݬo>o){degL7ߛ ]܀jԤ1`攉L)?>&>#?ΛC4KB2OP%6jsM VjM_qrJ{< 2uheRR'Wb*~ro>|֬XΏ?ynDOj|4u5a7ں궻y`#pBW=Ή~7 ∥ 6I"IRsMLG]rӨ۠Mi# p8C,A ˆ^j ˔R}:=zٹm+kסbJ ׬];~=vmԪ]*?o+8v}h/tVqF"煞' G#"ߍe;EZ9Xsp?x*UQ2X*VBʉ GA "cNW`D!Yj`﹉Cz7O-۹ s]HP`?p﹋X0-(;AArDd}NN20"r@>v=9NC9<_`َÈهJ`YS #6+,AA*>_hN]x۲E.8X:WVx#|]Yc!.$  P(">Mpv0##X{nfN h+K K {@Z s;1 |{nn]"15b t Yh'ʲdՖ4 Ι{rĤe;mA_9F   Ul"FdMfcDV6*/gZʲk}߫q'!q>lg8X <\ $-lԸݨ"ӲNg p{Lr2/uw:`'^ =#d:~l?}\{qT 8!-۹qC 8!G<w*vn=/fqZsu_f?1}Ts_H:l;"0c}Ͻpy=9},9 x܇~g[gweI~_6 BYOF#;Z[.I@("rw,iL.Lf2'mIJK0)Pn`fW~c|v.O0o <'c^H ="0`<-1Ioĝ!yCzoa˖5=m얅0u3&\ .3ќ}lN`Ö@q{'G#4<ayjkifd*7?ProoHGG50_mU/b33> s߅dm—"w, 6Ir﹯_fN6Ɵ/1e1oY3Dz1f}Ba|` p)Edβ4v vn;{(c%pﹿE-۹8`NGse}>ΎiyBvWt7ɲu_A~S|i6x+Y5`^슲e;O1}0%AS?0O\{L5Pv0wGJJ []K{8$,|ٕ:Zü jB..pe;= IDdmBe;Cʒ0+Paf~QP̌X!=u=we;;1 v4NV(n V瓴=̈:l\̎E 1ywZLˆN@(N>ߊX1eB"sA[M,1'B&]_l0eǬNX!VǘccSb+l6Cvv}:*'3}ҷlްiiw )) ֭Y GLj*Y"E,~P6Y K L#"l~e/frD+fcA`Ob`2T E0 ƲA/0)bi|.H1E1n@̮Ŗ=wL²r \x/Q秾NP0Dӵ×D{$h -ks`0e;/O88vnG^'))?ќF}5j{>$ `2i)$ĺD4/(ee;bRPǼ. mNP,fa ƐзҲV_ݦŭAz1f}&8_ܩYj1{n€L%ALcXc2g60-fN7B79j3N:4h|S|ϝ^R0 _c9NU0sjsZs>pjbL:sv!}1"Cc/MT0HR0ξye0ƙhfjY1h4,Lv˜o=u67 BDDV%0'k"_M,aL= <+ܗ`eA0Qkc cL=7+,.TIxk=7P,$ee;M0~M+EQ$O} 9+>ױ|zvBі)FbD@`e;o EjR6iJrrG羽{xiă,;歏{j|,M[:\XyļWlB'cݍ80* cNY7;< 1 l1e=7e;aD5C5)v=wdLAcGe;11\{Ż'X{y(y _Zg"vΊ^Ab䉬`|jv{#qc1b]MAHTI$휋Y]ď0|ϭUmԌY7k|ϭ{n` 9$y/3>%eR|11ϯ60j5\Ń0bM뫂1Oˀ6ĘO[_#hNs?A{0 U}ϭ?~ʝ-F,Lj h&,۩Yk\{q7ĘW=@̜68LjT:82W A8ˁ߾y`l^sŕbzdﹷ'(܉vc%R(0v'aQWc&ޘ gD\y"&xǁ(4r0O 3qO4`cqLUj?Fc7L}sb&1Ngav8,X5i*?.c r Ͽ~X8w>òg.ʕO11khؤY.~ \s3[6n`7QcHP5+JUxur'MO͐˯\232佷Y8g6kWjsgqكIJʛ~ٴﺁ:p֠ yɇٰv5C.??Moxܥ1|m#/PgC=wKP߷l# 顕_Z3 #bsYyߛE8z ]ĈS DX}|/wԲz8?܉Ys&%_0g}܏ɏ{}ȹ[s"F^K}v7[\ {qfGa?&,۹ .v^ vU^5=we;bDw@0{cEЩRss#e;CIҘypedN[s\ ޲lGc+b.cIlGM‘ ],<>Ǭ\RIm'ٲq+CJOƄ d%^[?;%>z%%po-AEЁ<3Dn/L_\)E+7Wcv6}1G G|[wo'c>o rIBfwaj8oO˒EaYߕbٹ}g²{pTX֐?kfĽ_7"Ns&Zk&}3w_{1_{[6mnO>A\r\puT^G=pW.cm$'Crj;v'+~C.$e^.W~{0K;8c`"$>~M}a1f!$@mLDBg!4+634ܷ|c IDAT X|7lX1>9P~1`Gov"fZs{~~1Jp,;9\g`14|=w&lCϖԊ?|=PN=<﹯U)+Y W;fM Vu]c{۾>{nڀfZ(NV٥1η[T5Dn${1`W`_  +y #h2BA0箎k̊l?T `lٴ`7wR:7 -[3NQoж]n{`D>Ƕ k;ǂ93Pvܲˌ <*88uۭL5ZʧU@k U+~tꖗwy4.Bs.Ym\WG>JRR}f:ï链wl{,Zk}1TOHjj5W;gղFD"?Z?X3S[LEHfvKLX\w}E l>&\s ~),[#ZkR߷_6wC.' oG ,m#5lٴZ0}ҷY^g'"]{d%\&ޖm'}O`+F0Sme}ݳ*ժgBXVmF>e 1# >MyC_dQ>&=7ò0Em^,,F^"-iL¼nD+܎ksȝu2yHv)N߁<x20'+=}!7Wah>2/ ~1=werD݈gX3chy(uҪ@q d0Ղ>ղ v%tJMN|# 2-y3{W5{%}WJ1,b''"X!z3v+ۅLa^az/=7'n\֟0Iu=f;jSfD hFS!(:A &+4:``vQ0VS:fUkp>3yOp 3D;ƶ {uq} ƐPd}˿bLb7n3f|+p&F_uD(eBaez*ׇQolزi$w|BJd=}dhS: Y\*9A`/k~)} wn[۶0z6OffI(pz[ը+pVmu`Ƕ63*Ha{`| _"$(0a`R.=z{nOs;qejEg0eT@NS/)g'%Gj r}\bu0x_D BB{ns=%f::X#Ih}M޳'>Z5LQxSA8(-}]{!{ 8&% h yp$TSU l{IlM`>wOBOLjDe3g7 %E7!o;>\ac1%Qt`@1ژMܿsY1FDuM'CV,|}Y+ 5iVXhtaV!ߛpw%)) &u]ŰCn|֬^TwR5۷Uuƽ豻o*+W1OeUHc竳d|KVmY;ѻ,b1%,;=YO?xi*ҵGO<{0u~slUe}+μ+i*pіəs2ObBsu%mdNp?Ƅ8DK e:B"b!M 4DnʢE ) ңXS5XH'L2QKAP0+gOi }<X1n?&ܛi]l9Ƅ7JAsd`_>ۂPA(5+F^6UVW6`4kن3 [yޱ=q`DʆIP:ryw Mg]l-cݳc[]LJv=3m&՟3c ]^Ӹ$YKJJ9dؕ 0/vXɲɋ ; fw`e;-YI${-RqcƼmZaLp0dYsFen=cL;1b~Ov~˜={'&Y1AZزup\[0>1Bos0_0ksĹ ],L v~ va|"/Ϙ|`X2W: =#D^}Ib|e a?@~?5 %a-2M0S(8mACsw{&9C>_m$ (EOO` 1;R|-{7(WcR  λ>{ Wmxp 1(}Ͻ=.@*L$ڋ0=x8#pRmy3]˃]$kLp͘ęP;1cv܎=ǘz`D=rLPVHAKᏊRa̔9BwkZziH& .'lk—c+ϑV">jn{tRSӂL3*0ѧߨIv\\~M~nl2Y0kd35kzR>h23rub9w^~j5jҠqSo˖23#k/Gi' g˘oR~C U`|u&ru9l6]^ N0VGJJ*7g7cYO>?]}c㦫xC/!}k㣤n,yrN8kjK{,`'X7z~uīf5eܗ/io>pÃA(0`Q>Jϼ=3yucH"ʧq0_/2swxVRR2'v?/ueqZEv8+ٵs;\a7)zяr|4u>x碫osYh4Jw*V'(7kنK%_pCO[S^οln}b| VCR0?.V}y Yd'KdlްrԨU@B4eTYiXضjS-g.jթ0a,a/[PJQzB/坬mEcv R \7# F,۩1ucn`>ZN֑d G'tFt&g3-S7g`$sfO.y+ٶ;DuERN?kY;HNNA%f$55,UV+PF"BE69$=%S-yCr/&E%xx!amy@4.J$)k{{,T eJe27T9=֪﹏~q(e~ڂ }h | p "K(Qf{aZ]4)dDh)DL~AAٝP(۳D"blۮ9qՠW^ɻv8k֬nݺ՜9s66*TΝkfee7oޞD坺9X>hb|s-WaǎMK> 'V<0]tSY͙3]t0k֬j\Afڄo"&|SO4](:df?'@e]5رuӻߋi'BdQTVjxf>}=Y.ݻ9ImyV$i/Ξ>8i͕(jX੖MtܡuuˑƳf*d|c.I$w}|auci߫Wr3oךA7(QYӧիW2Vb|:Ҁ@'|oSlWDQk#见n+=cӱ}wzRH  lIIgM 9QARU0:‘DHS}¡nDTd.>JORZZD*o~8bϋi[ jC<ӹ[z3^ȷ3ֹ[ߠQDx !+V["֟W^zmP5국[Pѹh--ZC"P7 u˕*T}ר\ :. Fjeۖyl~ `2O@̍Bwh5h[٩i w4@$E$jkk.Ӻvz̙37'  Zv8#YGF=WJ=ש3t(WĞQj:["wL{L$rZEO3uhr࡮];s5;g^ t׊17uڵqv$y8+s"vژH̴rѴN#V5DrLLw|tgֺν}cЪ= `֬Y;:wK2 [0TT=#5s57hs#Eg>-Zѱ 3)DT3lۮy}T ^LF:h(DZ G猋$55 P?Ƿ0wk-Q{;XQKzAw!"(!GL;<)+kN49͕R|A)n ZQJҪfAN dAU ZJHn"9Z .fy,Y4R!31cǎU TJI"*2jg8 ܶTo&*ywi:Z!AA8‘dG <τQf͚W. czz|QG+~PHB+?7rjlP@ǩ${ ^Q"DDf;VNxG/+6)ΈJZNWZMUwK*Ai> nFE-}e;ZRe.d  юd%舊(ъBw?W!P"hQ(B)MݵCQ àkrS"/$ E"|M4E>iq޴y}ќVu>S^]AA8<:Z9+!$u:GLyӧhDhPhvQ h!6`a[:uK*۷\lHFETBj(PZյQSA(J #d{|ϭT)D"K8u!"KA8RsAHP  ш~7]tMN]LJ~iIAAJ Y&555so4ZEϜZiLv%  CDq]wpIi  E|AAAJY   %,AAADD   B ""KAA%  PAAA(ADd   "AAAJY   %,AAADD   B ""KAA%p3s-WqwUwǯ%9I $d',C@0lRERKE\i+XJiQWź @ ! YNr"pxHeb$?"\f @siç3L  Uhd?^Vܡ}2SGQޏ @sEFNmbFQ߄2[,|e|}wزI5өlI߫rv cie6k`לPAJۙPd\gm$IN5^/ϓj1܏wZTUYu?wnզ<r=훾lVl j,wr2,}PK@#? 6bx%oXjw5v$[W78|B7}p!վmK<,|Md2{b_SVfxֲZm*,SuAs)Iwd%IYǍi\! HLl{?Qj/e2+{YSmIw}|Os $ݮs>^LR7@"d@?jWx4vw^[#~WG.޾S9}. 櫬;~{&NVJFmMBۓ̌㊌{N^oѣ314iMr4w,h$'(u:wy wߧB:YtG;n։cGuTs5 A趱;UC:!FQn/>h 6 IҰתGj窑cԵG/^} 7LY|}}=&IoC6_}1\w&)Rҩv(cn [G%HR*l~dY` B"dY` B?Zp_FIZFKWc͋3<$ӻn :\!asҧPHhzGٝU6Wמզ]l#w@@ =mNe2uGCv$Zn4E&Ni6=uGԭЬ̝HBZ{Ԋ \H+Z+:oX68,0XˠV;asI'Y+//WVfJ$IǏiu*+)rtNvmK֞U8sz{9 UTt*+3CY'67뤾JN҉cGY:֞)JM٪:=BIRVfm\ @sÝ,h$=ҊGܵ}R4ostI lwxY4/ӕI߫_xJ92=mQzpݨW,nҔiӽ_YQG&GU~-9|4{TW+).Ҽ'= @3fs>/Ӯ[6wb>\Qi^Ce4W-55ڱm_}=BEF)!}bmZGf %\($4}^x:rpzOu7&@Kݡ@+ΜYPc'LҠGl6kﮯW34 58l^趗xa"d@#ٵ=YԮCGwbHڲQ?sFc\(ө;~s]렚jgٛhbLitAػ[?2c-I_HSoGӑ:L>R{vI]t^a*+)/d24x3<*Zt8}X>u£f2Ӯj7uGsIߧjGE @sE?]sTW7^qgK7% kՆVܭ".zACGl(5e9W;/yst$ix,!I?Ha~w 8c'q7OVzZ|VǿVp8srNi7jt祖pm\N7.$($Dݤ5￧8S]O)"\uׯ|}U#(ii޳|J߳S2O)w0p!dwХ{9?tWvqukܿkkڒNn j`ϒ$ɤkoo Ť~CymcXե{Z~keIShmݰ^VDt% ~Od\}N$hu`JKQnҘ:%ե{J4g&=d2EJ:ru~xRuI v\M,0! D@.GY2p$[&~L&S?5uN\n@"dY` B"dY` B"dY` B"dY` B"dY` B"dY` B"dY` B"dY` B"dgOކ@#QIENDB`realmd-0.15.0/doc/internals/Makefile.in0000664000175000017500000003265412263026711017652 0ustar00stefstef00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = doc/internals DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/build/m4/intltool.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_POLICY_DIR = @DBUS_POLICY_DIR@ DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTRO = @DISTRO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ KRB5_CFLAGS = @KRB5_CFLAGS@ KRB5_CONFIG = @KRB5_CONFIG@ KRB5_LIBS = @KRB5_LIBS@ LCOV = @LCOV@ LDAP_CFLAGS = @LDAP_CFLAGS@ LDAP_LIBS = @LDAP_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGEKIT_CFLAGS = @PACKAGEKIT_CFLAGS@ PACKAGEKIT_LIBS = @PACKAGEKIT_LIBS@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POLKIT_ACTION_DIR = @POLKIT_ACTION_DIR@ POLKIT_CFLAGS = @POLKIT_CFLAGS@ POLKIT_LIBS = @POLKIT_LIBS@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SYSTEMD_JOURNAL_CFLAGS = @SYSTEMD_JOURNAL_CFLAGS@ SYSTEMD_JOURNAL_LIBS = @SYSTEMD_JOURNAL_LIBS@ SYSTEMD_UNIT_DIR = @SYSTEMD_UNIT_DIR@ TEST_MODE = @TEST_MODE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XMLTO = @XMLTO@ XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ cachedir = @cachedir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ privatedir = @privatedir@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ NULL = DOCBOOK_FILE = realmd-internals.xml DOCBOOK_PARAMS = docbook-params.xsl STATIC_FILES = \ $(NULL) CONTENT_INCLUDES = \ $(NULL) SVG_IMAGES = \ discover-method.svg \ join-method.svg \ $(NULL) EXTRA_DIST = \ $(DOCBOOK_FILE) \ $(DOCBOOK_PARAMS) \ $(CONTENT_INCLUDES) \ $(SVG_IMAGES) \ $(XSLT_FILES) \ static \ $(NULL) CLEANFILES = \ $(NULL) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/internals/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign doc/internals/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile all-local installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am all-local check check-am clean clean-generic \ clean-local cscopelist-am ctags-am distclean distclean-generic \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am html/realmd-internals.html: $(DOCBOOK_FILE) $(CONTENT_INCLUDES) $(STATIC_FILES) $(AM_V_GEN) mkdir -p html && cp $(srcdir)/static/* html/ $(AM_V_GEN) $(XMLTO) html-nochunks -m $(DOCBOOK_PARAMS) -o html \ --searchpath $(builddir):$(srcdir) $(srcdir)/$(DOCBOOK_FILE) all-local: html/realmd-internals.html clean-local: @rm -rf *.tmp html render-images: for i in $(SVG_IMAGES:.svg=); do \ inkscape --export-png=static/$$i.png $$i.svg; \ done upload: all rsync -Hvax html/./ anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/internals/./ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: realmd-0.15.0/doc/internals/realmd-internals.xml0000664000175000017500000004242612167007323021567 0ustar00stefstef00000000000000
realmd Internals January, 2013
Overview realmd is an on-demand system D-Bus service, whose primary purpose is to enable Linux to work seamlessly out of the box with network authentication realms (like Kerberos, with primary focus on AD and IPA). Specifically, the realmd service supports discovering a domain, joining a domain, leaving a domain, and more. Currently there is only support for Kerberos realms. Some of the D-Bus clients that interact with realmd are: command line realm client gnome-control-center GUI client gdm anaconda Realmd can be run in two different modes (with some slight changes in behavior depending on the mode) At install time (e.g. using an anaconda kickstart file). In this mode, since the system message bus may not be available, the realm client directly spawns realmd and communicates with it using the D-Bus peer protocol (i.e. without going through the message bus). After installation. In this mode, the system message bus is available and is used to forward messages from the realm client to realmd. Realmd is typically used (whether at install time or afterwards) by a D-Bus client to discover the KDC for a Kerberos domain and to join the machine to that domain using membership software. This will involve changes on the server made by server software, as well as artifacts (keytab, configuration file) that are output by realmd on the machine for consumption by client software that will subsequently be responsible for Kerberos authentication. For active-directory server software, realmd supports: sssd client software (with either adcli or samba membership software) winbind client software (with samba membership software). For IPA server software, realmd supports: sssd client software (with 'ipa' membership software).
Realmd Objects and Interfaces A GDBusObject is associated with an object path and is essentially a container of GDBusInterfaces. On the service side, this is implemented using GDBusObjectSkeletons and GDBusInterfaceSkeletons (with corresponding GDBusObjectProxy and GDBusProxy components on the client side). The base GDBusObjectSkeletons used by realmd are RealmKerberos and RealmProvider (each with its own subclasses and interfaces). The objects are linked, in that a RealmProvider object creates a RealmKerberos object during the Discover process. The type of RealmKerberos object that is created depends on the type of RealmProvider that is used. Only those RealmKerberos objects that implement the RealmKerberosMembership GInterface can be used to join or leave a domain. RealmKerberos RealmDbusRealm supports Deconfigure and ChangeLoginPolicy methods RealmDbusKerberosMembership supports Join and Leave methods RealmDbusKerberos supports no methods (properties only) RealmSamba implements RealmKerberosMembership RealmSssd container for RealmSssdAd and RealmSssdIpa subclass: RealmSssdAd implements RealmKerberosMembership subclass: RealmSssdIpa implements RealmKerberosMembership RealmProvider RealmDbusProvider supports Discover method RealmSambaProvider creates RealmSamba objects RealmSssdProvider creates RealmSssdAd and RealmSssdIpa objects RealmKerberosProvider creates RealmKerberos objects RealmAllProvider aggregates other RealmProviders
Discover method The main purpose of the Discover method is to verify that a specified domain is valid, emitting logs and diagnostic information in the process. RealmProviders discover the authoritative KDCs for the specified domain by querying DNS for SRV records and creating appropriate RealmKerberos objects to encapsulate the KDC information. Certain types of RealmKerberos objects (i.e. RealmSamba and RealmSssdAd) can subsequently be used as part of the Join process. RealmAllProvider is special in that it serves all realm types. A client that wants to use all of the RealmProviders (Samba, Sssd, Kerberos) can contact each RealmProvider (at its unique object path). Alternatively and usually, the client simply contacts the RealmAllProvider, which is special in that it serves as an aggregation point and container for all of the other RealmProviders. When Discover is called on RealmAllProvider, it calls the Discover methods of each of the other RealmProviders, collects the results (array of RealmKerberos objects), and returns an aggregated result (array of object paths pointing to RealmKerberos objects) to the client. The AllProvider also connects to a notify signal, so that if any of its sub-providers change state, AllProvider can also update its state accordingly.
RealmProvider A RealmProvider object supports the Discover method, and is characterized by: its object path (static) the combinations of {client, server, membership} software it supports for the Discover process the types of RealmKerberos objects it creates during the Discover process the file it uses to read/write configuration information RealmSambaProvider object path: "/org/freedesktop/realmd/Samba" creates: RealmSamba objects config file read: smb.conf software supported: {winbind, active-directory, samba} RealmSssdProvider object path: "/org/freedesktop/realmd/Sssd" creates: RealmSssdAd objects or RealmSssdIpa objects (depending on server-software) config file read: sssd.conf software supported {sssd, active-directory, samba} {sssd, active-directory, adcli} {sssd, ipa, ipa} RealmKerberosProvider object path: "/org/freedesktop/realmd/GenericKerberos" creates: RealmKerberos objects config file read: n/a software supported: none, so only used if client-software and server-software were not specified RealmAllProvider object path: “/org/freedesktop/realmd” special RealmProvider that aggregates results (see Discover() method)
Join method The primary goal of joining a machine to a domain is to enroll the machine with the domain's KDC, thereby enabling subsequent Kerberos user authentication. This results in the creation of a secret shared between the machine and KDC (i.e. a keytab), as well as changes to the appropriate configuration file on the machine. Conversely, the primary goal of leaving a domain is to unenroll the machine from the domain's KDC, removing the keytab and removing the changes that were previously made to the appropriate configuration file during enrollment. Both the join and leave operations require appropriate credentials, where each credential is represented by the credential owner and the credential type. Different RealmKerberos objects support different credentials, and different credentials may be supported for join and leave. Before performing the join, any required packages or files are installed. Possible credential owners: admin, user, computer, none Possible credential types: password, secret (otp), automatic (default/system creds)
RealmKerberos A RealmKerberos object supports the Join, Leave, Deconfigure, and ChangeLoginPolicy methods. It is characterized by: its object path (dynamic, per realm) the membership software it supports the configuration file it modifies the packages it requires to be installed the credentials it supports: {owner, type} RealmSamba object path example: /realmd/Samba/example.com_4 membership software supported: samba config file modified: smb.conf required packages: samba, winbind credentials supported: {admin, password} {user, password} {none, automatic} RealmSssdAd object path example: /realmd/Sssd/example.com_4 membership software supported: samba, adcli (but only for certain credentials: see below) config file modified: sssd.conf required_packages: sssd, adcli, samba (depends on membership software) credentials supported: {admin, password} // supported by both samba (default) and adcli {user, password} // supported only by samba {none, automatic} // supported only by adcli {none, secret} // supported only by adcli; note that these are supported for join, but not leave RealmSssdIpa has a dynamically generated object path upon realm creation. membership software supported: ipa config file modified: sssd.conf required_packages: sssd, freeipa-client credentials supported: {admin, password} {none, secret} // one time password
Exporting Realmd Objects and Interfaces When realmd starts up (realm-daemon.c:main), it registers each of its RealmProviders (except RealmAllProvider) with its GDBusObjectManagerServer, which in turn exports (onto a specific object path) the GDBusInterfaces for each RealmProvider onto the GDBusConnection. As RealmKerberos objects are dynamically created, they are similarly registered with the Object Manager and exported. Note that only GDBusInterfaces that are exported onto the GDBusConnection are capable of receiving method call messages from the client. When a message is received by the worker thread of the service's GDBusConnection, the message's {object_path, iface_name} are mapped to a GDBusInterfaceSkeleton, which emits a signal. The enclosing GDBusObjectSkeleton catches the signal and executes the callback registered for that signal (usually set in RealmProvider's constructed method). Since RealmAllProvider is just an aggregation point, it is not managed by the GDBusObjectManagerServer,but it is directly exported onto the GDBusConnection using g_dbus_connection_register_object(). The ObjectManager and Service objects are also directly exported onto the GDBusConnection. The following is a subset of objects and interfaces registered with the GDBusObjectManagerServer and/or exported onto the GDBusConnection. GDBusConnection: stores {object_path, iface_name} => GDBusInterfaceSkeleton {/org/freedesktop/realmd, org.freedesktop.realmd.Provider} => RealmDbusProviderSkeleton(“All”) {/org/freedesktop/realmd, org.freedesktop.realmd.Service} => RealmDbusServiceSkeleton {/org/freedesktop/realmd, org.freedesktop.DBus.ObjectManager} => GDBusObjectManagerServer GDBusObjectManagerServer: stores object_path => GDBusObjectSkeleton /org/freedesktop/realmd/Sssd => RealmSssdProvider /org/freedesktop/realmd/Samba => RealmSambaProvider /org/freedesktop/realmd/GenericKerberos => RealKerberosProvider /org/freedesktop/realmd/Sssd/example.com_4 => RealmSssdAd
Example Provider realmd includes a rough example provider, which can be used as a mock provider for testing against. It is disabled by default. The example provider discovers realms that match *example.com. Set the setting to yes in the section of the settings to enable it. [providers] example = yes # example = no Some settings of the example provider. [example] # What domain to return for a default discovery default = default.example.com # How long to delay a successful discovery, in seconds example-discovery-delay = 1.3 # How long to delay a unsuccessful disocvery example-non-discovery-delay = 0.9 You can tweak various options per example realm. [default.example.com] # Mock administrator account required to join example-administrator = Administrator # Password for above mock admin account example-password = bureaucracy # How long to delay when joining this domain, in seconds. example-join-delay = 2.5 # How long to delay when leaving example-leave-delay = 1 # Whether to disallow leaving without a password example-no-auto-leave = yes
Missing Description of ChangeLoginPolicy method Description of all the methods for the Service object Details of realmd.conf (man page, perhaps) Details of configuration files (sssd.conf, smb.conf) and relevant entries
realmd-0.15.0/doc/internals/Makefile.am0000664000175000017500000000164212140455743017637 0ustar00stefstef00000000000000 NULL = DOCBOOK_FILE = realmd-internals.xml DOCBOOK_PARAMS = docbook-params.xsl STATIC_FILES = \ $(NULL) CONTENT_INCLUDES = \ $(NULL) SVG_IMAGES = \ discover-method.svg \ join-method.svg \ $(NULL) EXTRA_DIST = \ $(DOCBOOK_FILE) \ $(DOCBOOK_PARAMS) \ $(CONTENT_INCLUDES) \ $(SVG_IMAGES) \ $(XSLT_FILES) \ static \ $(NULL) CLEANFILES = \ $(NULL) html/realmd-internals.html: $(DOCBOOK_FILE) $(CONTENT_INCLUDES) $(STATIC_FILES) $(AM_V_GEN) mkdir -p html && cp $(srcdir)/static/* html/ $(AM_V_GEN) $(XMLTO) html-nochunks -m $(DOCBOOK_PARAMS) -o html \ --searchpath $(builddir):$(srcdir) $(srcdir)/$(DOCBOOK_FILE) all-local: html/realmd-internals.html clean-local: @rm -rf *.tmp html render-images: for i in $(SVG_IMAGES:.svg=); do \ inkscape --export-png=static/$$i.png $$i.svg; \ done upload: all rsync -Hvax html/./ anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/internals/./ realmd-0.15.0/doc/internals/join-method.svg0000664000175000017500000003117112140455743020541 0ustar00stefstef00000000000000 image/svg+xmladcli or samba AD Join(realm, creds, options) adcli join ...” or net ads join ...” Realm Kerberos config file keytab realmd-0.15.0/doc/version.xml.in0000664000175000017500000000001112041772673016411 0ustar00stefstef00000000000000@VERSION@realmd-0.15.0/doc/manual/0000775000175000017500000000000012263034130015043 5ustar00stefstef00000000000000realmd-0.15.0/doc/manual/realm.xml0000664000175000017500000003214012202720221016661 0ustar00stefstef00000000000000 realm realmd Maintainer Stef Walter stef@thewalter.net realm 8 User Commands realm Manage enrollment in realms realm discover realm-name realm join -U user realm-name realm leave -U user realm-name realm list realm permit -ax -R realm user@domain realm deny -a -R realm Description realm is a command line tool that can be used to manage enrollment in kerberos realms, like Active Directory domains or IPA domains. See the various sub commands below. The following global options can be used: Run in install mode. This makes realmd chroot into the specified directory and place files in appropriate locations for use during an installer. No packages will be installed or services will be started when running in this mode. Run in unattended mode without prompting for input. Display verbose diagnostics while doing running commands. Discover Discover a realm and its capabilities. $ realm discover $ realm discover domain.example.com After discovering a realm, its name, type and capabilities are displayed. If no domain is specified, then the domain assigned through DHCP is used as a default. The following options can be used: Show all discovered realms (in various configurations). Only discover realms for which we can use the given client software. Possible values include sssd or winbind. Only discover realms which run the given server software. Possible values include active-directory or ipa. Only discover realms for which the given membership software can be used to subsequently perform enrollment. Possible values include samba or adcli. Join Configure the local machine for use with a realm. $ realm join domain.example.com $ realm join --user=admin --computer-ou=OU=Special domain.example.com The realm is first discovered, as we would with the command. If no domain is specified, then the domain assigned through DHCP is used as a default. After a successful join, the computer will be in a state where it is able to resolve remote user and group names from the realm. For kerberos realms, a computer account and host keytab is created. Joining arbitrary kerberos realms is not supported. The realm must have a supported mechanism for joining from a client machine, such as Active Directory or IPA. Unless a --user is explicitly specified, an automatic join is attempted first. Automatic joins require pre-configuration on the domain side, and may not be supported by all domains. Note that the --user , --no-password, and --one-time-password options are mutually exclusive. At most one of them can be specified. It is generally possible to use kerberos credentials to perform a join operation. Use the kinit command to acquire credentials prior to starting the join. Do not specify the argument, the user will be selected automatically from the credential cache. The realm respects the KRB5_CCACHE environment variable, but uses the default kerberos credential cache if it's not present. Not all types of servers can be joined using kerberos credentials, some (like IPA) insist on prompting for a password. The following options can be used: The user name to be used to authenticate with when joining the machine to the realm. You will be prompted for a password. The distinguished name of an organizational unit to create the computer account. The exact format of the distinguished name depends on the client software and membership software. You can usually omit the root DSE portion of distinguished name. This is an Active Directory specific option. Perform the join automatically without a password. Perform the join using a one time password specified on the command line. This is not possible with all types of realms. Only join realms for which we can use the given client software. Possible values include sssd or winbind. Not all values are supported for all realms. By default the client software is automatically selected. Only join realms for run the given server software. Possible values include active-directory or ipa. The software to use when joining to the realm. Possible values include samba or adcli. Not all values are supported for all realms. By default the membership software is automatically selected. Set the userPrincipalName field of the computer account to this kerberos principal. If you omit the value for this option, then a principal will be set in the form of host/shortname@REALM Leave Deconfigure the local machine for use with a realm. $ realm leave $ realm leave domain.example.com If no realm name is specified, then the first configured realm will be used. The following options can be used: Only leave the realm which is using the given client software. Possible values include sssd or winbind. Only leave the realm which is using the given server software. Possible values include active-directory or ipa. Remove or disable computer account from the directory while leaving the realm. This will usually prompt for a pasword. The user name to be used to authenticate with when leaving the realm. You will be prompted for a password. Implies . List List all the discovered and configured realms. $ realm list By default, realms that have been discovered, but not configured (using the command), are not displayed. Also, by default, the list of realm details displayed is verbose. The options below can be used to change this default behavior The following options can be used: Show all discovered realms (whether or not they have been configured). Display only realm names (as opposed to verbose output). Permit Permit local login by users of the realm. $ realm permit --all $ realm permit user@example.com $ realm permit DOMAIN\\User2 $ realm permit --withdraw user@example.com The current login policy and format of the user names can be seen by using the realm list command. The following options can be used: Permit logins using realm accounts on the local machine according to the realm policy.This usually defaults to allowing any realm user to log in. Treat the specified names as groups rather than user login names. Permit login by users in the specified groups. Specify the of the realm to change login policy for. Remove a login from the list of realm accounts permitted to log into the machine. Deny Deny local login by realm accounts. $ realm deny --all This command prevents realm accounts from logging into the local machine. Use realm permit to restrict logins to specific accounts. The following options can be used: This option should be specified Specify the name of the realm to deny users login to. realmd-0.15.0/doc/manual/realmd-guide-kerberos.xml0000664000175000017500000000341312140455743021752 0ustar00stefstef00000000000000 ]> Using with other Kerberos realms realmd can discover generic Kerberos realms. Since there is no standard way to enroll a computer against a Kerberos server, it is not possible to do this with realmd.
Discovering Kerberos realms realmd discovers which domains or realms it can use or configure. It can discover and identify Kerberos domains by looking up the appropriate DNS SRV records. The following DNS SRV record is required to be present for realmd to identify a provided realm as a Kerberos domain. # In this example the Kerberos domain is 'domain.example.com' _kerberos._udp.domain.example.com. $ realm --verbose discover domain.example.com * Searching for kerberos SRV records for domain: _kerberos._udp.domain.example.com * Searching for MSDCS SRV records on domain: _kerberos._tcp.dc._msdcs.domain.example.com * dc.domain.example.com:88 * Trying to retrieve IPA certificate from dc.domain.example.com ! Couldn't read certificate via HTTP: No PEM-encoded certificate found ! Couldn't discover IPA KDC: No PEM-encoded certificate found * Found kerberos DNS records for: domain.example.com * Successfully discovered: domain.example.com ...
realmd-0.15.0/doc/manual/static/0000775000175000017500000000000012140455743016345 5ustar00stefstef00000000000000realmd-0.15.0/doc/manual/static/up.png0000664000175000017500000000062612140455743017503 0ustar00stefstef00000000000000PNG  IHDRw=bKGD pHYs  ~tIME2.E#IDATx=J@Fo] !+2[Z<@/9|t$D9nnBjBRIsI:H8UPN1fcsN95M㧖ɵ 束1~pEe$I 7nrDf!;`'ykI䲤sI_]y^^I>O>?YBIENDB`realmd-0.15.0/doc/manual/static/style.css0000664000175000017500000000333412140455743020222 0ustar00stefstef00000000000000@import url("gtk-doc.css"); TABLE.navigation { background-color: #238b49 !important; border-width: 0 !important; color: white; font-family: Georgia, "Times New Roman", Times, serif; height: 4em !important; } TABLE.navigation TH { font-size: 30pt !important; font-weight: normal; text-align: left !important; padding-left: 10pt; } TABLE.navigation TH:first-child { padding-left: 40pt; } .shortcuts { color: white !important; } .shortcuts a { color: white !important; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; } P.title { font-size: 30pt !important; } BODY { padding-top: 5.5em !important; margin: 0px; } /* Target all Firefox, since firefox has bug wrt TABLE + position: fixed */ @-moz-document url-prefix() { TABLE.navigation { position: static !important; } BODY { padding-top: 0 !important; } } DIV.book, DIV.refentry, DIV.chapter, DIV.index, DIV.footer, DIV.section, DIV.part { font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 9.5pt; line-height: 150%; } BODY > DIV.book, BODY > DIV.footer, BODY > DIV.part { margin-left: 1em; margin-right: 1em; } BODY > DIV.refentry, BODY > DIV.chapter, BODY > DIV.index, BODY > DIV.section { margin-left: 3em; margin-right: 1em; } DIV.variablelist TABLE { font-size: 9.5pt; line-height: 150%; } DIV.refsect1, DIV.refsect2, DIV.refsynopsisdiv { margin-bottom: 3em !important; } H2 { position: relative; left: -1em; font-weight: normal !important; } H3 { position: relative; left: -1em; font-weight: normal !important; } DD > DL { margin-top: 0.3em; margin-bottom: 0.3em; } PRE.screen { border: solid 1px #729fcf; padding: 0.5em; background: #e6f3ff; } CODE.option { white-space: nowrap; } realmd-0.15.0/doc/manual/static/right.png0000664000175000017500000000073012140455743020170 0ustar00stefstef00000000000000PNG  IHDRw=bKGD pHYs  ~tIME2 I%=eIDATx!o@.'**M0$$?1~vIeEuLl&4䝠Bݛ|>$ݶoc+%<7W :2IENDB`realmd-0.15.0/doc/manual/static/left.png0000664000175000017500000000071312140455743020006 0ustar00stefstef00000000000000PNG  IHDRw=bKGD pHYs  ~tIME1&[(XIDATx!OPE*ID%~ꊯ"p'ŏ`sܖrKf hmiIz}ܯI.p\`x l?l[,Hk<#c%\AUx[S7n6rzEs1j@NL$ݤi0 5/}\EKIo͓$a0jdFbkIAh>WlC'?tk;|/t*INZ^`y4Nr]׮ J<ڐt`X1@p䀸dZ')hK $V?%]+LsgUK"w53OIENDB`realmd-0.15.0/doc/manual/gdbus-fix-bugs.xsl0000664000175000017500000000103512140455743020433 0ustar00stefstef00000000000000 realmd-0.15.0/doc/manual/realmd-guide-ipa.xml0000664000175000017500000001277412167007323020715 0ustar00stefstef00000000000000 ]> Using with IPA realmd can discover IPA domains and join the current computer as an account on a domain. This allows using domain users locally, and log into the local machine with IPA domain credentials.
Discovering IPA domains realmd discovers which domains or realms it can use or configure. It can discover and identify IPA domains by looking up the appropriate DNS SRV records and by connecting to the domain LDAP server. The following DNS SRV records are required to be present for realmd to identify a provided realm as an Kerberos domain. # In this example the IPA domain is 'domain.example.com' _ldap._tcp.domain.example.com. In addition realmd connects to the LDAP server on the IPA domain server's on port 389 and reads the Root DSE information about the domain. To see how realmd is discovering a particular domain name, try a command like the following. Using the argument displays verbose discovery information. $ realm --verbose discover domain.example.com * Resolving: _ldap._tcp.dc._msdcs.domain.example.com * Resolving: _ldap._tcp.domain.example.com * Performing LDAP DSE lookup on: 192.168.10.22 * Successfully discovered: domain.example.com ... In addition a IPA domain server's host name or IP address may be specified.
IPA client software As part of configuring an IPA domain for use on the local computer, realmd will install and configure client software to enable domain accounts to be used on the local computer. For a IPA domain this is SSSD.
Joining a IPA domain To join a IPA domain with realmd you can use the realm command line tool: $ realm join --verbose ipa.example.com By specifying the it's easier to see what went wrong if the join fails. Other tools also use realmd which can be used to perform the join operation, for example: GNOME Control Center. The join operation does the following: Discovers information about the domain. Installs the necessary software to join the domain, such as SSSD. Prompts for administrative credentials. A computer account in the domain will be created, and or updated. A host keytab file at /etc/krb5.keytab is created. Configures the SSSD service, and restarts and enables it as appropriate. Enables domain users in /etc/nsswitch.conf In addition an IPA domain server's host name or IP address may be specified to join via that domain controller directly. After the join operation is complete, domain accounts should be usable locally, although logins using domain accounts are not necessarily enabled. You verify that domain accounts are working with with a command like this: $ getent passwd admin@ipa.example.com The join operation will create or update a computer account in the domain.
Logins using Domain Accounts Once the computer is joined to a IPA domain, the machine will automatically follow the domain settings for whether users are able to log into the machine or not. To override this behavior and permit any domain account to log in, use the following command. $ realm permit --realm domain.example.com --all To permit only specific accounts from the domain to log in use the following command. The first time this command is run it will change the mode to only allow logins by specific accounts, and then add the specified accounts to the list of accounts to permit. $ realm permit --realm domain.example.com user1@ipa.example.com user2@ipa.example.com To deny logins from any domain account, use the following command. $ realm deny --realm domain.example.com --all
realmd-0.15.0/doc/manual/escape-xml-to-text.xsl0000664000175000017500000000420712140455743021251 0ustar00stefstef00000000000000 < =' ' > </ > <? ?> &amp; &lt; &gt; &quot; &apos; realmd-0.15.0/doc/manual/gtk-doc.xsl0000664000175000017500000010270212140455743017140 0ustar00stefstef00000000000000 2 book toc chapter toc glossary toc index toc part toc reference toc en No "en" localization of " " exists. bullet No "en" localization of dingbat exists; using "en". 1 0 1.36 FATAL-ERROR: You need the DocBook XSL Stylesheets version 1.36 or higher to build the documentation. Get a newer version at http://docbook.sourceforge.net/projects/xsl/ <ANCHOR id=" " href=" / "> <ONLINE href=" ">
1.66 1.66

idx gls  |   ] In gtk-doc.xsl: For acronym () no value found! http://foldoc.org/
realmd-0.15.0/doc/manual/html/0000775000175000017500000000000012263034130016007 5ustar00stefstef00000000000000realmd-0.15.0/doc/manual/html/up.png0000664000175000017500000000062612263034130017145 0ustar00stefstef00000000000000PNG  IHDRw=bKGD pHYs  ~tIME2.E#IDATx=J@Fo] !+2[Z<@/9|t$D9nnBjBRIsI:H8UPN1fcsN95M㧖ɵ 束1~pEe$I 7nrDf!;`'ykI䲤sI_]y^^I>O>?YBIENDB`realmd-0.15.0/doc/manual/html/realmd-docs.proc0000664000175000017500000000000012263034130021054 0ustar00stefstef00000000000000realmd-0.15.0/doc/manual/html/guide-active-directory-permit.html0000664000175000017500000000543112263034130024546 0ustar00stefstef00000000000000 Logins using Domain Accounts

Logins using Domain Accounts

Once the computer is joined to an Active Directory domain, you can configure the machine so that you can log in with domain accounts.

To permit any domain account to log in, use the following command.

$ realm permit --realm domain.example.com --all

To permit only specific accounts from the domain to log in use the following command. The first time this command is run it will change the mode to only allow logins by specific accounts, and then add the specified accounts to the list of accounts to permit.

$ realm permit --realm domain.example.com DOMAIN\\User1 DOMAIN\\User2

To deny logins from any domain account, use the following command.

$ realm deny --realm domain.example.com --all
realmd-0.15.0/doc/manual/html/guide-ipa.html0000664000175000017500000000757412263034130020556 0ustar00stefstef00000000000000 Using with IPA

Using with IPA

realmd can discover IPA domains and join the current computer as an account on a domain. This allows using domain users locally, and log into the local machine with IPA domain credentials.

Discovering IPA domains

realmd discovers which domains or realms it can use or configure. It can discover and identify IPA domains by looking up the appropriate DNS SRV records and by connecting to the domain LDAP server.

The following DNS SRV records are required to be present for realmd to identify a provided realm as an Kerberos domain.

# In this example the IPA domain is 'domain.example.com'
_ldap._tcp.domain.example.com.

In addition realmd connects to the LDAP server on the IPA domain server's on port 389 and reads the Root DSE information about the domain.

To see how realmd is discovering a particular domain name, try a command like the following. Using the --verbose argument displays verbose discovery information.

$ realm --verbose discover domain.example.com
 * Resolving: _ldap._tcp.dc._msdcs.domain.example.com
 * Resolving: _ldap._tcp.domain.example.com
 * Performing LDAP DSE lookup on: 192.168.10.22
 * Successfully discovered: domain.example.com
...

In addition a IPA domain server's host name or IP address may be specified.

realmd-0.15.0/doc/manual/html/gdbus-org.freedesktop.realmd.Kerberos.html0000664000175000017500000000733412263034130026125 0ustar00stefstef00000000000000 org.freedesktop.realmd.Kerberos

org.freedesktop.realmd.Kerberos

org.freedesktop.realmd.Kerberos — a kerberos realm

Properties

RealmName   readable   s
DomainName  readable   s

Description

An interface that describes a kerberos realm in more detail. This is always implemented on an DBus object path that also implements the org.freedesktop.realmd.Realm interface.

Property Details

The "RealmName" property

RealmName  readable   s

the kerberos realm name

The kerberos name for this realm. This is usually in upper case.


The "DomainName" property

DomainName  readable   s

the DNS domain name

The DNS domain name for this realm.

realmd-0.15.0/doc/manual/html/realm.html0000664000175000017500000003604612263034130020006 0ustar00stefstef00000000000000 realm

realm

realm — Manage enrollment in realms

Synopsis

realm discover [realm-name]

realm join [-U user] [realm-name]

realm leave [-U user] [realm-name]

realm list

realm permit [-ax] [-R realm] {user@domain...}

realm deny -a [-R realm]

Description

realm is a command line tool that can be used to manage enrollment in kerberos realms, like Active Directory domains or IPA domains.

See the various sub commands below. The following global options can be used:

--install=/path

Run in install mode. This makes realmd chroot into the specified directory and place files in appropriate locations for use during an installer. No packages will be installed or services will be started when running in this mode.

--unattended

Run in unattended mode without prompting for input.

--verbose, -v

Display verbose diagnostics while doing running commands.

Discover

Discover a realm and its capabilities.

$ realm discover
$ realm discover domain.example.com

After discovering a realm, its name, type and capabilities are displayed.

If no domain is specified, then the domain assigned through DHCP is used as a default.

The following options can be used:

--all

Show all discovered realms (in various configurations).

--client-software=xxx

Only discover realms for which we can use the given client software. Possible values include sssd or winbind.

--server-software=xxx

Only discover realms which run the given server software. Possible values include active-directory or ipa.

--membership-software=xxx

Only discover realms for which the given membership software can be used to subsequently perform enrollment. Possible values include samba or adcli.

Join

Configure the local machine for use with a realm.

$ realm join domain.example.com
$ realm join --user=admin --computer-ou=OU=Special domain.example.com

The realm is first discovered, as we would with the discover command. If no domain is specified, then the domain assigned through DHCP is used as a default.

After a successful join, the computer will be in a state where it is able to resolve remote user and group names from the realm. For kerberos realms, a computer account and host keytab is created.

Joining arbitrary kerberos realms is not supported. The realm must have a supported mechanism for joining from a client machine, such as Active Directory or IPA.

Unless a --user is explicitly specified, an automatic join is attempted first. Automatic joins require pre-configuration on the domain side, and may not be supported by all domains.

Note that the --user , --no-password, and --one-time-password options are mutually exclusive. At most one of them can be specified.

It is generally possible to use kerberos credentials to perform a join operation. Use the kinit command to acquire credentials prior to starting the join. Do not specify the --user argument, the user will be selected automatically from the credential cache. The realm respects the KRB5_CCACHE environment variable, but uses the default kerberos credential cache if it's not present. Not all types of servers can be joined using kerberos credentials, some (like IPA) insist on prompting for a password.

The following options can be used:

--user=xxx

The user name to be used to authenticate with when joining the machine to the realm. You will be prompted for a password.

--computer-ou=OU=xxx

The distinguished name of an organizational unit to create the computer account. The exact format of the distinguished name depends on the client software and membership software. You can usually omit the root DSE portion of distinguished name. This is an Active Directory specific option.

--no-password

Perform the join automatically without a password.

--one-time-password=xxxx

Perform the join using a one time password specified on the command line. This is not possible with all types of realms.

--client-software=xxx

Only join realms for which we can use the given client software. Possible values include sssd or winbind. Not all values are supported for all realms. By default the client software is automatically selected.

--server-software=xxx

Only join realms for run the given server software. Possible values include active-directory or ipa.

--membership-software=xxx

The software to use when joining to the realm. Possible values include samba or adcli. Not all values are supported for all realms. By default the membership software is automatically selected.

--user-principal=host/name@REALM

Set the userPrincipalName field of the computer account to this kerberos principal. If you omit the value for this option, then a principal will be set in the form of host/shortname@REALM

Leave

Deconfigure the local machine for use with a realm.

$ realm leave
$ realm leave domain.example.com

If no realm name is specified, then the first configured realm will be used.

The following options can be used:

--client-software=xxx

Only leave the realm which is using the given client software. Possible values include sssd or winbind.

--server-software=xxx

Only leave the realm which is using the given server software. Possible values include active-directory or ipa.

--remove

Remove or disable computer account from the directory while leaving the realm. This will usually prompt for a pasword.

--user

The user name to be used to authenticate with when leaving the realm. You will be prompted for a password. Implies --remove.

List

List all the discovered and configured realms.

$ realm list

By default, realms that have been discovered, but not configured (using the join command), are not displayed. Also, by default, the list of realm details displayed is verbose. The options below can be used to change this default behavior

The following options can be used:

--all

Show all discovered realms (whether or not they have been configured).

--name-only

Display only realm names (as opposed to verbose output).

Permit

Permit local login by users of the realm.

$ realm permit --all
$ realm permit user@example.com
$ realm permit DOMAIN\\User2
$ realm permit --withdraw user@example.com

The current login policy and format of the user names can be seen by using the realm list command.

The following options can be used:

--all, -a

Permit logins using realm accounts on the local machine according to the realm policy.This usually defaults to allowing any realm user to log in.

--groups, -g

Treat the specified names as groups rather than user login names. Permit login by users in the specified groups.

--realm, -R

Specify the of the realm to change login policy for.

--withdraw, -x

Remove a login from the list of realm accounts permitted to log into the machine.

Deny

Deny local login by realm accounts.

$ realm deny --all

This command prevents realm accounts from logging into the local machine. Use realm permit to restrict logins to specific accounts.

The following options can be used:

--all, -a

This option should be specified

--realm, -R

Specify the name of the realm to deny users login to.

realmd-0.15.0/doc/manual/html/guide-ipa-join.html0000664000175000017500000000713512263034130021504 0ustar00stefstef00000000000000 Joining a IPA domain

Joining a IPA domain

To join a IPA domain with realmd you can use the realm command line tool:

$ realm join --verbose ipa.example.com

By specifying the --verbose it's easier to see what went wrong if the join fails.

Other tools also use realmd which can be used to perform the join operation, for example: GNOME Control Center.

The join operation does the following:

  • Discovers information about the domain.

  • Installs the necessary software to join the domain, such as SSSD.

  • Prompts for administrative credentials.

  • A computer account in the domain will be created, and or updated.

  • A host keytab file at /etc/krb5.keytab is created.

  • Configures the SSSD service, and restarts and enables it as appropriate.

  • Enables domain users in /etc/nsswitch.conf

In addition an IPA domain server's host name or IP address may be specified to join via that domain controller directly.

After the join operation is complete, domain accounts should be usable locally, although logins using domain accounts are not necessarily enabled.

You verify that domain accounts are working with with a command like this:

$ getent passwd admin@ipa.example.com

The join operation will create or update a computer account in the domain.

realmd-0.15.0/doc/manual/html/guide-ipa-permit.html0000664000175000017500000000540712263034130022045 0ustar00stefstef00000000000000 Logins using Domain Accounts

Logins using Domain Accounts

Once the computer is joined to a IPA domain, the machine will automatically follow the domain settings for whether users are able to log into the machine or not.

To override this behavior and permit any domain account to log in, use the following command.

$ realm permit --realm domain.example.com --all

To permit only specific accounts from the domain to log in use the following command. The first time this command is run it will change the mode to only allow logins by specific accounts, and then add the specified accounts to the list of accounts to permit.

$ realm permit --realm domain.example.com user1@ipa.example.com user2@ipa.example.com

To deny logins from any domain account, use the following command.

$ realm deny --realm domain.example.com --all
realmd-0.15.0/doc/manual/html/style.css0000664000175000017500000000333412263034130017664 0ustar00stefstef00000000000000@import url("gtk-doc.css"); TABLE.navigation { background-color: #238b49 !important; border-width: 0 !important; color: white; font-family: Georgia, "Times New Roman", Times, serif; height: 4em !important; } TABLE.navigation TH { font-size: 30pt !important; font-weight: normal; text-align: left !important; padding-left: 10pt; } TABLE.navigation TH:first-child { padding-left: 40pt; } .shortcuts { color: white !important; } .shortcuts a { color: white !important; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; } P.title { font-size: 30pt !important; } BODY { padding-top: 5.5em !important; margin: 0px; } /* Target all Firefox, since firefox has bug wrt TABLE + position: fixed */ @-moz-document url-prefix() { TABLE.navigation { position: static !important; } BODY { padding-top: 0 !important; } } DIV.book, DIV.refentry, DIV.chapter, DIV.index, DIV.footer, DIV.section, DIV.part { font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 9.5pt; line-height: 150%; } BODY > DIV.book, BODY > DIV.footer, BODY > DIV.part { margin-left: 1em; margin-right: 1em; } BODY > DIV.refentry, BODY > DIV.chapter, BODY > DIV.index, BODY > DIV.section { margin-left: 3em; margin-right: 1em; } DIV.variablelist TABLE { font-size: 9.5pt; line-height: 150%; } DIV.refsect1, DIV.refsect2, DIV.refsynopsisdiv { margin-bottom: 3em !important; } H2 { position: relative; left: -1em; font-weight: normal !important; } H3 { position: relative; left: -1em; font-weight: normal !important; } DD > DL { margin-top: 0.3em; margin-bottom: 0.3em; } PRE.screen { border: solid 1px #729fcf; padding: 0.5em; background: #e6f3ff; } CODE.option { white-space: nowrap; } realmd-0.15.0/doc/manual/html/dbus-interface-raw.html0000664000175000017500000001157112263034130022364 0ustar00stefstef00000000000000 Raw DBus Interfaces

Raw DBus Interfaces

These are the current raw DBus interfaces for realmd.

<node name='/'>
	<interface name='org.freedesktop.realmd.Provider'>
		<property name='Name' type='s' access='read'></property>
		<property name='Version' type='s' access='read'></property>
		<property name='Realms' type='ao' access='read'></property>
		<method name='Discover'>
			<arg name='string' type='s' direction='in'></arg>
			<arg name='options' type='a{sv}' direction='in'></arg>
			<arg name='relevance' type='i' direction='out'></arg>
			<arg name='realm' type='ao' direction='out'></arg>
		</method>
	</interface>
	<interface name='org.freedesktop.realmd.Service'>
		<method name='Cancel'>
			<arg name='operation' type='s' direction='in'></arg>
		</method>
		<method name='SetLocale'>
			<arg name='locale' type='s' direction='in'></arg>
		</method>
		<signal name='Diagnostics'>
			<arg name='data' type='s'></arg>
			<arg name='operation' type='s'></arg>
		</signal>
		<method name='Release'>
		</method>
	</interface>
	<interface name='org.freedesktop.realmd.Realm'>
		<property name='Name' type='s' access='read'></property>
		<property name='Configured' type='s' access='read'></property>
		<method name='Deconfigure'>
			<arg name='options' type='a{sv}' direction='in'></arg>
		</method>
		<property name='SupportedInterfaces' type='as' access='read'></property>
		<property name='Details' type='a(ss)' access='read'></property>
		<property name='RequiredPackages' type='as' access='read'></property>
		<property name='LoginFormats' type='as' access='read'></property>
		<property name='LoginPolicy' type='s' access='read'></property>
		<property name='PermittedLogins' type='as' access='read'></property>
		<property name='PermittedGroups' type='as' access='read'></property>
		<method name='ChangeLoginPolicy'>
			<arg name='login_policy' type='s' direction='in'></arg>
			<arg name='permitted_add' type='as' direction='in'></arg>
			<arg name='permitted_remove' type='as' direction='in'></arg>
			<arg name='options' type='a{sv}' direction='in'></arg>
		</method>
	</interface>
	<interface name='org.freedesktop.realmd.Kerberos'>
		<property name='RealmName' type='s' access='read'></property>
		<property name='DomainName' type='s' access='read'></property>
	</interface>
	<interface name='org.freedesktop.realmd.KerberosMembership'>
		<property name='SuggestedAdministrator' type='s' access='read'></property>
		<property name='SupportedJoinCredentials' type='a(ss)' access='read'></property>
		<property name='SupportedLeaveCredentials' type='a(ss)' access='read'></property>
		<method name='Join'>
			<arg name='credentials' type='(ssv)' direction='in'></arg>
			<arg name='options' type='a{sv}' direction='in'></arg>
		</method>
		<method name='Leave'>
			<arg name='credentials' type='(ssv)' direction='in'></arg>
			<arg name='options' type='a{sv}' direction='in'></arg>
		</method>
	</interface>
</node>
			
realmd-0.15.0/doc/manual/html/realmd-conf.html0000664000175000017500000003321112263034130021064 0ustar00stefstef00000000000000 realmd.conf

realmd.conf

realmd.conf — Tweak behavior of realmd

Configuration File

realmd can be tweaked by network administrators to act in specific ways. This is done by placing settings in a /etc/realmd.conf. This file does not exist by default. The syntax of this file is the same as an INI file or Desktop Entry file.

In general, settings in this file only apply at the point of joining a domain or realm. Once the realm has been setup the settings have no effect. You may choose to configure SSSD or Winbind directly.

Only specify the settings you wish to override in the /etc/realmd.conf file. Settings not specified will be loaded from their packaged defaults. Only override the settings below. You may find other settings if you look through the realmd source code. However these are not guaranteed to remain stable.

There are various sections in the config file. Some sections are global topic sections, and are listed below. Other sections are specific to a given realm. These realm specific sections should always contain the domain name in lower case as their section header.

Examples of each setting is found below, including the header of the section it should be placed in. However in the resulting file only include each section once, and combine the various section setting together as lines underneath the section. For example

[users]
default-home = /home/%U
default-shell = /bin/bash

active-directory

These options should go in an [active-directory] section of the /etc/realmd.conf file. Only specify the settings you wish to override.

default-client

Specify the default-client setting in order to control which client software is the preferred default for use with Active Directory.

[active-directory]
default-client = sssd
# default-client = winbind

The default setting for this is sssd which uses SSSD as the Active Directory client. You can also specify winbind to use Samba Winbind.

Some callers of realmd such as the realm command line tool allow specifying which client software should be used. Others, such as GNOME Control Center, simplify choose the default.

You can verify the preferred default client softawre by running the following command. The realm with the preferred client software will be listed first.

$ realm discover domain.example.com
domain.example.com
  configured: no
  server-software: active-directory
  client-software: sssd
  type: kerberos
  realm-name: AD.THEWALTER.LAN
  domain-name: ad.thewalter.lan
domain.example.com
  configured: no
  server-software: active-directory
  client-software: winbind
  type: kerberos
  realm-name: AD.THEWALTER.LAN
  domain-name: ad.thewalter.lan

os-name

(see below)

os-version

Specify the os-name and/or os-version settings to control the values that are placed in the computer account operatingSystem and operatingSystemVersion attributes.

This is an Active Directory specific option.

[active-directory]
os-name = Gentoo Linux
os-version = 9.9.9.9.9

service

These options should go in an [service] section of the /etc/realmd.conf file. Only specify the settings you wish to override.

automatic-install

Set this to no to disable automatic installation of packages via package-kit.

[service]
automatic-install = no
# automatic-install = yes

users

These options should go in an [users] section of the /etc/realmd.conf file. Only specify the settings you wish to override.

default-home

Specify the default-home setting in order to control how to set the home directory for accounts that have no home directory explicitly set.

[users]
default-home = /home/%D/%U
# default-home = /nfs/home/%D-%U

The default setting for this is /home/%D/%U. The %D format is replaced by the domain name. The %U format is replaced by the user name.

You can verify the home directory for a user by running the following command.

$ getent passwd 'DOMAIN/User'
DOMAIN\user:*:13445:13446:Name:/home/DOMAIN/user:/bin/bash

Note that in the case of IPA domains, most users already have a home directory configured in the domain. Therefore this configuration setting may rarely show through.

default-shell

Specify the default-shell setting in order to control how to set the Unix shell for accounts that have no shell explicitly set.

[users]
default-shell = /bin/bash
# default-shell = /bin/sh

The default setting for this is /bin/bash shell. The shell should be a valid shell if you expect the domain users be able to log in. For example it should exist in the /etc/shells file.

You can verify the shell for a user by running the following command.

$ getent passwd 'DOMAIN/User'
DOMAIN\user:*:13445:13446:Name:/home/DOMAIN/user:/bin/bash

Note that in the case of IPA domains, most users already have a shell configured in the domain. Therefore this configuration setting may rarely show through.

Realm specific settings

These options should go in an section with the same name as the realm in the /etc/realmd.conf file. For example for the domain.example.com domain the section would be called [domain.example.com]. To figure out the canonical name for a realm use the realm command:

$ realm discover --name DOMAIN.example.com
domain.example.com
...

Only specify the settings you wish to override.

computer-ou

Specify this option to create directory computer accounts in a location other than the default. This currently only works with Active Directory domains.

[domain.example.com]
computer-ou = OU=Linux Computers,DC=domain,DC=example,DC=com
# computer-ou = OU=Linux Computers,

Specify the OU as an LDAP DN. It can be relative to the Root DSE, or a complete LDAP DN. Obviously the OU must exist in the directory.

It is also possible to use the --computer-ou argument of the realm command to create a computer account at a specific OU.

user-prinicpal

Set the user-prinicpal to yes to create userPrincipalName attributes for the computer account in the realm, in the form host/computer@REALM

[domain.example.com]
user-principal = yes

automatic-id-mapping

This option is on by default for Active Directory realms. Turn it off to use UID and GID information stored in the directory (as-per RFC2307) rather than automatically generating UID and GID numbers.

This option only makes sense for Active Directory realms.

[domain.example.com]
automatic-id-mapping = no
# automatic-id-mapping = yes

manage-system

This option is on by default. Normally joining a realm affects many aspects of the configuration and management of the system. Turning this off limits the interaction with the realm or domain to authentication and identity.

[domain.example.com]
manage-system = no
# manage-system = yes

When this option is turned on realmd defaults to using domain policy to control who can log into this machine. Further adjustments to login policy can be made with the realm permit command.

fully-qualified-names

This option is on by default. If turned off then realm user and group names are not qualified their name. This may cause them to conflict with local user and group names.

[domain.example.com]
fully-qualified-names = no
# fully-qualified-names = yes
realmd-0.15.0/doc/manual/html/index.sgml0000664000175000017500000001732312263034130020010 0ustar00stefstef00000000000000 realmd-0.15.0/doc/manual/html/gdbus-org.freedesktop.realmd.KerberosMembership.html0000664000175000017500000004073512263034130030143 0ustar00stefstef00000000000000 org.freedesktop.realmd.KerberosMembership

org.freedesktop.realmd.KerberosMembership

org.freedesktop.realmd.KerberosMembership

Methods

Join  (IN  (ssv) credentials,
       IN  a{sv} options);
Leave (IN  (ssv) credentials,
       IN  a{sv} options);

Properties

SuggestedAdministrator     readable   s
SupportedJoinCredentials   readable   a(ss)
SupportedLeaveCredentials  readable   a(ss)

Description

An interface used to configure this machine by joining a realm.

It sets up a computer/host account in the realm for this machine and a keytab to track the credentials for that account.

The various properties are guaranteed to have been updated before the operation methods return, if they change state.

Method Details

The Join() method

Join (IN  (ssv) credentials,
      IN  a{sv} options);

Join this machine to the realm and enroll the machine.

If this method returns successfully, then the machine will be joined to the realm. It is not necessary to restart services or the machine afterward. Relevant properties on the realm will be updated before the method returns.

The credentials should be set according to one of the supported credentials returned by org.freedesktop.realmd.Kerberos:SupportedJoinCredentials. The first string in the tuple is the type, the second string is the owner, and the variant contains the credential contents See the discussion at org.freedesktop.realmd.Kerberos:SupportedJoinCredentials for more information.

options can contain, but is not limited to, the following values:

  • operation: a string identifier chosen by the client, which can then later be passed to Cancel() in order to cancel the operation

  • computer-ou: a string containing an LDAP DN for an organizational unit where the computer account should be created

  • user-principal: a string containing an kerberos user principal name to be set on the computer account

  • membership-software: a string containing the membership software identifier that the returned realms should match.

  • manage-system: a boolean which controls whether this machine should be managed by the realm or domain or not. Defaults to true.

This method requires authorization for the PolicyKit action called org.freedesktop.realmd.configure-realm.

In addition to common DBus error results, this method may return:

  • org.freedesktop.realmd.Error.Failed: may be returned if the join failed for a generic reason.

  • org.freedesktop.realmd.Error.Cancelled: returned if the operation was cancelled.

  • org.freedesktop.realmd.Error.NotAuthorized: returned if the calling client is not permitted to perform a join operation.

  • org.freedesktop.realmd.Error.AuthenticationFailed: returned if the credentials passed did not authenticate against the realm correctly. It is appropriate to prompt the user again.

  • org.freedesktop.realmd.Error.AlreadyEnrolled: returned if already enrolled in this realm, or if already enrolled in another realm (if enrolling in multiple realms is not supported).

  • org.freedesktop.realmd.Error.BadHostname: returned if the machine has a hostname that is not usable for a join or is in conflict with those in the domain.

  • org.freedesktop.realmd.Error.Busy: returned if the service is currently performing another operation like join or leave.

IN (ssv) credentials:

IN a{sv} options:


The Leave() method

Leave (IN  (ssv) credentials,
       IN  a{sv} options);

Leave the realm and unenroll the machine.

If this method returns successfully, then the machine will have left the domain and been unenrolled. It is not necessary to restart services or the machine afterward. Relevant properties on the realm will be updated before the method returns.

The credentials should be set according to one of the supported credentials returned by org.freedesktop.realmd.Kerberos:SupportedJoinCredentials. The first string in the tuple is the type, the second string is the owner, and the variant contains the credential contents See the discussion at org.freedesktop.realmd.Kerberos:SupportedJoinCredentials for more information.

options can contain, but is not limited to, the following values:

  • operation: a string identifier chosen by the client, which can then later be passed to Cancel() in order to cancel the operation

This method requires authorization for the PolicyKit action called org.freedesktop.realmd.deconfigure-realm.

In addition to common DBus error results, this method may return:

  • org.freedesktop.realmd.Error.Failed: may be returned if the unenroll failed for a generic reason.

  • org.freedesktop.realmd.Error.Cancelled: returned if the operation was cancelled.

  • org.freedesktop.realmd.Error.NotAuthorized: returned if the calling client is not permitted to perform an unenroll operation.

  • org.freedesktop.realmd.Error.AuthenticationFailed: returned if the credentials passed did not authenticate against the realm correctly. It is appropriate to prompt the user again.

  • org.freedesktop.realmd.Error.NotEnrolled: returned if not enrolled in this realm.

  • org.freedesktop.realmd.Error.Busy: returned if the service is currently performing another operation like join or leave.

IN (ssv) credentials:

IN a{sv} options:

Property Details

The "SuggestedAdministrator" property

SuggestedAdministrator  readable   s

common administrator name

The common administrator name for this type of realm. This can be used by clients as a hint when prompting the user for administrative authentication.


The "SupportedJoinCredentials" property

SupportedJoinCredentials  readable   a(ss)

credentials supported for joining

Various kinds of credentials that are supported when calling the org.freedesktop.realmd.Kerberos.Join() method.

Each credential is represented by a type and an owner. The type denotes which kind of credential is passed to the method. The owner indicates to the client how to prompt the user or obtain the credential, and to the service how to use the credential.

The various types are:

  • ccache: the credentials should contain an array of bytes as a ay containing the data from a kerberos credential cache file.

  • password: the credentials should contain a pair of strings as a (ss) representing a name and password. The name may contain a realm in the standard kerberos format. If a realm is missing, it will default to this realm.

  • secret: the credentials should contain a string secret as an ay array of bytes. This is usually used for one time passwords. To pass a string here, encode it in UTF-8, and place the resulting bytes in the value.

  • automatic: the credentials should contain an empty string as a s. Using automatic indicates that default or system credentials are to be used.

The various owners are:

  • administrator: the credentials belong to a kerberos administrator principal. The caller may use this as a hint to prompt the user for administrative credentials.

  • user: the credentials belong to a kerberos user principal. The caller may use this as a hint to prompt the user for his (possibly non-administrative) credentials.

  • computer: the credentials belong to a computer account.

  • none: the credentials have an unspecified owner, such as a one time password.


The "SupportedLeaveCredentials" property

SupportedLeaveCredentials  readable   a(ss)

credentials supported for leaving

Various kinds of credentials that are supported when calling the org.freedesktop.realmd.Kerberos.Leave() method.

See org.freedesktop.realmd.Kerberos:SupportedJoinCredentials for a discussion of what the values represent.

realmd-0.15.0/doc/manual/html/development.html0000664000175000017500000000522412263034130021222 0ustar00stefstef00000000000000 Part II. Developer Reference realmd-0.15.0/doc/manual/html/gdbus-org.freedesktop.realmd.Provider.html0000664000175000017500000002174312263034130026143 0ustar00stefstef00000000000000 org.freedesktop.realmd.Provider

org.freedesktop.realmd.Provider

org.freedesktop.realmd.Provider — a realm provider

Methods

Discover (IN  s     string,
          IN  a{sv} options,
          OUT i     relevance,
          OUT ao    realm);

Properties

Name     readable   s
Version  readable   s
Realms   readable   ao

Description

Various realm providers represent different software implementations that provide access to realms or domains.

This interface is implemented by individual providers, but is aggregated globally at the system bus name org.freedesktop.realmd with the object path /org/freedesktop/realmd

Method Details

The Discover() method

Discover (IN  s     string,
          IN  a{sv} options,
          OUT i     relevance,
          OUT ao    realm);

Discover realms for the given string. The input string is usually a domain or realm name, perhaps typed by a user. If an empty string is provided, the realm provider should try to discover a default realm, if possible (e.g. from DHCP).

options can contain, but is not limited to, the following values:

  • operation: a string identifier chosen by the client, which can then later be passed to Cancel() in order to cancel the operation

  • client-software: a string containing the client software identifier that the returned realms should match.

  • server-software: a string containing the client software identifier that the returned realms should match.

  • membership-software: a string containing the membership software identifier that the returned realms should match.

The relevance returned can be used to rank results from different discover calls to different providers. Implementors should return a positive number if the provider highly recommends that the realms be handled by this provider, or a zero if it can possibly handle the realms. Negative numbers should be returned if no realms are found.

This method does not return an error when no realms are discovered. It simply returns an empty realm list.

To see diagnostic information about the discovery process, connect to the org.freedesktop.realmd.Service::Diagnostics signal.

This method requires authorization for the PolicyKit action called org.freedesktop.realmd.discover-realm.

In addition to common DBus error results, this method may return:

  • org.freedesktop.realmd.Error.Failed: may be returned if the discovery could not be run for some reason.

  • org.freedesktop.realmd.Error.Cancelled: returned if the operation was cancelled.

  • org.freedesktop.realmd.Error.NotAuthorized: returned if the calling client is not permitted to perform a discovery operation.

IN s string:

an input string to discover realms for

IN a{sv} options:

options for the discovery operation

OUT i relevance:

the relevance of the returned results

OUT ao realm:

a list of realms discovered

Property Details

The "Name" property

Name  readable   s

the name of the provider

The name of the provider. This is not normally displayed to the user, but may be useful for diagnostics or debugging.


The "Version" property

Version  readable   s

the version of the provider

The version of the provider. This is not normally used in logic, but may be useful for diagnostics or debugging.


The "Realms" property

Realms  readable   ao

a list of realms

A list of known, enrolled or discovered realms. All realms that this provider knows about are listed here. As realms are discovered they are added to this list.

Each realm is represented by the DBus object path of the realm object.

realmd-0.15.0/doc/manual/html/guide-kerberos.html0000664000175000017500000000661012263034130021607 0ustar00stefstef00000000000000 Using with other Kerberos realms

Using with other Kerberos realms

realmd can discover generic Kerberos realms. Since there is no standard way to enroll a computer against a Kerberos server, it is not possible to do this with realmd.

Discovering Kerberos realms

realmd discovers which domains or realms it can use or configure. It can discover and identify Kerberos domains by looking up the appropriate DNS SRV records.

The following DNS SRV record is required to be present for realmd to identify a provided realm as a Kerberos domain.

# In this example the Kerberos domain is 'domain.example.com'
_kerberos._udp.domain.example.com.
$ realm --verbose discover domain.example.com
 * Searching for kerberos SRV records for domain: _kerberos._udp.domain.example.com
 * Searching for MSDCS SRV records on domain: _kerberos._tcp.dc._msdcs.domain.example.com
 * dc.domain.example.com:88
 * Trying to retrieve IPA certificate from dc.domain.example.com
 ! Couldn't read certificate via HTTP: No PEM-encoded certificate found
 ! Couldn't discover IPA KDC: No PEM-encoded certificate found
 * Found kerberos DNS records for: domain.example.com
 * Successfully discovered: domain.example.com
...
realmd-0.15.0/doc/manual/html/guide-active-directory-join.html0000664000175000017500000001153312263034130024205 0ustar00stefstef00000000000000 Joining an Active Directory domain

Joining an Active Directory domain

To join an Active Directory domain with realmd you can use the realm command line tool:

$ realm join --verbose domain.example.com

By specifying the --verbose it's easier to see what went wrong if the join fails.

Other tools also use realmd which can be used to perform the join operation, for example: GNOME Control Center.

The join operation does the following:

  • Discovers information about the domain.

  • Installs the necessary software to join the domain, such as SSSD or Winbind.

  • Tries to join the domain automatically, without administrative credentials.

  • If administrative credentials are required, a password will be prompted for.

  • A computer account in the domain will be created, and or updated.

  • A host keytab file at /etc/krb5.keytab is created.

  • Configures the SSSD or Winbind services, and restarts and enables them as appropriate.

  • Enables domain users in /etc/nsswitch.conf

In addition an Active Directory domain controller's host name or IP address may be specified to join via that domain controller directly.

After the join operation is complete, domain accounts should be usable locally, although logins using domain accounts are not necessarily enabled.

You verify that domain accounts are working with with a command like this:

$ getent passwd DOMAIN\Administrator

The join operation will create or update a computer account in the domain. If you wish to specify a specific organizational unit where this account is created, you can use the computer-ou setting.

Specify the --user to choose a different user name than the default Administrator user.

You can use kerberos credentials to perform the join. Use the kinit command to acquire credentials prior to starting the join. Do not specify the --user argument, the user will be selected automatically from the credential cache. The realm respects the KRB5_CCACHE environment variable, but uses the default kerberos credential cache if it's not present.

realmd-0.15.0/doc/manual/html/dbus-interface-reference.html0000664000175000017500000000510512263034130023525 0ustar00stefstef00000000000000 DBus Interface Reference

DBus Interface Reference

realmd-0.15.0/doc/manual/html/guide-ipa-client.html0000664000175000017500000000357312263034130022025 0ustar00stefstef00000000000000 IPA client software

IPA client software

As part of configuring an IPA domain for use on the local computer, realmd will install and configure client software to enable domain accounts to be used on the local computer.

For a IPA domain this is SSSD.

realmd-0.15.0/doc/manual/html/right.png0000664000175000017500000000073012263034130017632 0ustar00stefstef00000000000000PNG  IHDRw=bKGD pHYs  ~tIME2 I%=eIDATx!o@.'**M0$$?1~vIeEuLl&4䝠Bݛ|>$ݶoc Using with Active Directory

Using with Active Directory

realmd can discover Active Directory domains and join the current computer as an account on that domain. This allows using domain users locally, as well as use a domain account to log into the machine.

Discovering Active Directory domains

realmd discovers which domains or realms it can use or configure. It can discover and identify Active Directory domains by looking up the appropriate DNS SRV records.

The following DNS SRV records are required to be present for realmd to identify a provided realm as an Active Directory domain. The DNS server that comes with Active Directory on Windows Server automatically creates these DNS records.

# In this example the Active Directory domain is 'domain.example.com'
_ldap._tcp.dc._msdcs.domain.example.com.

An Active Directory specific UDP LDAP ping is sent to each server during discovery.

To see how realmd is discovering a particular domain name, try a command like the following. Using the --verbose argument displays verbose discovery information.

$ realm discover --verbose domain.example.com
 * Resolving: _ldap._tcp.dc._msdcs.domain.example.com
 * Sending MS-CLDAP ping to: 192.168.20.10
 * Sending MS-CLDAP ping to: 192.168.12.12
 * Successfully discovered: domain.example.com
...

In addition an Active Directory domain controller's host name or IP address may be specified directly.

realmd-0.15.0/doc/manual/html/gtk-doc.css0000664000175000017500000001207212263034130020053 0ustar00stefstef00000000000000.synopsis, .classsynopsis { /* tango:aluminium 1/2 */ background: #eeeeec; border: solid 1px #d3d7cf; padding: 0.5em; } .programlisting { /* tango:sky blue 0/1 */ background: #e6f3ff; border: solid 1px #729fcf; padding: 0.5em; } .variablelist { padding: 4px; margin-left: 3em; } .variablelist td:first-child { vertical-align: top; } @media screen { sup a.footnote { position: relative; top: 0em ! important; } /* this is needed so that the local anchors are displayed below the naviagtion */ div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] { display: inline-block; position: relative; top:-5em; } /* this seems to be a bug in the xsl style sheets when generating indexes */ div.index div.index { top: 0em; } /* make space for the fixed navigation bar and add space at the bottom so that * link targets appear somewhat close to top */ body { padding-top: 3.2em; padding-bottom: 20em; } /* style and size the navigation bar */ table.navigation#top { position: fixed; /* tango:scarlet red 0/1 */ background: #ffe6e6; border: solid 1px #ef2929; margin-top: 0; margin-bottom: 0; top: 0; left: 0; height: 3em; z-index: 10; } .navigation a, .navigation a:visited { /* tango:scarlet red 3 */ color: #a40000; } .navigation a:hover { /* tango:scarlet red 1 */ color: #ef2929; } td.shortcuts { /* tango:scarlet red 1 */ color: #ef2929; font-size: 80%; white-space: nowrap; } } @media print { table.navigation { visibility: collapse; display: none; } div.titlepage table.navigation { visibility: visible; display: table; /* tango:scarlet red 0/1 */ background: #ffe6e6; border: solid 1px #ef2929; margin-top: 0; margin-bottom: 0; top: 0; left: 0; height: 3em; } } .navigation .title { font-size: 200%; } div.gallery-float { float: left; padding: 10px; } div.gallery-float img { border-style: none; } div.gallery-spacer { clear: both; } a, a:visited { text-decoration: none; /* tango:sky blue 2 */ color: #3465a4; } a:hover { text-decoration: underline; /* tango:sky blue 1 */ color: #729fcf; } div.table table { border-collapse: collapse; border-spacing: 0px; /* tango:aluminium 3 */ border: solid 1px #babdb6; } div.table table td, div.table table th { /* tango:aluminium 3 */ border: solid 1px #babdb6; padding: 3px; vertical-align: top; } div.table table th { /* tango:aluminium 2 */ background-color: #d3d7cf; } hr { /* tango:aluminium 3 */ color: #babdb6; background: #babdb6; border: none 0px; height: 1px; clear: both; } .footer { padding-top: 3.5em; /* tango:aluminium 3 */ color: #babdb6; text-align: center; font-size: 80%; } .warning { /* tango:orange 0/1 */ background: #ffeed9; border-color: #ffb04f; } .note { /* tango:chameleon 0/0.5 */ background: #d8ffb2; border-color: #abf562; } .note, .warning { padding: 0.5em; border-width: 1px; border-style: solid; } .note h3, .warning h3 { margin-top: 0.0em } .note p, .warning p { margin-bottom: 0.0em } /* blob links */ h2 .extralinks, h3 .extralinks { float: right; /* tango:aluminium 3 */ color: #babdb6; font-size: 80%; font-weight: normal; } .annotation { /* tango:aluminium 5 */ color: #555753; font-size: 80%; font-weight: normal; } /* code listings */ .listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ .listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ .listing_code .programlisting .function { color: #000000; font-weight: bold; } .listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ .listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ .listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ .listing_code .programlisting .normal { color: #000000; } .listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */ .listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ .listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ .listing_code .programlisting .type { color: #000000; } .listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ .listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ .listing_frame { /* tango:sky blue 1 */ border: solid 1px #729fcf; padding: 0px; } .listing_lines, .listing_code { margin-top: 0px; margin-bottom: 0px; padding: 0.5em; } .listing_lines { /* tango:sky blue 0.5 */ background: #a6c5e3; /* tango:aluminium 6 */ color: #2e3436; } .listing_code { /* tango:sky blue 0 */ background: #e6f3ff; } .listing_code .programlisting { /* override from previous */ border: none 0px; padding: 0px; } .listing_lines pre, .listing_code pre { margin: 0px; } realmd-0.15.0/doc/manual/html/gdbus-org.freedesktop.realmd.Service.html0000664000175000017500000001766012263034130025754 0ustar00stefstef00000000000000 org.freedesktop.realmd.Service

org.freedesktop.realmd.Service

org.freedesktop.realmd.Service — the realmd service

Methods

Cancel    (IN  s operation);
SetLocale (IN  s locale);
Release   ();

Signals

Diagnostics (s data,
             s operation);

Description

Global calls for managing the realmd service. Usually you'll want to use org.freedesktop.realmd.Provider instead.

This interface is implemented by the realmd service, and is always available at the object path /org/freedesktop/realmd

The service also implements the org.freedesktop.DBus.ObjectManager interface which makes it easy to retrieve all realmd objects and properties in one go.

Method Details

The Cancel() method

Cancel (IN  s operation);

Cancel a realmd operation. To be able to cancel an operation, pass a uniquely chosen operation string identifier as an option in the method's options argument.

These operation string identifiers should be unique per client calling the realmd service.

It is not guaranteed that the service can or will cancel the operation. For example, the operation may have already completed by the time this method is handled. The caller of the operation method will receive a org.freedesktop.realmd.Error.Cancelled if the operation was cancelled.

IN s operation:

the operation to cancel


The SetLocale() method

SetLocale (IN  s locale);

Set the language locale for the client. This locale is used for error messages. The locale is used until the next time this method is called, the client disconnects, or the client calls #Release().

IN s locale:

the locale for the client


The Release() method

Release ();

Normally, realmd waits until all clients have disconnected before exiting itself sometime later. Long lived clients can call this method to allow the realmd service to quit. This is an optimization. The daemon will not exit immediately. It is safe to call this multiple times.

Signal Details

The "Diagnostics" signal

Diagnostics (s data,
             s operation);

This signal is fired when diagnostics result from an operation in the provider or one of its realms.

It is not guaranteed that this signal is emitted once per line. More than one line may be contained in data, or a partial line. New line characters are embedded in data.

This signal is sent explicitly to the client which invoked an operation method. In order to tell which operation this diagnostic data results from, pass a unique operation string identifier in the options argument of the operation method. That same identifier will be passed back via the operation argument of this signal.

s data:

diagnostic data

s operation:

the operation this data resulted from

realmd-0.15.0/doc/manual/html/guide-active-directory-client.html0000664000175000017500000001045112263034130024522 0ustar00stefstef00000000000000 Active Directory client software

Active Directory client software

As part of configuring an Active Directory domain for use on the local computer, realmd will configure client software to enable domain accounts to be used on the local computer.

realmd supports two types of client software for Active Directory: SSSD and Winbind. By default SSSD is used.

Using SSSD with Active Directory

SSSD provides client software for various kerberos and/or LDAP directories. Since version 1.9.x it provides good support for Active Directory.

When joining a computer to an Active Directory domain, realmd will use SSSD as the client software by default. You can force use of SSSD by specifying the --client-software=sssd when joining the domain with the realm command like this:

$ realm join --client-software=sssd domain.example.com

Using Winbind with Active Directory

Samba Winbind provides client software for use with Active Directory.

To have realmd use Winbind as the client software, configure the default-client setting. You can force use of Winbind by specifying the --client-software=winbind when joining the domain with the realm command like this:

$ realm join --client-software=winbind domain.example.com
realmd-0.15.0/doc/manual/html/guide.html0000664000175000017500000000710512263034130017775 0ustar00stefstef00000000000000 Part I. Administrative Guide realmd-0.15.0/doc/manual/html/home.png0000664000175000017500000000121612263034130017445 0ustar00stefstef00000000000000PNG  IHDRw=bKGD pHYs  ~tIME1KvIDATxՕkq?rCp ~CnpCAAJ .B-\'G]:ܠC -(8 Ԁ!fDғklbRoyxwpðIJ<of_-@RHf֟t^ښ$Q|pgv;X^^&s(bwwZF9&3඙ ^IRZUE.0Z]]U PYM8HGIekqqҀ! $۬3n e{-/seeeÌXOͷ$8==USQRR'9-s+B^ Cەs+%<7W :2IENDB`realmd-0.15.0/doc/manual/html/guide-integration.html0000664000175000017500000000307012263034130022313 0ustar00stefstef00000000000000 Integration

Integration

Not yet written

realmd-0.15.0/doc/manual/html/realm-manual.html0000664000175000017500000000350612263034130021254 0ustar00stefstef00000000000000 Command manual pages

Command manual pages

realm — Manage enrollment in realms
realmd.conf — Tweak behavior of realmd
realmd-0.15.0/doc/manual/html/left.png0000664000175000017500000000071312263034130017450 0ustar00stefstef00000000000000PNG  IHDRw=bKGD pHYs  ~tIME1&[(XIDATx!OPE*ID%~ꊯ"p'ŏ`sܖrKf hmiIz}ܯI.p\`x l?l[,Hk<#c%\AUx[S7n6rzEs1j@NL$ݤi0 5/}\EKIo͓$a0jdFbkIAh>WlC'?tk;|/t*INZ^`y4Nr]׮ J<ڐt`X1@p䀸dZ')hK $V?%]+LsgUK"w53OIENDB`realmd-0.15.0/doc/manual/html/index.html0000664000175000017500000001053412263034130020007 0ustar00stefstef00000000000000 realmd realmd-0.15.0/doc/manual/html/gdbus-org.freedesktop.realmd.Realm.html0000664000175000017500000005055412263034130025413 0ustar00stefstef00000000000000 org.freedesktop.realmd.Realm

org.freedesktop.realmd.Realm

org.freedesktop.realmd.Realm — a realm

Methods

Deconfigure       (IN  a{sv} options);
ChangeLoginPolicy (IN  s     login_policy,
                   IN  as    permitted_add,
                   IN  as    permitted_remove,
                   IN  a{sv} options);

Properties

Name                 readable   s
Configured           readable   s
SupportedInterfaces  readable   as
Details              readable   a(ss)
RequiredPackages     readable   as
LoginFormats         readable   as
LoginPolicy          readable   s
PermittedLogins      readable   as
PermittedGroups      readable   as

Description

Represents one realm.

Contains generic information about a realm, and useful properties for introspecting what kind of realm this is and how to work with the realm.

Use "Realms" or #Discover() to get access to some kerberos realm objects.

Realms will always implement additional interfaces, such as org.freedesktop.realmd.Kerberos. Do not assume that all realms implement that kerberos interface. Use the "SupportedInterfaces" property to see which interfaces are supported.

Different realms support various ways to configure them on the system. Use the "Configured" property to determine if a realm is configured. If it is configured, the property will be set to the interface of the mechanism that was used to configure it.

To configure a realm, look in the "SupportedInterfaces" property for a recognized purpose-specific interface that can be used for configuration, such as the org.freedesktop.realmd.KerberosMembership interface and its #Join() method.

To deconfigure a realm from the current system, you can use the #Deconfigure() method. In addition, some of the configuration specific interfaces provide methods to deconfigure a realm in a specific way, such as the #Leave() method.

The various properties are guaranteed to have been updated before the operation methods return, if they change state.

Method Details

The Deconfigure() method

Deconfigure (IN  a{sv} options);

deconfigure this realm

Deconfigure this realm from the local machine with standard default behavior.

The behavior of this method depends on the which configuration interface is present in the org.freedesktop.realmd.Realm.Configured property. It does not always delete membership accounts in the realm, but just reconfigures the local machine so it no longer is configured for the given realm. In some cases the implementation may try to update membership accounts, but this is not guaranteed.

Various configuration interfaces may support more specific ways to deconfigure a realm in a specific way, such as the #Leave() method.

options can contain, but is not limited to, the following values:

  • operation: a string identifier chosen by the client, which can then later be passed to Cancel() in order to cancel the operation

This method requires authorization for the PolicyKit action called org.freedesktop.realmd.deconfigure-realm.

In addition to common DBus error results, this method may return:

  • org.freedesktop.realmd.Error.Failed: may be returned if the deconfigure failed for a generic reason.

  • org.freedesktop.realmd.Error.Cancelled: returned if the operation was cancelled.

  • org.freedesktop.realmd.Error.NotAuthorized: returned if the calling client is not permitted to deconfigure a realm.

  • org.freedesktop.realmd.Error.NotConfigured: returned if this realm is not configured on the machine.

  • org.freedesktop.realmd.Error.Busy: returned if the service is currently performing another operation like join or leave.

IN a{sv} options:


The ChangeLoginPolicy() method

ChangeLoginPolicy (IN  s     login_policy,
                   IN  as    permitted_add,
                   IN  as    permitted_remove,
                   IN  a{sv} options);

Change the login policy and/or permitted logins for this realm.

Not all realms support all the various login policies. An error will be returned if the new login policy is not supported. You may specify an empty string for the login_policy argument which will cause no change in the policy itself. If the policy is changed, it will be reflected in the "LoginPolicy" property.

The permitted_add and permitted_remove arguments represent lists of login names that should be added and removed from the org.freedesktop.realmd.Kerberos:PermittedLogins property.

options can contain, but is not limited to, the following values:

  • operation: a string identifier chosen by the client, which can then later be passed to Cancel() in order to cancel the operation

  • groups: boolean which if set to TRUE means that the names in permitted_add and permitted_remove are group names instead of login names.

This method requires authorization for the PolicyKit action called org.freedesktop.realmd.login-policy.

In addition to common DBus error results, this method may return:

  • org.freedesktop.realmd.Error.Failed: may be returned if the policy change failed for a generic reason.

  • org.freedesktop.realmd.Error.Cancelled: returned if the operation was cancelled.

  • org.freedesktop.realmd.Error.NotAuthorized: returned if the calling client is not permitted to change login policy operation.

  • org.freedesktop.realmd.Error.NotConfigured: returned if the realm is not configured.

  • org.freedesktop.realmd.Error.Busy: returned if the service is currently performing another operation like join or leave.

IN s login_policy:

the new login policy, or an empty string

IN as permitted_add:

a list of logins to permit

IN as permitted_remove:

a list of logins to not permit

IN a{sv} options:

options for this operation

Property Details

The "Name" property

Name  readable   s

the realm name

This is the name of the realm, appropriate for display to end users where necessary.


The "Configured" property

Configured  readable   s

whether this domain is configured and how

If this property is an empty string, then the realm is not configured. Otherwise the realm is configured, and contains a string which is the interface that represents how it was configured, for example org.freedesktop.realmd.KerberosMembership.


The "SupportedInterfaces" property

SupportedInterfaces  readable   as

Additional supported interfaces of this realm. This includes interfaces that contain more information about the realm, such as org.freedesktop.realmd.Kerberos and interfaces which contain methods for configuring a realm, such as org.freedesktop.realmd.KerberosMembership.


The "Details" property

Details  readable   a(ss)

informational details about the realm

Informational details about the realm. The following values should be present:

  • server-software: identifier of the software running on the server (e.g. active-directory).

  • client-software: identifier of the software running on the client (e.g. sssd).


The "RequiredPackages" property

RequiredPackages  readable   as

prerequisite software

Software packages that are required in order for a join to succeed. These are either simple strings like sssd, or strings with an operator and version number like sssd >= 1.9.0

These values are specific to the packaging system that is being run.


The "LoginFormats" property

LoginFormats  readable   as

supported formats for login names

Supported formats for login to this realm. This is only relevant once the realm has been enrolled. The formats will contain a U in the string, which indicate where the user name should be placed. The formats may contain a D in the string which indicate where a domain name should be placed.

The first format in the list is the preferred format for login names.


The "LoginPolicy" property

LoginPolicy  readable   s

the policy for logins using this realm

The policy for logging into this computer using this realm.

The policy can be changed using the #ChangeLoginPolicy() method.

The following policies are predefined. Not all providers support all these policies and there may be provider specific policies or multiple policies represented in the string:

  • allow-any-login: allow login by any authenticated user present in this realm.

  • allow-realm-logins: allow logins according to the realm or domain policy for logins on this machine. This usually defaults to allowing any realm user to log in.

  • allow-permitted-logins: only allow the logins permitted in the "PermittedLogins" property.

  • deny-any-login: don't allow any logins via authenticated users of this realm.


The "PermittedLogins" property

PermittedLogins  readable   as

the permitted login names

The list of permitted authenticated users allowed to login into this computer. This is only relevant if the "LoginPolicy" property contains the allow-permitted-logins string.


The "PermittedGroups" property

PermittedGroups  readable   as

the permitted group names

The list of groups which users need to be in to be allowed to log into this computer. This is only relevant if the "LoginPolicy" property contains the allow-permitted-logins string.

realmd-0.15.0/doc/manual/realmd.conf.xml0000664000175000017500000002740212200723534017766 0ustar00stefstef00000000000000 realmd.conf realmd Maintainer Stef Walter stef@thewalter.net realmd.conf 5 File Formats realmd.conf Tweak behavior of realmd Configuration File realmd can be tweaked by network administrators to act in specific ways. This is done by placing settings in a /etc/realmd.conf. This file does not exist by default. The syntax of this file is the same as an INI file or Desktop Entry file. In general, settings in this file only apply at the point of joining a domain or realm. Once the realm has been setup the settings have no effect. You may choose to configure SSSD or Winbind directly. Only specify the settings you wish to override in the /etc/realmd.conf file. Settings not specified will be loaded from their packaged defaults. Only override the settings below. You may find other settings if you look through the realmd source code. However these are not guaranteed to remain stable. There are various sections in the config file. Some sections are global topic sections, and are listed below. Other sections are specific to a given realm. These realm specific sections should always contain the domain name in lower case as their section header. Examples of each setting is found below, including the header of the section it should be placed in. However in the resulting file only include each section once, and combine the various section setting together as lines underneath the section. For example [users] default-home = /home/%U default-shell = /bin/bash active-directory These options should go in an section of the /etc/realmd.conf file. Only specify the settings you wish to override. Specify the setting in order to control which client software is the preferred default for use with Active Directory. [active-directory] default-client = sssd # default-client = winbind The default setting for this is which uses SSSD as the Active Directory client. You can also specify to use Samba Winbind. Some callers of realmd such as the realm command line tool allow specifying which client software should be used. Others, such as GNOME Control Center, simplify choose the default. You can verify the preferred default client softawre by running the following command. The realm with the preferred client software will be listed first. $ realm discover domain.example.com domain.example.com configured: no server-software: active-directory client-software: sssd type: kerberos realm-name: AD.THEWALTER.LAN domain-name: ad.thewalter.lan domain.example.com configured: no server-software: active-directory client-software: winbind type: kerberos realm-name: AD.THEWALTER.LAN domain-name: ad.thewalter.lan (see below) Specify the and/or settings to control the values that are placed in the computer account and attributes. This is an Active Directory specific option. [active-directory] os-name = Gentoo Linux os-version = 9.9.9.9.9 service These options should go in an section of the /etc/realmd.conf file. Only specify the settings you wish to override. Set this to no to disable automatic installation of packages via package-kit. [service] automatic-install = no # automatic-install = yes users These options should go in an section of the /etc/realmd.conf file. Only specify the settings you wish to override. Specify the setting in order to control how to set the home directory for accounts that have no home directory explicitly set. [users] default-home = /home/%D/%U # default-home = /nfs/home/%D-%U The default setting for this is . The format is replaced by the domain name. The format is replaced by the user name. You can verify the home directory for a user by running the following command. $ getent passwd 'DOMAIN/User' DOMAIN\user:*:13445:13446:Name:/home/DOMAIN/user:/bin/bash Note that in the case of IPA domains, most users already have a home directory configured in the domain. Therefore this configuration setting may rarely show through. Specify the setting in order to control how to set the Unix shell for accounts that have no shell explicitly set. [users] default-shell = /bin/bash # default-shell = /bin/sh The default setting for this is shell. The shell should be a valid shell if you expect the domain users be able to log in. For example it should exist in the /etc/shells file. You can verify the shell for a user by running the following command. $ getent passwd 'DOMAIN/User' DOMAIN\user:*:13445:13446:Name:/home/DOMAIN/user:/bin/bash Note that in the case of IPA domains, most users already have a shell configured in the domain. Therefore this configuration setting may rarely show through. Realm specific settings These options should go in an section with the same name as the realm in the /etc/realmd.conf file. For example for the domain the section would be called . To figure out the canonical name for a realm use the realm command: $ realm discover --name DOMAIN.example.com domain.example.com ... Only specify the settings you wish to override. Specify this option to create directory computer accounts in a location other than the default. This currently only works with Active Directory domains. [domain.example.com] computer-ou = OU=Linux Computers,DC=domain,DC=example,DC=com # computer-ou = OU=Linux Computers, Specify the OU as an LDAP DN. It can be relative to the Root DSE, or a complete LDAP DN. Obviously the OU must exist in the directory. It is also possible to use the argument of the realm command to create a computer account at a specific OU. Set the to yes to create attributes for the computer account in the realm, in the form host/computer@REALM [domain.example.com] user-principal = yes This option is on by default for Active Directory realms. Turn it off to use UID and GID information stored in the directory (as-per RFC2307) rather than automatically generating UID and GID numbers. This option only makes sense for Active Directory realms. [domain.example.com] automatic-id-mapping = no # automatic-id-mapping = yes This option is on by default. Normally joining a realm affects many aspects of the configuration and management of the system. Turning this off limits the interaction with the realm or domain to authentication and identity. [domain.example.com] manage-system = no # manage-system = yes When this option is turned on realmd defaults to using domain policy to control who can log into this machine. Further adjustments to login policy can be made with the realm permit command. This option is on by default. If turned off then realm user and group names are not qualified their name. This may cause them to conflict with local user and group names. [domain.example.com] fully-qualified-names = no # fully-qualified-names = yes realmd-0.15.0/doc/manual/version-greater-or-equal.xsl0000664000175000017500000000322012140455743022442 0ustar00stefstef00000000000000 1 0 0 1 realmd-0.15.0/doc/manual/Makefile.in0000664000175000017500000004756212263026711017134 0ustar00stefstef00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = doc/manual DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/build/m4/intltool.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man5dir = $(mandir)/man5 am__installdirs = "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" man8dir = $(mandir)/man8 NROFF = nroff MANS = $(man5_MANS) $(man8_MANS) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_POLICY_DIR = @DBUS_POLICY_DIR@ DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTRO = @DISTRO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ KRB5_CFLAGS = @KRB5_CFLAGS@ KRB5_CONFIG = @KRB5_CONFIG@ KRB5_LIBS = @KRB5_LIBS@ LCOV = @LCOV@ LDAP_CFLAGS = @LDAP_CFLAGS@ LDAP_LIBS = @LDAP_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGEKIT_CFLAGS = @PACKAGEKIT_CFLAGS@ PACKAGEKIT_LIBS = @PACKAGEKIT_LIBS@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POLKIT_ACTION_DIR = @POLKIT_ACTION_DIR@ POLKIT_CFLAGS = @POLKIT_CFLAGS@ POLKIT_LIBS = @POLKIT_LIBS@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SYSTEMD_JOURNAL_CFLAGS = @SYSTEMD_JOURNAL_CFLAGS@ SYSTEMD_JOURNAL_LIBS = @SYSTEMD_JOURNAL_LIBS@ SYSTEMD_UNIT_DIR = @SYSTEMD_UNIT_DIR@ TEST_MODE = @TEST_MODE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XMLTO = @XMLTO@ XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ cachedir = @cachedir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ privatedir = @privatedir@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ NULL = man8_MANS = \ realm.8 man5_MANS = \ realmd.conf.5 MAN_IN_FILES = \ $(man8_MANS:.8=.xml) \ $(man5_MANS:.5=.xml) \ $(NULL) DOCBOOK_FILE = realmd-docs.xml CONTENT_INCLUDES = \ realmd-guide-active-directory.xml \ realmd-guide-ipa.xml \ realmd-guide-kerberos.xml \ $(NULL) STATIC_FILES = \ static/gtk-doc.css \ static/style.css \ $(NULL) DBUS_INTERFACE = $(top_srcdir)/dbus/org.freedesktop.realmd.xml DBUS_ESCAPED = realmd-org.freedesktop.realmd.xml DBUS_GENERATED = \ realmd-org.freedesktop.realmd.Kerberos.xml \ realmd-org.freedesktop.realmd.KerberosMembership.xml \ realmd-org.freedesktop.realmd.Provider.xml \ realmd-org.freedesktop.realmd.Realm.xml \ realmd-org.freedesktop.realmd.Service.xml XSLT_FILES = \ escape-xml-to-text.xsl \ gdbus-fix-bugs.xsl \ gtk-doc.xsl \ version-greater-or-equal.xsl \ $(NULL) EXTRA_DIST = \ $(DOCBOOK_FILE) \ $(CONTENT_INCLUDES) \ $(MAN_IN_FILES) \ $(XSLT_FILES) \ static \ $(NULL) CLEANFILES = \ $(DBUS_GENERATED) \ $(DBUS_ESCAPED) \ $(man8_MANS) \ $(man5_MANS) \ $(NULL) all: all-am .SUFFIXES: .SUFFIXES: .5 .8 .xml $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/manual/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign doc/manual/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-man5: $(man5_MANS) @$(NORMAL_INSTALL) @list1='$(man5_MANS)'; \ list2=''; \ test -n "$(man5dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.5[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \ done; } uninstall-man5: @$(NORMAL_UNINSTALL) @list='$(man5_MANS)'; test -n "$(man5dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir) install-man8: $(man8_MANS) @$(NORMAL_INSTALL) @list1='$(man8_MANS)'; \ list2=''; \ test -n "$(man8dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.8[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \ done; } uninstall-man8: @$(NORMAL_UNINSTALL) @list='$(man8_MANS)'; test -n "$(man8dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook check-am: all-am check: check-am all-am: Makefile $(MANS) all-local installdirs: for dir in "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-data-local install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man5 install-man8 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-local uninstall-man uninstall-man: uninstall-man5 uninstall-man8 .MAKE: install-am install-strip .PHONY: all all-am all-local check check-am clean clean-generic \ clean-local cscopelist-am ctags-am dist-hook distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-man5 install-man8 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-local uninstall-man uninstall-man5 \ uninstall-man8 .xml.8: $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< .xml.5: $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< $(DBUS_GENERATED): $(DBUS_INTERFACE) gdbus-fix-bugs.xsl $(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.realmd. \ --generate-docbook realmd $< $(AM_V_GEN) for f in $(DBUS_GENERATED); do \ $(XSLTPROC) --output $$f.tmp $(srcdir)/gdbus-fix-bugs.xsl $$f && mv $$f.tmp $$f; \ done # The above gdbus-codegen target cannot be run in parallel .NOTPARALLEL: $(DBUS_ESCAPED): $(DBUS_INTERFACE) $(srcdir)/escape-xml-to-text.xsl $(AM_V_GEN) $(XSLTPROC) --nonet --novalid --output $(DBUS_ESCAPED) \ $(srcdir)/escape-xml-to-text.xsl $(DBUS_INTERFACE) @sed -i '/^[ ]*$$/d' $(DBUS_ESCAPED) html/index.html: $(DBUS_GENERATED) $(DOCBOOK_FILE) $(CONTENT_INCLUDES) $(MAN_IN_FILES) $(DBUS_ESCAPED) $(STATIC_FILES) $(AM_V_GEN) mkdir -p html && cp $(srcdir)/static/* html/ $(AM_V_GEN) $(XMLTO) html -m $(srcdir)/gtk-doc.xsl -o html \ --searchpath $(builddir):$(srcdir) $(srcdir)/$(DOCBOOK_FILE) all-local: html/index.html clean-local: @rm -rf *.tmp html install-data-local: $(MKDIR_P) $(DESTDIR)$(htmldir) $(INSTALL_DATA) $(builddir)/html/* $(DESTDIR)$(htmldir) uninstall-local: rm -rf $(DESTDIR)$(htmldir) dist-hook: html/index.html @mkdir $(distdir)/html @cp ./html/* $(distdir)/html upload: all rsync -Hvax html/./ anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/docs/./ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: realmd-0.15.0/doc/manual/Makefile.am0000664000175000017500000000510212167007323017104 0ustar00stefstef00000000000000 NULL = man8_MANS = \ realm.8 man5_MANS = \ realmd.conf.5 MAN_IN_FILES = \ $(man8_MANS:.8=.xml) \ $(man5_MANS:.5=.xml) \ $(NULL) DOCBOOK_FILE = realmd-docs.xml CONTENT_INCLUDES = \ realmd-guide-active-directory.xml \ realmd-guide-ipa.xml \ realmd-guide-kerberos.xml \ $(NULL) STATIC_FILES = \ static/gtk-doc.css \ static/style.css \ $(NULL) DBUS_INTERFACE = $(top_srcdir)/dbus/org.freedesktop.realmd.xml DBUS_ESCAPED = realmd-org.freedesktop.realmd.xml DBUS_GENERATED = \ realmd-org.freedesktop.realmd.Kerberos.xml \ realmd-org.freedesktop.realmd.KerberosMembership.xml \ realmd-org.freedesktop.realmd.Provider.xml \ realmd-org.freedesktop.realmd.Realm.xml \ realmd-org.freedesktop.realmd.Service.xml XSLT_FILES = \ escape-xml-to-text.xsl \ gdbus-fix-bugs.xsl \ gtk-doc.xsl \ version-greater-or-equal.xsl \ $(NULL) EXTRA_DIST = \ $(DOCBOOK_FILE) \ $(CONTENT_INCLUDES) \ $(MAN_IN_FILES) \ $(XSLT_FILES) \ static \ $(NULL) CLEANFILES = \ $(DBUS_GENERATED) \ $(DBUS_ESCAPED) \ $(man8_MANS) \ $(man5_MANS) \ $(NULL) .xml.8: $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< .xml.5: $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< $(DBUS_GENERATED): $(DBUS_INTERFACE) gdbus-fix-bugs.xsl $(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.realmd. \ --generate-docbook realmd $< $(AM_V_GEN) for f in $(DBUS_GENERATED); do \ $(XSLTPROC) --output $$f.tmp $(srcdir)/gdbus-fix-bugs.xsl $$f && mv $$f.tmp $$f; \ done # The above gdbus-codegen target cannot be run in parallel .NOTPARALLEL: $(DBUS_ESCAPED): $(DBUS_INTERFACE) $(srcdir)/escape-xml-to-text.xsl $(AM_V_GEN) $(XSLTPROC) --nonet --novalid --output $(DBUS_ESCAPED) \ $(srcdir)/escape-xml-to-text.xsl $(DBUS_INTERFACE) @sed -i '/^[ ]*$$/d' $(DBUS_ESCAPED) html/index.html: $(DBUS_GENERATED) $(DOCBOOK_FILE) $(CONTENT_INCLUDES) $(MAN_IN_FILES) $(DBUS_ESCAPED) $(STATIC_FILES) $(AM_V_GEN) mkdir -p html && cp $(srcdir)/static/* html/ $(AM_V_GEN) $(XMLTO) html -m $(srcdir)/gtk-doc.xsl -o html \ --searchpath $(builddir):$(srcdir) $(srcdir)/$(DOCBOOK_FILE) all-local: html/index.html clean-local: @rm -rf *.tmp html install-data-local: $(MKDIR_P) $(DESTDIR)$(htmldir) $(INSTALL_DATA) $(builddir)/html/* $(DESTDIR)$(htmldir) uninstall-local: rm -rf $(DESTDIR)$(htmldir) dist-hook: html/index.html @mkdir $(distdir)/html @cp ./html/* $(distdir)/html upload: all rsync -Hvax html/./ anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/docs/./ realmd-0.15.0/doc/manual/realmd-docs.xml0000664000175000017500000000322412167007323017767 0ustar00stefstef00000000000000 ]> realmd for &version; Administrative Guide Command manual pages Integration Not yet written Developer Reference DBus Interface Reference Raw DBus Interfaces These are the current raw DBus interfaces for realmd. realmd-0.15.0/doc/manual/realmd-guide-active-directory.xml0000664000175000017500000002060412140736051023406 0ustar00stefstef00000000000000 ]> Using with Active Directory realmd can discover Active Directory domains and join the current computer as an account on that domain. This allows using domain users locally, as well as use a domain account to log into the machine.
Discovering Active Directory domains realmd discovers which domains or realms it can use or configure. It can discover and identify Active Directory domains by looking up the appropriate DNS SRV records. The following DNS SRV records are required to be present for realmd to identify a provided realm as an Active Directory domain. The DNS server that comes with Active Directory on Windows Server automatically creates these DNS records. # In this example the Active Directory domain is 'domain.example.com' _ldap._tcp.dc._msdcs.domain.example.com. An Active Directory specific UDP LDAP ping is sent to each server during discovery. To see how realmd is discovering a particular domain name, try a command like the following. Using the argument displays verbose discovery information. $ realm discover --verbose domain.example.com * Resolving: _ldap._tcp.dc._msdcs.domain.example.com * Sending MS-CLDAP ping to: 192.168.20.10 * Sending MS-CLDAP ping to: 192.168.12.12 * Successfully discovered: domain.example.com ... In addition an Active Directory domain controller's host name or IP address may be specified directly.
Active Directory client software As part of configuring an Active Directory domain for use on the local computer, realmd will configure client software to enable domain accounts to be used on the local computer. realmd supports two types of client software for Active Directory: SSSD and Winbind. By default SSSD is used.
Using SSSD with Active Directory SSSD provides client software for various kerberos and/or LDAP directories. Since version 1.9.x it provides good support for Active Directory. When joining a computer to an Active Directory domain, realmd will use SSSD as the client software by default. You can force use of SSSD by specifying the when joining the domain with the realm command like this: $ realm join --client-software=sssd domain.example.com
Using Winbind with Active Directory Samba Winbind provides client software for use with Active Directory. To have realmd use Winbind as the client software, configure the setting. You can force use of Winbind by specifying the when joining the domain with the realm command like this: $ realm join --client-software=winbind domain.example.com
Joining an Active Directory domain To join an Active Directory domain with realmd you can use the realm command line tool: $ realm join --verbose domain.example.com By specifying the it's easier to see what went wrong if the join fails. Other tools also use realmd which can be used to perform the join operation, for example: GNOME Control Center. The join operation does the following: Discovers information about the domain. Installs the necessary software to join the domain, such as SSSD or Winbind. Tries to join the domain automatically, without administrative credentials. If administrative credentials are required, a password will be prompted for. A computer account in the domain will be created, and or updated. A host keytab file at /etc/krb5.keytab is created. Configures the SSSD or Winbind services, and restarts and enables them as appropriate. Enables domain users in /etc/nsswitch.conf In addition an Active Directory domain controller's host name or IP address may be specified to join via that domain controller directly. After the join operation is complete, domain accounts should be usable locally, although logins using domain accounts are not necessarily enabled. You verify that domain accounts are working with with a command like this: $ getent passwd DOMAIN\Administrator The join operation will create or update a computer account in the domain. If you wish to specify a specific organizational unit where this account is created, you can use the setting. Specify the to choose a different user name than the default Administrator user. You can use kerberos credentials to perform the join. Use the kinit command to acquire credentials prior to starting the join. Do not specify the argument, the user will be selected automatically from the credential cache. The realm respects the KRB5_CCACHE environment variable, but uses the default kerberos credential cache if it's not present.
Logins using Domain Accounts Once the computer is joined to an Active Directory domain, you can configure the machine so that you can log in with domain accounts. To permit any domain account to log in, use the following command. $ realm permit --realm domain.example.com --all To permit only specific accounts from the domain to log in use the following command. The first time this command is run it will change the mode to only allow logins by specific accounts, and then add the specified accounts to the list of accounts to permit. $ realm permit --realm domain.example.com DOMAIN\\User1 DOMAIN\\User2 To deny logins from any domain account, use the following command. $ realm deny --realm domain.example.com --all
realmd-0.15.0/doc/website/0000775000175000017500000000000012263034130015230 5ustar00stefstef00000000000000realmd-0.15.0/doc/website/Makefile.in0000664000175000017500000003125012263026711017304 0ustar00stefstef00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = doc/website DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/build/m4/intltool.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_POLICY_DIR = @DBUS_POLICY_DIR@ DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTRO = @DISTRO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ KRB5_CFLAGS = @KRB5_CFLAGS@ KRB5_CONFIG = @KRB5_CONFIG@ KRB5_LIBS = @KRB5_LIBS@ LCOV = @LCOV@ LDAP_CFLAGS = @LDAP_CFLAGS@ LDAP_LIBS = @LDAP_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGEKIT_CFLAGS = @PACKAGEKIT_CFLAGS@ PACKAGEKIT_LIBS = @PACKAGEKIT_LIBS@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POLKIT_ACTION_DIR = @POLKIT_ACTION_DIR@ POLKIT_CFLAGS = @POLKIT_CFLAGS@ POLKIT_LIBS = @POLKIT_LIBS@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SYSTEMD_JOURNAL_CFLAGS = @SYSTEMD_JOURNAL_CFLAGS@ SYSTEMD_JOURNAL_LIBS = @SYSTEMD_JOURNAL_LIBS@ SYSTEMD_UNIT_DIR = @SYSTEMD_UNIT_DIR@ TEST_MODE = @TEST_MODE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XMLTO = @XMLTO@ XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ cachedir = @cachedir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ privatedir = @privatedir@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/website/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign doc/website/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ctags-am distclean distclean-generic distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags-am uninstall uninstall-am all: html html: SRCDIR=$(srcdir) BUILDDIR=$(builddir) python jinja2-build.py clean: rm -rf $(builddir)/html/* upload: all rsync -Hvax --exclude docs --exclude internals --exclude releases \ html/* anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/ .PHONY: html # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: realmd-0.15.0/doc/Makefile.in0000664000175000017500000004705012263026711015647 0ustar00stefstef00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = doc DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(srcdir)/version.xml.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/build/m4/intltool.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = version.xml CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = manual internals DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_POLICY_DIR = @DBUS_POLICY_DIR@ DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTRO = @DISTRO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ KRB5_CFLAGS = @KRB5_CFLAGS@ KRB5_CONFIG = @KRB5_CONFIG@ KRB5_LIBS = @KRB5_LIBS@ LCOV = @LCOV@ LDAP_CFLAGS = @LDAP_CFLAGS@ LDAP_LIBS = @LDAP_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGEKIT_CFLAGS = @PACKAGEKIT_CFLAGS@ PACKAGEKIT_LIBS = @PACKAGEKIT_LIBS@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POLKIT_ACTION_DIR = @POLKIT_ACTION_DIR@ POLKIT_CFLAGS = @POLKIT_CFLAGS@ POLKIT_LIBS = @POLKIT_LIBS@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SYSTEMD_JOURNAL_CFLAGS = @SYSTEMD_JOURNAL_CFLAGS@ SYSTEMD_JOURNAL_LIBS = @SYSTEMD_JOURNAL_LIBS@ SYSTEMD_UNIT_DIR = @SYSTEMD_UNIT_DIR@ TEST_MODE = @TEST_MODE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XMLTO = @XMLTO@ XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ cachedir = @cachedir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ privatedir = @privatedir@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ @ENABLE_DOC_TRUE@SUBDIRS = manual internals @ENABLE_DOC_TRUE@EXTRA_DIST = \ @ENABLE_DOC_TRUE@ version.xml.in \ @ENABLE_DOC_TRUE@ version.xml \ @ENABLE_DOC_TRUE@ website/Makefile.in @ENABLE_DOC_TRUE@DISTCLEANFILES = \ @ENABLE_DOC_TRUE@ website/Makefile all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic cscopelist-am ctags ctags-am \ distclean distclean-generic distclean-tags distdir dvi dvi-am \ html html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-am uninstall uninstall-am @ENABLE_DOC_TRUE@upload: @ENABLE_DOC_TRUE@ make -C manual upload @ENABLE_DOC_TRUE@ make -C internals upload @ENABLE_DOC_TRUE@ make -C website upload @ENABLE_DOC_FALSE@upload: @ENABLE_DOC_FALSE@ @echo "*** doc must be enabled (and --enable-doc) in order to make upload" @ENABLE_DOC_FALSE@ @false @ENABLE_DOC_FALSE@distcheck-hook: @ENABLE_DOC_FALSE@ @echo "*** doc must be enabled (and --enable-doc) in order to make distcheck" @ENABLE_DOC_FALSE@ @false # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: realmd-0.15.0/doc/version.xml0000664000175000017500000000000712263026714016003 0ustar00stefstef000000000000000.15.0 realmd-0.15.0/doc/Makefile.am0000664000175000017500000000067012140455743015640 0ustar00stefstef00000000000000if ENABLE_DOC SUBDIRS = manual internals EXTRA_DIST = \ version.xml.in \ version.xml \ website/Makefile.in DISTCLEANFILES = \ website/Makefile upload: make -C manual upload make -C internals upload make -C website upload else upload: @echo "*** doc must be enabled (and --enable-doc) in order to make upload" @false distcheck-hook: @echo "*** doc must be enabled (and --enable-doc) in order to make distcheck" @false endif realmd-0.15.0/tools/0000775000175000017500000000000012263034130014161 5ustar00stefstef00000000000000realmd-0.15.0/tools/realm-leave.c0000664000175000017500000001740712140455745016545 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm.h" #include "realm-dbus-constants.h" #include "realm-dbus-generated.h" #include #include #include #include #include typedef struct { GAsyncResult *result; GMainLoop *loop; } SyncClosure; static void on_complete_get_result (GObject *source, GAsyncResult *result, gpointer user_data) { SyncClosure *sync = user_data; sync->result = g_object_ref (result); g_main_loop_quit (sync->loop); } static int call_leave (RealmDbusKerberosMembership *membership, GVariant *credentials, GVariant *options, GError **error) { SyncClosure sync; gboolean ret; sync.result = NULL; sync.loop = g_main_loop_new (NULL, FALSE); /* Start actual operation */ realm_dbus_kerberos_membership_call_leave (membership, credentials, options, NULL, on_complete_get_result, &sync); /* This mainloop is quit by on_complete_get_result */ g_main_loop_run (sync.loop); ret = realm_dbus_kerberos_membership_call_leave_finish (membership, sync.result, error); g_object_unref (sync.result); g_main_loop_unref (sync.loop); return ret ? 0 : 1; } static int call_deconfigure (RealmDbusRealm *realm, GVariant *options, GError **error) { SyncClosure sync; gboolean ret; sync.result = NULL; sync.loop = g_main_loop_new (NULL, FALSE); /* Start actual operation */ realm_dbus_realm_call_deconfigure (realm, options, NULL, on_complete_get_result, &sync); /* This mainloop is quit by on_complete_get_result */ g_main_loop_run (sync.loop); ret = realm_dbus_realm_call_deconfigure_finish (realm, sync.result, error); g_object_unref (sync.result); g_main_loop_unref (sync.loop); return ret ? 0 : 1; } static gboolean match_kerberos_realm_to_detail (RealmDbusRealm *realm, const gchar *field, const gchar *value) { GVariantIter iter; const gchar *vfield; const gchar *vvalue; gboolean matching = FALSE; /* If not set then anything matches */ if (value == NULL) return TRUE; g_variant_iter_init (&iter, realm_dbus_realm_get_details (realm)); while (g_variant_iter_loop (&iter, "(&s&s)", &vfield, &vvalue)) { if (g_str_equal (field, vfield) && g_str_equal (value, vvalue)) { matching = TRUE; break; } } return matching; } static RealmDbusRealm * locate_configured_matching_kerberos_realm (RealmClient *client, const gchar *realm_name, const gchar *client_software, const gchar *server_software, RealmDbusKerberosMembership **membership) { RealmDbusProvider *provider; const gchar *const *paths; RealmDbusRealm *realm; const gchar *name; gboolean matched; gint i; *membership = NULL; provider = realm_client_get_provider (client); paths = realm_dbus_provider_get_realms (provider); for (i = 0; paths && paths[i]; i++) { matched = FALSE; realm = realm_client_get_realm (client, paths[i]); *membership = realm_client_to_kerberos_membership (client, realm); if (*membership != NULL && realm_is_configured (realm)) { if (realm_name == NULL) { matched = TRUE; } else { name = realm_dbus_realm_get_name (realm); matched = (g_ascii_strcasecmp (name, realm_name) == 0); } } if (matched) matched = match_kerberos_realm_to_detail (realm, "client-software", client_software); if (matched) matched = match_kerberos_realm_to_detail (realm, "server-software", server_software); if (matched) return realm; g_clear_object (membership); g_object_unref (realm); } return NULL; } static int perform_deconfigure (RealmClient *client, RealmDbusRealm *realm) { GError *error = NULL; GVariant *options; gint ret; options = realm_build_options(NULL, NULL); ret = call_deconfigure (realm, options, &error); if (error != NULL) realm_handle_error (error, _("Couldn't leave realm")); return ret; } static int perform_user_leave (RealmClient *client, RealmDbusKerberosMembership *membership, const gchar *user_name) { GError *error = NULL; GVariant *supported; GVariant *credentials; GVariant *options; gint ret; supported = realm_dbus_kerberos_membership_get_supported_leave_credentials (membership); credentials = realm_client_build_principal_creds (client, membership, supported, user_name, &error); if (!credentials) { realm_handle_error (error, NULL); return 1; } options = realm_build_options(NULL, NULL); ret = call_leave (membership, credentials, options, &error); if (error != NULL) realm_handle_error (error, _("Couldn't leave realm")); return ret; } static int perform_leave (RealmClient *client, const gchar *realm_name, gboolean remove, const gchar *user_name, const gchar *client_software, const gchar *server_software) { RealmDbusKerberosMembership *membership; RealmDbusRealm *realm; gint ret; realm = locate_configured_matching_kerberos_realm (client, realm_name, client_software, server_software, &membership); if (realm == NULL) { if (!realm_name && !client_software && !server_software) realm_handle_error (NULL, "Couldn't find a configured realm"); else realm_handle_error (NULL, "Couldn't find a matching realm"); return 1; } /* Specifying a user name implies remov */ if (user_name && !remove) remove = TRUE; if (!remove) ret = perform_deconfigure (client, realm); else ret = perform_user_leave (client, membership, user_name); g_object_unref (membership); g_object_unref (realm); return ret; } int realm_leave (RealmClient *client, int argc, char *argv[]) { GOptionContext *context; gchar *arg_user = NULL; gboolean arg_remove = FALSE; gchar *arg_client_software = NULL; gchar *arg_server_software = NULL; GError *error = NULL; const gchar *realm_name; gint ret = 0; GOptionEntry option_entries[] = { { "client-software", 0, 0, G_OPTION_ARG_STRING, &arg_client_software, N_("Use specific client software"), NULL }, { "remove", 'r', 0, G_OPTION_ARG_NONE, &arg_remove, N_("Remove computer from realm"), NULL, }, { "server-software", 0, 0, G_OPTION_ARG_STRING, &arg_server_software, N_("Use specific server software"), NULL }, { "user", 'U', 0, G_OPTION_ARG_STRING, &arg_user, N_("User name to use for removal"), NULL }, { NULL, } }; context = g_option_context_new ("realm"); g_option_context_set_translation_domain (context, GETTEXT_PACKAGE); g_option_context_add_main_entries (context, option_entries, NULL); g_option_context_add_main_entries (context, realm_global_options, NULL); if (!g_option_context_parse (context, &argc, &argv, &error)) { g_printerr ("%s: %s\n", g_get_prgname (), error->message); g_error_free (error); ret = 2; } else { realm_name = argc < 2 ? NULL : argv[1]; ret = perform_leave (client, realm_name, arg_remove, arg_user, arg_client_software, arg_server_software); } g_free (arg_user); g_free (arg_client_software); g_free (arg_server_software); g_option_context_free (context); return ret; } realmd-0.15.0/tools/realm.h0000664000175000017500000000564512173763026015461 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #ifndef __REALM_H__ #define __REALM_H__ #include #include #include "realm-dbus-generated.h" #include "realm-client.h" G_BEGIN_DECLS extern gchar * realm_operation_id; extern GOptionEntry realm_global_options[]; extern gboolean realm_verbose; extern gboolean realm_cancelled; extern gboolean realm_unattended; int realm_join (RealmClient *client, int argc, char *argv[]); int realm_leave (RealmClient *client, int argc, char *argv[]); int realm_discover (RealmClient *client, int argc, char *argv[]); int realm_list (RealmClient *client, int argc, char *argv[]); int realm_permit (RealmClient *client, int argc, char *argv[]); int realm_deny (RealmClient *client, int argc, char *argv[]); GVariant * realm_build_options (const gchar *first, ...) G_GNUC_NULL_TERMINATED; void realm_print_error (const gchar *format, ...) G_GNUC_PRINTF (1, 2); void realm_handle_error (GError *error, const gchar *format, ...) G_GNUC_PRINTF (2, 3); GVariant * realm_kinit_to_kerberos_cache (const gchar *name, const gchar *realm, const gchar *password, GError **error); gboolean realm_is_configured (RealmDbusRealm *realm); G_END_DECLS #endif /* __REALM_H__ */ realmd-0.15.0/tools/realm-logins.c0000664000175000017500000001672212140465477016746 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm.h" #include "realm-dbus-constants.h" #include "realm-dbus-generated.h" #include #include #include typedef struct { GAsyncResult *result; GMainLoop *loop; } SyncClosure; static void on_complete_get_result (GObject *source, GAsyncResult *result, gpointer user_data) { SyncClosure *sync = user_data; sync->result = g_object_ref (result); g_main_loop_quit (sync->loop); } static RealmDbusRealm * locate_configured_matching_realm (RealmClient *client, const gchar *realm_name) { RealmDbusProvider *provider; const gchar *const *paths; RealmDbusRealm *realm = NULL; gboolean matched; gint i; provider = realm_client_get_provider (client); paths = realm_dbus_provider_get_realms (provider); for (i = 0; paths && paths[i]; i++) { matched = FALSE; realm = realm_client_get_realm (client, paths[i]); if (realm != NULL) { matched = (realm_name == NULL || g_strcmp0 (realm_dbus_realm_get_name (realm), realm_name) == 0) && realm_is_configured (realm); } if (matched) break; g_object_unref (realm); realm = NULL; } if (realm == NULL) { if (!realm_name) realm_handle_error (NULL, "Couldn't find a configured realm"); else realm_handle_error (NULL, "Couldn't find a matching realm"); return NULL; } return realm; } static int perform_permit_specific (RealmClient *client, const gchar *realm_name, const gchar **logins, gint n_logins, gboolean withdraw, gboolean names_are_groups) { RealmDbusRealm *realm; SyncClosure sync; gchar **add_or_remove; GError *error = NULL; const gchar *empty[] = { NULL }; GVariant *options; realm = locate_configured_matching_realm (client, realm_name); if (realm == NULL) return 1; /* Make it null terminated */ add_or_remove = g_new0 (gchar *, n_logins + 1); memcpy (add_or_remove, logins, sizeof (gchar *) * n_logins); sync.result = NULL; sync.loop = g_main_loop_new (NULL, FALSE); options = realm_build_options ("groups", names_are_groups, NULL); g_variant_ref_sink (options); realm_dbus_realm_call_change_login_policy (realm, REALM_DBUS_LOGIN_POLICY_PERMITTED, withdraw ? empty : (const gchar * const*)add_or_remove, withdraw ? (const gchar * const*)add_or_remove : empty, options, NULL, on_complete_get_result, &sync); g_variant_unref (options); /* This mainloop is quit by on_complete_get_result */ g_main_loop_run (sync.loop); realm_dbus_realm_call_change_login_policy_finish (realm, sync.result, &error); g_object_unref (sync.result); g_main_loop_unref (sync.loop); g_object_unref (realm); if (error != NULL) { realm_handle_error (error, _("Couldn't change permitted logins")); return 1; } return 0; } static int perform_logins_all (RealmClient *client, const gchar *realm_name, gboolean permit) { RealmDbusRealm *realm; SyncClosure sync; const gchar *policy; const gchar *logins[] = { NULL }; GError *error = NULL; GVariant *options; realm = locate_configured_matching_realm (client, realm_name); if (realm == NULL) return 1; sync.result = NULL; sync.loop = g_main_loop_new (NULL, FALSE); options = realm_build_options (NULL, NULL); g_variant_ref_sink (options); policy = permit ? REALM_DBUS_LOGIN_POLICY_REALM : REALM_DBUS_LOGIN_POLICY_DENY; realm_dbus_realm_call_change_login_policy (realm, policy, (const gchar * const *)logins, (const gchar * const *)logins, options, NULL, on_complete_get_result, &sync); /* This mainloop is quit by on_complete_get_result */ g_main_loop_run (sync.loop); realm_dbus_realm_call_change_login_policy_finish (realm, sync.result, &error); g_variant_unref (options); g_object_unref (sync.result); g_main_loop_unref (sync.loop); g_object_unref (realm); if (error != NULL) { realm_handle_error (error, _("Couldn't change permitted logins")); return 1; } return 0; } static int realm_permit_or_deny (RealmClient *client, gboolean permit, int argc, char *argv[]) { GOptionContext *context; gboolean arg_all = FALSE; gboolean arg_groups = FALSE; gboolean arg_withdraw = FALSE; gchar *realm_name = NULL; GError *error = NULL; gint ret = 2; /* This implements the deprecated commands */ GOptionEntry option_entries[] = { { "all", 'a', 0, G_OPTION_ARG_NONE, &arg_all, permit ? N_("Permit any realm account login") : N_("Deny any realm account login"), NULL }, { "withdraw", 'x', 0, G_OPTION_ARG_NONE, &arg_withdraw, N_("Withdraw permit for a realm account to login"), NULL }, { "groups", 'g', 0, G_OPTION_ARG_NONE, &arg_groups, N_("Treat names as groups which to permit"), NULL }, { "realm", 'R', 0, G_OPTION_ARG_STRING, &realm_name, N_("Realm to permit/deny logins for"), NULL }, { NULL, } }; context = g_option_context_new ("realm"); g_option_context_set_translation_domain (context, GETTEXT_PACKAGE); g_option_context_add_main_entries (context, option_entries, NULL); g_option_context_add_main_entries (context, realm_global_options, NULL); if (!g_option_context_parse (context, &argc, &argv, &error)) { realm_print_error ("%s", error->message); g_error_free (error); } else if (arg_all && argc != 1) { realm_print_error (_("No logins should be specified with -a or --all")); } else if (!permit && arg_withdraw) { realm_print_error (_("The --withdraw or -x arguments cannot be used when denying logins")); } else if (arg_all && arg_withdraw) { realm_print_error (_("Specific logins must be specified with --withdraw")); } else if (arg_all && arg_groups) { realm_print_error (_("Groups may not be specified with -a or --all")); } else if (arg_all) { ret = perform_logins_all (client, realm_name, permit); } else if (argc < 2) { if (!permit) realm_print_error (_("Use --all to deny all logins")); else realm_print_error (_("Specify specific users to add or remove from the permitted list")); } else { if (!permit) { realm_print_error (_("Specifying deny without --all is deprecated. Use realm permit --withdraw")); arg_withdraw = TRUE; } ret = perform_permit_specific (client, realm_name, (const gchar **)(argv + 1), argc - 1, arg_withdraw, arg_groups); } g_free (realm_name); g_option_context_free (context); return ret; } int realm_permit (RealmClient *client, int argc, char *argv[]) { return realm_permit_or_deny (client, TRUE, argc, argv); } int realm_deny (RealmClient *client, int argc, char *argv[]) { return realm_permit_or_deny (client, FALSE, argc, argv); } realmd-0.15.0/tools/realm.c0000664000175000017500000001523612202720221015430 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm.h" #include "realm-dbus-constants.h" #include "valgrind/valgrind.h" #include #include #include #include #include static gchar *arg_install = NULL; gboolean realm_verbose = FALSE; gboolean realm_cancelled = FALSE; gboolean realm_unattended = FALSE; gchar *realm_operation_id = NULL; struct { const char *name; int (* function) (RealmClient *client, int argc, char *argv[]); const char *usage; const char *description; } realm_commands[] = { { "discover", realm_discover, "realm discover -v [realm-name]", N_("Discover available realm") }, { "join", realm_join, "realm join -v [-U user] realm-name", N_("Enroll this machine in a realm") }, { "leave", realm_leave, "realm leave -v [-U user] [realm-name]", N_("Unenroll this machine from a realm") }, { "list", realm_list, "realm list", N_("List known realms") }, { "permit", realm_permit, "realm permit [-ax] [-R realm] user ...", N_("Permit user logins") }, { "deny", realm_deny, "realm deny --all [-R realm]", N_("Deny user logins") }, }; void realm_print_error (const gchar *format, ...) { GString *message; va_list va; va_start (va, format); message = g_string_new (""); g_string_append_printf (message, "%s: ", g_get_prgname ()); va_start (va, format); g_string_append_vprintf (message, format, va); va_end (va); g_printerr ("%s\n", message->str); g_string_free (message, TRUE); } void realm_handle_error (GError *error, const gchar *format, ...) { static gboolean diag_hint = TRUE; GString *message; gchar *remote; va_list va; if (realm_cancelled && g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { g_error_free (error); return; } #ifdef WITH_JOURNAL remote = error ? g_dbus_error_get_remote_error (error) : NULL; if (diag_hint && realm_operation_id && !realm_verbose && g_strcmp0 (remote, REALM_DBUS_ERROR_NOT_AUTHORIZED) != 0) { g_printerr ("See: journalctl REALMD_OPERATION=%s\n", realm_operation_id); diag_hint = FALSE; } g_free (remote); #endif message = g_string_new (""); g_string_append_printf (message, "%s: ", g_get_prgname ()); if (format) { va_start (va, format); g_string_append_vprintf (message, format, va); va_end (va); } if (error) { g_dbus_error_strip_remote_error (error); if (format) g_string_append (message, ": "); g_string_append (message, error->message); g_error_free (error); } g_printerr ("%s\n", message->str); g_string_free (message, TRUE); } GVariant * realm_build_options (const gchar *first, ...) { const gchar *value; gboolean bvalue; GPtrArray *opts; GVariant *options; GVariant *option; va_list va; va_start (va, first); opts = g_ptr_array_new (); while (first != NULL) { option = NULL; if (g_str_equal (first, "groups")) { bvalue = va_arg (va, gboolean); option = g_variant_new ("{sv}", first, g_variant_new_boolean (bvalue)); } else { value = va_arg (va, const gchar *); if (value != NULL) option = g_variant_new ("{sv}", first, g_variant_new_string (value)); } if (option) g_ptr_array_add (opts, option); first = va_arg (va, const gchar *); } va_end (va); if (!realm_operation_id) { realm_operation_id = g_strdup_printf ("r%lld.%d", (long long int)g_get_monotonic_time () / G_TIME_SPAN_SECOND, (gint)getpid ()); } option = g_variant_new ("{sv}", "operation", g_variant_new_string (realm_operation_id)); g_ptr_array_add (opts, option); options = g_variant_new_array (G_VARIANT_TYPE ("{sv}"), (GVariant * const*)opts->pdata, opts->len); g_ptr_array_free (opts, TRUE); return options; } gboolean realm_is_configured (RealmDbusRealm *realm) { const gchar *configured; g_return_val_if_fail (REALM_DBUS_IS_REALM (realm), FALSE); configured = realm_dbus_realm_get_configured (realm); return (configured && !g_str_equal (configured, "")); } static int usage (int code) { gint i; for (i = 0; i < G_N_ELEMENTS (realm_commands); i++) { if (i > 0) g_printerr ("\n"); g_printerr (" %s\n", realm_commands[i].usage); g_printerr (" %s\n", realm_commands[i].description); } return code; } GOptionEntry realm_global_options[] = { { "install", 'i', 0, G_OPTION_ARG_STRING, &arg_install, N_("Install mode to a specific prefix"), NULL }, { "verbose", 'v', 0, G_OPTION_ARG_NONE, &realm_verbose, N_("Verbose output"), NULL }, { "unattended", 0, 0, G_OPTION_ARG_NONE, &realm_unattended, N_("Do not prompt for input"), NULL }, { NULL, } }; int main (int argc, char *argv[]) { const gchar *command = NULL; GOptionContext *context; RealmClient *client; GError *error = NULL; gint ret; gint i; setlocale (LC_ALL, ""); #ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); #endif #if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init (); #endif /* Parse the global options, don't display help or failure here */ context = g_option_context_new ("realm"); g_option_context_set_translation_domain (context, GETTEXT_PACKAGE); g_option_context_add_main_entries (context, realm_global_options, NULL); g_option_context_set_help_enabled (context, FALSE); g_option_context_set_ignore_unknown_options (context, TRUE); if (!g_option_context_parse (context, &argc, &argv, &error)) { g_warning ("Unexpected error: %s", error->message); g_error_free (error); } g_option_context_free (context); /* Find/remove the first non-flag argument: the command */ for (i = 1; i < argc; i++) { if (command == NULL) { if (argv[i][0] != '-') { command = argv[i]; argc--; } } if (command != NULL) argv[i] = argv[i + 1]; } if (command == NULL) return usage (2); ret = 2; for (i = 0; i < G_N_ELEMENTS (realm_commands); i++) { if (g_str_equal (realm_commands[i].name, command)) { client = realm_client_new (realm_verbose, arg_install); if (!client) { ret = 1; break; } ret = (realm_commands[i].function) (client, argc, argv); g_object_unref (client); break; } } if (ret == 2 && i == G_N_ELEMENTS (realm_commands)) usage(2); g_free (realm_operation_id); g_free (arg_install); return ret; } realmd-0.15.0/tools/realm-join.c0000664000175000017500000002161212202720230016360 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm.h" #include "realm-client.h" #include "realm-dbus-constants.h" #include "realm-dbus-generated.h" #include #include #include #include #include typedef struct { GAsyncResult *result; GMainLoop *loop; } SyncClosure; static void on_complete_get_result (GObject *source, GAsyncResult *result, gpointer user_data) { SyncClosure *sync = user_data; sync->result = g_object_ref (result); g_main_loop_quit (sync->loop); } static int call_join (RealmDbusKerberosMembership *membership, GVariant *credentials, GVariant *options, GError **error) { SyncClosure sync; gboolean ret; sync.result = NULL; sync.loop = g_main_loop_new (NULL, FALSE); /* Start actual operation */ realm_dbus_kerberos_membership_call_join (membership, credentials, options, NULL, on_complete_get_result, &sync); /* This mainloop is quit by on_complete_get_result */ g_main_loop_run (sync.loop); ret = realm_dbus_kerberos_membership_call_join_finish (membership, sync.result, error); g_object_unref (sync.result); g_main_loop_unref (sync.loop); return ret ? 0 : 1; } static int perform_otp_join (RealmClient *client, RealmDbusKerberosMembership *membership, const gchar *one_time_password, GVariant *options) { GVariant *supported; GVariant *credentials; GError *error = NULL; int ret; supported = realm_dbus_kerberos_membership_get_supported_join_credentials (membership); credentials = realm_client_build_otp_creds (client, supported, one_time_password, &error); if (credentials == NULL) { realm_handle_error (error, NULL); return 1; } ret = call_join (membership, credentials, options, &error); if (error != NULL) realm_handle_error (error, _("Couldn't join realm")); return ret; } static int perform_automatic_join (RealmClient *client, RealmDbusKerberosMembership *membership, GVariant *options, gboolean *try_other) { RealmDbusKerberos *kerberos; GVariant *supported; GVariant *credentials; GError *error = NULL; gchar *remote; int ret; supported = realm_dbus_kerberos_membership_get_supported_join_credentials (membership); kerberos = realm_client_to_kerberos (client, membership); credentials = realm_client_build_automatic_creds (client, kerberos, supported, &error); if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED)) { *try_other = TRUE; return 1; } else if (credentials == NULL) { realm_handle_error (error, NULL); return 1; } ret = call_join (membership, credentials, options, &error); if (error != NULL) { remote = g_dbus_error_get_remote_error (error); if (g_strcmp0 (remote, REALM_DBUS_ERROR_AUTH_FAILED) == 0 || g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_NOT_SUPPORTED)) { *try_other = TRUE; g_error_free (error); } else { *try_other = FALSE; realm_handle_error (error, _("Couldn't join realm")); } g_free (remote); } return ret; } static int perform_user_join (RealmClient *client, RealmDbusKerberosMembership *membership, const gchar *user_name, GVariant *options) { GVariant *supported; GVariant *credentials; GError *error = NULL; int ret; supported = realm_dbus_kerberos_membership_get_supported_join_credentials (membership); credentials = realm_client_build_principal_creds (client, membership, supported, user_name, &error); if (credentials == NULL) { realm_handle_error (error, NULL); return 1; } ret = call_join (membership, credentials, options, &error); if (error != NULL) realm_handle_error (error, _("Couldn't join realm")); return ret; } typedef struct { gchar *user; gchar *computer_ou; gchar *client_software; gchar *server_software; gchar *membership_software; gboolean no_password; gchar *one_time_password; gchar *user_principal; } RealmJoinArgs; static int perform_join (RealmClient *client, const gchar *string, RealmJoinArgs *args) { RealmDbusKerberosMembership *membership; gboolean had_mismatched = FALSE; gboolean try_other = FALSE; RealmDbusRealm *realm; GError *error = NULL; GVariant *options; GList *realms; gint ret; realms = realm_client_discover (client, string, args->client_software, args->server_software, args->membership_software, REALM_DBUS_KERBEROS_MEMBERSHIP_INTERFACE, &had_mismatched, &error); if (error != NULL) { realm_handle_error(error, NULL); return 1; } else if (realms == NULL) { if (had_mismatched) realm_handle_error (NULL, _("Cannot join this realm")); else realm_handle_error(NULL, _("No such realm found")); return 1; } membership = realms->data; realm = realm_client_to_realm (client, membership); if (realm_is_configured (realm)) { realm_handle_error (NULL, _("Already joined to this domain")); return 1; } options = realm_build_options (REALM_DBUS_OPTION_COMPUTER_OU, args->computer_ou, REALM_DBUS_OPTION_MEMBERSHIP_SOFTWARE, args->membership_software, REALM_DBUS_OPTION_USER_PRINCIPAL, args->user_principal, NULL); g_variant_ref_sink (options); if (args->no_password) { ret = perform_automatic_join (client, membership, options, &try_other); } else if (args->one_time_password) { ret = perform_otp_join (client, membership, args->one_time_password, options); } else if (args->user) { ret = perform_user_join (client, membership, args->user, options); } else { ret = perform_automatic_join (client, membership, options, &try_other); if (try_other) ret = perform_user_join (client, membership, args->user, options); } g_variant_unref (options); g_list_free_full (realms, g_object_unref); return ret; } int realm_join (RealmClient *client, int argc, char *argv[]) { GOptionContext *context; GError *error = NULL; const gchar *realm_name; RealmJoinArgs args; gint ret = 0; GOptionEntry option_entries[] = { { "user", 'U', 0, G_OPTION_ARG_STRING, &args.user, N_("User name to use for enrollment"), NULL }, { "computer-ou", 0, 0, G_OPTION_ARG_STRING, &args.computer_ou, N_("Computer OU DN to join"), NULL }, { "client-software", 0, 0, G_OPTION_ARG_STRING, &args.client_software, N_("Use specific client software"), NULL }, { "server-software", 0, 0, G_OPTION_ARG_STRING, &args.server_software, N_("Use specific server software"), NULL }, { "membership-software", 0, 0, G_OPTION_ARG_STRING, &args.membership_software, N_("Use specific membership software"), NULL }, { "no-password", 0, 0, G_OPTION_ARG_NONE, &args.no_password, N_("Join automatically without a password"), NULL }, { "one-time-password", 0, 0, G_OPTION_ARG_STRING, &args.one_time_password, N_("Join using a preset one time password"), NULL }, { "user-principal", 0, 0, G_OPTION_ARG_STRING, &args.user_principal, N_("Set the user principal for the computer account"), NULL }, { NULL, } }; memset (&args, 0, sizeof (args)); context = g_option_context_new ("realm"); g_option_context_set_translation_domain (context, GETTEXT_PACKAGE); g_option_context_add_main_entries (context, option_entries, NULL); g_option_context_add_main_entries (context, realm_global_options, NULL); if (!g_option_context_parse (context, &argc, &argv, &error)) { g_printerr ("%s: %s\n", g_get_prgname (), error->message); g_error_free (error); ret = 2; } else if (argc > 2) { g_printerr ("%s: %s\n", g_get_prgname (), _("Specify one realm to join")); ret = 2; } else if (args.no_password && (args.one_time_password || args.user)) { g_printerr ("%s: %s\n", g_get_prgname (), _("The --no-password argument cannot be used with --one-time-password or --user")); ret = 2; } else if (args.one_time_password && args.user) { g_printerr ("%s: %s\n", g_get_prgname (), _("The --one-time-password argument cannot be used with --user")); ret = 2; } else { realm_name = argc < 2 ? "" : argv[1]; ret = perform_join (client, realm_name, &args); } g_free (args.user); g_free (args.computer_ou); g_free (args.client_software); g_free (args.server_software); g_free (args.user_principal); g_option_context_free (context); return ret; } realmd-0.15.0/tools/realm-client.c0000664000175000017500000007230212242623226016714 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm.h" #include "realm-client.h" #include "realm-dbus-constants.h" #include #include #include #include #include #include #include #include struct _RealmClient { GDBusObjectManagerClient parent; RealmDbusProvider *provider; GPid peer_pid; }; struct _RealmClientClass { GDBusObjectManagerClientClass parent; }; G_DEFINE_TYPE (RealmClient, realm_client, G_TYPE_DBUS_OBJECT_MANAGER_CLIENT); typedef struct { GAsyncResult *result; GMainLoop *loop; } SyncClosure; static void on_complete_get_result (GObject *source, GAsyncResult *result, gpointer user_data) { SyncClosure *sync = user_data; sync->result = g_object_ref (result); g_main_loop_quit (sync->loop); } static void realm_client_init (RealmClient *self) { } static void realm_client_finalize (GObject *obj) { RealmClient *self = REALM_CLIENT (obj); if (self->peer_pid) { kill (self->peer_pid, SIGTERM); g_spawn_close_pid (self->peer_pid); } if (self->provider) g_object_unref (self->provider); G_OBJECT_CLASS (realm_client_parent_class)->finalize (obj); } static void realm_client_class_init (RealmClientClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->finalize = realm_client_finalize; } static GType realm_object_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data) { static gsize once_init_value = 0; static GHashTable *lookup_hash; GType ret; if (interface_name == NULL) return G_TYPE_DBUS_OBJECT_PROXY; if (g_once_init_enter (&once_init_value)) { lookup_hash = g_hash_table_new (g_str_hash, g_str_equal); g_hash_table_insert (lookup_hash, (gpointer) "org.freedesktop.realmd.Provider", GSIZE_TO_POINTER (REALM_DBUS_TYPE_PROVIDER_PROXY)); g_hash_table_insert (lookup_hash, (gpointer) "org.freedesktop.realmd.Service", GSIZE_TO_POINTER (REALM_DBUS_TYPE_SERVICE_PROXY)); g_hash_table_insert (lookup_hash, (gpointer) "org.freedesktop.realmd.Realm", GSIZE_TO_POINTER (REALM_DBUS_TYPE_REALM_PROXY)); g_hash_table_insert (lookup_hash, (gpointer) "org.freedesktop.realmd.Kerberos", GSIZE_TO_POINTER (REALM_DBUS_TYPE_KERBEROS_PROXY)); g_hash_table_insert (lookup_hash, (gpointer) "org.freedesktop.realmd.KerberosMembership", GSIZE_TO_POINTER (REALM_DBUS_TYPE_KERBEROS_MEMBERSHIP_PROXY)); g_once_init_leave (&once_init_value, 1); } ret = GPOINTER_TO_SIZE (g_hash_table_lookup (lookup_hash, interface_name)); if (ret == 0) ret = G_TYPE_DBUS_OBJECT_PROXY; return ret; } static void on_diagnostics_signal (GDBusConnection *connection, const gchar *sender_name, const gchar *object_path, const gchar *interface_name, const gchar *signal_name, GVariant *parameters, gpointer user_data) { gboolean verbose = GPOINTER_TO_INT (user_data); const gchar *operation_id; const gchar *data; g_variant_get (parameters, "(&s&s)", &data, &operation_id); /* * Various people have been worried by installing packages * quietly, so notify about what's going on. * * In reality *configuring* and *starting* a daemon is far * more worrisome than the installation. It's realmd's job * to configure, enable and start stuff. So if you're properly * worried, remove realmd and do stuff manually. */ if (verbose || strstr (data, _("Installing necessary packages"))) g_printerr ("%s", data); } static gboolean on_ctrl_c_cancel_operation (gpointer data) { RealmDbusService *service = REALM_DBUS_SERVICE (data); if (!realm_cancelled && realm_operation_id) { realm_dbus_service_call_cancel (service, realm_operation_id, NULL, NULL, NULL); g_printerr ("Cancelling...\n"); realm_cancelled = TRUE; _exit (1); } return TRUE; } static RealmClient * realm_client_new_on_connection (GDBusConnection *connection, gboolean verbose, const gchar *bus_name) { RealmDbusProvider *provider; RealmDbusService *service; GError *error = NULL; GInitable *ret; RealmClient *client = NULL; GDBusSignalFlags flags; flags = G_DBUS_SIGNAL_FLAGS_NONE; if (bus_name == NULL) flags |= G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE; g_dbus_connection_signal_subscribe (connection, bus_name, REALM_DBUS_SERVICE_INTERFACE, REALM_DBUS_DIAGNOSTICS_SIGNAL, REALM_DBUS_SERVICE_PATH, NULL, flags, on_diagnostics_signal, GINT_TO_POINTER (verbose), NULL); provider = realm_dbus_provider_proxy_new_sync (connection, G_DBUS_PROXY_FLAGS_NONE, bus_name, REALM_DBUS_SERVICE_PATH, NULL, &error); if (error != NULL) { realm_handle_error (error, _("Couldn't connect to realm service")); return NULL; } service = realm_dbus_service_proxy_new_sync (connection, G_DBUS_PROXY_FLAGS_NONE, bus_name, REALM_DBUS_SERVICE_PATH, NULL, &error); if (error != NULL) { realm_handle_error (error, _("Couldn't connect to realm service")); g_object_unref (provider); return NULL; } ret = g_initable_new (REALM_TYPE_CLIENT, NULL, &error, "flags", G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE, "name", bus_name, "connection", connection, "object-path", REALM_DBUS_SERVICE_PATH, "get-proxy-type-func", realm_object_client_get_proxy_type, NULL); if (ret != NULL) { client = REALM_CLIENT (ret); client->provider = g_object_ref (provider); g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (provider), G_MAXINT); /* On Ctrl-C send a cancel to the server */ g_unix_signal_add_full (G_PRIORITY_HIGH, SIGINT, on_ctrl_c_cancel_operation, g_object_ref (service), g_object_unref); } g_object_unref (service); g_object_unref (provider); if (error != NULL) { realm_handle_error (error, _("Couldn't load the realm service")); return NULL; } return client; } static RealmClient * realm_client_new_system (gboolean verbose) { GDBusConnection *connection; GError *error = NULL; RealmClient *client = NULL; connection = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, &error); if (error != NULL) { realm_handle_error (error, _("Couldn't connect to system bus")); return NULL; } client = realm_client_new_on_connection (connection, verbose, REALM_DBUS_BUS_NAME); g_object_unref (connection); return client; } static RealmClient * realm_client_new_installer (gboolean verbose, const gchar *prefix) { GDBusConnection *connection; GSocketConnection *stream; RealmClient *client; GSocket *socket; GError *error = NULL; gchar buffer[16]; GPid pid = 0; int pair[2]; const gchar *args[] = { REALMD_EXECUTABLE, "--install", prefix, "--dbus-peer", buffer, NULL }; if (socketpair (AF_UNIX, SOCK_STREAM, 0, pair) < 0) { realm_handle_error (NULL, _("Couldn't create socket pair: %s"), g_strerror (errno)); return NULL; } g_snprintf (buffer, sizeof (buffer), "%d", pair[1]); socket = g_socket_new_from_fd (pair[0], &error); if (error != NULL) { realm_handle_error (error, _("Couldn't create socket")); close(pair[0]); close(pair[1]); return NULL; } g_spawn_async (prefix ? prefix : "/", (gchar **)args, NULL, G_SPAWN_LEAVE_DESCRIPTORS_OPEN | G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, &pid, &error); close(pair[1]); if (error != NULL) { realm_handle_error (error, _("Couldn't run realmd")); close(pair[0]); return NULL; } stream = g_socket_connection_factory_create_connection (socket); g_return_val_if_fail (stream != NULL, NULL); g_object_unref (socket); connection = g_dbus_connection_new_sync (G_IO_STREAM (stream), NULL, G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT | G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS, NULL, NULL, &error); g_object_unref (stream); if (error == NULL) { client = realm_client_new_on_connection (connection, verbose, NULL); g_object_unref (connection); } else { realm_handle_error (error, _("Couldn't create socket")); client = NULL; } /* Make sure the process is owned */ if (client) { client->peer_pid = pid; } else { kill (pid, SIGTERM); g_spawn_close_pid (pid); } return client; } RealmClient * realm_client_new (gboolean verbose, const gchar *prefix) { if (prefix) return realm_client_new_installer (verbose, prefix); else return realm_client_new_system (verbose); } RealmDbusProvider * realm_client_get_provider (RealmClient *self) { g_return_val_if_fail (REALM_IS_CLIENT (self), NULL); return self->provider; } GList * realm_client_discover (RealmClient *self, const gchar *string, const gchar *client_software, const gchar *server_software, const gchar *membership_software, const gchar *dbus_interface, gboolean *had_mismatched, GError **error) { GDBusObjectManager *manager; GDBusInterface *iface; GVariant *options; SyncClosure sync; gchar **realm_paths; gint relevance; GList *realms; gboolean ret; gint i; g_return_val_if_fail (REALM_IS_CLIENT (self), NULL); if (string == NULL) string = ""; sync.result = NULL; sync.loop = g_main_loop_new (NULL, FALSE); options = realm_build_options (REALM_DBUS_OPTION_CLIENT_SOFTWARE, client_software, REALM_DBUS_OPTION_SERVER_SOFTWARE, server_software, REALM_DBUS_OPTION_MEMBERSHIP_SOFTWARE, membership_software, NULL); /* Start actual operation */ realm_dbus_provider_call_discover (self->provider, string, options, NULL, on_complete_get_result, &sync); /* This mainloop is quit by on_complete_get_result */ g_main_loop_run (sync.loop); ret = realm_dbus_provider_call_discover_finish (self->provider, &relevance, &realm_paths, sync.result, error); g_object_unref (sync.result); g_main_loop_unref (sync.loop); if (!ret) return FALSE; realms = NULL; manager = G_DBUS_OBJECT_MANAGER (self); for (i = 0; realm_paths[i] != NULL; i++) { iface = g_dbus_object_manager_get_interface (manager, realm_paths[i], dbus_interface); if (iface == NULL) { if (had_mismatched) *had_mismatched = TRUE; } else { g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (iface), G_MAXINT); realms = g_list_prepend (realms, iface); } } g_strfreev (realm_paths); return g_list_reverse (realms); } RealmDbusRealm * realm_client_get_realm (RealmClient *self, const gchar *object_path) { GDBusInterface *iface; g_return_val_if_fail (REALM_IS_CLIENT (self), NULL); iface = g_dbus_object_manager_get_interface (G_DBUS_OBJECT_MANAGER (self), object_path, REALM_DBUS_REALM_INTERFACE); if (iface) g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (iface), G_MAXINT); return REALM_DBUS_REALM (iface); } RealmDbusRealm * realm_client_to_realm (RealmClient *self, gpointer proxy) { g_return_val_if_fail (REALM_IS_CLIENT (self), NULL); return realm_client_get_realm (self, g_dbus_proxy_get_object_path (proxy)); } RealmDbusKerberosMembership * realm_client_get_kerberos_membership (RealmClient *self, const gchar *object_path) { GDBusInterface *iface; g_return_val_if_fail (REALM_IS_CLIENT (self), NULL); iface = g_dbus_object_manager_get_interface (G_DBUS_OBJECT_MANAGER (self), object_path, REALM_DBUS_KERBEROS_MEMBERSHIP_INTERFACE); if (iface) g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (iface), G_MAXINT); return REALM_DBUS_KERBEROS_MEMBERSHIP (iface); } RealmDbusKerberosMembership * realm_client_to_kerberos_membership (RealmClient *self, gpointer proxy) { g_return_val_if_fail (REALM_IS_CLIENT (self), NULL); return realm_client_get_kerberos_membership (self, g_dbus_proxy_get_object_path (proxy)); } RealmDbusKerberos * realm_client_get_kerberos (RealmClient *self, const gchar *object_path) { GDBusInterface *iface; g_return_val_if_fail (REALM_IS_CLIENT (self), NULL); iface = g_dbus_object_manager_get_interface (G_DBUS_OBJECT_MANAGER (self), object_path, REALM_DBUS_KERBEROS_INTERFACE); if (iface) g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (iface), G_MAXINT); return REALM_DBUS_KERBEROS (iface); } RealmDbusKerberos * realm_client_to_kerberos (RealmClient *self, gpointer proxy) { g_return_val_if_fail (REALM_IS_CLIENT (self), NULL); return realm_client_get_kerberos (self, g_dbus_proxy_get_object_path (proxy)); } static const gchar * are_credentials_supported (GVariant *supported, const gchar *credential_type_1, const gchar *credential_type_2, const gchar **ret_owner) { GVariantIter iter; const gchar *type; const gchar *owner; g_variant_iter_init (&iter, supported); while (g_variant_iter_loop (&iter, "(&s&s)", &type, &owner)) { if (g_strcmp0 (credential_type_1, type) == 0 || g_strcmp0 (credential_type_2, type) == 0) { *ret_owner = owner; return type; } } return NULL; } static void propagate_krb5_error (GError **dest, krb5_context context, krb5_error_code code, const gchar *format, ...) G_GNUC_PRINTF (4, 5); static void propagate_krb5_error (GError **dest, krb5_context context, krb5_error_code code, const gchar *format, ...) { GString *message; va_list va; message = g_string_new (""); if (format) { va_start (va, format); g_string_append_vprintf (message, format, va); va_end (va); } if (code != 0) { if (format) g_string_append (message, ": "); g_string_append (message, krb5_get_error_message (context, code)); } g_set_error_literal (dest, g_quark_from_static_string ("krb5"), code, message->str); g_string_free (message, TRUE); } static krb5_ccache prepare_temporary_ccache (krb5_context krb5, gchar **filename, GError **error) { const gchar *directory; krb5_error_code code; krb5_ccache ccache; gchar *temp_name; gint temp_fd; int errn; directory = g_get_user_runtime_dir (); if (!g_file_test (directory, G_FILE_TEST_IS_DIR)) directory = g_get_tmp_dir (); if (g_mkdir_with_parents (directory, S_IRWXU) < 0) { errn = errno; g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errn), _("Couldn't create runtime directory: %s: %s"), directory, g_strerror (errn)); return NULL; } temp_name = g_build_filename (directory, "realmd-krb5-cache.XXXXXX", NULL); temp_fd = g_mkstemp_full (temp_name, O_RDWR, S_IRUSR | S_IWUSR); if (temp_fd == -1) { errn = errno; g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errn), _("Couldn't create credential cache file: %s: %s"), temp_name, g_strerror (errn)); g_free (temp_name); return NULL; } close (temp_fd); code = krb5_cc_resolve (krb5, temp_name, &ccache); if (code != 0) { propagate_krb5_error (error, krb5, code, _("Couldn't resolve credential cache")); g_free (temp_name); return NULL; } g_debug ("Temporary credential cache: %s", temp_name); *filename = temp_name; return ccache; } static gboolean copy_to_ccache (krb5_context krb5, const gchar *realm_name, krb5_principal principal, krb5_ccache ccache) { krb5_principal server; krb5_ccache def_ccache; krb5_error_code code; krb5_creds mcred; krb5_creds creds; code = krb5_cc_default (krb5, &def_ccache); if (code != 0) { g_debug ("krb5_cc_default failed: %s", krb5_get_error_message (krb5, code)); return FALSE; } code = krb5_build_principal (krb5, &server, strlen (realm_name), realm_name, KRB5_TGS_NAME, realm_name, NULL); g_return_val_if_fail (code == 0, FALSE); memset (&mcred, 0, sizeof (mcred)); mcred.client = principal; mcred.server = server; mcred.times.starttime = g_get_real_time () / G_TIME_SPAN_MILLISECOND; mcred.times.endtime = mcred.times.starttime; code = krb5_cc_retrieve_cred (krb5, def_ccache, KRB5_TC_MATCH_TIMES, &mcred, &creds); krb5_free_principal (krb5, server); krb5_cc_close (krb5, def_ccache); if (code == KRB5_CC_NOTFOUND) { g_debug ("no matching principal found in %s", krb5_cc_default_name (krb5)); return FALSE; } else if (code != 0) { g_debug ("krb5_cc_retrieve_cred failed: %s", krb5_get_error_message (krb5, code)); return FALSE; } code = krb5_cc_store_cred (krb5, ccache, &creds); krb5_free_cred_contents (krb5, &creds); if (code != 0) { g_debug ("krb5_cc_store_cred failed: %s", krb5_get_error_message (krb5, code)); return FALSE; } g_debug ("retrieved credentials from: %s", krb5_cc_default_name (krb5)); return TRUE; } static gboolean kinit_to_ccache (krb5_context krb5, krb5_principal principal, const gchar *name, krb5_ccache ccache, GError **error) { krb5_get_init_creds_opt *options = NULL; krb5_error_code code; krb5_creds my_creds; code = krb5_get_init_creds_opt_alloc (krb5, &options); g_return_val_if_fail (code == 0, FALSE); code = krb5_get_init_creds_opt_set_out_ccache (krb5, options, ccache); g_return_val_if_fail (code == 0, FALSE); code = krb5_get_init_creds_password (krb5, &my_creds, principal, NULL, krb5_prompter_posix, 0, 0, NULL, options); krb5_get_init_creds_opt_free (krb5, options); if (code == KRB5KDC_ERR_PREAUTH_FAILED || code == KRB5KRB_AP_ERR_BAD_INTEGRITY || code == KRB5_PREAUTH_FAILED) { propagate_krb5_error (error, krb5, code, _("Invalid password for %s"), name); return FALSE; } else if (code != 0) { propagate_krb5_error (error, krb5, code, _("Couldn't authenticate as %s"), name); return FALSE; } krb5_free_cred_contents (krb5, &my_creds); return TRUE; } static gboolean copy_or_kinit_to_ccache (krb5_context krb5, krb5_ccache ccache, const gchar *user_name, const gchar *realm_name, GError **error) { krb5_principal principal; krb5_error_code code; gchar *full_name = NULL; gboolean ret; if (strchr (user_name, '@') == NULL) user_name = full_name = g_strdup_printf ("%s@%s", user_name, realm_name); code = krb5_parse_name (krb5, user_name, &principal); if (code != 0) { propagate_krb5_error (error, krb5, code, _("Couldn't parse user name: %s"), user_name); g_free (full_name); return FALSE; } ret = copy_to_ccache (krb5, realm_name, principal, ccache) || kinit_to_ccache (krb5, principal, user_name, ccache, error); g_free (full_name); krb5_free_principal (krb5, principal); return ret; } static GVariant * read_file_into_variant (const gchar *filename) { GVariant *variant; GError *error = NULL; gchar *contents; gsize length; g_file_get_contents (filename, &contents, &length, &error); if (error != NULL) { realm_handle_error (error, _("Couldn't read credential cache")); return NULL; } variant = g_variant_new_from_data (G_VARIANT_TYPE ("ay"), contents, length, TRUE, g_free, contents); return g_variant_ref_sink (variant); } static GVariant * build_ccache_credential (const gchar *user_name, const gchar *realm_name, const gchar *credential_owner, GError **error) { krb5_error_code code; krb5_context krb5; gboolean ret = FALSE; krb5_ccache ccache; gchar *filename; GVariant *result; code = krb5_init_context (&krb5); if (code != 0) { propagate_krb5_error (error, NULL, code, _("Couldn't initialize kerberos")); return NULL; } ccache = prepare_temporary_ccache (krb5, &filename, error); if (ccache) { ret = copy_or_kinit_to_ccache (krb5, ccache, user_name, realm_name, error); krb5_cc_close (krb5, ccache); krb5_free_context (krb5); } if (!ret) return NULL; result = read_file_into_variant (filename); g_unlink (filename); g_free (filename); if (result) result = g_variant_new ("(ssv)", "ccache", credential_owner, result); return result; } static gchar * prompt_stdin (const gchar *prompt) { static const gsize pass_max = 8192; gchar *password; gsize len; g_printf ("%s", prompt); fflush (stdout); password = malloc (pass_max); if (!fgets (password, pass_max, stdin)) { free (password); password = NULL; } g_printf ("\n"); len = strlen (password); if (len > 0 && password[len - 1] == '\n') password[len - 1] = '\0'; return password; } static GVariant * build_password_credential (const gchar *user_name, const gchar *credential_owner, GError **error) { const gchar *password; GVariant *result; gchar *alloced; gchar *prompt; int istty; istty = isatty (0); if (istty && realm_unattended) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, _("Cannot prompt for a password when running in unattended mode")); return NULL; } prompt = g_strdup_printf (_("Password for %s: "), user_name); /* * Yeah, getpass is obselete. Have fun trying to recreate it even * semi-portably. */ if (istty) { password = getpass (prompt); alloced = NULL; } else { alloced = prompt_stdin (prompt); password = alloced; } g_free (prompt); if (password == NULL) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, _("Couldn't prompt for password: %s"), g_strerror (errno)); return NULL; } result = g_variant_new ("(ssv)", "password", credential_owner, g_variant_new ("(ss)", user_name, password)); if (password) memset ((char *)password, 0, strlen (password)); free (alloced); return result; } GVariant * realm_client_build_principal_creds (RealmClient *self, RealmDbusKerberosMembership *membership, GVariant *supported, const gchar *user_name, GError **error) { RealmDbusKerberos *kerberos; const gchar *realm_name; GVariant *creds; const gchar *credential_type; const gchar *credential_owner; g_return_val_if_fail (REALM_IS_CLIENT (self), NULL); credential_type = are_credentials_supported (supported, "ccache", "password", &credential_owner); if (credential_type == NULL) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, _("Realm does not support membership using a password")); return NULL; } g_debug ("Using credential type: %s/%s", credential_type, credential_owner); if (user_name == NULL) user_name = realm_dbus_kerberos_membership_get_suggested_administrator (membership); if (user_name == NULL || g_str_equal (user_name, "")) user_name = g_get_user_name (); g_debug ("Using user: %s", user_name); /* A credential cache? */ if (g_str_equal (credential_type, "ccache")) { kerberos = realm_client_to_kerberos (self, membership); realm_name = realm_dbus_kerberos_get_realm_name (kerberos); creds = build_ccache_credential (user_name, realm_name, credential_owner, error); /* A plain ol password */ } else { creds = build_password_credential (user_name, credential_owner, error); } return creds; } GVariant * realm_client_build_otp_creds (RealmClient *self, GVariant *supported, const gchar *one_time_password, GError **error) { const gchar *owner; g_return_val_if_fail (REALM_IS_CLIENT (self), NULL); if (!are_credentials_supported (supported, "secret", NULL, &owner)) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, _("Realm does not support membership using a one time password")); return NULL; } return g_variant_new ("(ssv)", "secret", owner, g_variant_new_fixed_array (G_VARIANT_TYPE_BYTE, one_time_password, strlen (one_time_password), sizeof (unsigned char))); } static krb5_error_code copy_credential_cache (krb5_context krb5, krb5_ccache src, krb5_ccache dst) { krb5_error_code code = 0; krb5_principal princ = NULL; code = krb5_cc_get_principal (krb5, src, &princ); if (!code) code = krb5_cc_initialize (krb5, dst, princ); if (code) return code; code = krb5_cc_copy_creds (krb5, src, dst); if (princ) krb5_free_principal (krb5, princ); return code; } static GVariant * lookup_ccache_credential (const gchar *realm_name, const gchar *credential_owner, GError **error) { GVariant *result = NULL; krb5_error_code code; krb5_context krb5; krb5_ccache origin = NULL; krb5_ccache ccache = NULL; krb5_principal principal; krb5_principal server; gchar *filename; code = krb5_init_context (&krb5); if (code != 0) { propagate_krb5_error (error, NULL, code, _("Couldn't initialize kerberos")); return NULL; } code = krb5_build_principal (krb5, &server, strlen (realm_name), realm_name, KRB5_TGS_NAME, realm_name, NULL); g_return_val_if_fail (code == 0, FALSE); code = krb5_cc_select (krb5, server, &origin, &principal); krb5_free_principal (krb5, server); if (principal) krb5_free_principal (krb5, principal); if (code == KRB5_CC_NOTFOUND) { g_debug ("No ccache credentials found for: %s", realm_name); origin = NULL; } else if (code != 0) { propagate_krb5_error (error, krb5, code, _("Couldn't select kerberos credentials")); origin = NULL; } if (origin) { ccache = prepare_temporary_ccache (krb5, &filename, error); if (ccache) { g_debug ("Copying credential cache"); code = copy_credential_cache (krb5, origin, ccache); krb5_cc_close (krb5, ccache); if (code == 0) result = read_file_into_variant (filename); else propagate_krb5_error (error, krb5, code, _("Couldn't read kerberos credentials")); if (result) result = g_variant_new ("(ssv)", "ccache", credential_owner, result); g_unlink (filename); g_free (filename); } krb5_cc_close (krb5, origin); } krb5_free_context (krb5); return result; } GVariant * realm_client_build_automatic_creds (RealmClient *self, RealmDbusKerberos *realm, GVariant *supported, GError **error) { const gchar *credential_owner; const gchar *realm_name; GVariant *result; GError *erra = NULL; g_return_val_if_fail (REALM_IS_CLIENT (self), NULL); /* So first check if we have a kerberos ccache that matches */ if (are_credentials_supported (supported, "ccache", NULL, &credential_owner)) { realm_name = realm_dbus_kerberos_get_realm_name (realm); result = lookup_ccache_credential (realm_name, credential_owner, &erra); /* If no credentials, then fall through to below */ if (erra != NULL) { g_propagate_error (error, erra); return NULL; } else if (result != NULL) { return result; } } if (are_credentials_supported (supported, "automatic", NULL, &credential_owner)) { return g_variant_new ("(ssv)", "automatic", credential_owner, g_variant_new_string ("")); } g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, _("Realm does not support automatic membership")); return NULL; } realmd-0.15.0/tools/Makefile.in0000664000175000017500000005300612263026711016240 0ustar00stefstef00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(top_srcdir)/Makefile.decl $(srcdir)/Makefile.in \ $(srcdir)/Makefile.am $(top_srcdir)/depcomp sbin_PROGRAMS = realm$(EXEEXT) subdir = tools ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/build/m4/intltool.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(sbindir)" PROGRAMS = $(sbin_PROGRAMS) am__objects_1 = am_realm_OBJECTS = realm.$(OBJEXT) realm-client.$(OBJEXT) \ realm-discover.$(OBJEXT) realm-join.$(OBJEXT) \ realm-leave.$(OBJEXT) realm-logins.$(OBJEXT) $(am__objects_1) realm_OBJECTS = $(am_realm_OBJECTS) realm_LDADD = $(LDADD) am__DEPENDENCIES_1 = realm_DEPENDENCIES = $(top_builddir)/dbus/librealm-dbus.a \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(realm_SOURCES) DIST_SOURCES = $(realm_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_POLICY_DIR = @DBUS_POLICY_DIR@ DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTRO = @DISTRO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ KRB5_CFLAGS = @KRB5_CFLAGS@ KRB5_CONFIG = @KRB5_CONFIG@ KRB5_LIBS = @KRB5_LIBS@ LCOV = @LCOV@ LDAP_CFLAGS = @LDAP_CFLAGS@ LDAP_LIBS = @LDAP_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGEKIT_CFLAGS = @PACKAGEKIT_CFLAGS@ PACKAGEKIT_LIBS = @PACKAGEKIT_LIBS@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POLKIT_ACTION_DIR = @POLKIT_ACTION_DIR@ POLKIT_CFLAGS = @POLKIT_CFLAGS@ POLKIT_LIBS = @POLKIT_LIBS@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SYSTEMD_JOURNAL_CFLAGS = @SYSTEMD_JOURNAL_CFLAGS@ SYSTEMD_JOURNAL_LIBS = @SYSTEMD_JOURNAL_LIBS@ SYSTEMD_UNIT_DIR = @SYSTEMD_UNIT_DIR@ TEST_MODE = @TEST_MODE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XMLTO = @XMLTO@ XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ cachedir = @cachedir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ privatedir = @privatedir@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ NULL = TEST_SUPPRESSIONS = $(top_builddir)/build/valgrind-suppressions V_SED = $(V_SED_$(V)) V_SED_ = $(V_SED_$(AM_DEFAULT_VERBOSITY)) V_SED_0 = @echo " SED " $@; SED_SUBST = sed \ -e 's,[@]datadir[@],$(datadir),g' \ -e 's,[@]libexecdir[@],$(libexecdir),g' \ -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]includedir[@],$(includedir),g' \ -e 's,[@]datarootdir[@],$(datarootdir),g' \ -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ -e 's,[@]bindir[@],$(bindir),g' \ -e 's,[@]exec_prefix[@],$(exec_prefix),g' \ -e 's,[@]prefix[@],$(prefix),g' \ -e 's,[@]abs_srcdir[@],$(abs_srcdir),g' \ -e 's,[@]srcdir[@],$(srcdir),g' \ -e 's,[@]privatedir[@],$(privatedir),g' \ -e 's,[@]PACKAGE[@],$(PACKAGE),g' \ -e 's,[@]VERSION[@],$(VERSION),g' \ $(NULL) SUFFIXES = .conf .conf.in .desktop.in .desktop.in.in .service .service.in realm_SOURCES = \ realm.c realm.h \ realm-client.h \ realm-client.c \ realm-discover.c \ realm-join.c \ realm-leave.c \ realm-logins.c \ $(NULL) AM_CFLAGS = \ -I$(top_srcdir)/dbus \ -I$(top_srcdir)/build \ -I$(top_builddir)/dbus \ -DLOCALEDIR=\""$(datadir)/locale"\" \ -DREALMD_EXECUTABLE=\""$(privatedir)/realmd"\" \ $(GLIB_CFLAGS) \ $(KRB5_CFLAGS) \ $(NULL) LDADD = \ $(top_builddir)/dbus/librealm-dbus.a \ $(GLIB_LIBS) \ $(KRB5_LIBS) \ $(NULL) all: all-am .SUFFIXES: .SUFFIXES: .conf .conf.in .desktop.in .desktop.in.in .service .service.in .c .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tools/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign tools/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.decl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-sbinPROGRAMS: $(sbin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ } \ ; done uninstall-sbinPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(sbindir)" && rm -f $$files clean-sbinPROGRAMS: -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS) realm$(EXEEXT): $(realm_OBJECTS) $(realm_DEPENDENCIES) $(EXTRA_realm_DEPENDENCIES) @rm -f realm$(EXEEXT) $(AM_V_CCLD)$(LINK) $(realm_OBJECTS) $(realm_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm-client.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm-discover.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm-join.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm-leave.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm-logins.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realm.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(sbindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-sbinPROGRAMS mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-sbinPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-sbinPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-sbinPROGRAMS cscopelist-am ctags ctags-am distclean \ distclean-compile distclean-generic distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-sbinPROGRAMS \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-sbinPROGRAMS perform-memcheck: $(TEST_PROGS) $(TEST_SUPPRESSIONS) @make -C $(top_builddir)/build all @for test in $(TEST_PROGS); do \ G_SLICE=always-malloc libtool --mode=execute \ valgrind --trace-children=no --gen-suppressions=all \ --suppressions=$(TEST_SUPPRESSIONS) \ --leak-check=full --show-reachable=yes --num-callers=16 \ --quiet --error-exitcode=33 \ $(builddir)/$$test; \ done @WITH_COVERAGE_TRUE@coverage: @WITH_COVERAGE_TRUE@ mkdir -p $(top_builddir)/build/coverage @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --capture --output-file $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(GENHTML) --output-directory $(top_builddir)/build/coverage $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters @WITH_COVERAGE_TRUE@ @echo "file://$(abs_top_builddir)/build/coverage/index.html" @WITH_COVERAGE_TRUE@clear-coverage: @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters .desktop.in.in.desktop.in: $(V_SED) $(SED_SUBST) $< > $@ @INTLTOOL_DESKTOP_RULE@ .service.in.service: $(V_SED) $(SED_SUBST) $< > $@ .conf.in.conf: $(V_SED) $(SED_SUBST) $< > $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: realmd-0.15.0/tools/Makefile.am0000664000175000017500000000102412242623243016220 0ustar00stefstef00000000000000include $(top_srcdir)/Makefile.decl sbin_PROGRAMS = \ realm realm_SOURCES = \ realm.c realm.h \ realm-client.h \ realm-client.c \ realm-discover.c \ realm-join.c \ realm-leave.c \ realm-logins.c \ $(NULL) AM_CFLAGS = \ -I$(top_srcdir)/dbus \ -I$(top_srcdir)/build \ -I$(top_builddir)/dbus \ -DLOCALEDIR=\""$(datadir)/locale"\" \ -DREALMD_EXECUTABLE=\""$(privatedir)/realmd"\" \ $(GLIB_CFLAGS) \ $(KRB5_CFLAGS) \ $(NULL) LDADD = \ $(top_builddir)/dbus/librealm-dbus.a \ $(GLIB_LIBS) \ $(KRB5_LIBS) \ $(NULL) realmd-0.15.0/tools/realm-discover.c0000664000175000017500000002041512140455744017257 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm.h" #include "realm-dbus-constants.h" #include "realm-dbus-generated.h" #include #include #include #include #include #include #include #include #include static void print_kerberos_info (RealmClient *client, RealmDbusKerberos *kerberos) { g_print (" type: kerberos\n"); g_print (" realm-name: %s\n", realm_dbus_kerberos_get_realm_name (kerberos)); g_print (" domain-name: %s\n", realm_dbus_kerberos_get_domain_name (kerberos)); } static void print_realm_info (RealmClient *client, gboolean name_only, RealmDbusRealm *realm) { RealmDbusKerberos *kerberos; const gchar *configured; GVariant *details; const gchar *name; const gchar *value; gboolean is_configured; gchar *string; const gchar *policy; GVariantIter iter; const gchar *const *packages; gint i; g_return_if_fail (REALM_DBUS_IS_REALM (realm)); g_print ("%s\n", realm_dbus_realm_get_name (realm)); if (name_only) return; kerberos = realm_client_to_kerberos (client, realm); if (kerberos) { print_kerberos_info (client, kerberos); g_object_unref (kerberos); } else { g_print (" type: unknown\n"); } is_configured = TRUE; configured = realm_dbus_realm_get_configured (realm); if (configured == NULL || g_str_equal (configured, "")) { configured = "no"; is_configured = FALSE; } else if (g_str_equal (configured, REALM_DBUS_KERBEROS_MEMBERSHIP_INTERFACE)) { configured = "kerberos-member"; } g_print (" configured: %s\n", configured); details = realm_dbus_realm_get_details (realm); if (details) { g_variant_iter_init (&iter, details); while (g_variant_iter_loop (&iter, "(&s&s)", &name, &value)) g_print (" %s: %s\n", name, value); } packages = realm_dbus_realm_get_required_packages (realm); for (i = 0; packages != NULL && packages[i] != NULL; i++) g_print (" required-package: %s\n", packages[i]); if (is_configured) { string = g_strjoinv (", ", (gchar **)realm_dbus_realm_get_login_formats (realm)); g_print (" login-formats: %s\n", string); g_free (string); policy = realm_dbus_realm_get_login_policy (realm); g_print (" login-policy: %s\n", policy); if (strstr (policy, REALM_DBUS_LOGIN_POLICY_PERMITTED)) { string = g_strjoinv (", ", (gchar **)realm_dbus_realm_get_permitted_logins (realm)); g_print (" permitted-logins: %s\n", string); g_free (string); string = g_strjoinv (", ", (gchar **)realm_dbus_realm_get_permitted_groups (realm)); g_print (" permitted-groups: %s\n", string); g_free (string); } } } static int perform_discover (RealmClient *client, const gchar *string, gboolean all, gboolean name_only, const gchar *server_software, const gchar *client_software, const gchar *membership_software) { GHashTable *seen; gboolean found = FALSE; GError *error = NULL; const gchar *name; GList *realms; GList *l; realms = realm_client_discover (client, string, client_software, server_software, membership_software, REALM_DBUS_REALM_INTERFACE, NULL, &error); if (error != NULL) { realm_handle_error (error, _("Couldn't discover realms")); return 1; } seen = g_hash_table_new (g_str_hash, g_str_equal); for (l = realms; l != NULL; l = g_list_next (l)) { name = realm_dbus_realm_get_name (l->data); if (all || !g_hash_table_lookup (seen, name)) { print_realm_info (client, name_only, l->data); g_hash_table_add (seen, (gchar *)name); found = TRUE; } } g_hash_table_destroy (seen); g_list_free_full (realms, g_object_unref); if (!found) { if (string == NULL) realm_handle_error (NULL, _("No default realm discovered")); else realm_handle_error (NULL, _("No such realm found: %s"), string); return 1; } return 0; } int realm_discover (RealmClient *client, int argc, char *argv[]) { GOptionContext *context; gchar *arg_client_software = NULL; gchar *arg_server_software = NULL; gchar *arg_membership_software = NULL; GError *error = NULL; gboolean arg_all = FALSE; gboolean arg_name_only = FALSE; gint result = 0; gint ret; gint i; GOptionEntry option_entries[] = { { "all", 'a', 0, G_OPTION_ARG_NONE, &arg_all, N_("Show all discovered realms"), NULL }, { "name-only", 'n', 0, G_OPTION_ARG_NONE, &arg_name_only, N_("Show only the names"), NULL }, { "client-software", 0, 0, G_OPTION_ARG_STRING, &arg_client_software, N_("Use specific client software"), NULL }, { "membership-software", 0, 0, G_OPTION_ARG_STRING, &arg_membership_software, N_("Use specific membership software"), NULL }, { "server-software", 0, 0, G_OPTION_ARG_STRING, &arg_server_software, N_("Use specific server software"), NULL }, { NULL, } }; context = g_option_context_new ("realm-or-domain"); g_option_context_set_translation_domain (context, GETTEXT_PACKAGE); g_option_context_add_main_entries (context, option_entries, NULL); g_option_context_add_main_entries (context, realm_global_options, NULL); if (!g_option_context_parse (context, &argc, &argv, &error)) { g_printerr ("%s: %s\n", g_get_prgname (), error->message); g_error_free (error); result = 2; /* The default realm? */ } else if (argc == 1) { result = perform_discover (client, NULL, arg_all, arg_name_only, arg_server_software, arg_client_software, arg_membership_software); /* Specific realms */ } else { for (i = 1; i < argc; i++) { ret = perform_discover (client, argv[i], arg_all, arg_name_only, arg_server_software, arg_client_software, arg_membership_software); if (ret != 0) result = ret; } } g_free (arg_server_software); g_free (arg_client_software); g_free (arg_membership_software); g_option_context_free (context); return result; } static int perform_list (RealmClient *client, gboolean all, gboolean name_only) { RealmDbusProvider *provider; const gchar *const *realms; gboolean printed = FALSE; RealmDbusRealm *realm; gint i; provider = realm_client_get_provider (client); realms = realm_dbus_provider_get_realms (provider); for (i = 0; realms && realms[i] != NULL; i++) { realm = realm_client_get_realm (client, realms[i]); if (all || realm_is_configured (realm)) { print_realm_info (client, name_only, realm); printed = TRUE; } g_object_unref (realm); } if (realm_verbose && !printed) { if (all) g_printerr ("No known realms\n"); else g_printerr ("No configured realms\n"); } return 0; } int realm_list (RealmClient *client, int argc, char *argv[]) { GOptionContext *context; gboolean arg_all = FALSE; gboolean arg_name_only = FALSE; GError *error = NULL; gint ret = 0; GOptionEntry option_entries[] = { { "all", 'a', 0, G_OPTION_ARG_NONE, &arg_all, N_("Show all realms"), NULL }, { "name-only", 'n', 0, G_OPTION_ARG_NONE, &arg_name_only, N_("Show only the names"), NULL }, { NULL, } }; context = g_option_context_new ("realm"); g_option_context_set_translation_domain (context, GETTEXT_PACKAGE); g_option_context_add_main_entries (context, option_entries, NULL); g_option_context_add_main_entries (context, realm_global_options, NULL); if (!g_option_context_parse (context, &argc, &argv, &error)) { g_printerr ("%s: %s\n", g_get_prgname (), error->message); g_error_free (error); ret = 2; } else if (argc == 0) { g_printerr ("%s: no arguments necessary\n", g_get_prgname ()); ret = 2; } else { ret = perform_list (client, arg_all, arg_name_only); } g_option_context_free (context); return ret; } realmd-0.15.0/tools/realm-client.h0000664000175000017500000001114712140455744016726 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #ifndef __REALM_CLIENT_H__ #define __REALM_CLIENT_H__ #include #include "realm-dbus-generated.h" G_BEGIN_DECLS #define REALM_TYPE_CLIENT (realm_client_get_type ()) #define REALM_CLIENT(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_CLIENT, RealmClient)) #define REALM_IS_CLIENT(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_CLIENT)) #define REALM_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), REALM_TYPE_CLIENT, RealmClientClass)) #define REALM_IS_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), REALM_TYPE_CLIENT)) #define REALM_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), REALM_TYPE_CLIENT, RealmClientClass)) typedef struct _RealmClient RealmClient; typedef struct _RealmClientClass RealmClientClass; GType realm_client_get_type (void) G_GNUC_CONST; RealmClient * realm_client_new (gboolean verbose, const gchar *prefix); RealmDbusProvider * realm_client_get_provider (RealmClient *self); GList * realm_client_discover (RealmClient *self, const gchar *string, const gchar *client_software, const gchar *server_software, const gchar *membership_software, const gchar *dbus_interface, gboolean *had_mismatched, GError **error); RealmDbusRealm * realm_client_get_realm (RealmClient *self, const gchar *object_path); RealmDbusRealm * realm_client_to_realm (RealmClient *self, gpointer proxy); RealmDbusKerberosMembership * realm_client_get_kerberos_membership (RealmClient *self, const gchar *object_path); RealmDbusKerberosMembership * realm_client_to_kerberos_membership (RealmClient *self, gpointer proxy); RealmDbusKerberos * realm_client_get_kerberos (RealmClient *self, const gchar *object_path); RealmDbusKerberos * realm_client_to_kerberos (RealmClient *self, gpointer proxy); GVariant * realm_client_build_principal_creds (RealmClient *self, RealmDbusKerberosMembership *membership, GVariant *supported, const gchar *user_name, GError **error); GVariant * realm_client_build_otp_creds (RealmClient *self, GVariant *supported, const gchar *one_time_password, GError **error); GVariant * realm_client_build_automatic_creds (RealmClient *self, RealmDbusKerberos *realm, GVariant *supported, GError **error); G_END_DECLS #endif /* __REALM_H__ */ realmd-0.15.0/install-sh0000755000175000017500000003325512177675036015057 0ustar00stefstef00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-11-20.07; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: realmd-0.15.0/config.h.in0000664000175000017500000000635012263026714015061 0ustar00stefstef00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* The gettext domain name */ #undef GETTEXT_PACKAGE /* Disable glib assertions */ #undef G_DISABLE_ASSERT /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define to 1 if you have the header file. */ #undef HAVE_LDAP_H /* Define to 1 if you have the `lber' library (-llber). */ #undef HAVE_LIBLBER /* Define to 1 if you have the `ldap' library (-lldap). */ #undef HAVE_LIBLDAP /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if your C compiler doesn't accept -c and -o together. */ #undef NO_MINUS_C_MINUS_O /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif /* Version number of package */ #undef VERSION /* Print debug output */ #undef WITH_DEBUG /* Use systemd's journal */ #undef WITH_JOURNAL /* In debug mode */ #undef _DEBUG /* Define to 1 if on MINIX. */ #undef _MINIX /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ #undef _POSIX_1_SOURCE /* Define to 1 if you need to in order for `stat' and other things to work. */ #undef _POSIX_SOURCE realmd-0.15.0/NEWS0000664000175000017500000002156712263034073013541 0ustar00stefstef000000000000000.15.0 * Depend on Glib 2.36 or later * Use safe printf when formatting sssd.conf full_name_format * Fix logic issue when testing for EAGAIN [#71774] * Build fixes 0.14.6 * Set 'kerberos method = system keytab' in smb.conf properly [#69037] * Limit Netbios name to 15 chars when joining AD domain [#69016] 0.14.5 * Fix regression where --unattended conflicted with -U as in --user [#68112] * Pass discovered server address to adcli [#68111] * Fix failure message output 0.14.4 * Fix up the [sssd] section in sssd.conf if it's screwed up * Add an --unattended argument to realm command line client * Clearer 'realm permit' manual page example * Other documentation fixes 0.14.3 * Populate LoginFormats properly when use_fully_qualified_names = False * Several documentation fixes * Set sssd.conf default_shell per domain * Notify in terminal output when installing packages * If joined via adcli, delete computer account with adcli as well * If input is not tty, then just read from stdin without getpass() * Force IPA joins so that computer can rejoin a domain * Configure pam_winbind.conf appropriately when using winbind [#66831] * Refer to FreeIPA as IPA [#66734] * Support use of kerberos ccache to join when using winbind * Don't create a top level directory in /var [#65435] * Other build fixes 0.14.2 * Rework discovery for changes in FreeIPA 3.0 [#64895] * Remove simple_allow_users/groups when permit/deny access provider [#64903] * When FreeIPA domain with manage-system, we want NTP, so --force-ntpd * Only allow joining one manage-system=true domain [#64928] * Return a specific error code when host name is invalid * Enable oddjobd service on Fedora and RHEL 0.14.1 * Don't use the slice allocator for small memory allocations [#56157] * Don't do critical warning when service.Release() is called * Just quit when Ctrl-C is pressed twice [#64538] * Don't remove sssd domain if already removed * Document the 'realm discover --all' option * sssd-tools is no longer needed on Fedora * Don't print journalctl command when cancelled [#64539] * Enable sssd service even when in install mode [#64542] * Use the full AD domain name as sssd.conf domain [#64544] * When failing to write out data to subprocess, print errno * Work around authconfig bug [#953851] * Build fixes 0.14.0 * Work around krb5 bugs in krb5_get_init_creds_password() * Fine tune the regular expressions and formats for AD and IPA * Put documentation about realmd.conf in a manual page [#64182] 0.13.91 * Add support for permitting logins by group [#58397] * Fix regression of service --debug argument * Fix regression of discovery of FreeIPA * Fix regression in 'realm join --one-time-password' * Fix lots of possible uninitialized memory usage 0.13.90 * Rework the discovery mechanisms for AD and IPA [#62863 #63907 #63907] * Allow specifying of servers for discovery and join [#63907] * Option to disable use of fully qualified names [#60637] * Option to disable automatic package installs [#61215] * Option for turning on realmd debugging [#61219] * Option for 'manage-system' [#61858] * Option to turn off automatic id mapping [#60679] * Option for creating user principal on computer account [#62755] * Options for setting OS name and version [#54489] * On failure print out journal command [#63739] * When realm is not joinable say so [#63631] * Handle IPA bad password error code [#63738] * Work around samba bug which requires LOGNAME envvar [#63956] * Use allow-realm-logins by default if manage-system [#61858] * Temp file handling fixes [#63910] * Don't set sssd.conf parameters to defaults [#62519] * Remove empty keytab if all entries have been flushed [#56029] * Support for using kerberos credential cache to join [#56022] * Refactor internals [#63434 #63906] 0.13.3 * Fix permit/deny commands and implementation [#62517 #62518] * Don't exit realmd when clients are still active [#61220] * Send internal warnings/criticals/messages to syslog [#58084] * Example domain fixes [#62215 #62372 #62214 #62162] * Cleanup our 'net ads join' usage [#56023] * Support realm login policy [#60628] * Other tweaks and bug fixes [#62763 #62210 #60656 ...] * Include a systemd unit file [#56012] * Adding build support for SuSE [#55097] * Check that package-kit finds all the packages we ask it to resolve [#60657] * If PackageKit is not available, assume manual package installation [#60654] * License clarification, we are LGPL v2.1 [#57943] * Optionally use systemd's journal for logging [#62225] * Documentation fixes and clarifications * Build and testing fixes 0.13 * Pull in translations from transifex * Detect incorrect passwords when using 'net ads join' login via RPC * Use ipa-client-install to provide join functionality for IPA domains * Don't assume that we can use kerberos to validate admin password * Allow specifying --membership-software when discovering a realm * Only use the XDG user data directory if it exists * Quit the daemon when SIGTERM or SIGINT received * Implement cancellation of operations * Documentation fixes * Add documentation about realmd internals * Update commands and packages for Debian * Use /var/cache/realmd instead of /tmp * Build fixes and lots of other bugs fixed 0.12 * Add a --no-password option to realm join * Check if domain is configured before trying to join * Updated translations * Build fixes 0.11 * Support install mode, where we try not to use the DBus system bus * Support caller based package installation * Fix various bugs 0.10 * Send diagnostics from subcommand to client as they come in * Return configured realms back to callers * Refuse to join a domain if hostname is localhost * In realm permit or deny commands, fail when options are invalid * Fix samba package names for Fedora changes * Fix typo in realm manual * Fix case where base dn in computer-ou doesn't match domain * Don't crash when computer-ou is empty * Fix problem where daemon goes away unexpectedly 0.9 * Add support for deconfiguring a realm without removing computer account * Cleanup the krb5.keytab from realmd itself, rather than relying on samba * Fix problems running authconfig from a system service * Automatically create home directories for logged in accounts on Fedora and RHEL * Setup a default shell and home directory for AD users coming via sssd * Restart the accouts-daemon after joining a domain * Use lower case realm names * Enable offline logins with sssd * Make sure the allow-permitted-logins policy works with sssd even when no permitted logins specified * Use systemctl and service commands to manage services rather than DBus * Move the realm command to /usr/sbin * Make --verbose work with 'realm permit -all' and 'realm deny --all' * Make sure realm permit/deny only work with configured realms * Work around sssd simple access provider issues * Use sss_cache to clear caches when removing a domain * Make 'realm discover' only print out realm line per domain by default * Only list configured realms in 'realm list' by default * Bug fixes * Documentation 0.8.1 * Distribute debian settings file correctly 0.8 * Cleaner, faster and robuster IPA discovery * Don't refret the PackageKit cache when installing * Add first translation, although gettext not hooked up yet * Pass passwords directly to the samba 'net' command * Better prompting for realm administrator/user password in realm tool * Remove custom debug code, just use glib * Support basic one-time-password and automatic joining * Ignore temporarily DNS failures when discovering * Add a generic kerberos provider, for discovering non AD/IPA realms * Add support for specifying a computer OU LDAP DN when joining * Don't require unstable glib * Fix timeout in the realm tool * Some build and testing fixes * Other bug fixes 0.7 * Refactor the DBus interface so we can add other realm types later * Implement o.f.DBus.ObjectManager * Some compat fixes for samba4 * Use better LoginFormats format * Add DBus interface documentation * Build fixes 0.6 * Switch default AD client to sssd * Support building with automake 1.12.x * Cleaner DBus API which handles password based authentication required for samba3's net command. * Remove support for out of process providers * Lots of bug fixes 0.5 * Implement login policy concept * Make the daemon exit-after-timeout work better * Implement an AD provider based on sssd * Fix accidental corruption of config files * New 'realm' command with various sub-commands * Display errors correctly in command line tools * Add discovery of IPA servers * Various bug fixes 0.4 * Fix up license headers * Don't use SOA for MSDCS subdomain, use SRV record directly 0.3 * Build and packaging fixes 0.2 * Add possibility for cancellation to the DBus interface * Add provider Name and Version properties * Clearer diagnostics on discovery * Add realm-discover tool to identify a domain * Add proper DBus service files 0.1 * Initial release realmd-0.15.0/ChangeLog0000664000175000017500000100220312263034131014572 0ustar00stefstef00000000000000# Generate automatically. Do not edit. commit 8259e34bcebfb1f86cbb27717b8e4822d466fc62 Author: Stef Walter Date: 2014-01-07 Release development version 0.15.0 NEWS | 6 ++++++ 1 file changed, 6 insertions(+) commit 96e46488048c26e83431c91402778d22f22d625e Author: Stef Walter Date: 2014-01-07 Update translations from transifex po/ar.po | 108 ++++++++-------- po/as.po | 108 ++++++++-------- po/az.po | 108 ++++++++-------- po/bg.po | 108 ++++++++-------- po/bn_IN.po | 108 ++++++++-------- po/ca.po | 108 ++++++++-------- po/ca@valencia.po | 108 ++++++++-------- po/cs.po | 110 ++++++++--------- po/cy.po | 108 ++++++++-------- po/da.po | 217 ++++++++++++++++---------------- po/de.po | 108 ++++++++-------- po/el.po | 108 ++++++++-------- po/en_GB.po | 363 +++++++++++++++++++++++++++--------------------------- po/eo.po | 108 ++++++++-------- po/es.po | 186 ++++++++++++++-------------- po/eu.po | 108 ++++++++-------- po/fa.po | 108 ++++++++-------- po/fi.po | 110 ++++++++--------- po/fo.po | 108 ++++++++-------- po/fr.po | 116 ++++++++--------- po/ga.po | 108 ++++++++-------- po/gl.po | 357 +++++++++++++++++++++++++++-------------------------- po/gu.po | 108 ++++++++-------- po/he.po | 108 ++++++++-------- po/hi.po | 108 ++++++++-------- po/hr.po | 110 ++++++++--------- po/hu.po | 110 ++++++++--------- po/ia.po | 108 ++++++++-------- po/id.po | 186 ++++++++++++++-------------- po/it.po | 110 ++++++++--------- po/ja.po | 110 ++++++++--------- po/ka.po | 108 ++++++++-------- po/kk.po | 108 ++++++++-------- po/kn.po | 108 ++++++++-------- po/ko.po | 205 +++++++++++++++--------------- po/lt.po | 108 ++++++++-------- po/lv.po | 110 ++++++++--------- po/ml.po | 108 ++++++++-------- po/mr.po | 108 ++++++++-------- po/ms.po | 108 ++++++++-------- po/nb.po | 108 ++++++++-------- po/nl.po | 108 ++++++++-------- po/nn.po | 108 ++++++++-------- po/or.po | 108 ++++++++-------- po/pa.po | 108 ++++++++-------- po/pl.po | 196 ++++++++++++++--------------- po/pt.po | 108 ++++++++-------- po/pt_BR.po | 204 +++++++++++++++--------------- po/ro.po | 108 ++++++++-------- po/ru.po | 108 ++++++++-------- po/sk.po | 108 ++++++++-------- po/sl.po | 190 ++++++++++++++-------------- po/sq.po | 108 ++++++++-------- po/sr@latin.po | 108 ++++++++-------- po/sv.po | 108 ++++++++-------- po/ta.po | 108 ++++++++-------- po/te.po | 108 ++++++++-------- po/th.po | 108 ++++++++-------- po/tr.po | 108 ++++++++-------- po/uk.po | 188 ++++++++++++++-------------- po/vi.po | 108 ++++++++-------- po/wa.po | 108 ++++++++-------- po/zh_CN.po | 112 ++++++++--------- po/zh_HK.po | 108 ++++++++-------- po/zh_TW.po | 108 ++++++++-------- 65 files changed, 4132 insertions(+), 4126 deletions(-) commit c122c145554099028dbef9b26c5f526d98b93a0b Author: Stef Walter Date: 2014-01-07 service: Use GTask instead of back-ported EggTask Now that we depend on GLib 2.36 which includes GTask service/Makefile.am | 1 - service/egg-task.c | 1313 ------------------------------------- service/egg-task.h | 130 ---- service/realm-adcli-enroll.c | 23 +- service/realm-disco-dns.c | 33 +- service/realm-disco-mscldap.c | 31 +- service/realm-disco-rootdse.c | 73 +-- service/realm-example-provider.c | 17 +- service/realm-example.c | 65 +- service/realm-kerberos-provider.c | 19 +- service/realm-ldap.c | 1 - service/realm-packages.c | 27 +- service/realm-samba-enroll.c | 45 +- service/realm-samba-provider.c | 15 +- service/realm-samba-winbind.c | 47 +- service/realm-samba.c | 79 ++- service/realm-service.c | 59 +- service/realm-sssd-ad.c | 60 +- service/realm-sssd-ipa.c | 74 +-- service/realm-sssd-provider.c | 19 +- service/realm-sssd.c | 33 +- service/realm-sssd.h | 3 +- 22 files changed, 353 insertions(+), 1814 deletions(-) commit efc0f4ea05972d5a4b53bf241d7bf987878ee364 Author: Stef Walter Date: 2014-01-07 tests: Use AM_CPPFLAGS instead of INCLUDES tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e32d140d1152cc25c6a1a4682495b16c68af2773 Author: Stef Walter Date: 2014-01-07 configure: Make Glib dependency explicit: 2.36 And check for this during compilation, make sure we don't use any newer APIs. configure.ac | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) commit 2d3da42952b599a964120d08be8158df84bc485d Author: Stef Walter Date: 2014-01-03 sssd: Use safe printf when formatting full_name_format strings service/realm-sssd.c | 52 +++++++++++++++++++++++---------------------------- service/safe-printf.c | 5 +++-- service/safe-printf.h | 2 +- 3 files changed, 27 insertions(+), 32 deletions(-) commit 60198a9ab310bfcffa7d48b4be46179339fe7f58 Author: Stef Walter Date: 2014-01-03 safe-printf: Add functions for safely running a positional printf Since sssd.conf uses such printf formats in its code, and it's completely bogus to be passing user provided input to printf directly... These printf variants only support string arguments basic width and precision, and check to make sure nothing is out of bounds. .gitignore | 1 + service/Makefile.am | 1 + service/safe-printf.c | 347 +++++++++++++++++++++++++++++++++++++++++++++++ service/safe-printf.h | 45 ++++++ tests/Makefile.am | 6 + tests/test-safe-printf.c | 238 ++++++++++++++++++++++++++++++++ 6 files changed, 638 insertions(+) commit da67464cf8277bc68c40d688e556f045312dc403 Author: Stef Walter Date: 2014-01-03 realm-packages: Build with PackageKit 0.8.14+ without complaining pk_results_get_message_array() was deprecated, and seems to have been removed in PackageKit git master. service/realm-packages.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 693b54ad5b1516e40bc22d1ef93886d85dbb3930 Author: Stef Walter Date: 2013-11-19 tools: Remove our own copy of GDBusObjectManagerClient We included this to fix a bug, which is now included in a stable version of glib. Bump minimum version of GLib to 2.38.0 configure.ac | 4 +- tools/Makefile.am | 4 - tools/eggdbusobjectmanagerclient.c | 1740 ------------------------------------ tools/eggdbusobjectmanagerclient.h | 148 --- tools/eggdbusobjectproxy.c | 365 -------- tools/eggdbusobjectproxy.h | 92 -- tools/realm-client.c | 15 +- 7 files changed, 8 insertions(+), 2360 deletions(-) commit 42d707a7336908a7aa2a904bc36fa119cdd54352 Author: Stef Walter Date: 2013-11-19 service: Fix logic issue when testing for EAGAIN https://bugs.freedesktop.org/show_bug.cgi?id=71774 service/realm-credential.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e15efd15f4ef1ab18e6f4987609231f14f60e7ea Author: Stef Walter Date: 2013-09-24 redhat: Start oddjobd when joining an sssd domain service/realmd-redhat.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a2beb2a36a7f1c1aff95972b4038f7ab61be0ec Author: Stef Walter Date: 2013-09-20 redhat: oddjobd doesn't run by itself and needs to be started service/realmd-redhat.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9e44fc15e743ede544b77a021b5f1aab915759a Author: Laurent Bigonville Date: 2013-09-15 Fix build on Debian kfreebsd https://bugs.freedesktop.org/show_bug.cgi?id=69353 service/realm-kerberos.c | 4 ++++ 1 file changed, 4 insertions(+) commit 214ba274857371347eaab8be744cfc979515a966 Author: Stef Walter Date: 2013-09-09 Update translations from transifex po/LINGUAS | 66 +++++++ po/ar.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/as.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/az.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/bg.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/bn_IN.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ca.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ca@valencia.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/cs.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/cy.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/da.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/de.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/el.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/en_GB.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/eo.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/es.po | 581 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/es_CL.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/eu.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/fa.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/fi.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/fo.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/fr.po | 580 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ga.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/gl.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/gu.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/he.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/hi.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/hr.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/hu.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ia.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/id.po | 579 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/it.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/it_IT.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ja.po | 580 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ka.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/kk.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/kn.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ko.po | 579 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/lt.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/lv.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ml.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/mr.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ms.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/nb.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/nl.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/nn.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/or.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/pa.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/pl.po | 439 +++++++++++++++++++++++++---------------- po/pt.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/pt_BR.po | 580 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ro.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ru.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/sk.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/sl.po | 580 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/sq.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/sr@latin.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/sv.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ta.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/te.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/th.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/tr.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/uk.po | 579 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/vi.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/wa.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/zh_CN.po | 580 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/zh_HK.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/zh_TW.po | 578 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 68 files changed, 38496 insertions(+), 173 deletions(-) commit 40b71ed8a7642c06bc1477612a8e2d4a798ec9f5 Author: Stef Walter Date: 2013-09-06 Release version 0.14.6 NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit ce5e38ef89a50bcc723210598a48d295ad49f975 Author: Stef Walter Date: 2013-09-06 Don't proceed with join if hostname starts with a '.' service/realm-kerberos.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e1716eb7d75f9eeb2e16e13f7b76e9a84ed188a1 Author: Stef Walter Date: 2013-09-06 When we join with 'kerberos method = system keytab' set in smb.conf We're doing joins using 'net ads join' by writing the host keytab properly. So tell winbind where the computer account secrets are. https://bugs.freedesktop.org/show_bug.cgi?id=69037 service/realm-samba.c | 1 + 1 file changed, 1 insertion(+) commit 4e5a02a9225abe45c917056de846124e3c74ccac Author: Stef Walter Date: 2013-09-06 Limit Netbios name to 15 chars when joining AD domain In the future we will have more code for managing the computer name. 'net ads join' requires us to setup 'netbios name' to a short name in smb.conf in order to do a join with a long host name. We also need to setup sssd.conf to authenticate correctly when the hostname doesn't match the computer account name. We use ldap_sasl_authid to accomplish this. https://bugs.freedesktop.org/show_bug.cgi?id=69016 service/realm-adcli-enroll.c | 7 ++++++ service/realm-disco-mscldap.c | 43 ++++++++++++++++++++++++++++++++ service/realm-disco.c | 1 + service/realm-disco.h | 1 + service/realm-samba-enroll.c | 6 +++++ service/realm-samba.c | 24 +++++++++++++++++- service/realm-sssd-ad.c | 58 +++++++++++++++++++++++++++++++++++-------- 7 files changed, 129 insertions(+), 11 deletions(-) commit 9a6a85bfd37e6be03ae06bf30cae08e849a675ec Author: Stef Walter Date: 2013-08-15 Release version 0.14.5 NEWS | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 66b07a84f68ce1f363d5d51577b1d2cdb30ee98d Author: Stef Walter Date: 2013-08-14 Fix reverse ordered output for join failure messages https://bugs.freedesktop.org/show_bug.cgi?id=68112 tools/realm-join.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 4bc34c20349b4089ad26e4a01a31a82a433ba13e Author: Stef Walter Date: 2013-08-14 Fix regression caused by --unattended * The short form -U conflicted with --user, so just drop the short form. * Add documentation for --unattended https://bugs.freedesktop.org/show_bug.cgi?id=68112 doc/manual/realm.xml | 5 +++++ tools/realm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 1c2c8d904671247afcde8f3c302d48a314970f8c Author: Stef Walter Date: 2013-08-14 Pass discovered server address to adcli So that adcli doesn't have to do a full discovery, but can just contact that server. https://bugs.freedesktop.org/show_bug.cgi?id=68111 service/realm-adcli-enroll.c | 26 ++++++++++++++++++++++++-- service/realm-disco-mscldap.c | 4 ++++ service/realm-disco-rootdse.c | 9 ++++----- service/realm-disco.c | 2 ++ service/realm-disco.h | 2 ++ 5 files changed, 36 insertions(+), 7 deletions(-) commit ac98d162c0cd2e9bd43469505a2f6a07cc773f73 Author: Stef Walter Date: 2013-08-08 Add clarification about when realmd.conf settings take effect doc/manual/realmd.conf.xml | 7 +++++++ 1 file changed, 7 insertions(+) commit 45e06262b861d7e27f4191f74bca8ecd0f2de689 Author: Stef Walter Date: 2013-08-07 Release version 0.14.4 NEWS | 6 ++++++ configure.ac | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 8b83dd8f7b54456e02494d9391d2a1d44c7a32dd Author: Stef Walter Date: 2013-07-25 Fix up the [sssd] section in sssd.conf if it's screwed up https://bugzilla.redhat.com/show_bug.cgi?id=987491 service/realm-ini-config.c | 23 +++++++++++++++++++++++ service/realm-ini-config.h | 4 ++++ service/realm-sssd-config.c | 10 ++++------ tests/test-ini-config.c | 14 ++++++++++++++ tests/test-sssd-config.c | 4 ++-- 5 files changed, 47 insertions(+), 8 deletions(-) commit 206a320c10b2efb0b9db3856f7ba3453ffe7ec2a Author: Stef Walter Date: 2013-07-24 tools: Add an --unattended argument to realm command line client This prevents prompting for passwords using getpass(). Unattended mode still allows piping in a password via stdin. https://bugzilla.redhat.com/show_bug.cgi?id=976593 tools/realm-client.c | 11 ++++++++++- tools/realm.c | 2 ++ tools/realm.h | 2 ++ 3 files changed, 14 insertions(+), 1 deletion(-) commit daa0b25dc0189a1127513dd86e16250bc9731449 Author: Stef Walter Date: 2013-07-24 Clearer 'realm permit' manual page example Also remove duplicated information. https://bugzilla.redhat.com/show_bug.cgi?id=985800 doc/manual/realm.xml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) commit 6e160efd8921a637334cf4b97c9cbd67ceb6a353 Author: Stef Walter Date: 2013-07-22 Fix some documentation typos doc/manual/realmd.conf.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6011b5d20a9d58c1bcc7f3af85417e3fad527e00 Author: Stef Walter Date: 2013-07-22 Release version 0.14.3 NEWS | 14 ++++++++++++++ configure.ac | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) commit 51cb0bc599e5b6bd72c0bd93f3f0f7156174c21d Author: Stef Walter Date: 2013-07-22 Fix testing regressions tests/test-sssd-config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 29e9976750f4e6b7d71f8f09acf7a428364ab986 Author: Stef Walter Date: 2013-07-22 Respect use_fully_qualified_names to populate LoginFormats https://bugzilla.redhat.com/show_bug.cgi?id=967011 service/realm-ini-config.c | 40 ++++++++++++++++++++++++++++++++++++++++ service/realm-ini-config.h | 6 ++++++ service/realm-sssd-config.c | 2 +- service/realm-sssd.c | 10 ++++++++++ tests/test-ini-config.c | 39 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 96 insertions(+), 1 deletion(-) commit 35e4169741071e6a3f214c6998e758aa80275636 Author: Stef Walter Date: 2013-07-22 Clarification about how login policy is controlled by manage-system https://bugzilla.redhat.com/show_bug.cgi?id=985773 doc/manual/realmd.conf.xml | 5 +++++ 1 file changed, 5 insertions(+) commit e588faf25dc93d9d5da777d78837c5114effc2d1 Author: Stef Walter Date: 2013-07-22 Add some clarification on Active Directory specific options https://bugzilla.redhat.com/show_bug.cgi?id=967565 doc/manual/realm.xml | 7 +++++-- doc/manual/realmd.conf.xml | 14 ++++++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) commit ebd04682b1993120e71ae626049cdf8efa0e52a2 Author: Stef Walter Date: 2013-07-22 Set sssd.conf default_shell per domain This allows for much more predictable configuration, when an admin has set the global option. https://bugzilla.redhat.com/show_bug.cgi?id=967569 service/realm-sssd-ad.c | 3 +++ service/realm-sssd-config.c | 9 --------- service/realm-sssd-ipa.c | 3 +++ 3 files changed, 6 insertions(+), 9 deletions(-) commit a2099259dd752bb0fd33c0239b7ee3520dda54d5 Author: Stef Walter Date: 2013-07-22 Notify in terminal output when installing packages Various people have been worried by installing packages quietly, so notify about what's going on. In reality *configuring* and *starting* a daemon is far more worrisome than the installation. It's realmd's job to configure, enable and start stuff. So if you're properly worried, remove realmd and do stuff manually. https://bugzilla.redhat.com/show_bug.cgi?id=984960 service/realm-packages.c | 8 ++++++-- tools/realm-client.c | 29 ++++++++++++++++++++--------- 2 files changed, 26 insertions(+), 11 deletions(-) commit f215dd461ff8982c7a2097ec57a71540359ac769 Author: Stef Walter Date: 2013-05-27 If joined via adcli, delete computer account with adcli as well https://bugs.freedesktop.org/show_bug.cgi?id=65032 service/realm-adcli-enroll.c | 75 ++++++++++++++++++++++++++++++++++++++++++++ service/realm-adcli-enroll.h | 10 ++++++ service/realm-kerberos.c | 23 ++++++++++++-- service/realm-kerberos.h | 4 +++ service/realm-sssd-ad.c | 61 ++++++++++++++++++++++++++++++----- service/realm-sssd.c | 26 +++++++++++---- 6 files changed, 183 insertions(+), 16 deletions(-) commit 42b31578341ccf7a7385647a4070a7ac323836fa Author: Stef Walter Date: 2013-07-19 If input is not a tty, then just read from stdin without getpass() This allows people to echo passwords into the realm client command like this: echo "password" | realm join --user Administrator example.com https://bugzilla.redhat.com/show_bug.cgi?id=976593 tools/realm-client.c | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) commit 8a7aac53c26b3526c5965a73ab1a2e65d7f91d0a Author: Stef Walter Date: 2013-07-15 ipa: Force joins so that computer can rejoin a domain The hostname should already have checked by the administrator that is providing the confirmation for joining the domain. service/realm-sssd-ipa.c | 1 + 1 file changed, 1 insertion(+) commit c7bd539aa21285b1910a52029993f257c8ae0ca9 Author: Stef Walter Date: 2013-07-15 winbind: Configure pam_winbind.conf appropriately * Setup kerberos auth, and cached logins http://bugs.freedesktop.org/show_bug.cgi?id=66831 service/realm-samba-winbind.c | 13 +++++++++++++ service/realmd-defaults.conf | 1 + 2 files changed, 14 insertions(+) commit ddf1252d5dc7bfb5418cf932a558ca8a98ce7155 Author: Stef Walter Date: 2013-07-09 Refer to FreeIPA as IPA This is the more broad name that covers both the FreeIPA version and the commercial versions of the same thing. We continue to accept 'freeipa' as an input string when referring to software. But output 'ipa' and document that option https://bugs.freedesktop.org/show_bug.cgi?id=66734 dbus/realm-dbus-constants.h | 1 + doc/internals/realmd-internals.xml | 8 +- doc/manual/Makefile.am | 2 +- doc/manual/realm.xml | 10 +-- doc/manual/realmd-docs.xml | 2 +- doc/manual/realmd-guide-freeipa.xml | 164 ------------------------------------ doc/manual/realmd-guide-ipa.xml | 164 ++++++++++++++++++++++++++++++++++++ doc/website/content/index.html | 2 +- service/realm-disco-rootdse.c | 2 +- service/realm-provider.c | 2 + service/realm-sssd-ipa.c | 7 +- service/realm-sssd-provider.c | 8 +- service/realmd-redhat.conf | 2 +- service/realmd-suse.conf | 2 +- 14 files changed, 192 insertions(+), 184 deletions(-) commit d2bc9aa13faadd4c38f29524893597ea82189f4c Author: Stef Walter Date: 2013-07-02 service: Support use of kerberos ccache to join when using winbind service/realm-samba.c | 1 + 1 file changed, 1 insertion(+) commit 795b6fdc7a2018bd10ab134f4b23959b6b8073e0 Author: Stef Walter Date: 2013-06-06 redhat: Add dependency on oddjobd https://bugzilla.redhat.com/show_bug.cgi?id=969441 service/realmd-redhat.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit a038dcb73a7d85540763a4325914377eaeaa122b Author: Stef Walter Date: 2013-06-06 Don't create a top level directory in /var https://bugs.freedesktop.org/show_bug.cgi?id=65435 service/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e2bcee9ecbf25492ba60a08c65cfde52bb3334cc Author: Stef Walter Date: 2013-05-27 Release version 0.14.2 NEWS | 8 ++++++++ configure.ac | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) commit a5a5ed0a7f3116e54387134a1d88dc1e53fc9671 Author: Stef Walter Date: 2013-05-27 Hack around the fact that oddjobd does not autostart via DBus This is pretty awkward, but various oddjobd services cannot be started via the standard oddjobd auto-start mechanisms. So manually enable it to start at boot. See: https://bugzilla.redhat.com/show_bug.cgi?id=964971 service/realmd-redhat.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 6a083da02f68e1948ae13e3db65c5cd2948aae4f Author: Stef Walter Date: 2013-05-26 Return a specific error code when computer host name is invalid dbus/org.freedesktop.realmd.xml | 3 +++ dbus/realm-dbus-constants.h | 1 + service/realm-errors.c | 1 + service/realm-errors.h | 1 + service/realm-kerberos.c | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) commit df623d09a85c5e9c6347f7b6aca0cbe31e19493a Author: Stef Walter Date: 2013-05-24 Remove simple_allow_users/groups when permit/deny access provider This makes later permitting of specific users work as expected https://bugs.freedesktop.org/show_bug.cgi?id=64903 service/realm-sssd.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) commit ae26089c5f1c7a2d1a942f849325ffc8eaf06b48 Author: Stef Walter Date: 2013-05-24 When FreeIPA domain with manage-system, we want NTP, so --force-ntpd Otherwise ipa-client-install fails with complaints about chronyd another NTP service which is incompatible with the IPA client service/realm-sssd-ipa.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b07ddf7bd0a6813795a74f385d62a52c3d6c895c Author: Stef Walter Date: 2013-05-23 Only allow joining one manage-system=true domain These domains (the default way to join) take over various aspects of the local machine, such as authentication, access policy, and so on. Only one such domain can be joined. https://bugs.freedesktop.org/show_bug.cgi?id=64928 service/realm-kerberos.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ service/realm-kerberos.h | 7 ++++++ service/realm-samba.c | 11 +++++++- service/realm-sssd-ad.c | 3 +++ service/realm-sssd-ipa.c | 3 +++ service/realm-sssd.c | 17 +++++++++++-- 6 files changed, 103 insertions(+), 3 deletions(-) commit 69f91ee85d71d4e471b355a565865c86f61c991f Author: Stef Walter Date: 2013-05-23 Rework discovery for changes in FreeIPA 3.0 * Don't look for _msdcs records as FreeIPA also has those when trusting AD * First look at the root DSE of the LDAP server to determine if it's AD * Use TCP NetLogon pings for Windows 2003 and later * Use UDP NetLogon pings for Windows 2000 http://bugs.freedesktop.org/show_bug.cgi?id=64895 service/realm-disco-dns.c | 15 ---- service/realm-disco-dns.h | 2 - service/realm-disco-domain.c | 39 ++------ service/realm-disco-mscldap.c | 114 ++++++++++++------------ service/realm-disco-mscldap.h | 14 ++- service/realm-disco-rootdse.c | 203 ++++++++++++++++++++++++++++++++++-------- service/realm-disco-rootdse.h | 1 + 7 files changed, 246 insertions(+), 142 deletions(-) commit 853d085b7604886253b7b7e55eb45b3aa52d7c7b Author: Stef Walter Date: 2013-05-13 Release version 0.14.1 NEWS | 14 ++++++++++++++ configure.ac | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) commit 14f1b66d03b6e7ccc8235922b8f74cffcd0f5e9d Author: Stef Walter Date: 2013-05-13 When failing to write out data to subprocess, print errno service/realm-command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0ed48be0034296d19f9847845e93dec4b33efc8 Author: Stef Walter Date: 2013-05-13 Don't use the slice allocator for small memory allocations It's too hard to debug, and we need to have early failures on poor memory allocations. We also need valgrind to work well catching memory problems. https://bugs.freedesktop.org/show_bug.cgi?id=56157 service/realm-all-provider.c | 8 ++++---- service/realm-command.c | 6 +++--- service/realm-daemon.c | 6 ------ service/realm-disco-domain.c | 4 ++-- service/realm-disco-mscldap.c | 4 ++-- service/realm-disco-rootdse.c | 4 ++-- service/realm-disco.c | 4 ++-- service/realm-ini-config.c | 16 ++++++++-------- service/realm-invocation.c | 8 ++++---- service/realm-kerberos.c | 4 ++-- service/realm-network.c | 4 ++-- service/realm-packages.c | 4 ++-- service/realm-provider.c | 4 ++-- service/realm-samba-enroll.c | 4 ++-- service/realm-samba.c | 8 ++++---- service/realm-service.c | 6 +++--- service/realm-sssd-ad.c | 8 ++++---- service/realm-sssd-ipa.c | 6 +++--- service/realm-sssd.c | 2 +- tools/realm.c | 6 ------ 20 files changed, 52 insertions(+), 64 deletions(-) commit 15d15a750ee07d20488d6da56b6fba699a450d78 Author: Stef Walter Date: 2013-05-13 Use the full AD domain name as sssd.conf domain https://bugs.freedesktop.org/show_bug.cgi?id=64544 service/realm-sssd-ad.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit bf87391a992712a351385a104973ef06933478b9 Author: Stef Walter Date: 2013-05-13 Enable sssd service even when in install mode https://bugs.freedesktop.org/show_bug.cgi?id=64542 service/realm-service.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 689307202535bbeed71d1c206529b3ae24e25ab7 Author: Stef Walter Date: 2013-05-13 Don't print journalctl command when cancelled No need to print out lots of detailed information if the user actually cancelled the operation. Just go away. Also when the polkit prompt is cancelled https://bugs.freedesktop.org/show_bug.cgi?id=64539 tools/realm.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit cc30c8ba856852c09f54537638e65027239438af Author: Stef Walter Date: 2013-05-13 sssd-tools is no longer needed on Fedora sss_cache is part of the main sssd package. https://bugzilla.redhat.com/show_bug.cgi?id=961254 service/realmd-redhat.conf | 1 - 1 file changed, 1 deletion(-) commit 94d1fd293b70bfb4081dab45c81cb59206d8566f Author: Stef Walter Date: 2013-05-13 Document the 'realm discover --all' option doc/manual/realm.xml | 5 +++++ 1 file changed, 5 insertions(+) commit 6b08be5c0572d639ef80d665003c921e81f8f7bf Author: Stef Walter Date: 2013-05-13 Don't remove sssd domain if already removed If ipa-client-install or another process has removed the sssd domain already, then skip the domain removal Seen here: https://bugzilla.redhat.com/show_bug.cgi?id=961320 service/realm-sssd.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 3106c80aa9768f8b150152fcceba5494b65c3781 Author: Stef Walter Date: 2013-05-13 Just quit when Ctrl-C is pressed twice https://bugs.freedesktop.org/show_bug.cgi?id=64538 tools/realm-client.c | 8 +++++--- tools/realm.c | 1 + tools/realm.h | 2 ++ 3 files changed, 8 insertions(+), 3 deletions(-) commit b4b244509203a72bb3163e9e9a76dc485be0724f Author: Stef Walter Date: 2013-05-13 Don't do critical warning when service.Release() is called See: https://bugzilla.redhat.com/show_bug.cgi?id=961385 service/realm-daemon.c | 15 ++++++++++----- service/realm-daemon.h | 2 +- service/realm-invocation.c | 3 ++- 3 files changed, 13 insertions(+), 7 deletions(-) commit 2f2049c4fc54356c130a348618cd547c9d5aa240 Author: Stef Walter Date: 2013-05-13 Work around for authconfig bug: https://bugzilla.redhat.com/show_bug.cgi?id=953851 service/realmd-redhat.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 4d0e9525f6318fe2f814c2fcd02f485bf2bd0590 Author: Stef Walter Date: 2013-05-13 Move check for coverage configure options By moving the check for --enable-coverage earlier we can disable _FORTIFY_SOURCE when not optimizing source code. configure.ac | 72 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 36 insertions(+), 36 deletions(-) commit dc20a38edb780b6651216cf85981bc29dd9c26ee Author: Stef Walter Date: 2013-05-13 Fix incorrect use of password values Use correct value in the union for the given credential type. Fixes the following crasher bug, and another minor clarity fix. https://bugzilla.redhat.com/show_bug.cgi?id=961435 service/realm-adcli-enroll.c | 2 +- service/realm-samba-enroll.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9d4a7af3c053187d0306ff7874bec45497db2f0d Author: Stef Walter Date: 2013-05-13 Disable the slice allocator in order to find allocation bugs service/realm-daemon.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 9e01b9ef8bf64cd7df2aa95d89864e3d055d1474 Author: Stef Walter Date: 2013-05-06 Release version 0.14.0 NEWS | 5 +++++ configure.ac | 2 +- doc/manual/Makefile.am | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) commit cdc45a11b712ceb2e8be2d1a1c2940ccba4e278f Author: Stef Walter Date: 2013-05-06 Handle awkward krb5 errors for empty passwords See: http://mailman.mit.edu/pipermail/krbdev/2013-May/011525.html tools/realm-client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 83a4505c91531ad30bd79e4db2fb84f648c3a3f0 Author: Stef Walter Date: 2013-05-06 Fine tune the regular expressions and formats for AD and IPA The default re_expression for AD and IPA work really well, so use the defaults. And use the default name format for IPA. service/realm-sssd-ad.c | 3 +-- service/realm-sssd-ipa.c | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) commit b92b9b49287daa974bd5c7bb4d939174e8140d57 Author: Stef Walter Date: 2013-05-03 Put documentation about realmd.conf in a manual page https://bugs.freedesktop.org/show_bug.cgi?id=64182 .gitignore | 3 +- doc/manual/Makefile.am | 10 +- doc/manual/realmd-docs.xml | 2 +- doc/manual/realmd-guide-active-directory.xml | 4 +- doc/manual/realmd-guide-configuring.xml | 321 ---------------------- doc/manual/realmd.conf.xml | 383 +++++++++++++++++++++++++++ 6 files changed, 396 insertions(+), 327 deletions(-) commit 7f63139954ff3a285b759ed47dc1b75cd341808a Author: Stef Walter Date: 2013-05-02 Release version 0.13.91 * An unstable pre-release of 0.14 NEWS | 7 +++++++ configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit afe6fd2743c00bc85ae892be0db657e1f7f320ff Author: Stef Walter Date: 2013-05-02 Add support for permitting logins by group https://bugs.freedesktop.org/show_bug.cgi?id=58397 dbus/org.freedesktop.realmd.xml | 15 ++++++++++ doc/manual/realm.xml | 6 ++++ service/realm-example.c | 1 + service/realm-kerberos.c | 10 ++++++- service/realm-kerberos.h | 4 +++ service/realm-samba.c | 1 + service/realm-sssd-ad.c | 2 +- service/realm-sssd-ipa.c | 2 +- service/realm-sssd.c | 62 ++++++++++++++++++++++++++++------------- service/realm-sssd.h | 1 + tools/realm-discover.c | 3 ++ tools/realm-logins.c | 14 ++++++++-- tools/realm.c | 15 +++++++--- 13 files changed, 106 insertions(+), 30 deletions(-) commit b7cec5c1c0e021e26bb56ad4d9098e53d7c10c64 Author: Stef Walter Date: 2013-05-02 Use clang analyzer to track down issues .gitignore | 2 ++ service/realm-kerberos.c | 4 ++++ service/realm-login-name.c | 12 ++++++++---- service/realm-sssd.c | 2 +- tests/frob-install-packages.c | 2 +- tools/realm-discover.c | 12 ++++++------ 6 files changed, 22 insertions(+), 12 deletions(-) commit 5086078c405a22edcbd7c206b23e17381b7f7b60 Author: Stef Walter Date: 2013-05-02 Fix possible uses of uninitialized memory service/realm-kerberos.c | 2 +- service/realm-sssd-ipa.c | 2 +- tools/realm-client.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit f2b2b6e702b222a5a89ae1985f497d2927257c27 Author: Stef Walter Date: 2013-05-02 Fix 'realm join --one-time-password' We were including an extra carriage return when calling adcli service/realm-adcli-enroll.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f50bf31128647eb35d7e7dd6c9b7b2cce9d9025c Author: Stef Walter Date: 2013-04-30 Fix regression of discovery of FreeIPA service/realm-sssd-provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dfbcf91185ca6b826f92c96aa8daecaa51ff939b Author: Stef Walter Date: 2013-04-30 Add debug line for server software found during DSE search service/realm-disco-rootdse.c | 3 +++ 1 file changed, 3 insertions(+) commit a986d4f3de11325913da26526f1348776f6bd7fe Author: Stef Walter Date: 2013-04-30 Make the service --debug argument work again service/realm-daemon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 42f664f451c3ffc9eb5c61c9f5f7c17b316ce0c8 Author: Stef Walter Date: 2013-04-29 Release version 0.13.90 * An unstable pre-release of 0.14 NEWS | 21 +++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) commit 79fe6fed2ac07ddd0e346a2803476b68b54b2819 Author: Stef Walter Date: 2013-04-29 Fix a few clang-analyzer warnings service/realm-command.c | 2 +- service/realm-invocation.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) commit bf1fe1a2e8bbc2f032671e7f9e0147c1ca7c16e8 Author: Stef Walter Date: 2013-04-25 Add option to disable use of fully qualified names https://bugs.freedesktop.org/show_bug.cgi?id=60637 doc/manual/realmd-guide-configuring.xml | 18 ++++++++++++++++++ service/realm-options.c | 13 +++++++++++++ service/realm-options.h | 2 ++ service/realm-samba-config.c | 33 +++++++++++++++++++++++++++++++++ service/realm-samba-config.h | 5 +++++ service/realm-samba-winbind.c | 6 ++++-- service/realm-samba-winbind.h | 2 +- service/realm-samba.c | 8 ++++++-- service/realm-sssd-ad.c | 6 ++++-- service/realm-sssd-ipa.c | 2 +- 10 files changed, 87 insertions(+), 8 deletions(-) commit ab2fd415c1584757420e7a93e22d4ccba3e572d2 Author: Stef Walter Date: 2013-04-25 Add option to disable automatic package installs * Correctly report missing packages when disabled * Refactor a bit for clarity * Assume that packages are installed when in install mode https://bugs.freedesktop.org/show_bug.cgi?id=61215 dbus/org.freedesktop.realmd.xml | 3 -- dbus/realm-dbus-constants.h | 1 - doc/manual/realmd-guide-configuring.xml | 23 ++++++++++++ service/realm-options.c | 9 +---- service/realm-options.h | 2 +- service/realm-packages.c | 66 ++++++++++++++++++--------------- service/realm-packages.h | 1 + service/realm-samba.c | 11 +----- service/realm-sssd-ad.c | 8 +--- service/realm-sssd-ipa.c | 11 +----- service/realmd-defaults.conf | 1 + tools/realm.c | 5 --- 12 files changed, 68 insertions(+), 73 deletions(-) commit fefcd2628d3630a07dcd1a972fce47ea55e7c950 Author: Stef Walter Date: 2013-04-29 Call getsockopt() correctly service/realm-ldap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 5e7121219ad54a54ad2a035c6efcf5c561f3186f Author: Stef Walter Date: 2013-04-25 Print out command needed to see diagnostics in journal After a failure print out a message about how to use journal to see the last operation https://bugs.freedesktop.org/show_bug.cgi?id=63739 tools/realm-client.c | 8 +++++--- tools/realm.c | 17 +++++++++++++++++ tools/realm.h | 2 +- 3 files changed, 23 insertions(+), 4 deletions(-) commit 8acb0e040f30c571e559345fa8b44f365990e65a Author: Stef Walter Date: 2013-04-29 Don't litter the logs with cancellation messages service/realm-diagnostics.c | 3 +++ 1 file changed, 3 insertions(+) commit e5076980817df72fdfbefb26fd18c4e4c8135da3 Author: Stef Walter Date: 2013-04-29 Fallback to other auth method if automatic not supported service/realm-sssd-ad.c | 2 +- tools/realm-join.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit 45deebad26c341dd3df2977ea1af8d5b57099dae Author: Stef Walter Date: 2013-04-25 When realm is not joinable say so Previously we would say that the realm was not found when trying to 'realm join' a domain that didn't support it. https://bugs.freedesktop.org/show_bug.cgi?id=63631 tools/realm-client.c | 6 +++++- tools/realm-client.h | 1 + tools/realm-discover.c | 2 +- tools/realm-join.c | 11 ++++++++--- 4 files changed, 15 insertions(+), 5 deletions(-) commit eb6621d668374c55a6942bfcf2f7b12ebf9f7f5b Author: Stef Walter Date: 2013-04-25 Fallback to configured realms when discovering * If no discovered realms for a string, check locally configured realms to see if they're available locally, but just not online right now. * Reorganize how realms are enumerated on a provider, so that we can accomplish the above generically https://bugs.freedesktop.org/show_bug.cgi?id=62863 service/realm-all-provider.c | 47 +++++++++++++++++++++++------------ service/realm-kerberos.c | 21 ++++++++++++++++ service/realm-kerberos.h | 3 +++ service/realm-provider.c | 58 +++++++++++++++++++++++++++++++++++++++----- service/realm-provider.h | 6 +++-- 5 files changed, 111 insertions(+), 24 deletions(-) commit acabf162e825f64420c76dec361bc2be2db6852a Author: Stef Walter Date: 2013-04-29 Correctly respect server-software during SSSD provider Discover() service/realm-provider.c | 4 ++-- service/realm-sssd-provider.c | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) commit 2823d849418b9404ad45de5753ac7b0618079a95 Author: Stef Walter Date: 2013-04-29 Work around problems with IPv6 address representations service/realm-ldap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 2d15aad9a62297ecb37da9c0c35762e5f846c00f Author: Stef Walter Date: 2013-04-25 Discover timeouts and defaults happen globally * When discovery takes too long cancel all possible discovery for every provider. There were straglers before that would have off side effects * Lookup the DHCP realm name at the highest level. That way it can be fed into all the providers as a default https://bugs.freedesktop.org/show_bug.cgi?id=63907 service/realm-provider.c | 122 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 108 insertions(+), 14 deletions(-) commit 879f9427ed0ebbceac59fde8ec51d231735d67f5 Author: Stef Walter Date: 2013-04-25 Enable usage of explicit servers when joining domains * Use of explicit host names when joining domains is now possible * If done, configures sssd/winbind to use only that server * Use discovery information correctly in various locations rather than making assumptions https://bugs.freedesktop.org/show_bug.cgi?id=63907 doc/manual/realmd-guide-active-directory.xml | 7 +++ doc/manual/realmd-guide-freeipa.xml | 6 +++ service/realm-adcli-enroll.c | 37 +++++-------- service/realm-adcli-enroll.h | 4 +- service/realm-kerberos.c | 4 ++ service/realm-samba-enroll.c | 78 ++++++++++++--------------- service/realm-samba-enroll.h | 6 +-- service/realm-samba.c | 45 +++++++--------- service/realm-sssd-ad.c | 80 +++++++++------------------- service/realm-sssd-ipa.c | 15 +++++- 10 files changed, 125 insertions(+), 157 deletions(-) commit d16d3a24ac8c6c4b89f616393a4d6fb907d371fc Author: Stef Walter Date: 2013-04-22 Rework the discovery mechanisms * Actually use MS-CLDAP to connect to AD servers * Use RootDSE lookups to discover IPA servers * Support discovery of a specific server https://bugs.freedesktop.org/show_bug.cgi?id=63907 configure.ac | 23 + doc/manual/realmd-guide-active-directory.xml | 17 +- doc/manual/realmd-guide-freeipa.xml | 24 +- po/POTFILES.in | 2 + service/Makefile.am | 9 +- service/realm-disco-dns.c | 314 ++++++++++++++ service/realm-disco-dns.h | 39 ++ service/realm-disco-domain.c | 342 +++++++++++++++ service/realm-disco-domain.h | 36 ++ service/realm-disco-mscldap.c | 315 ++++++++++++++ service/realm-disco-mscldap.h | 31 ++ service/realm-disco-rootdse.c | 341 +++++++++++++++ service/realm-disco-rootdse.h | 31 ++ service/realm-disco.c | 66 +++ service/realm-disco.h | 44 ++ service/realm-discovery.c | 108 ----- service/realm-discovery.h | 50 --- service/realm-example-provider.c | 4 +- service/realm-ipa-discover.c | 611 --------------------------- service/realm-ipa-discover.h | 34 -- service/realm-kerberos-discover.c | 566 ------------------------- service/realm-kerberos-discover.h | 35 -- service/realm-kerberos-provider.c | 50 ++- service/realm-kerberos.c | 58 ++- service/realm-kerberos.h | 7 +- service/realm-ldap.c | 361 ++++++++++++++++ service/realm-ldap.h | 45 ++ service/realm-options.c | 2 +- service/realm-provider.c | 9 +- service/realm-provider.h | 3 +- service/realm-samba-enroll.c | 234 +++------- service/realm-samba-enroll.h | 3 +- service/realm-samba-provider.c | 38 +- service/realm-samba.c | 5 +- service/realm-sssd-ad.c | 2 +- service/realm-sssd-ipa.c | 2 - service/realm-sssd-provider.c | 45 +- service/realm-sssd.c | 13 +- 38 files changed, 2189 insertions(+), 1730 deletions(-) commit 79a1c90c6a71de5290a2f3b052bf8b3548220a23 Author: Stef Walter Date: 2013-04-25 Treat KRB5KRB_AP_ERR_BAD_INTEGRITY as bad password This is what the kinit and other tools do. http://bugs.freedesktop.org/show_bug.cgi?id=63738 tools/realm-client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e7d079e48409bb99d8242ba81552d006c797c698 Author: Stef Walter Date: 2013-04-26 Work around samba bug which requires LOGNAME envvar https://bugs.freedesktop.org/show_bug.cgi?id=63956 service/realm-samba-enroll.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 6ec4ff473c2418e0a2d74ab7418cf8ac02d7e8d0 Author: Stef Walter Date: 2013-04-26 Add settings option for turning on realmd debugging https://bugs.freedesktop.org/show_bug.cgi?id=61219 service/realm-daemon.c | 3 ++- service/realm-samba-enroll.c | 3 ++- service/realmd-defaults.conf | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) commit 513bbceb39dce8c176cd3248d6c1860ec14eb973 Author: Stef Walter Date: 2013-04-25 Print out message when temp file cannot be created https://bugs.freedesktop.org/show_bug.cgi?id=63910 service/realm-samba-enroll.c | 2 ++ 1 file changed, 2 insertions(+) commit 51f49faa9467ad5c5f29c2e6e9a31a488dbc3f70 Author: Stef Walter Date: 2013-04-25 Don't use cachedir for temp files if it doesn't exist https://bugs.freedesktop.org/show_bug.cgi?id=63910 service/realm-daemon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 9353ae57508a256c73bffd66dfd28cbfa04ba4a8 Author: Stef Walter Date: 2013-04-25 Add a --replace argument to realmd for use when debugging * Replaces a running realmd https://bugs.freedesktop.org/show_bug.cgi?id=63908 service/realm-daemon.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 9bc8ca0048d75be4c891d19db50e3ba74b577cf6 Author: Stef Walter Date: 2013-04-22 Use GTask instead of GSimpleAsyncResult * We don't rework places where this doesn't make sense * Use our own copy of GTask for now https://bugs.freedesktop.org/show_bug.cgi?id=63906 service/Makefile.am | 1 + service/egg-task.c | 1313 +++++++++++++++++++++++++++++++++++++ service/egg-task.h | 130 ++++ service/realm-adcli-enroll.c | 37 +- service/realm-example-provider.c | 36 +- service/realm-example.c | 108 ++- service/realm-kerberos-provider.c | 23 +- service/realm-kerberos.c | 216 ------ service/realm-kerberos.h | 12 - service/realm-packages.c | 47 +- service/realm-samba-enroll.c | 124 ++-- service/realm-samba-provider.c | 23 +- service/realm-samba-winbind.c | 84 +-- service/realm-samba.c | 131 ++-- service/realm-service.c | 111 ++-- service/realm-sssd-ad.c | 110 ++-- service/realm-sssd-ipa.c | 125 ++-- service/realm-sssd-provider.c | 23 +- service/realm-sssd.c | 65 +- service/realm-sssd.h | 3 +- 20 files changed, 1908 insertions(+), 814 deletions(-) commit ac73d7d3c0eb2bc6e9507ecc7262894f154e89d2 Author: Stef Walter Date: 2013-04-12 Use allow-realm-logins by default if manage-system When manage-system is false, use allow-permitted-logins as the default login policy, otherwise allow-realm-logins https://bugs.freedesktop.org/show_bug.cgi?id=61858 service/realm-sssd-ad.c | 17 +++++++++++++++-- service/realm-sssd-ipa.c | 24 ++++++++++++++++++++++-- service/realm-sssd.c | 26 +++++++++++++------------- service/realm-sssd.h | 7 +++++++ 4 files changed, 57 insertions(+), 17 deletions(-) commit f80a3b0b85e86763d668d99a3d43d614b5b35a01 Author: Stef Walter Date: 2013-04-12 Add 'manage-system' option which defaults to TRUE This is a per-realm setting, and Join() option which can be used to make realmd not configure central management aspects when joining a domain. https://bugs.freedesktop.org/show_bug.cgi?id=61858 dbus/org.freedesktop.realmd.xml | 3 +++ dbus/realm-dbus-constants.h | 1 + doc/manual/realmd-guide-configuring.xml | 19 +++++++++++++++++++ service/realm-options.c | 17 +++++++++++++++++ service/realm-options.h | 3 +++ service/realm-sssd-ipa.c | 7 ++++++- 6 files changed, 49 insertions(+), 1 deletion(-) commit fecf523c1d478c50b188fd11c44cacea255dcae5 Author: Stef Walter Date: 2013-04-12 Option 'automatic-id-mapping' turns off id mapping This new per-realm option 'automatic-id-mapping = no' turns off automatic ID mapping, and makes sssd and winbind obey RFC2307 when configured. https://bugs.freedesktop.org/show_bug.cgi?id=60679 doc/manual/realmd-guide-configuring.xml | 19 +++++++++++++++++ service/realm-options.c | 13 ++++++++++++ service/realm-options.h | 2 ++ service/realm-samba-winbind.c | 37 +++++++++++++++++++++++++-------- service/realm-samba-winbind.h | 1 + service/realm-samba.c | 6 +++++- service/realm-sssd-ad.c | 1 + 7 files changed, 69 insertions(+), 10 deletions(-) commit f3822b5b80e038540aba44ab097c1b866e72cd43 Author: Stef Walter Date: 2013-04-12 Make realm_ini_config_set() accept more than one agrument pair This cleans up code a lot, and gives us a syntax similar to realm_ini_config_change(). https://bugs.freedesktop.org/show_bug.cgi?id=60679 service/realm-example.c | 2 +- service/realm-ini-config.c | 17 ++++++++++++++--- service/realm-ini-config.h | 3 ++- service/realm-samba-enroll.c | 14 +++++++++----- service/realm-sssd-config.c | 8 +++++--- service/realm-sssd.c | 6 +++--- tests/test-ini-config.c | 14 +++++++------- 7 files changed, 41 insertions(+), 23 deletions(-) commit 666252b763180be6ffca36d9edf2f3db08ca3a1d Author: Stef Walter Date: 2013-04-12 Make realm_settings_boolean() accept a default value We're using these settings for a lot of admin configurable stuff and we can't expect per-realm defaults to be present in the installed files, so specify them in the code. https://bugs.freedesktop.org/show_bug.cgi?id=60679 service/realm-daemon.c | 6 +++--- service/realm-example.c | 2 +- service/realm-options.c | 3 +-- service/realm-settings.c | 9 ++++----- service/realm-settings.h | 3 ++- tests/test-settings.c | 10 ++++++++-- 6 files changed, 19 insertions(+), 14 deletions(-) commit 8f69db62c0c75881d9f9beedf834d05954e2518c Author: Stef Walter Date: 2013-04-12 Don't print usage info when invalid options When a realm command prints out a failure about invalid options it gets lost near the top of the big usage information. This was frustrating, until now. https://bugs.freedesktop.org/show_bug.cgi?id=62518 tools/realm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 42349005cb9b0be0e461c2e3ba27794e8948364d Author: Stef Walter Date: 2013-04-12 Don't set sssd.conf parameters to defaults "auth_provider" and "chpass_provider" always defaults to whatever is set in id_provider unless explicitly changed. "case_sensitive=false" is the default for ad provider only. "enumerate=false" is the default for all providers. https://bugs.freedesktop.org/show_bug.cgi?id=62519 service/realm-sssd-ad.c | 4 ---- 1 file changed, 4 deletions(-) commit 68d83a6e1f4554261355bdba9feae01ff791d942 Author: Stef Walter Date: 2013-04-12 Remove empty keytab if all entries have been flushed https://bugs.freedesktop.org/show_bug.cgi?id=56029 service/realm-kerberos.c | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) commit d2846c075e261bc3f8d141b01360a1aea7b759d2 Author: Stef Walter Date: 2013-04-11 Add the user-principal option and setting https://bugs.freedesktop.org/show_bug.cgi?id=62755 dbus/org.freedesktop.realmd.xml | 3 +++ dbus/realm-dbus-constants.h | 1 + doc/manual/realmd-guide-configuring.xml | 17 +++++++++++++++++ service/realm-adcli-enroll.c | 22 ++++++++++++++++++---- service/realm-options.c | 21 +++++++++++++++++++++ service/realm-options.h | 3 +++ service/realm-samba-enroll.c | 10 ++++++++++ tools/realm-join.c | 5 +++++ 8 files changed, 78 insertions(+), 4 deletions(-) commit 163203e3aa8b75b713f2b7855f1f522cb2b3daf2 Author: Stef Walter Date: 2013-04-11 Add support for the os-name and os-version config options These are used to set the operatingSystem and operatingSystemVersion attributes of a computer account. https://bugs.freedesktop.org/show_bug.cgi?id=54489 doc/manual/realm.xml | 7 +++++++ doc/manual/realmd-guide-configuring.xml | 24 ++++++++++++++++++++++++ service/realm-adcli-enroll.c | 13 +++++++++++++ service/realm-samba-enroll.c | 27 +++++++++++++++++++++++---- service/realmd-defaults.conf | 2 ++ 5 files changed, 69 insertions(+), 4 deletions(-) commit 3a0a8e65f4caf5f7d4ffdeb766b1b2bc4bad8a75 Author: Stef Walter Date: 2013-04-11 Pass 'realm join' options in a structure * Too many options to be using arguments for them https://bugs.freedesktop.org/show_bug.cgi?id=63434 tools/realm-join.c | 79 ++++++++++++++++++++++++++---------------------------- 1 file changed, 38 insertions(+), 41 deletions(-) commit 1a7215eba1914f1c4fd6cdf99e028a29de8b3aed Author: Stef Walter Date: 2013-04-11 More extensible passing of options to join/leave implementations We want to add furhter options here, so make things more manageable. https://bugs.freedesktop.org/show_bug.cgi?id=63434 service/Makefile.am | 1 + service/realm-adcli-enroll.c | 5 +++- service/realm-adcli-enroll.h | 2 +- service/realm-example.c | 8 ++---- service/realm-kerberos-membership.h | 6 ----- service/realm-kerberos.c | 40 +++++------------------------ service/realm-kerberos.h | 3 --- service/realm-options.c | 51 +++++++++++++++++++++++++++++++++++++ service/realm-options.h | 31 ++++++++++++++++++++++ service/realm-samba-enroll.c | 10 +++++--- service/realm-samba-enroll.h | 3 ++- service/realm-samba.c | 15 +++++------ service/realm-sssd-ad.c | 17 ++++++------- service/realm-sssd-ipa.c | 5 ++-- 14 files changed, 123 insertions(+), 74 deletions(-) commit 5c6917bdab62cda3f494ea2aaf168a9c37a78f46 Author: Stef Walter Date: 2013-04-11 Cleanup passing around of credentials during join/leave operations * Only one pair of virtual methods on RealmKerberosMembership per join/remove * A single struct for credentials: RealmCredential * Less copying of credentails, and simply refing the struct * Remove the owner flags and have them simply be a field in the credential https://bugs.freedesktop.org/show_bug.cgi?id=63434 service/Makefile.am | 1 + service/realm-adcli-enroll.c | 119 ++++------ service/realm-adcli-enroll.h | 36 +-- service/realm-credential.c | 334 +++++++++++++++++++++++++++ service/realm-credential.h | 80 +++++++ service/realm-example.c | 71 +++--- service/realm-kerberos-membership.c | 66 ------ service/realm-kerberos-membership.h | 84 +------ service/realm-kerberos.c | 448 ++++++++---------------------------- service/realm-kerberos.h | 8 - service/realm-samba-enroll.c | 113 ++++----- service/realm-samba-enroll.h | 26 +-- service/realm-samba.c | 156 ++++++------- service/realm-sssd-ad.c | 409 ++++++++------------------------ service/realm-sssd-ipa.c | 327 ++++++++++++-------------- 15 files changed, 968 insertions(+), 1310 deletions(-) commit 986474306f35b3c54374425c4230ddb598cf5d05 Author: Stef Walter Date: 2012-11-22 Implement support for using a ccache in the realm command https://bugs.freedesktop.org/show_bug.cgi?id=56022 doc/manual/realm.xml | 10 + doc/manual/realmd-guide-active-directory.xml | 10 + service/realm-adcli-enroll.c | 10 +- service/realm-kerberos-membership.h | 4 +- service/realm-kerberos.c | 85 ++++- service/realm-samba-enroll.c | 186 +++++++--- service/realm-samba-enroll.h | 58 ++-- service/realm-samba.c | 18 +- service/realm-sssd-ad.c | 88 ++++- tools/realm-client.c | 492 ++++++++++++++++++++++++--- tools/realm-client.h | 1 + tools/realm-join.c | 5 +- tools/realm.c | 161 --------- 13 files changed, 794 insertions(+), 334 deletions(-) commit 40b27c55f651289eed110fc6cf8390dfc16899f7 Author: Stef Walter Date: 2013-04-25 Fix memory leak of realm object paths tools/realm-client.c | 1 + 1 file changed, 1 insertion(+) commit d875246e7da301d4b3ad0f6ae2e7840365f033c5 Author: Stef Walter Date: 2013-04-26 Fix warnings when building with Glib 2.36.x and GCC 4.8 service/realm-daemon.c | 3 +++ service/realm-kerberos.c | 6 ++++++ service/realm-sssd.c | 8 ++++++++ tests/frob-install-packages.c | 2 ++ tests/test-ini-config.c | 2 ++ tests/test-samba-ou-format.c | 3 +++ tests/test-settings.c | 3 +++ tests/test-sssd-config.c | 2 ++ tools/eggdbusobjectmanagerclient.c | 2 +- tools/eggdbusobjectproxy.c | 2 +- tools/realm-discover.c | 2 -- tools/realm.c | 9 +++++++++ 12 files changed, 40 insertions(+), 4 deletions(-) commit 6d3ecb6811421078a6f46b36bde83d2e12e69e7f Author: Stef Walter Date: 2013-04-17 Release version 0.13.3 Makefile.am | 1 - NEWS | 17 +++++++++++++++++ configure.ac | 2 +- po/POTFILES.in | 1 + 4 files changed, 19 insertions(+), 2 deletions(-) commit 13274d56758ab2e9ee37482b78306ebc1988f90f Author: Stef Walter Date: 2013-04-12 Don't allow commas in logins used in sssd access lists https://bugs.freedesktop.org/show_bug.cgi?id=62517 service/realm-sssd.c | 48 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 34 insertions(+), 14 deletions(-) commit 7a59c27db14bb2e7fcaa2fbe24d46c0b36063c3c Author: Stef Walter Date: 2013-04-12 Don't exit realmd when clients are still active https://bugs.freedesktop.org/show_bug.cgi?id=61220 service/realm-daemon.c | 13 ++----------- service/realm-invocation.c | 3 +++ 2 files changed, 5 insertions(+), 11 deletions(-) commit ef9404f08064694c104484cb7855d0562a4450ff Author: Stef Walter Date: 2013-04-12 Use a dollar sign as our simple_allow_users placeholder We have to use a placeholder to get sssd to recognize that the simple_allow_users is to allow no users to login. Simo recommended using a dollar sign instead of a comma. https://bugs.freedesktop.org/show_bug.cgi?id=62518 service/realm-sssd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a66334e37b7eaf56f3f6f00b145262d56392ef53 Author: Stef Walter Date: 2013-04-12 Clarify realm permit/deny commands * Deny is not able to add specific users to a blacklist. * Add --withdraw options for removing users from the permitted list * Compatibility to fall through with previous behavior * Better messages when arguments are invalid https://bugs.freedesktop.org/show_bug.cgi?id=62518 doc/manual/realm.xml | 50 +++++++++++++++++---------------- tools/realm-logins.c | 78 +++++++++++++++++++++++++++++----------------------- tools/realm.c | 4 +-- 3 files changed, 72 insertions(+), 60 deletions(-) commit 616559eaef9024d8734a9c0229c55632f591fbf1 Author: Stef Walter Date: 2013-04-12 Send internal warnings/criticals/messages to syslog https://bugs.freedesktop.org/show_bug.cgi?id=58084 service/realm-daemon.c | 108 ++++++++++++++++++++++++++++++++++++++++++++ service/realm-daemon.h | 5 ++ service/realm-diagnostics.c | 83 +++------------------------------- 3 files changed, 120 insertions(+), 76 deletions(-) commit f2b778145ff2cadc561795d31af5ce9c924c4280 Author: Marius Vollmer Date: 2013-03-12 Clean up closure handling in the example domain. The explicit OpData struct is not necessary, and not what the rest of the code does. https://bugs.freedesktop.org/show_bug.cgi?id=62215 service/realm-example.c | 59 +++++++++++++++++-------------------------------- 1 file changed, 20 insertions(+), 39 deletions(-) commit 36b1f25b40166519591f9bd24e641b4a36d97dab Author: Marius Vollmer Date: 2013-04-15 When sleeping in the example provider, deal with immediate cancellation. * service/realm-example-provider.c (on_discover_sleep_done): Always complete in idle, as expected. * service/realm-usleep-async.c (realm_usleep_async): Check for immediate cancellation, to avoid calling on_sleep_async_cancelled before we are done initializing. Also, change ownership handling to be more straightforward and to allow both timeout and cancelling to occur at the same time. https://bugs.freedesktop.org/show_bug.cgi?id=62372 service/realm-usleep-async.c | 61 +++++++++++++++++++++++++++----------------- 1 file changed, 38 insertions(+), 23 deletions(-) commit a5687d03d1b3a9df5d06a0ef2d345ff58221480c Author: Stef Walter Date: 2013-04-16 Tell authconfig not to start/restart sssd or winbind realmd takes care of managing services as appropriate service/realmd-redhat.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 4d81337c9c0b0492eccb5a9cad145b5a7fa28380 Author: Stef Walter Date: 2013-03-26 Cleanup our samba net ads join process * Don't write stuff out to the regitsry or depend on it working. * Use a custom smb.conf file for pre-join parameters. * Use 'net ads workgroup' to discover the workgroup name which samba absolutely insists on having before the join starts >:( * Do another DNS discovery if there was no DNS discovery done before the join starts https://bugs.freedesktop.org/show_bug.cgi?id=56023 po/POTFILES.in | 1 + service/Makefile.am | 1 - service/net-ads-smb.conf | 2 - service/realm-discovery.c | 65 +++------ service/realm-discovery.h | 7 +- service/realm-ini-config.c | 49 +++++++ service/realm-ini-config.h | 4 + service/realm-kerberos-discover.c | 15 ++- service/realm-samba-enroll.c | 270 ++++++++++++++++++++++++-------------- service/realm-samba-enroll.h | 1 + service/realm-samba.c | 7 +- service/realm-sssd-ad.c | 6 +- 12 files changed, 273 insertions(+), 155 deletions(-) commit cf1602db88043053e5e105986d3e37d38d607803 Author: Stef Walter Date: 2013-03-26 Support realm login policy * Add a new login policy which respects domain policy for logins allowed on the machine, ie: HBAC. * Default to domain login policy after joining the domain. * 'realm permit -a' follows domain login policy https://bugs.freedesktop.org/show_bug.cgi?id=60628 dbus/org.freedesktop.realmd.xml | 4 ++++ dbus/realm-dbus-constants.h | 1 + doc/manual/realm.xml | 5 +++-- service/realm-kerberos.c | 5 +++++ service/realm-kerberos.h | 5 +++-- service/realm-samba.c | 3 +++ service/realm-sssd-ad.c | 10 +++++++--- service/realm-sssd-ipa.c | 6 +++++- service/realm-sssd.c | 7 +++++++ service/realm-sssd.h | 15 ++++++++++++--- tools/realm-logins.c | 2 +- 11 files changed, 51 insertions(+), 12 deletions(-) commit 46b2cbee45aefa4d38bc7ebf4a31814e83a93d25 Author: Stef Walter Date: 2013-04-10 Don't advertise automatic joining for samba provider * It's not supported service/realm-samba.c | 1 - 1 file changed, 1 deletion(-) commit 65e8f0ed9d062d2d8c890ac0cf0b1a7dc4ecf83c Author: Stef Walter Date: 2013-03-27 Don't free the section before we're done accessing it * When removing a config file section, first finish using it then free the actual ConfigSection structure. service/realm-ini-config.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 8f0918156ea0538e9869e5a73e54bcac801a0c01 Author: Stef Walter Date: 2013-04-10 Add link on website to adcli documentation doc/website/content/index.html | 1 + 1 file changed, 1 insertion(+) commit bc99ad89997be0d3edeabbfcfb44d93c254c892d Author: Stef Walter Date: 2013-03-26 Fix access to uninitialized memory, and NULL dereference https://bugs.freedesktop.org/show_bug.cgi?id=62763 service/realm-packages.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 352d7a7dbd22e619c51634951f628d5938a57c26 Author: Stef Walter Date: 2013-03-26 Detect expired credentials as an account problem https://bugs.freedesktop.org/show_bug.cgi?id=62761 service/realm-samba-enroll.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7ba193bd9aa23deeca771abcb4c45afcd16f3a9e Author: Stef Walter Date: 2013-03-27 Some basic valgrind integration * Add the valgrind headers to the build directory * Set G_SLICE=always-malloc if running under valgrind and the G_SLICE environment variable has not been set. * Add a 'make memcheck' target. Makefile.am | 7 +- build/Makefile.am | 2 + build/valgrind/memcheck.h | 282 +++ build/valgrind/valgrind.h | 5344 +++++++++++++++++++++++++++++++++++++++++++++ service/Makefile.am | 1 + service/realm-daemon.c | 8 + tests/Makefile.am | 7 +- tools/Makefile.am | 1 + tools/realm.c | 8 + 9 files changed, 5653 insertions(+), 7 deletions(-) commit 6d833de7888613c2c6aa3f92d913a37d302a5031 Author: Stef Walter Date: 2013-03-26 Add systemd-devel to the list of things needed to build on Fedora doc/website/content/contribute.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2d172899e642e7caa3d1fdb073ec9dc31b5742e6 Author: Stef Walter Date: 2013-03-26 Add missing file to POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 42bf34cee6512af6214abb0a14e26f8cec6ac72d Author: Stef Walter Date: 2013-03-26 Fine tune the systemd integration * Use standard --without-systemd-journal syntax and fix some corner cases configuring that. * Install a systemd unit file. https://bugs.freedesktop.org/show_bug.cgi?id=56012 Makefile.am | 1 + configure.ac | 37 +++++++++++++++++++++++++++++-------- dbus/Makefile.am | 9 +++++++++ dbus/realmd.service.in | 8 ++++++++ doc/website/content/contribute.html | 6 ++++-- 5 files changed, 51 insertions(+), 10 deletions(-) commit f0bc3cfd5eea51e313b04dbeb8c473e222aa247f Author: Javier Hernández Date: 2012-11-23 Adding build support for suse There are several things missing downstream to complete this support: * Tool to manipulate nsswitch.conf * Freeipa packages * Testing https://bugs.freedesktop.org/show_bug.cgi?id=55097 configure.ac | 4 +++- service/Makefile.am | 1 + service/realmd-suse.conf | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) commit 1b4013881c8c84619cb102565bc74cebd8a255ff Author: Stef Walter Date: 2013-03-25 dbus: Clarify the encoding of the secret (one time password) in spec. dbus/org.freedesktop.realmd.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 44f92f930a883207eba0d9fe8c0e10060ae9be91 Author: Stef Walter Date: 2013-03-26 Don't print warning if we're cancelling and killed a subprocess service/realm-command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 550a73488caf89e47abfeb1caad37fa9c6e1a366 Author: Stef Walter Date: 2013-02-11 Check that package-kit finds all the packages we ask it to resolve pk_task_resolve_async() does not complain or give any indication that a package it was asked to resolve is not available. So we make it do its job by double checking after resolving that all the required package names came back out. https://bugs.freedesktop.org/show_bug.cgi?id=60657 service/realm-packages.c | 105 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 85 insertions(+), 20 deletions(-) commit e9ef7f428e3aa75f7dbd0347e0b41bcc2b0d0911 Author: Stef Walter Date: 2013-02-11 If PackageKit is not available, assume manual package installation Provide an intelligent error message in the absence of PackageKit prompting the caller to manually install the packages necessary. We assume that when PackageKit is not available that the distro admin or system builder prefers manual installation of packages. https://bugs.freedesktop.org/show_bug.cgi?id=60654 service/realm-packages.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit e915a592d4ee3aaf98c62a4dd8c1d4b216a4291f Author: Stef Walter Date: 2013-03-22 Update license to LGPL v2.1 Since parts of the code are LGPL v2.1 or later, while most of the code is LGPL v2.0 or later, update the overall license be LGPL v2.1. https://bugs.freedesktop.org/show_bug.cgi?id=57943 COPYING | 216 +++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 118 insertions(+), 98 deletions(-) commit 0c67bd00d78ca450e951912e6034be28755cb371 Author: Marius Vollmer Date: 2013-03-20 Optionally use systemd's journal for logging. And include a REALMD_OPERATION field if doing so. https://bugs.freedesktop.org/show_bug.cgi?id=62225 configure.ac | 20 ++++++++++ doc/website/content/contribute.html | 8 ++++ service/Makefile.am | 2 + service/realm-diagnostics.c | 78 ++++++++++++++++++++++++++++++++++--- 4 files changed, 103 insertions(+), 5 deletions(-) commit d1455dddb2763cd13c2ebb0c52c500b1b73da48e Author: Stef Walter Date: 2013-03-22 website: Add some documentation on the ./configure options doc/website/content/contribute.html | 11 +++++++++++ 1 file changed, 11 insertions(+) commit bb1b80c8ffc3705007c708fd22b15ca7a07d51ea Author: Marius Vollmer Date: 2013-03-12 Consistently use get_name when looking up settings. https://bugs.freedesktop.org/show_bug.cgi?id=62210 service/realm-example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c4b9f53c897707e7cd981b3bb5c03653933af3b3 Author: Marius Vollmer Date: 2013-03-11 Make example domain discovery cancellable. https://bugs.freedesktop.org/show_bug.cgi?id=62214 service/Makefile.am | 1 + service/realm-example-provider.c | 24 ++++++--- service/realm-example.c | 107 +++++---------------------------------- service/realm-usleep-async.c | 97 +++++++++++++++++++++++++++++++++++ service/realm-usleep-async.h | 38 ++++++++++++++ 5 files changed, 164 insertions(+), 103 deletions(-) commit 934bcf309b0ddf74ce3cdf9b17509d015e050281 Author: Marius Vollmer Date: 2013-03-11 Allow example provider discovery to be configured. * Default domain, discovery delay, and delay when discovery fails can be configured. doc/internals/realmd-internals.xml | 15 ++++++++++++++- service/realm-example-provider.c | 30 ++++++++++++++++++++++-------- 2 files changed, 36 insertions(+), 9 deletions(-) commit ef9b2c8885f52bd723958c5374f42b3dad4390f0 Author: Marius Vollmer Date: 2013-03-11 Clean up example domain delay configuration. * Use realm_settings_double. * Use "example-leave-delay" as appropriate instead of "example-join-delay". * Document example-join-delay and example-leave-delay. doc/internals/realmd-internals.xml | 7 ++++++- service/realm-example.c | 22 +++++----------------- 2 files changed, 11 insertions(+), 18 deletions(-) commit b698e70d6ab50c49c4603734a4705e3737005798 Author: Stef Walter Date: 2013-02-11 Always return generic kerberos realm results with a low relevance It's up to clients to filter this out. All the known clients do. This is so that we can always guarantee that kerberos realms are discovered, despite other providers being disabled https://bugs.freedesktop.org/show_bug.cgi?id=60656 service/realm-kerberos-provider.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit e81a59512badeb8b29c85ca839efa0b13d020b2a Author: Stef Walter Date: 2013-02-11 Allow individual providers to be disabled This can be done for administrative reasons, or perhaps by distros who do not have all the components packaged in order to support a given provider. Note that this changes the method for enabling the example provider, which we haven't yet included in a release. https://bugs.freedesktop.org/show_bug.cgi?id=60656 doc/internals/realmd-internals.xml | 6 +++--- service/realm-daemon.c | 26 +++++++++++++++++--------- service/realmd-defaults.conf | 8 +++++--- 3 files changed, 25 insertions(+), 15 deletions(-) commit a5eaec53564327fc83662b7d4fed4bd3674ac0a3 Author: Marius Vollmer Date: 2012-11-23 Enable having floating point internal settings https://bugs.freedesktop.org/show_bug.cgi?id=62162 .gitignore | 1 + service/realm-settings.c | 22 +++++++ service/realm-settings.h | 4 ++ tests/Makefile.am | 8 ++- tests/test-settings.c | 160 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 194 insertions(+), 1 deletion(-) commit 275aee4de4f0848047495f0156d4d3f870760078 Author: Stef Walter Date: 2013-03-05 Add libxslt as one of the dependencies for documentation doc/website/content/contribute.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 22c2eb4d5533b1fa33a8ed32d07eb04da2a0edeb Author: Stef Walter Date: 2013-02-19 Release version 0.13.2 * This is for build fixes configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 864ae65e71afc5d175c046a546e8de9e594d847f Author: Stef Walter Date: 2013-02-19 Distribute the docbook-params.xsl file for building internal docs doc/internals/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit e9fc288144e787ec67dd9c3e0989b598aff3e5f3 Author: Stef Walter Date: 2013-02-19 Disable parallel builds in the doc/manual directory Our target for building the gdbus-codegen documentation doesn't work in parallel and causes race conditions when moving around temporary files doc/manual/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ea00fb1edc14320a8f69b05d39941873a4ad0206 Author: Stef Walter Date: 2013-02-19 Fix warning about use of uninitialized variable service/realm-provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4db9a8fcad8ab068b69af818071cea09b02bfeb2 Author: Stef Walter Date: 2013-02-18 Remove gtk-doc from dependencies listed on the website doc/website/content/contribute.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 567972cf2cd019c5a3a4ab242f970c6e0bff8cdb Author: Stef Walter Date: 2013-02-18 Release version 0.13.1 * Fix some build and distribution issues configure.ac | 2 +- doc/manual/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3a8f31ceb5b29b4c71cff9cf8665746151db2068 Author: Stef Walter Date: 2013-02-18 Release version 0.13 NEWS | 15 +++++++++++++++ configure.ac | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) commit 268a3a8a829a51c1d787bfabbc43cadf2175f741 Author: Stef Walter Date: 2013-02-11 Use a private cache directory for temp files Instead of using /tmp use our own personal cache directory for temporary files. We set the TMPDIR environment variable. This is consumed by g_get_tmp_dir() and in adcli. https://bugs.freedesktop.org/show_bug.cgi?id=60404 configure.ac | 3 +++ service/Makefile.am | 2 ++ service/realm-daemon.c | 3 +++ 3 files changed, 8 insertions(+) commit 865b7079f40be160a5c435aeb14a7e77bbe0346e Author: Stef Walter Date: 2013-02-13 Pull translations from transifex .gitignore | 2 + Makefile.am | 3 + build/tx-update | 69 +++++++++++++++++++ po/pl.po | 206 +++++++++++++++++++++++++------------------------------- 4 files changed, 167 insertions(+), 113 deletions(-) commit da2183484f69c6a66c26b8f9c4b19fcf377ae187 Author: Stef Walter Date: 2013-02-07 Detect incorrect passwords when using 'net ads join' login via RPC * We have to do screen scraping to detect the right passwords and return an intelligent error code and message https://bugs.freedesktop.org/show_bug.cgi?id=60423 service/realm-samba-enroll.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit b89a0f6808a0d325131f940e5619c98fc31b36e5 Author: Stef Walter Date: 2013-02-11 Use ipa-client-install to provide join functionality for IPA domains * Currently we just pass the password, and don't use a ccache * In order to use a ccache ipa-client-install needs to be modified * One time password support is present * Deconfigure and Leave support is present * Update documentation https://bugs.freedesktop.org/show_bug.cgi?id=55041 doc/internals/realmd-internals.xml | 15 +- doc/manual/realmd-guide-freeipa.xml | 108 +++++++- po/POTFILES.in | 1 + service/realm-sssd-ipa.c | 489 +++++++++++++++++++++++++++++++++++- service/realmd-defaults.conf | 1 + service/realmd-redhat.conf | 3 + 6 files changed, 610 insertions(+), 7 deletions(-) commit 16c9b7b8e613802babcf0393ebb4fc6b903af936 Author: Stef Walter Date: 2013-02-11 Add a utility function for updating sssd.conf domains https://bugs.freedesktop.org/show_bug.cgi?id=55041 service/realm-sssd-config.c | 88 +++++++++++++++++++++++++++++++++++---------- service/realm-sssd-config.h | 5 +++ tests/test-sssd-config.c | 55 ++++++++++++++++++++++++++++ 3 files changed, 129 insertions(+), 19 deletions(-) commit 9e820c00f8994f0ed972e4caadfc7bed2100f9d6 Author: Stef Walter Date: 2012-11-27 Refactor out config domain identification logic Make sure we use the same logic for figure out a realm name from an sssd.conf section, as well as the type. https://bugs.freedesktop.org/show_bug.cgi?id=55041 service/realm-sssd-config.c | 57 +++++++++++++++++++++++++++++++++++++++++++ service/realm-sssd-config.h | 6 +++++ service/realm-sssd-provider.c | 45 +++++++++++----------------------- service/realm-sssd.c | 35 +++++++++++++------------- 4 files changed, 95 insertions(+), 48 deletions(-) commit 91bb537d02fb78a01aafa132a8c90e0f69045814 Author: Stef Walter Date: 2012-11-22 Pull out function to build password input out of passwords https://bugs.freedesktop.org/show_bug.cgi?id=55041 service/realm-command.c | 37 +++++++++++++++++++++++++++++++++++++ service/realm-command.h | 2 ++ service/realm-samba-enroll.c | 36 ++---------------------------------- 3 files changed, 41 insertions(+), 34 deletions(-) commit 6778b0ee3894bc6fc24d131eceee2b72efcfa0d3 Author: Stef Walter Date: 2012-09-04 Expose the method for updating an SSSD realm's properties https://bugs.freedesktop.org/show_bug.cgi?id=55041 service/realm-sssd.c | 12 +++++------- service/realm-sssd.h | 2 ++ 2 files changed, 7 insertions(+), 7 deletions(-) commit 6f592339664894b488fce03dfa00ef016d6e5d6e Author: Stef Walter Date: 2013-02-11 Move the example provider documentation to internals document doc/internals/realmd-internals.xml | 32 +++++++++++++++++ doc/manual/realmd-guide-configuring.xml | 63 --------------------------------- 2 files changed, 32 insertions(+), 63 deletions(-) commit 2f6ed14feb4eec936bf94b886a3c091ffcd07346 Author: Yassir Elley Date: 2013-02-08 fixed typos for realm man page https://bugs.freedesktop.org/show_bug.cgi?id=60497 doc/manual/realm.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 9530a472c269fd116cb195990577ab045d2024c6 Author: Stef Walter Date: 2013-02-05 Add the internals documentation to the realmd website doc/Makefile.am | 3 ++- doc/internals/Makefile.am | 3 +++ doc/website/Makefile.am | 2 +- doc/website/content/contribute.html | 6 ++++++ 4 files changed, 12 insertions(+), 2 deletions(-) commit a99db18ee5e0362296e5524437029132629ea82b Author: Stef Walter Date: 2013-02-01 Don't wrap options in realm client manual page doc/manual/static/style.css | 4 ++++ 1 file changed, 4 insertions(+) commit 28b8d1bbefb1351e19021ffeb27cf81cf18ebe3e Author: Yassir Elley Date: 2013-01-31 add membership-software to dbus xml api - second try https://bugs.freedesktop.org/show_bug.cgi?id=60135 dbus/org.freedesktop.realmd.xml | 6 ++++++ 1 file changed, 6 insertions(+) commit 86df446b727b1ba3bd5b71ce27466a3d75f86f9f Author: Stef Walter Date: 2013-01-30 Some tweaks and clarifications to the internal documentation * realmd is not Fedora or Red Hat specific. * realmd will support non-Kerberos realms in the future * Add some more clients to the list * Our FreeIPA support will support joining soon * No need to document the realm object path form * Other minor tweaks https://bugs.freedesktop.org/show_bug.cgi?id=60066 doc/internals/realmd-internals.xml | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) commit f16192c70a272110d4f4288d6f1e37f2ffed7c81 Author: Stef Walter Date: 2013-01-30 Add back 'make upload' target for manual doc/manual/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit cd17373681c4e7505f5eaaa13ce2c64b0e04132c Author: Yassir Elley Date: 2013-01-29 Fixed typos: inserted commas, added missing words, corrected mistakes https://bugs.freedesktop.org/show_bug.cgi?id=60023 dbus/org.freedesktop.realmd.xml | 64 ++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 32 deletions(-) commit c5fc50506aef7795fbcd502332d56ea738affd13 Author: Yassir Elley Date: 2013-01-29 Fixed blurb for Provider property's param-spec https://bugs.freedesktop.org/show_bug.cgi?id=60024 service/realm-kerberos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 991f2a356d6f203b235f0b0f3406a576a742b281 Author: Yassir Elley Date: 2013-01-29 Fixed omissions and typos in command line man page. doc/manual/realm.xml | 72 ++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 53 insertions(+), 19 deletions(-) commit c11193d29383e6541318e7f7f1353f88bd85a677 Author: Yassir Elley Date: 2013-01-29 Replaced "active-directory" with "users" in user configuration page. https://bugs.freedesktop.org/show_bug.cgi?id=60026 doc/manual/realmd-guide-configuring.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d62bf6af88efb1b184e44b934dbe5c375f3a8f70 Author: Stef Walter Date: 2013-01-29 Add some rough internal documentation Converted from ODP to docbook by Stef Walter .gitignore | 1 + configure.ac | 1 + doc/Makefile.am | 2 +- doc/internals/Makefile.am | 43 ++++ doc/internals/discover-method.svg | 243 ++++++++++++++++++++++ doc/internals/docbook-params.xsl | 5 + doc/internals/join-method.svg | 258 ++++++++++++++++++++++++ doc/internals/realmd-internals.xml | 336 +++++++++++++++++++++++++++++++ doc/internals/static/discover-method.png | Bin 0 -> 38497 bytes doc/internals/static/join-method.png | Bin 0 -> 30160 bytes 10 files changed, 888 insertions(+), 1 deletion(-) commit b30cf48ee50038139248ac69db27ce8a734cf0a9 Author: Stef Walter Date: 2013-01-29 Don't use gtk-doc for documentation Build our own docbook manual, although we use the gtk-doc stylesheet and css to format the manual, especially the API reference. Makefile.am | 2 +- autogen.sh | 2 - configure.ac | 41 +- doc/Makefile.am | 7 +- doc/manual/Makefile.am | 123 ++--- doc/manual/gdbus-fix-bugs.xsl | 21 + doc/manual/gtk-doc.xsl | 897 ++++++++++++++++++++++++++++++++ doc/manual/html.css | 105 ---- doc/manual/realm.xml | 12 +- doc/manual/realmd-docs.sgml | 52 -- doc/manual/realmd-docs.xml | 51 ++ doc/manual/realmd-guide-kerberos.xml | 2 +- doc/manual/static/gtk-doc.css | 264 ++++++++++ doc/manual/static/home.png | Bin 0 -> 654 bytes doc/manual/static/left.png | Bin 0 -> 459 bytes doc/manual/static/right.png | Bin 0 -> 472 bytes doc/manual/static/style.css | 106 ++++ doc/manual/static/up.png | Bin 0 -> 406 bytes doc/manual/version-greater-or-equal.xsl | 54 ++ 19 files changed, 1494 insertions(+), 245 deletions(-) commit 8b118666fab57ce389dddcf0eda62be37235d5e5 Author: Nuno Araujo Date: 2013-01-16 Fix the build with automake 1.13 In Automake 1.13, the long-deprecated macro AM_CONFIG_HEADER (deprecated since 2002) has been removed in favour of AC_CONFIG_HEADERS. autogen.sh | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9e94ddac33af74e9235e1e4fe70e29d393b03153 Author: Marius Vollmer Date: 2013-01-15 Make Example Provider cancellable https://bugs.freedesktop.org/show_bug.cgi?id=57614 service/realm-example.c | 225 +++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 185 insertions(+), 40 deletions(-) commit 74b999a164f7a8b4597d625a638a71664af358ac Author: Stef Walter Date: 2013-01-15 Thread cancellation through basic operations * Make running commands and discovery cancellable https://bugs.freedesktop.org/show_bug.cgi?id=57614 service/realm-adcli-enroll.c | 2 +- service/realm-command.c | 10 +++++----- service/realm-command.h | 2 -- service/realm-ipa-discover.c | 40 ++++++++++++++++++++++++++++----------- service/realm-kerberos-discover.c | 7 +++++-- service/realm-kerberos.c | 13 ++++++++++--- service/realm-packages.c | 5 ++++- service/realm-provider.c | 11 ++++++++++- service/realm-samba-enroll.c | 5 +---- service/realm-samba-winbind.c | 4 ++-- service/realm-service.c | 2 +- service/realm-sssd-ad.c | 2 +- service/realm-sssd.c | 4 ++-- 13 files changed, 71 insertions(+), 36 deletions(-) commit 2cc33250d2f90c4b123085944f0f96a451e1ba95 Author: Marius Vollmer Date: 2013-01-14 Implement support for Service.Cancel() method * Tag each GDBusMethodInvocation with a GCancellable which is placed in a hash table by operation_id. * When Cancel() is called, lookup the GCancellable and cancel it. * Move the connection filter, authorization code, and other invocation related code into its own file. This is the only thread aware code in the daemon, so putting in it one place on its own makes sense. * Remove the frob-package-set tool as there was just too many intermingled dependencies on the service daemon code. * Make Ctrl-C in the client send a Cancel() to the service https://bugs.freedesktop.org/show_bug.cgi?id=57614 dbus/realm-dbus-constants.h | 1 + po/POTFILES.in | 1 + service/Makefile.am | 1 + service/realm-daemon.c | 301 +------------------ service/realm-daemon.h | 13 - service/realm-diagnostics.c | 41 +-- service/realm-diagnostics.h | 5 - service/realm-errors.c | 1 + service/realm-errors.h | 1 + service/realm-invocation.c | 610 ++++++++++++++++++++++++++++++++++++++ service/realm-invocation.h | 42 +++ service/realm-kerberos-discover.c | 21 +- service/realm-kerberos.c | 76 ++--- service/realm-provider.c | 35 +-- tests/Makefile.am | 22 +- tests/discover-python.py | 31 +- tests/frob-package-set.c | 54 ---- tools/realm-client.c | 32 ++ tools/realm.c | 3 + tools/realm.h | 2 +- 20 files changed, 775 insertions(+), 518 deletions(-) commit c1e52fa23902968958c25a486fe32e258380b50e Author: Piotr Drąg Date: 2013-01-12 Updated Polish translation https://bugs.freedesktop.org/show_bug.cgi?id=59295 po/pl.po | 167 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 103 insertions(+), 64 deletions(-) commit 0cc18b02c9ca29c5d66b05b318ea34d9288ff611 Author: Marius Vollmer Date: 2012-11-27 Export the Service interface. service/realm-daemon.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit d4da7a7cb3847458c36993a431c283f07142815b Author: Stef Walter Date: 2012-11-27 When running in --debug make warnings and criticals fatal service/realm-daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fa890052b151a2deed584aa9cc6f2de18af3db3e Author: Stef Walter Date: 2012-11-27 Better handling of missing packages section in settings file. service/realm-packages.c | 4 ++++ 1 file changed, 4 insertions(+) commit b011101cfc2cc883ce6c263b69b5f9aa969ea7bf Author: Stef Walter Date: 2012-11-23 Don't assume that we can use kerberos to validate admin password This isn't the case for the example provider, and could easily not be the case for the samba provider, if the domain is not discoverable or accessible using krb5 for some reason. https://bugs.freedesktop.org/show_bug.cgi?id=55537 tools/realm-client.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) commit ae3c03d93662d70b9020b00b7b1e0057bc047932 Author: Stef Walter Date: 2012-11-23 Create the localstatedir for the example provider This allows the example provider to create appropriate files. https://bugs.freedesktop.org/show_bug.cgi?id=55537 service/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 22d3c96eb775c224d8c24d2bd22457993a8c5d29 Author: Marius Vollmer Date: 2012-11-23 Fixes. * Off-by-one error when checking whether there is a '.' in front of the "example.*" suffix. * Consistently use realm_kerberos_get_name for accessing the settings. * Logic error when checking whether we are enrolled before leaving. * Only discover domains that have a section in the settings. https://bugs.freedesktop.org/show_bug.cgi?id=55537 service/realm-example-provider.c | 5 +++-- service/realm-example.c | 12 ++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) commit 2d7af1ac418a2639d6e07084618c9f988bec2754 Author: Stef Walter Date: 2012-10-25 Add example provider, disabled by default * This is a provider for 'example.com' and related domains which can be enabled to test some basic functionality of realmd, without a real domain. https://bugs.freedesktop.org/show_bug.cgi?id=55537 dbus/realm-dbus-constants.h | 1 + doc/manual/realmd-guide-configuring.xml | 64 +++++ po/POTFILES.in | 1 + service/Makefile.am | 3 + service/realm-daemon.c | 8 + service/realm-example-provider.c | 254 +++++++++++++++++ service/realm-example-provider.h | 38 +++ service/realm-example.c | 485 ++++++++++++++++++++++++++++++++ service/realm-example.h | 40 +++ service/realm-kerberos.c | 30 +- service/realm-kerberos.h | 2 + service/realmd-defaults.conf | 7 + 12 files changed, 918 insertions(+), 15 deletions(-) commit 3e8b1bcc04cc579b5eef16a11dac307f5e7e1a6e Author: Stef Walter Date: 2012-10-25 Add function for getting boolean from settings https://bugs.freedesktop.org/show_bug.cgi?id=55537 service/realm-settings.c | 17 +++++++++++++++++ service/realm-settings.h | 3 +++ 2 files changed, 20 insertions(+) commit 5ba45c96658e5d47d5ba5d7e4f96e9b3bba2ea05 Author: Stef Walter Date: 2012-10-25 Add function for getting all sections of INI conf file https://bugs.freedesktop.org/show_bug.cgi?id=55537 service/realm-ini-config.c | 18 ++++++++++++++++++ service/realm-ini-config.h | 2 ++ tests/test-ini-config.c | 15 +++++++++++++++ 3 files changed, 35 insertions(+) commit 5b32ef7a3d584c7d6f6d7062654a4fc7567f922b Author: Stef Walter Date: 2012-11-22 Add option to realm command to only print out realm name When --name-only is specified only print out the name of the realm and not all the detailed info. https://bugs.freedesktop.org/show_bug.cgi?id=55415 tools/realm-discover.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit 7946677e223b6d8eae15e6610d9e69c714721c74 Author: Stef Walter Date: 2012-11-22 Add some documentation about contributing doc/website/content/base.html | 3 +- doc/website/content/contribute.html | 62 +++++++++++++++++++++++++++++++++++++ doc/website/content/index.html | 5 ++- doc/website/content/style.css | 9 +++++- 4 files changed, 74 insertions(+), 5 deletions(-) commit 13bfcaf5813ada0fcaa6c9452dc7120186aa90fd Author: Stef Walter Date: 2012-11-22 No longer a need to restart accounts-service after a join https://bugs.freedesktop.org/show_bug.cgi?id=57409 service/realmd-redhat.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit b495e05b2354aeca19f3da6c5f9e8986b2ed8b27 Author: Stef Walter Date: 2012-11-22 Update the known commands and packages for debian Tested on Ubuntu 12.04, need to test on Debian at some point. https://bugs.freedesktop.org/show_bug.cgi?id=57408 service/realmd-debian.conf | 5 +++++ 1 file changed, 5 insertions(+) commit dcf382192f247d9b1607993ad06f4882cf82874d Author: Stef Walter Date: 2012-11-22 Only use the XDG user data directory if it exists Use the temp directory if the user data directory doesn't exist. https://bugs.freedesktop.org/show_bug.cgi?id=57407 tools/realm.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 857ade88dd15fbd06ec209b8c6d0d74fb6d4f3c3 Author: Stef Walter Date: 2012-11-22 Better handling of missing, blank or invalid known commands * Don't use /bin/true or /bin/false to handle invalid or blank realmd known commands * Directly complete the tasks or fail them early without forking a sub process. https://bugs.freedesktop.org/show_bug.cgi?id=57404 service/realm-command.c | 46 ++++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 20 deletions(-) commit 8a1f39d2b6787b349fbfebf8b480ab0ca9681b8e Author: Stef Walter Date: 2012-11-20 Fix race on DBus peer to peer connections * Make sure we don't try to process incoming messages until the objects have been exported. https://bugs.freedesktop.org/show_bug.cgi?id=57318 service/realm-daemon.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ced21a39af803a4c27d5727b62f5d6efbfe04fcd Author: Yassir Elley Date: 2012-11-13 Cleaned up "uninitialized variable" warning from gcc https://bugs.freedesktop.org/show_bug.cgi?id=57100 tools/realm-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dd44f7e7f9c1a8b92d1106681487d1baec0da88c Author: Stef Walter Date: 2012-11-19 Avoid race conditions when doing IPA discovery * We don't want to complete an IPA discovery before the outstanding counter is incremented. https://bugs.freedesktop.org/show_bug.cgi?id=57277 service/realm-ipa-discover.c | 10 ---------- service/realm-kerberos-discover.c | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) commit 1a24af68e4266c259a488416170e0a31a9397079 Author: Stef Walter Date: 2012-11-19 Quit the daemon when SIGTERM or SIGINT received * This allows us to correctly write out coverage data, since gcov writes using an atexit() callback equivalent. service/realm-daemon.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit a6d43afb0e04bc22cf4031860980a269390fb1c7 Author: Stef Walter Date: 2012-11-19 Allow specifying --membership-software when discovering a realm * This limits the discovery to realms for which we can use the given --membership-software * Useful from kickstart files. https://bugs.freedesktop.org/show_bug.cgi?id=57276 service/realm-provider.c | 13 ++++++++++--- service/realm-provider.h | 5 +++-- service/realm-samba-provider.c | 7 ++++--- service/realm-sssd-provider.c | 16 ++++++++++++---- tools/realm-client.c | 2 ++ tools/realm-client.h | 1 + tools/realm-discover.c | 17 +++++++++++++---- tools/realm-join.c | 3 ++- 8 files changed, 47 insertions(+), 17 deletions(-) commit 29116a545ead9a3ac1eff1650aca872f6c7d9f91 Author: Stef Walter Date: 2012-11-13 Fix use of uninitialized variable. Caught by Yassir Elley tools/realm-client.c | 1 - 1 file changed, 1 deletion(-) commit adbdfcd35d008f35040f06ff9e4a944e78385de9 Author: Stef Walter Date: 2012-11-12 Release 0.12 NEWS | 6 ++++++ configure.ac | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 7181d2ff4c30185596f7a019dbc6ae91d6ea02ca Author: Stef Walter Date: 2012-11-08 tools: Add a --no-password option to realm join This expcilitly specifies that we want to do a password-less join. This is so that the realm command can be used from kickstart and automatic scripts and such. https://bugs.freedesktop.org/show_bug.cgi?id=56861 tools/realm-join.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) commit d33209295c44b43dd29ddd3f7989bc61af75c95e Author: Stef Walter Date: 2012-11-08 tools: Check if domain is configured before trying to join Although the check occurs in realmd as well, doing it early allows us to produce much more intelligent error messages. https://bugs.freedesktop.org/show_bug.cgi?id=56862 tools/realm-join.c | 7 +++++++ 1 file changed, 7 insertions(+) commit df7e85f9fa3932abffa7edcde1e89be1166796e7 Author: Stef Walter Date: 2012-11-08 tools: Standard function for determining if realm is configured https://bugs.freedesktop.org/show_bug.cgi?id=56862 tools/realm-discover.c | 4 +--- tools/realm-leave.c | 4 +--- tools/realm-logins.c | 4 +--- tools/realm.c | 11 +++++++++++ tools/realm.h | 2 ++ 5 files changed, 16 insertions(+), 9 deletions(-) commit 1650fc395d1edfe4716cfb88e1d5708519660f0c Author: Stef Walter Date: 2012-11-09 make distcheck fixes for new website directory * We don't actually distribute website, but some tweaks allow us to build. doc/Makefile.am | 8 ++++++++ doc/manual/Makefile.am | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) commit f32d2d12f2c773706e995372c4b967e86ae2cf44 Author: Stef Walter Date: 2012-11-05 Make website front page .gitignore | 1 + configure.ac | 1 + doc/Makefile.am | 8 +- doc/manual/Makefile.am | 3 + doc/manual/html.css | 3 +- doc/website/Makefile.am | 9 +- doc/website/content/base.html | 53 ++++ doc/website/content/images/img01.jpg | Bin 0 -> 305 bytes doc/website/content/images/img04.png | Bin 0 -> 362 bytes doc/website/content/images/img05.png | Bin 0 -> 954 bytes doc/website/content/images/img06.jpg | Bin 0 -> 1096 bytes doc/website/content/index.html | 51 ++++ doc/website/content/style.css | 484 +++++++++++++++++++++++++++++++++++ doc/website/jinja2-build.py | 71 +++++ 14 files changed, 674 insertions(+), 10 deletions(-) commit 52c3dd6ce276fba46ce988b6b33a54982837c188 Author: Stef Walter Date: 2012-11-02 Move the manual into its own directory So that the website can live in the doc directory as well .gitignore | 26 +-- Makefile.am | 7 +- configure.ac | 1 + doc/Makefile.am | 119 ++-------- doc/escape-xml-to-text.xsl | 73 ------ doc/html.css | 104 --------- doc/manual/Makefile.am | 100 ++++++++ doc/manual/escape-xml-to-text.xsl | 73 ++++++ doc/manual/html.css | 104 +++++++++ doc/manual/realm.xml | 337 +++++++++++++++++++++++++++ doc/manual/realmd-docs.sgml | 52 +++++ doc/manual/realmd-guide-active-directory.xml | 208 +++++++++++++++++ doc/manual/realmd-guide-configuring.xml | 200 ++++++++++++++++ doc/manual/realmd-guide-freeipa.xml | 62 +++++ doc/manual/realmd-guide-kerberos.xml | 50 ++++ doc/realm.xml | 337 --------------------------- doc/realmd-docs.sgml | 52 ----- doc/realmd-guide-active-directory.xml | 208 ----------------- doc/realmd-guide-configuring.xml | 200 ---------------- doc/realmd-guide-freeipa.xml | 62 ----- doc/realmd-guide-kerberos.xml | 50 ---- doc/website/Makefile.am | 11 + 22 files changed, 1235 insertions(+), 1201 deletions(-) commit a305bce399cc1603a60cf84bdc0d397ff9799bc5 Author: Piotr Drąg Date: 2012-11-01 Updated Polish translation https://bugs.freedesktop.org/show_bug.cgi?id=56640 po/pl.po | 222 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 131 insertions(+), 91 deletions(-) commit bcaf68b3bd66a16829144c362a06162e12751321 Author: Stef Walter Date: 2012-10-30 Release version 0.11 NEWS | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit f888456a6b294c4db6d9b8dc6376b38aebb703df Author: Stef Walter Date: 2012-10-30 Fix ordering bug in option parsing of realm command * We want to prefer arguments to --install over commands, so that a command like this works: $ realm --install /here join domain.com tools/realm.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit eb62050de82fc9cce414447e1201f7ecc8b5f39d Author: Stef Walter Date: 2012-10-29 Add assume-packages option to prevent package installation * New assume-packages option for the Join() dbus method * Set this option automatically when doing an --install style join from the 'realm' command. dbus/org.freedesktop.realmd.xml | 3 +++ dbus/realm-dbus-constants.h | 1 + service/realm-kerberos-membership.h | 1 + service/realm-kerberos.c | 4 ++++ service/realm-packages.c | 12 ++++++++---- service/realm-samba.c | 10 +++++++++- service/realm-sssd-ad.c | 6 ++++++ tools/realm.c | 18 ++++++++++++------ 8 files changed, 44 insertions(+), 11 deletions(-) commit df59a0870249c54b033a5f4168180f750f0c4ad7 Author: Stef Walter Date: 2012-10-29 Fix parsing of 'operation' option service/realm-diagnostics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c44ef7b06c68e6754fb88a6fb7aca474b48ac15c Author: Stef Walter Date: 2012-10-29 Add RequiredPackages property * Each realm has this property which describes which packages must be present to configure this realm. dbus/org.freedesktop.realmd.xml | 13 +++++++++++++ service/realm-kerberos.c | 13 +++++++++++++ service/realm-kerberos.h | 3 +++ service/realm-packages.c | 37 ++++++++++++++++++++++++++++++------- service/realm-packages.h | 2 ++ service/realm-samba.c | 7 +++++++ service/realm-sssd-ad.c | 16 ++++++++++++---- tools/realm-discover.c | 20 +++++++++++++------- 8 files changed, 93 insertions(+), 18 deletions(-) commit 8de2508469335d0aef2854f77632b45d2b6db14a Author: Stef Walter Date: 2012-10-26 Add ability to run in 'install' mode * For use when no dbus daemon is running, or need to run in a specific file root prefix. * We spawn the daemon directly and connect to it over peer to peer dbus connection on a socketpair() file descriptor. * We don't run service restarts or other service bits when in install mode. * We don't flush caches when in install mode. * No checks for polkit permissions when in install mode. * Don't timeout and quit when in install mode. * Had to copy GDBusObjectManagerClient and GDBusObjectProxy into our project temporarily so we can get a fix for using the object manager over a peer to peer connection. glib bug #686920 https://bugs.freedesktop.org/show_bug.cgi?id=56424 doc/realm.xml | 8 + service/realm-daemon.c | 180 +++- service/realm-daemon.h | 4 + service/realm-kerberos.c | 12 +- service/realm-service.c | 51 +- tools/Makefile.am | 5 + tools/eggdbusobjectmanagerclient.c | 1740 ++++++++++++++++++++++++++++++++++++ tools/eggdbusobjectmanagerclient.h | 148 +++ tools/eggdbusobjectproxy.c | 365 ++++++++ tools/eggdbusobjectproxy.h | 92 ++ tools/realm-client.c | 172 +++- tools/realm-client.h | 3 +- tools/realm.c | 21 +- 13 files changed, 2716 insertions(+), 85 deletions(-) commit 3231198135bff97d82eacf441350be5bbf4660fb Author: Stef Walter Date: 2012-10-25 Move global option parsing into realm.c * Each command doesn't have to create their own client, and simpler to add options common to all commands. doc/realm.xml | 47 ++++++++++++----------------------------------- tools/realm-discover.c | 34 +++++++++------------------------- tools/realm-join.c | 24 ++++++++---------------- tools/realm-leave.c | 21 +++++++-------------- tools/realm-logins.c | 37 +++++++++++++------------------------ tools/realm.c | 43 ++++++++++++++++++++++++++++++++++++++----- tools/realm.h | 22 ++++++++++++++++------ 7 files changed, 103 insertions(+), 125 deletions(-) commit 56ad086b908cadc75648b804916bf6488061e890 Author: Stef Walter Date: 2012-10-20 Release version 0.10 NEWS | 11 +++++++++++ configure.ac | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) commit 95a6bbf1b322968df22cba1b1d10b5c3194f97cb Author: Stef Walter Date: 2012-10-19 Send diagnostics from subcommand to client as they come in * Route diagnostics from a subcommand like adcli to the caller as they come in from the subprocess. https://bugs.freedesktop.org/show_bug.cgi?id=56150 service/realm-command.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 5f551f997865e7b89d80f4104917d2b860b2ed22 Author: Stef Walter Date: 2012-10-19 Refactor how discovered realms are handled * Sort configured realms first * Pass realm objects up to callers, and only turn into DBus object paths at the last minute before returning value. https://bugs.freedesktop.org/show_bug.cgi?id=56135 service/realm-all-provider.c | 91 ++++++++++++++++++--------------------- service/realm-kerberos-provider.c | 18 +++----- service/realm-kerberos.c | 10 +++++ service/realm-kerberos.h | 2 + service/realm-provider.c | 52 +++++++++++++++------- service/realm-provider.h | 8 ++-- service/realm-samba-provider.c | 18 +++----- service/realm-samba-winbind.c | 2 +- service/realm-sssd-provider.c | 18 +++----- 9 files changed, 115 insertions(+), 104 deletions(-) commit 79cc673b00c937c59292d6fef8a6bb6ae507c1a3 Author: Stef Walter Date: 2012-10-19 Refuse to join a domain if hostname is localhost https://bugs.freedesktop.org/show_bug.cgi?id=56145 service/realm-kerberos.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 702aa38a376d8bc174fef7501ad5edbbe6bdd6c5 Author: Stef Walter Date: 2012-10-19 Use a proper message when can't claim name on bus service/realm-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d47aab79f69ebed81181a11575031fd8d9cd10bb Author: Stef Walter Date: 2012-10-19 In realm permit or deny commands, fail when options are invalid. http://bugs.freedesktop.org/show_bug.cgi?id=56144 tools/realm-logins.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 1481d4f37ad680f907df13c1ca4af5e3386ecdcf Author: Stef Walter Date: 2012-10-19 Fix samba package names for Fedora changes Fedora renamed samba4 packages to just plain 'samba' https://bugs.freedesktop.org/show_bug.cgi?id=56166 service/realmd-redhat.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a437ebb9bcaba7333612d85450087ad057cdc9e2 Author: Stef Walter Date: 2012-10-19 Fix typo in realm manual https://bugzilla.redhat.com/show_bug.cgi?id=867769 doc/realm.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1c9cb76c9d324478bbe9a81156ed323a3a802847 Author: Stef Walter Date: 2012-10-19 Fix case where base dn in computer-ou doesn't match domain When the computer-ou base dn almost matches the domain, but not quite we were letting it through. Catch this case completely and test. https://bugs.freedesktop.org/show_bug.cgi?id=56162 service/realm-samba-util.c | 2 +- tests/test-samba-ou-format.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit 530e1ce7c827d5e640dcc96b9f4f3a83c3dc90e3 Author: Stef Walter Date: 2012-10-19 Don't pass empty computer-ou to net command When computer-ou argument is empty, don't build a createcomputer= argument for 'net ads join' with nothing in it. Just skip. https://bugs.freedesktop.org/show_bug.cgi?id=56162 service/realm-samba-enroll.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e2475b67a1452ad2963f0fd29f3b3c95ed21ded7 Author: Stef Walter Date: 2012-10-19 Don't crash when computer-ou is empty If 'computer-ou' either in the realmd.conf file or join argument is empty, then realmd was crashing. Don't pass empty strings to ldap_str2dn, which then gets confusing. https://bugs.freedesktop.org/show_bug.cgi?id=56162 service/realm-samba-util.c | 6 ++++++ tests/test-samba-ou-format.c | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) commit 9832bb1859b50ba6eeaacce3fc2f6f0fc17b913d Author: Stef Walter Date: 2012-10-19 Fix problem where daemon goes away unexpectedly Due to incorrect matching of DBus method calls we were going away unexpectedly even though we still had clients. https://bugs.freedesktop.org/show_bug.cgi?id=56165 service/realm-daemon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit c566f157c58c0e4230d6188187bfe70f5878cf58 Author: Stef Walter Date: 2012-10-19 Better debug messages for daemon lifetime https://bugs.freedesktop.org/show_bug.cgi?id=56165 service/realm-daemon.c | 5 +++++ 1 file changed, 5 insertions(+) commit a39fb7aa7289ba51c81a62f707c0c27c1de05038 Author: Stef Walter Date: 2012-10-17 Release version 0.9 NEWS | 22 ++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) commit 1ec56a3b93c52e03903a73e05432932515660f45 Author: Stef Walter Date: 2012-10-17 Fix gcc warning about uninitialized use of varialbe tools/realm-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba87f3846b5d072887afb5e6c1f915303a961215 Author: Stef Walter Date: 2012-10-17 Distribute documentation files properly. doc/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 0cae3140956b9c4901c9cfa9902514661cb68057 Author: Stef Walter Date: 2012-10-17 Install realm command to sbin, and move manpage to 8 category https://bugs.freedesktop.org/show_bug.cgi?id=56094 .gitignore | 2 +- doc/Makefile.am | 6 +++--- doc/realm.xml | 2 +- tools/Makefile.am | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 294dca367eb143b9c19c5f7f9d3649ad78fdacfa Author: Marius Vollmer Date: 2012-10-17 Fix assertion with discovery caching. * When discovery occurs multiple times for same client and operation within a short period of time we cache the results. * However when returning the cache results we get an assertion. https://bugs.freedesktop.org/show_bug.cgi?id=56082 service/realm-kerberos-discover.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 6e72f2b9d59d892e1f5350fe5d218aec8bed36c3 Author: Stef Walter Date: 2012-10-17 Remove extra blank line when removing section from ini config When we add and remove sections from the sssd.conf we need to remove one extra line above the section header, because that was added when adding the section. https://bugs.freedesktop.org/show_bug.cgi?id=56067 service/realm-ini-config.c | 21 +++++++++++++++++++++ tests/test-sssd-config.c | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) commit de449ef42274a87ea96cc2415a95aad6d77ca3a1 Author: Stef Walter Date: 2012-10-17 Move the home/shell into [users] section of realmd settings * This makes sense because for sssd, shell applies to all users * In addition fix the tests that were broken recently when we placed the shell stuff in the [nss] section. https://bugs.freedesktop.org/show_bug.cgi?id=56066 doc/realmd-guide-configuring.xml | 21 +++++++++++++++------ service/realm-samba.c | 4 ++-- service/realm-sssd-ad.c | 2 +- service/realm-sssd-config.c | 2 +- service/realmd-defaults.conf | 7 +++---- tests/files/realmd-defaults.conf | 6 +++++- tests/test-sssd-config.c | 4 ++-- 7 files changed, 29 insertions(+), 17 deletions(-) commit 3e5369e57789cc58ca9dc56254244e60466027a9 Author: Stef Walter Date: 2012-10-17 Allow --verbose to work with 'realm permit --all' * Make diagnostic output work with 'realm permit --all' and 'realm deny --all' https://bugs.freedesktop.org/show_bug.cgi?id=56064 tools/realm-logins.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) commit 337cc688a782094c2c3e36a04b11adac9160b39d Author: Stef Walter Date: 2012-10-17 Make sure we only work with configured realms for login policy https://bugs.freedesktop.org/show_bug.cgi?id=56063 tools/realm-logins.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 6914e7aa9fb046577ea182dfc9abe2396ac76845 Author: Stef Walter Date: 2012-10-17 Remove unnecessary check when setting login policy service/realm-sssd.c | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) commit 8dff6aa93a37eb996ffd462d4de8db3cd20ce940 Author: Stef Walter Date: 2012-10-17 Set the simple_allow_users to a comma by default for AD realms * When creating a new AD sssd realm we want to be in the allow-permitted-logins login policy by default. * In order to do this we need to set simple_allow_users to a comma in order to work around an sssd bug. Otherwise all users are allowed, not just those explicitly permitted. https://bugs.freedesktop.org/show_bug.cgi?id=56062 service/realm-sssd-ad.c | 1 + 1 file changed, 1 insertion(+) commit 142b810261bb72034e7e467463c202c1a32d0958 Author: Stef Walter Date: 2012-10-17 Cleanup setting of empty ',' simple_allow_users We were setting simple_allow_users previously to ',' to work around a bug in sssd. But we don't need to do this when access_provider is permit or deny. https://bugs.freedesktop.org/show_bug.cgi?id=56061 service/realm-sssd.c | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) commit a499898ae806938601cccf8dbb45d549181bf80b Author: Stef Walter Date: 2012-10-17 Update realm properties after changing login policy https://bugs.freedesktop.org/show_bug.cgi?id=56060 service/realm-sssd.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 64a102cefee0873cf28ba97881409a15a7347414 Author: Stef Walter Date: 2012-10-17 Use the correct DBus string for deny login policy https://bugs.freedesktop.org/show_bug.cgi?id=56059 service/realm-kerberos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 830376ba11dc95c4a2f2f05e5a85cb7e00173591 Author: Stef Walter Date: 2012-10-17 Make sure we can read values out from ini config before writing service/realm-ini-config.c | 1 + tests/test-ini-config.c | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) commit 73717f46b1e9f069894e0359b581901c77a806f0 Author: Stef Walter Date: 2012-10-16 Use sss_cache to clear the sssd caches when removing a domain * We do this so libnss_sss.so stops answering with responses from the cache, which can be confusing and wrong. * Also move the code for removing an sssd domain into the base RealmSssd class so that the IPA code can use it. * Call sss_cache before removing the domain from sssd.conf. This is unfortunate as it can allow a race condition. * No longer remove libnss_sss from nssswitch.conf. libc caches the contents of nsswitch.conf and the modules, so removing stuff there is of dubious value. https://bugs.freedesktop.org/show_bug.cgi?id=56047 service/realm-sssd-ad.c | 127 +++----------------------------------- service/realm-sssd.c | 149 +++++++++++++++++++++++++++++++++++++++++++++ service/realm-sssd.h | 4 ++ service/realmd-redhat.conf | 4 +- 4 files changed, 165 insertions(+), 119 deletions(-) commit 0c5d673db8aa0d7f0a03d3db871dcba194ad48ca Author: Stef Walter Date: 2012-10-16 Make 'realm discover' only print out one realm per domain * Check if we've already seen a domain in the discovery and don't print out multiples of the same domain, unless --all is used. https://bugs.freedesktop.org/show_bug.cgi?id=56034 tools/realm-discover.c | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) commit 7af1f9f91cd4603d71c76e3aac58f7d226b8828b Author: Stef Walter Date: 2012-10-16 Only list configured realms in 'realm list' by default * Can now specify --all to show other realms that realmd knows about but which are not configured. https://bugs.freedesktop.org/show_bug.cgi?id=56033 tools/realm-discover.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit a91b9ebdaca3771d5b4f05b3698ed37a634d4e79 Author: Stef Walter Date: 2012-10-16 Work around the strange behavior of the sssd 'simple' access_provider When a realm is in the allow-permitted-logins mode, but no such logins have been set, the simple_allow_users is empty. sssd treats this as if the line is not present, and allows any login. Setting the value to a comma gets around this problem. Further discussion will take place on the sssd mailing list. https://bugs.freedesktop.org/show_bug.cgi?id=56027 service/realm-sssd.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 41fb5b07e7f38cff52c6f850346785d98888a9de Author: Stef Walter Date: 2012-10-16 Support offline logins with sssd * Just needed to set cache_credentials = True https://bugs.freedesktop.org/show_bug.cgi?id=56024 service/realm-sssd-ad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2d4b26831e9a17105d2ddeeda7884c9425c1fbd7 Author: Stef Walter Date: 2012-10-15 Add support for the realm tool for leave without removal * Make the default 'realm leave' behavior be to deconfigure the local machine without removing stuff from the directory. * Add a --remove option to use the old behavior https://bugs.freedesktop.org/show_bug.cgi?id=56021 doc/realm.xml | 8 ++++- tools/realm-leave.c | 91 ++++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 80 insertions(+), 19 deletions(-) commit 0bf9364c07793d49e3324f9698d74dab5f8594c3 Author: Stef Walter Date: 2012-10-15 Add support for Deconfigure(), or automatic leaving of a realm * This just removes entries from a keytab and deconfigures, restarts services etc. * Cleanup the unenroll/leave/deconfigure code a bit in the process https://bugs.freedesktop.org/show_bug.cgi?id=56021 service/realm-kerberos.c | 76 +++++++++++++ service/realm-kerberos.h | 3 + service/realm-samba-enroll.c | 72 ++++--------- service/realm-samba.c | 196 ++++++++++++++++++++++------------ service/realm-sssd-ad.c | 246 +++++++++++++++++++++++++++++-------------- 5 files changed, 393 insertions(+), 200 deletions(-) commit c7d4fa5acd727448702aabf15b17fc5c8653b8ab Author: Stef Walter Date: 2012-10-15 Put check for computer-ou option during Leave() in subclass * This is so it doesn't have to be reimplemented by each realm derived class. * A later commit will remove it from the derived classes. https://bugs.freedesktop.org/show_bug.cgi?id=56021 service/realm-kerberos.c | 7 +++++++ 1 file changed, 7 insertions(+) commit f295231c12c45f40f5f4edb855f33364646645af Author: Stef Walter Date: 2012-10-15 Refactor how kerberos errors are propagated and warned * Certain local kerberos errors are unexpected, so cleanup how they're transformed to warnings. * Rework how we propagate real kerberos errors, taking into account later commits. https://bugs.freedesktop.org/show_bug.cgi?id=56021 service/realm-kerberos.c | 62 +++++++++++++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 24 deletions(-) commit 0e00612ae7c8c28e4ee0a8564db4eee36f72a28a Author: Stef Walter Date: 2012-10-15 Set 'kerberos method' setting in smb.conf correctly * This is needed to use the 'net ads keytab' functionality * Fixes a warning https://bugs.freedesktop.org/show_bug.cgi?id=56005 service/realm-samba-enroll.c | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) commit 0f1f6aa1c22ae579ea1f04e0d3d005f4ff64e34c Author: Stef Walter Date: 2012-10-15 Work around for problem with running authconfig without /sbin in path https://bugs.freedesktop.org/show_bug.cgi?id=56004 service/realm-daemon.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit b982f1f3435795b6d6f8c4dff9a36b88cb782d85 Author: Stef Walter Date: 2012-10-15 Use --enablemkhomedir with authconfig to auto create home directories https://bugs.freedesktop.org/show_bug.cgi?id=56002 service/realmd-redhat.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c9814c18bdd6d5b6f0a3678b5e5dfaf072f9f3c9 Author: Stef Walter Date: 2012-10-15 Allow specifying client-software and server-software when leaving realm https://bugs.freedesktop.org/show_bug.cgi?id=56001 doc/realm.xml | 14 +++++++++++++ tools/realm-leave.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 65 insertions(+), 6 deletions(-) commit 55fd0e6be201a1830a06ccabde1798b3250efd07 Author: Stef Walter Date: 2012-10-15 Combine the SssdAd and SssdIpa providers * Now that discovery is combined, we can do discovery for all SSSD supported domains together. * Instantiate the various realms from /etc/sssd/sssd.conf as appropriate for the id_provider type. https://bugs.freedesktop.org/show_bug.cgi?id=55999 service/Makefile.am | 3 +- service/realm-daemon.c | 10 +- service/realm-sssd-ad-provider.c | 228 --------------------------------- service/realm-sssd-ad-provider.h | 38 ------ service/realm-sssd-ipa-provider.c | 227 --------------------------------- service/realm-sssd-ipa-provider.h | 38 ------ service/realm-sssd-provider.c | 259 ++++++++++++++++++++++++++++++++++++++ service/realm-sssd-provider.h | 38 ++++++ 8 files changed, 300 insertions(+), 541 deletions(-) commit 8b9402c92feeea19d0a3e09d1c6576aba255f75c Author: Stef Walter Date: 2012-10-13 Fill in the default shell and home directory for SSSD * This is for AD where no home directory or shell is set on the server * The default shell goes in the [nss] section https://bugs.freedesktop.org/show_bug.cgi?id=55957 doc/realmd-guide-configuring.xml | 63 ++++++++++++++++++++++++++++++++++++++++ service/realm-samba.c | 3 ++ service/realm-sssd-ad.c | 6 ++++ service/realm-sssd-config.c | 9 ++++++ service/realm-sssd.c | 20 +++++++++++++ service/realm-sssd.h | 2 ++ service/realmd-defaults.conf | 2 ++ 7 files changed, 105 insertions(+) commit a6f494b74b81aeed20047a86a79d5cfa7d12cefb Author: Stef Walter Date: 2012-10-06 Try to restart the accounts-daemon after joining/leaving * This is because accounts-daemon uses getpwnam() which caches the /etc/nsswitch.conf module list. As an interim we need to be able to restart the process. * Long term solution: http://sourceware.org/bugzilla/show_bug.cgi?id=12459 https://bugs.freedesktop.org/show_bug.cgi?id=55704 service/realm-kerberos.c | 33 ++++++++++++++++++++++++++++++--- service/realmd-redhat.conf | 2 ++ 2 files changed, 32 insertions(+), 3 deletions(-) commit 31c305fd88d76b7e3680038b3d539d5f1f8f5524 Author: Stef Walter Date: 2012-10-02 Clearer message when automatic join fails https://bugs.freedesktop.org/show_bug.cgi?id=55530 service/realm-sssd-ad.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 04c4a6be48bc10e536e0cc282d8ecaa4d95738c5 Author: Stef Walter Date: 2012-10-02 Use lower case realm names. * Don't use kerberos realm names as the realmd realm names. ETERM * Make sure to continue to provide the correct kerberos realm names on the ofr.Kerberos interface. https://bugs.freedesktop.org/show_bug.cgi?id=55389 service/realm-kerberos-discover.c | 5 ++++- service/realm-samba-provider.c | 11 +++++++---- service/realm-sssd.c | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) commit 909c99175bbdf1730861da6ee4994e0b4313b17c Author: Stef Walter Date: 2012-10-02 Don't track permitted logins in samba winbind realms * We were just tracking these in name only, and not enforcing things anyway. * We allow permitted logins to be added, as long as the login policy is not changed to only allow permitted logins to log in. * This removes a warning when we added an unsupported line to smb.conf https://bugs.freedesktop.org/show_bug.cgi?id=55549 service/realm-samba.c | 47 ++++++++++++++++++++++------------------------- 1 file changed, 22 insertions(+), 25 deletions(-) commit d745d77c036355eb2e11ec38af6a2e41e2b8f41f Author: Stef Walter Date: 2012-09-30 Fix search for LDAP libraries. Make it a hard requirement configure.ac | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 8ebe72464f463b6c89be1345b3b824698a42f787 Author: Stef Walter Date: 2012-09-28 Add Administrative Guide to the documentation doc/Makefile.am | 9 +- doc/html.css | 11 ++ doc/realmd-docs.sgml | 53 ++++++--- doc/realmd-guide-active-directory.xml | 208 ++++++++++++++++++++++++++++++++++ doc/realmd-guide-configuring.xml | 128 +++++++++++++++++++++ doc/realmd-guide-freeipa.xml | 62 ++++++++++ doc/realmd-guide-kerberos.xml | 50 ++++++++ 7 files changed, 502 insertions(+), 19 deletions(-) commit c909edc1b1060fa78feb9c335d2d2e420dbcb424 Author: Stef Walter Date: 2012-09-26 Commit the appropriate xml file for the realm manual ... and remove the compiled manual page that was accidentally committed. .gitignore | 2 +- doc/realm.1 | 332 ---------------------------------------------------------- doc/realm.xml | 332 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 333 insertions(+), 333 deletions(-) commit 7f8c4b853f9e2d414f8e0fe1870bf386937dfd7a Author: Stef Walter Date: 2012-09-25 Use commands to manage services * Rather than interacting with systemd and upstart via dbus * The upstart support was poor anyway. * This allows more compatibility with various distros * Less code. https://bugs.freedesktop.org/show_bug.cgi?id=55319 service/Makefile.am | 2 - service/realm-samba-winbind.c | 4 +- service/realm-service-systemd.c | 305 ------------------------- service/realm-service-systemd.h | 41 ---- service/realm-service-upstart.c | 362 ------------------------------ service/realm-service-upstart.h | 41 ---- service/realm-service.c | 476 +++++++--------------------------------- service/realm-service.h | 88 +------- service/realmd-debian.conf | 20 +- service/realmd-defaults.conf | 4 - service/realmd-redhat.conf | 9 + 11 files changed, 110 insertions(+), 1242 deletions(-) commit cf4e7543c8eadf61b611668d7bb60ba2ec6b496b Author: Stef Walter Date: 2012-09-25 Quiet down the command logging output service/realm-command.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 6b701df3bc89b94715d8c01d4bab2e203d4f12bd Author: Stef Walter Date: 2012-09-21 Add a manual page for the realm command https://bugs.freedesktop.org/show_bug.cgi?id=54491 .gitignore | 1 + configure.ac | 5 + doc/Makefile.am | 25 +++- doc/realm.1 | 332 +++++++++++++++++++++++++++++++++++++++++++++++++++ doc/realmd-docs.sgml | 4 + 5 files changed, 365 insertions(+), 2 deletions(-) commit d8fad1d7bcf6ab0969abee1284fedf80c4bf4079 Author: Stef Walter Date: 2012-09-19 Release version 0.8.1 NEWS | 3 +++ configure.ac | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 6459665dd1cd2714432173ea2eaeeae5dd6d3894 Author: Stef Walter Date: 2012-09-19 Distribute debian settings file correctly service/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 297d1b67119d68ce798067b35ca83ec0e1521f1c Author: Stef Walter Date: 2012-09-19 Release version 0.8 NEWS | 16 ++++++++++++++++ configure.ac | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) commit b029a93f1bdd649a82e18b117df31cfbb25b0179 Author: Piotr Drąg Date: 2012-09-04 Add Polish translation https://bugs.freedesktop.org/show_bug.cgi?id=54475 .gitignore | 1 + po/LINGUAS | 1 + po/pl.po | 427 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 429 insertions(+) commit fa407f558be731a4aabf417090a2cf44780ba8d8 Author: Piotr Drąg Date: 2012-09-04 Fix POTFILES.in https://bugs.freedesktop.org/show_bug.cgi?id=54474 po/POTFILES.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 0668bace12c18e57ef8eb6715746bd74e3818832 Author: Stef Walter Date: 2012-09-18 Don't start IPA certificate based discovery until AD discovery complete * The IPA discovery is pretty heavy handed, and tries connecting to the KDC's themselves. * Don't start the IPA discovery until AD discovery completes https://bugs.freedesktop.org/show_bug.cgi?id=55054 service/realm-kerberos-discover.c | 81 +++++++++++++++++++++------------------ 1 file changed, 44 insertions(+), 37 deletions(-) commit d67e4c54471449d5295d29037585317f6616a83f Author: Stef Walter Date: 2012-09-18 Fix regression in IPA server discovery * Logic inversion https://bugs.freedesktop.org/show_bug.cgi?id=55054 service/realm-ipa-discover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 14ecad7459a9bc570fad6f58f0d750823b3dc620 Author: Stef Walter Date: 2012-09-17 Don't refresh the PackageKit cache On advice from Richard Hughes remove the code that refreshes the packagekit cache. service/realm-packages.c | 46 +++++++++------------------------------------- 1 file changed, 9 insertions(+), 37 deletions(-) commit 67fbb321d3ad2d8edd4ca17ac08fd900fa21ae56 Author: Stef Walter Date: 2012-09-18 Pass passwords directly to the samba 'net' command * We were passing in a kerberos credential cache to be used but this caused strange errors with certain domain controllers. * Pass the password to the 'net' command directly on input. * Make sub-processes in their own process group without a controlling tty, by using setsid(). This guarantees sane prompting behavior using stdin(), and prevents blocking on tty input. * Cleaner diagnostic output of the commands we execute. * Simpler passing of environment variables to sub-commands https://bugs.freedesktop.org/show_bug.cgi?id=55046 service/realm-adcli-enroll.c | 4 +- service/realm-command.c | 74 +++++++++++++---------------- service/realm-command.h | 8 ---- service/realm-kerberos-membership.h | 4 +- service/realm-kerberos.c | 71 +++++++++++++++++++++------ service/realm-kerberos.h | 2 +- service/realm-samba-enroll.c | 95 +++++++++++++++++++++++++++---------- service/realm-samba-enroll.h | 13 ++--- service/realm-samba.c | 69 ++++++--------------------- service/realm-sssd-ad.c | 75 ++++++++++++----------------- 10 files changed, 213 insertions(+), 202 deletions(-) commit 86fba307682b0dea7c17b5e00a54455bb0786a52 Author: Stef Walter Date: 2012-09-17 Add a test tool to play with installing of packages .gitignore | 1 + tests/Makefile.am | 19 +++++++++++++++ tests/files/realmd-distro.conf | 6 ++++- tests/frob-package-set.c | 54 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 79 insertions(+), 1 deletion(-) commit 43f9f66657708a2ce386c3bbc6df81a3e603dfb7 Author: Stef Walter Date: 2012-09-06 Fix regression where command name was not logged to diagnostics service/realm-command.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) commit 0039afb7c2eff84f035aa8b086002badaecf59f5 Author: Stef Walter Date: 2012-09-04 Better prompting for realm administrator/user password in realm tool * Always do a kinit in the 'realm' tool even if we're going to pass in the password directly. This solves helps us detect issues early and give intelligable feedback. * Parse the user@realm correctly, without relying on a default realm * Print 'Invalid password' as an error message in the case of preauth failed. tools/realm-client.c | 35 +++++++++++++++++++--------- tools/realm.c | 66 +++++++++++++++++++++++++++++++--------------------- tools/realm.h | 4 +++- 3 files changed, 66 insertions(+), 39 deletions(-) commit ba1000699754610aa9da929c206c15e4d369441b Author: Stef Walter Date: 2012-09-04 No double colon in messages that don't have a description tools/realm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 572116e37ef705a8549669d2db7ce61d8871ae4a Author: Stef Walter Date: 2012-09-04 On startup print out a debug line which shown settings files * For debugging which settings are being loaded service/realm-settings.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 2b838bf00806fa1cf668829280de878f6b241625 Author: Stef Walter Date: 2012-09-04 Use infinite timeout for the provider in the realm tool * This would cause discovery to timeout sometimes tools/realm-client.c | 1 + 1 file changed, 1 insertion(+) commit bb63f5f7f4fe259d8bce429a87f2476b0506f284 Author: Stef Walter Date: 2012-09-04 Fix null pointer dereference problems * Use or freeing of NULL pointers in certain situations service/realm-adcli-enroll.c | 5 +++-- service/realm-daemon.c | 3 ++- service/realm-samba-enroll.c | 9 ++++++--- 3 files changed, 11 insertions(+), 6 deletions(-) commit 1c7fa542bf427e7b11958822dbc527c9bf83cef3 Author: Stef Walter Date: 2012-08-09 Remove custom debug code, just use glib * Just use g_debug() instead of our own realm_debug() * Add --debug option, which is to be used instead of the REALM_DEBUG and REALM_PERSIST env variables service/Makefile.am | 1 - service/realm-adcli-enroll.c | 1 - service/realm-all-provider.c | 2 - service/realm-command.c | 20 ++--- service/realm-daemon.c | 68 ++++++++++++--- service/realm-daemon.h | 2 + service/realm-debug.c | 187 ---------------------------------------- service/realm-debug.h | 93 -------------------- service/realm-diagnostics.c | 8 +- service/realm-ipa-discover.c | 6 +- service/realm-kerberos.c | 17 +--- service/realm-packages.c | 16 ++-- service/realm-provider.c | 4 +- service/realm-samba-enroll.c | 1 - service/realm-samba.c | 1 - service/realm-service-systemd.c | 14 ++- service/realm-service-upstart.c | 22 +++-- service/realm-service.c | 10 +-- 18 files changed, 102 insertions(+), 371 deletions(-) commit 3a988441e411a8e38f668edf1114397e1726a155 Author: Stef Walter Date: 2012-09-03 Big update for one-time-password and automatic joining * Add support for credential types 'secret' and 'none' * Use adcli to enroll when automatic or one-time-password * Add --one-time-password option to the realm command * Add --membership-software option to the realm command so caller can control what software is used to enroll. * Use ccache files directly where possible, rather than reading and writing them unnecessarily. * Support combining of package sets for installation. Unfortunately it was not possible to unintertwine these changes into separate commits. However we are still in an early stage in this project, and things should settle down once we have a stable release. dbus/org.freedesktop.realmd.xml | 18 +- dbus/realm-dbus-constants.h | 3 + service/Makefile.am | 1 + service/realm-adcli-enroll.c | 190 +++++++++++ service/realm-adcli-enroll.h | 53 ++++ service/realm-kerberos-membership.c | 13 +- service/realm-kerberos-membership.h | 33 +- service/realm-kerberos.c | 166 +++++++--- service/realm-kerberos.h | 4 +- service/realm-packages.c | 69 ++-- service/realm-packages.h | 2 +- service/realm-samba-enroll.c | 86 +---- service/realm-samba-enroll.h | 4 +- service/realm-samba.c | 52 ++- service/realm-sssd-ad.c | 416 ++++++++++++++++++------ service/realmd-debian.conf | 10 +- service/realmd-defaults.conf | 7 +- service/realmd-redhat.conf | 10 +- tools/Makefile.am | 5 +- tools/realm-client.c | 442 ++++++++++++++++++++++++++ tools/realm-client.h | 82 +++++ tools/realm-discover.c | 157 +++------ tools/realm-enroll.c | 612 ------------------------------------ tools/realm-join.c | 283 +++++++++++++++++ tools/realm-leave.c | 204 ++++++++++++ tools/realm-logins.c | 63 +++- tools/realm.c | 306 ++++++++---------- tools/realm.h | 17 +- 28 files changed, 2083 insertions(+), 1225 deletions(-) commit 65595235e949a36938b5b46128b755de38f3c194 Author: Stef Walter Date: 2012-09-03 Ignore temporarily DNS failures when discovering * These don't indicate a failed discovery, but just a lack of a realm. service/realm-kerberos-discover.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 151988745bdb8b7e1ff34ac718e9fab40f7f4502 Author: Stef Walter Date: 2012-09-03 Errors during IPA discover not treated as discovery failures * They're now treated as an indication of lack of IPA support on the server, not as an error to be propagated. service/realm-kerberos-discover.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 3dd23522a6dfdda207fe00cb2dc301f3612b6039 Author: Stef Walter Date: 2012-09-03 Handle case where IPA discovery meets an non-SSL server on port 443 * This is the case with NULLROUTE.EU.ORG service/realm-ipa-discover.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8f62400cab3c568f6059680d851fe47ad25c87f2 Author: Stef Walter Date: 2012-09-03 Add support for sending input to subprocesses * This will be needed to send a password to adcli service/realm-command.c | 61 ++++++++++++++++++++++++-------------------- service/realm-command.h | 1 + service/realm-samba-enroll.c | 6 +---- 3 files changed, 36 insertions(+), 32 deletions(-) commit 5c48df053a43e9318dfe9c24379f7b9be008f11f Author: Stef Walter Date: 2012-09-03 Remove unused DBus names from DBus policy file dbus/org.freedesktop.realmd.conf | 6 ------ 1 file changed, 6 deletions(-) commit 90cf155571b870c8a4ee0a636c03bd1f21c07b88 Author: Stef Walter Date: 2012-08-30 Remove the generic discover timeout in the 'all' provider * This used to be what allowed kerberos discovery to not block when a firewall was encountered. * Now that the kerberos discovery code is much more intelligent this is no longer needed. https://bugs.freedesktop.org/show_bug.cgi?id=53956 service/realm-all-provider.c | 30 ------------------------------ 1 file changed, 30 deletions(-) commit 82eb02effda746087eb8d7541126b8cded02b560 Author: Stef Walter Date: 2012-08-22 Add a generic kerberos provider * This discovers realms that aren't either IPA or Active Directory * The resulting realms are not enrollable https://bugs.freedesktop.org/show_bug.cgi?id=53958 service/Makefile.am | 1 + service/realm-daemon.c | 6 ++ service/realm-kerberos-provider.c | 137 ++++++++++++++++++++++++++++++++++++++ service/realm-kerberos-provider.h | 38 +++++++++++ service/realm-kerberos.c | 11 +++ 5 files changed, 193 insertions(+) commit b9b1605d195dec894c97b62efc48ed9285a7c4c5 Author: Stef Walter Date: 2012-08-22 Move construct 'provider' property into RealmKerberos base class * That way we can create RealmKerberos as a concrete class * Derived classes override and actually use the property https://bugs.freedesktop.org/show_bug.cgi?id=53958 service/realm-kerberos.c | 11 ++++++++++- service/realm-samba.c | 4 +--- service/realm-sssd.c | 4 +--- 3 files changed, 12 insertions(+), 7 deletions(-) commit 71f990fec7231dca1d391415825d7a38ce02527f Author: Stef Walter Date: 2012-08-22 Separate enrollment functionality into RealmKerberosMembership interface * And use presence of that interface in RealmKerberos to behave correctly in the absence of enrollment functionality https://bugs.freedesktop.org/show_bug.cgi?id=53958 service/Makefile.am | 1 + service/realm-kerberos-membership.c | 89 ++++++++++++++++++++ service/realm-kerberos-membership.h | 117 +++++++++++++++++++++++++++ service/realm-kerberos.c | 156 ++++++++++++------------------------ service/realm-kerberos.h | 73 ----------------- service/realm-samba.c | 40 +++++++-- service/realm-sssd-ad.c | 32 +++++--- service/realm-sssd-ipa.c | 68 ---------------- 8 files changed, 312 insertions(+), 264 deletions(-) commit 93ff5699e037ca322525eee67304418080a3fcf4 Author: Stef Walter Date: 2012-08-22 Remove unused variable in IPA discovery https://bugs.freedesktop.org/show_bug.cgi?id=53956 service/realm-ipa-discover.c | 1 - 1 file changed, 1 deletion(-) commit 7f3d0663f40917c49a03824fd35676de9f7d9e39 Author: Stef Walter Date: 2012-08-22 Run IPA discovery in parallel against multiple KDCs * Since we actually try to connect to the https port of the KDC this can timeout due to firewalls. * Set maximum timeout to 5 seconds for connection. * Try to connect to up to 3 KDCs in parallel, which should give us redundancy, and only take 5 seconds total when firewalled. https://bugs.freedesktop.org/show_bug.cgi?id=53956 service/realm-ipa-discover.c | 112 ++++++++++++++------------------------ service/realm-ipa-discover.h | 2 +- service/realm-kerberos-discover.c | 47 +++++++++------- 3 files changed, 69 insertions(+), 92 deletions(-) commit a8cb1f953df0d585304c41d37fea8cef6dfe6e10 Author: Stef Walter Date: 2012-08-22 Integrate kerberos discovery * Discover everything about a kerberos domain in one place rather than duplicating implementation in different providers. * This lets us consolidate logic, and coordinate between the different types of kerberos domains. https://bugs.freedesktop.org/show_bug.cgi?id=53956 dbus/realm-dbus-constants.h | 1 - service/Makefile.am | 2 +- service/realm-ad-discover.c | 455 --------------------------------- service/realm-ad-discover.h | 35 --- service/realm-discovery.c | 10 + service/realm-discovery.h | 4 + service/realm-ipa-discover.c | 130 +--------- service/realm-ipa-discover.h | 5 +- service/realm-kerberos-discover.c | 515 ++++++++++++++++++++++++++++++++++++++ service/realm-kerberos-discover.h | 35 +++ service/realm-samba-provider.c | 22 +- service/realm-samba.c | 1 - service/realm-sssd-ad-provider.c | 28 ++- service/realm-sssd-ad.c | 1 - service/realm-sssd-ipa-provider.c | 20 +- 15 files changed, 621 insertions(+), 643 deletions(-) commit d567b37e958f30c2248e60d6bed8013c2342a934 Author: Stef Walter Date: 2012-08-22 Add support for choosing client and server software * New 'realm discover' options --client-software and --server-software * Same options for 'realm join' * These options limit the discovery results to the relevant client and server software listed in the realm Details property. https://bugs.freedesktop.org/show_bug.cgi?id=53934 dbus/org.freedesktop.realmd.xml | 6 ++++++ service/realm-provider.c | 23 +++++++++++++++++++++++ service/realm-provider.h | 4 ++++ service/realm-samba-provider.c | 12 +++++++++++- service/realm-sssd-ad-provider.c | 21 ++++++++++++++++----- service/realm-sssd-ipa-provider.c | 12 +++++++++++- tools/realm-discover.c | 20 ++++++++++++++++---- tools/realm-enroll.c | 17 ++++++++++++++--- 8 files changed, 101 insertions(+), 14 deletions(-) commit 33d226d7745003eed3c3da0ceefdd9327bebf966 Author: Stef Walter Date: 2012-08-22 Pass Discover() options to the implementation vfuncs * Allow discover implementations to use the options passed in. https://bugs.freedesktop.org/show_bug.cgi?id=53934 service/realm-all-provider.c | 5 +++-- service/realm-provider.c | 5 +++-- service/realm-provider.h | 2 ++ service/realm-samba-provider.c | 1 + service/realm-sssd-ipa-provider.c | 1 + 5 files changed, 10 insertions(+), 4 deletions(-) commit de4eea4a4fe6df38b59a323c892e2bb55665342d Author: Stef Walter Date: 2012-08-22 Turn various DBus flag/option strings into constants https://bugs.freedesktop.org/show_bug.cgi?id=53934 dbus/realm-dbus-constants.h | 10 ++++++++++ service/realm-diagnostics.c | 2 +- service/realm-kerberos.c | 4 ++-- service/realm-samba-provider.c | 2 +- service/realm-samba.c | 6 +++--- service/realm-sssd-ad-provider.c | 2 +- service/realm-sssd-ad.c | 7 ++++--- service/realm-sssd-ipa.c | 4 ++-- tools/realm-enroll.c | 2 +- 9 files changed, 25 insertions(+), 14 deletions(-) commit 145ed26a9f46d597b447007f41d14bacfdd72d7a Author: Stef Walter Date: 2012-08-22 Add helper to build options to pass to realmd * realm_build_options() https://bugs.freedesktop.org/show_bug.cgi?id=53934 tools/realm-discover.c | 2 +- tools/realm-enroll.c | 7 ++----- tools/realm-logins.c | 4 ++-- tools/realm.c | 31 +++++++++++++++++++++++++++++++ tools/realm.h | 3 +++ 5 files changed, 39 insertions(+), 8 deletions(-) commit 5af87e0753441b70fa4c078393eb4ef52a794019 Author: Stef Walter Date: 2012-08-22 Add documentation for computer-ou Join() option https://bugs.freedesktop.org/show_bug.cgi?id=53889 dbus/org.freedesktop.realmd.xml | 3 +++ 1 file changed, 3 insertions(+) commit 520d90bcf04102fa616e27a88a4ed70249e90400 Author: Stef Walter Date: 2012-08-22 Add support for specifying a computer OU LDAP DN when joining * Now requires the openldap client libraries * Add new --computer-ou argument to 'realm join' * Support 'computer-ou' option passed to o.f.r.KerberosMembership.Join() * Format is in full LDAP DN format. * An administrator can include a section like this to specify a default computer-ou to join to: [the.example.com] join-computer-ou = OU=Workstations https://bugs.freedesktop.org/show_bug.cgi?id=53889 .gitignore | 1 + configure.ac | 16 +++++ service/Makefile.am | 3 + service/realm-kerberos.c | 20 ++++++ service/realm-kerberos.h | 3 + service/realm-samba-enroll.c | 29 +++++++- service/realm-samba-enroll.h | 1 + service/realm-samba-util.c | 166 +++++++++++++++++++++++++++++++++++++++++++ service/realm-samba-util.h | 29 ++++++++ service/realm-samba.c | 23 ++++-- service/realm-sssd-ad.c | 23 ++++-- tests/Makefile.am | 6 ++ tests/test-samba-ou-format.c | 80 +++++++++++++++++++++ tools/realm-enroll.c | 19 +++-- 14 files changed, 397 insertions(+), 22 deletions(-) commit 38bd162963c818528e73ea403b61a4e29be4ee97 Author: Stef Walter Date: 2012-08-22 Pass join/leave options to various kerberos membership implementations https://bugs.freedesktop.org/show_bug.cgi?id=53889 service/realm-kerberos.c | 41 ++++++++++++++++++++++------------------- service/realm-kerberos.h | 6 ++++++ service/realm-samba.c | 2 ++ service/realm-sssd-ad.c | 2 ++ service/realm-sssd-ipa.c | 2 ++ 5 files changed, 34 insertions(+), 19 deletions(-) commit 7157a27b807b13325b21840ce34924fb6b5fc4fa Author: Stef Walter Date: 2012-08-21 Add another samba net match string for permission denied service/realm-samba-enroll.c | 1 + 1 file changed, 1 insertion(+) commit 1433b8d2fabbb7671fd2a4cb33b9f2c27ee7d31b Author: Stef Walter Date: 2012-08-30 Don't require unstable glib * No longer necessary, and by using a stable release we can get more testing and development configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5632a448e671a7e41f8d2f63cefa7a03b7434f53 Author: Stef Walter Date: 2012-08-30 Fix source tag for async result in IPA discovery * This is unused by the current code service/realm-ipa-discover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ecb45f008fab1c4ad78682158eb4d1489a26f68f Author: Stef Walter Date: 2012-08-30 Use correct finish function when discovering SRV records * Missed during the move to using _msdcs SRV records i instead of SOA lookup service/realm-ad-discover.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit de2f59507cf7512835acf2c6ec66ade42b5efa6b Author: Stef Walter Date: 2012-08-20 Release version 0.7 NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) commit 41c5d6718b851511f435a49530de159e5085a6c6 Author: Stef Walter Date: 2012-08-17 Properly recognize samba4 net message when insufficient permission * We detect insufficient permission of the credentials used to join a domain. * Add one more such string to recognize, since net doesn't help us with a specific code. service/realm-samba-enroll.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7896218068af6cb5ef8a668e795c685bb3fd2e7e Author: Stef Walter Date: 2012-08-17 Add debug output for the discovery timeouts service/realm-all-provider.c | 3 +++ 1 file changed, 3 insertions(+) commit bbc0ca6cc40f399526e8d0043c0732e9edb9fa6c Author: Stef Walter Date: 2012-08-17 Fix typo in AuthenticationFailed error message dbus/org.freedesktop.realmd.xml | 4 ++-- dbus/realm-dbus-constants.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 32660b1dc5a9b267fd6df90be3c65f7bb4e0e858 Author: Stef Walter Date: 2012-08-17 The default access provider for Active Directory is 'simple' * So we can default to 'allow-permitted-logins' policy. service/realm-sssd-ad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc7bf6ed16e4eeaba1470df2706e028e42b69ea6 Author: Stef Walter Date: 2012-08-17 Remove unused realm_kerberos_parse_login() function service/realm-kerberos.c | 17 ----------------- service/realm-kerberos.h | 4 ---- 2 files changed, 21 deletions(-) commit 551c55d97bae99023225a7a32004f9864e1af37a Author: Stef Walter Date: 2012-08-14 Use %U and %D in the login formats * %U is to be replaced with the user name * %D is to be replaced with the domain name * We don't actually produce login formats with the %D domain code, so our internal code doesn't yet handle that. dbus/org.freedesktop.realmd.xml | 6 ++++-- service/realm-login-name.c | 7 ++++++- service/realm-samba.c | 4 ++-- service/realm-sssd.c | 2 +- tests/test-login-name.c | 10 +++++----- 5 files changed, 18 insertions(+), 11 deletions(-) commit ab59f3dbc57a647b4c4efabbb0ca2997e03bf22d Author: Stef Walter Date: 2012-08-17 Add DBus ObjectManager support to realmd * All objects are easily tracked as they come and go for implementations that want to expose all of realmd. * Provides an alternative to SupportedIntefaces for looking up which interfaces are supported at an object. dbus/org.freedesktop.realmd.xml | 4 + service/realm-all-provider.c | 42 +++++++-- service/realm-all-provider.h | 2 + service/realm-daemon.c | 49 +++++++---- service/realm-daemon.h | 2 + service/realm-kerberos.c | 118 +++++++++++-------------- service/realm-kerberos.h | 8 +- service/realm-provider.c | 179 ++++++++++++++------------------------ service/realm-provider.h | 13 ++- service/realm-samba-provider.c | 16 ++-- service/realm-samba-provider.h | 2 + service/realm-samba.c | 3 +- service/realm-sssd-ad-provider.c | 15 +++- service/realm-sssd-ad-provider.h | 2 + service/realm-sssd-ipa-provider.c | 15 +++- service/realm-sssd-ipa-provider.h | 2 + service/realm-sssd.c | 3 +- 17 files changed, 245 insertions(+), 230 deletions(-) commit 7014833468ac4e273d10bfcff7a96d5ecbb3fac8 Author: Stef Walter Date: 2012-08-17 Refactor the dbus interface after review * DBus interface needs to be more generic if realmd is to cover various kinds of realms. * Realms have a generic interface and a set of additional supported intefaces. * Change 'enrolled' terminology to 'configured' * Can deconfigure a realm in a generic way. * Can see how a realm is configured * Specific interfaces for different kinds of enrollment * Realms have a generic displayable name * Kerberos realms have clear properties for realm-name and domain-name dbus/org.freedesktop.realmd.xml | 428 ++++++++++++++++++++----------- dbus/realm-dbus-constants.h | 8 +- doc/Makefile.am | 2 + doc/html.css | 2 +- doc/realmd-docs.sgml | 4 +- service/org.freedesktop.realmd.policy.in | 6 +- service/realm-all-provider.c | 68 ++--- service/realm-discovery.c | 18 ++ service/realm-discovery.h | 3 + service/realm-errors.c | 4 +- service/realm-errors.h | 4 +- service/realm-kerberos.c | 313 ++++++++++++++++++---- service/realm-kerberos.h | 38 +++ service/realm-provider.c | 78 +++--- service/realm-provider.h | 6 +- service/realm-samba-provider.c | 23 +- service/realm-samba.c | 82 +++--- service/realm-sssd-ad-provider.c | 22 +- service/realm-sssd-ad.c | 61 ++--- service/realm-sssd-ipa-provider.c | 21 +- service/realm-sssd-ipa.c | 43 ++-- service/realm-sssd.c | 71 +++-- tools/realm-discover.c | 101 +++++--- tools/realm-enroll.c | 217 +++++++++++----- tools/realm-logins.c | 26 +- tools/realm.c | 99 ++++--- tools/realm.h | 14 +- 27 files changed, 1158 insertions(+), 604 deletions(-) commit 5788617c8b18ff110e74089f0d990968b5280b29 Author: Stef Walter Date: 2012-08-17 Automatically setup git commit hooks autogen.sh | 8 ++++++++ 1 file changed, 8 insertions(+) commit b8f751e0b0c318d220ce237c774962ca0de1643a Author: Stef Walter Date: 2012-08-16 doc: Don't go online to retrieve DTDs when processing docs doc/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 01e1eef7e3a9859b983ee656bea035be35af0b68 Author: Stef Walter Date: 2012-08-16 doc: Fix parallel build of documentation doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1468f9cc32d2ca025fb69215af333a60d36bb55d Author: Stef Walter Date: 2012-08-16 doc: Fix 'make clean' for documentation doc/Makefile.am | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit bc8c76f357123c509ae29fac86d94c0405ac008c Author: Stef Walter Date: 2012-08-14 Add 'make upload-doc' target for uploading documentation Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit a62ddb3f64c3dc24556cec712034dff3b3cab4f9 Author: Stef Walter Date: 2012-08-10 Fix make distcheck with documentation .gitignore | 2 ++ Makefile.am | 3 ++- doc/Makefile.am | 22 +++++++++++++--------- doc/realmd-docs.sgml | 8 ++++---- 4 files changed, 21 insertions(+), 14 deletions(-) commit 6824ea0781c54722e1c7f591c43d765888f8782a Author: Stef Walter Date: 2012-08-10 Add raw dbus interface to documentation doc/Makefile.am | 17 +++++++++-- doc/escape-xml-to-text.xsl | 73 ++++++++++++++++++++++++++++++++++++++++++++++ doc/realmd-docs.sgml | 13 +++++++-- 3 files changed, 99 insertions(+), 4 deletions(-) commit 094f97b0bdba1f14edf64ec0ffe33485b78d3021 Author: Stef Walter Date: 2012-08-10 Build the interface documentation in the doc directory * and not in the dbus directory. * Cleaner dbus/Makefile.am | 4 ---- doc/Makefile.am | 14 ++++++++++---- doc/realmd-docs.sgml | 6 +++--- 3 files changed, 13 insertions(+), 11 deletions(-) commit fe82a3b717f5283584be31d41e672d23258ce2c4 Author: Stef Walter Date: 2012-08-10 Add documentation for the DBus interface .gitignore | 14 ++ Makefile.am | 2 +- autogen.sh | 2 + configure.ac | 3 + dbus/Makefile.am | 16 +- dbus/org.freedesktop.realmd.xml | 465 +++++++++++++++++++++++++++++++++++----- doc/Makefile.am | 47 ++++ doc/html.css | 93 ++++++++ doc/realmd-docs.sgml | 20 ++ doc/version.xml.in | 1 + 10 files changed, 609 insertions(+), 54 deletions(-) commit 1d8f9707efb4d9935aff956435a29754922e111c Author: Stef Walter Date: 2012-08-10 Use 'operation' instead of 'operation-id' for optional argument * This is cleaner and is easier to describe in the documentation service/realm-diagnostics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 90e22298df26c8af3bc9ca24140ecaab2ca87ea7 Author: Stef Walter Date: 2012-08-10 Use a single 'Failed' error code rather than one per message * Remove the EnrollFailed, UnenrollFailed and DiscoveryFailed error codes and replace with with Failed dbus/realm-dbus-constants.h | 7 +++---- service/realm-errors.c | 4 +--- service/realm-errors.h | 4 +--- service/realm-kerberos.c | 4 ++-- service/realm-provider.c | 2 +- 5 files changed, 8 insertions(+), 13 deletions(-) commit 37ab274ec55bf0bf7a9b7b6f68e2893242c3abf4 Author: Stef Walter Date: 2012-08-09 No need to install separate service files for each service * We no longer claim these names, and assume that everything is running in the realmd process. dbus/Makefile.am | 5 +---- dbus/org.freedesktop.realmd.Samba.service.in | 4 ---- dbus/org.freedesktop.realmd.SssdAd.service.in | 4 ---- dbus/org.freedesktop.realmd.SssdIpa.service.in | 4 ---- service/realm-sssd-ipa-provider.c | 1 - 5 files changed, 1 insertion(+), 17 deletions(-) commit e06d3a2f864051130399a7d16ca828cd56afb19d Author: Stef Walter Date: 2012-08-09 Don't complain in the diagnostics about expected IPA discovery failure * Connection refused, timed out, and related are expected ways that an IPA discovery can fail. service/realm-ipa-discover.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 92614a42c85b192fcb9457329bad1f3123b44e7d Author: Stef Walter Date: 2012-08-09 On redhat samba4 winbind and net commands instead of samba3 * Fedora has a nearly stable samba4. service/realmd-redhat.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 06e3ac221950b131cc99e7faf8cad17dd05ea35b Author: Stef Walter Date: 2012-08-09 Support multiple login formats per realm * In the case of AD this would be the long/short login formats dbus/org.freedesktop.realmd.xml | 6 ++--- service/realm-kerberos.c | 28 ++++++++++----------- service/realm-login-name.c | 41 +++++++++++++++++-------------- service/realm-login-name.h | 4 +-- service/realm-samba.c | 11 +++++---- service/realm-sssd.c | 16 ++++++------ tests/test-login-name.c | 54 +++++++++++++++++++++++++++++------------ tools/realm-discover.c | 4 ++- 8 files changed, 98 insertions(+), 66 deletions(-) commit a2377aa2605b5669f46d2d9865587a54bf1b6fb6 Author: Stef Walter Date: 2012-08-08 We use the terminology 'owner' instead of 'who' in creds * Changed most of it before, just one last straggler dbus/org.freedesktop.realmd.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0e8ce7815e63ee8e300a162be58e34348cd6d2b7 Author: Stef Walter Date: 2012-08-03 Bump version number configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5406f2d8cc67b644d9ab9c5a5a8c45c5124e6ecf Author: Stef Walter Date: 2012-08-03 Fix the release upload path Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1b4ab68e5def95f807fe9aea43b39fbfefe0190b Author: Stef Walter Date: 2012-08-03 Release version 0.6 NEWS | 8 ++++++++ po/POTFILES.in | 11 +++++++++++ 2 files changed, 19 insertions(+) commit 256f1a428586de3a14608af9c4e5f8c004e8eab1 Author: Stef Walter Date: 2012-08-02 Switch default AD client to sssd service/realmd-defaults.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 46ac85091cb600e476e2e376b4568ecfd6f93168 Author: Stef Walter Date: 2012-07-31 Bump version number configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cde46e6884fb027f6e54d04f9efec7557d469b1b Author: Stef Walter Date: 2012-07-31 Make sure callers get properly notified about property changes * We were blocking the lower level GObjectClass.notify callbacks and thus had regressed on notifying callers about property changes service/realm-samba.c | 2 ++ service/realm-sssd.c | 2 ++ 2 files changed, 4 insertions(+) commit acc7a2ccd9d14f9ef589ab37bc335f716f92f708 Author: Stef Walter Date: 2012-07-31 Fix double free of memory service/realm-samba.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 853308e5c56ae7bb13aabb1c0fbcda2e261f5555 Author: Stef Walter Date: 2012-07-30 Support building with automake 1.12.x autogen.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 43a878acd8228726f8a781f5edbd6f0eeef973c5 Author: Stef Walter Date: 2012-07-30 Change default AD client back to winbind for now * SSSD breaks on rawhide in strange ways, will research service/realm-samba.c | 2 +- service/realmd-defaults.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 3bde274d8746c0bf55b6707cc12be1513e3ee971 Author: Stef Walter Date: 2012-07-30 Remove warning when calls are made without an operation id service/realm-diagnostics.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 515473c356aca81b676b9dac176c88eb1660836b Author: Stef Walter Date: 2012-07-28 Stub out API for Cancelling operations * Actual cancellation is not yet implemented, but trying to get API to a complete state. dbus/org.freedesktop.realmd.xml | 4 ++++ service/realm-daemon.c | 11 +++++++++++ 2 files changed, 15 insertions(+) commit 4a14fb81c536a6792f0b8136d0633f6368f2c3d1 Author: Stef Walter Date: 2012-07-28 Pass the operation_id in the options argument * And add options a{sv} arguments to relevant methods * operation-id is optional and can be missing from options dbus/org.freedesktop.realmd.xml | 7 ++----- service/realm-ad-discover.c | 6 +++--- service/realm-diagnostics.c | 16 ++++++++++------ service/realm-diagnostics.h | 6 +++--- service/realm-kerberos.c | 14 ++++++-------- service/realm-provider.c | 4 ++-- tools/realm-discover.c | 9 +++++++-- tools/realm-enroll.c | 14 ++++++++------ tools/realm-logins.c | 18 ++++++++++++++---- 9 files changed, 55 insertions(+), 39 deletions(-) commit d10d9ec579dd037b9fb4ab51df9f932f2519041a Author: Stef Walter Date: 2012-07-28 Add SetLocale to Service DBus interface * And track the locales for each client. * Add lots of translatable messages. * We don't yet properly setlocale() in the daemon. Need to figure out how to do that in a threadsafe way. dbus/org.freedesktop.realmd.xml | 4 + service/Makefile.am | 1 + service/realm-command.c | 4 +- service/realm-daemon.c | 177 +++++++++++++++++++++++++--------------- service/realm-daemon.h | 6 ++ service/realm-kerberos.c | 34 ++++---- service/realm-provider.c | 4 +- service/realm-samba.c | 11 +-- service/realm-sssd-ad.c | 11 +-- service/realm-sssd-config.c | 4 +- tools/Makefile.am | 1 + tools/realm-discover.c | 17 ++-- tools/realm-enroll.c | 45 +++++----- tools/realm-logins.c | 17 ++-- tools/realm.c | 37 ++++++--- 15 files changed, 228 insertions(+), 145 deletions(-) commit 458627c17a61a9c2fdb47811a7eee716605c4c7f Author: Stef Walter Date: 2012-07-28 Global diagnostics signal. Refactor stuff into 'Service' interface * New 'Service' DBus interface, instead of 'Daemon' * Move diagnostics stuff to it. * Make --verbose work reliably in the realm tool dbus/org.freedesktop.realmd.xml | 28 ++++++------- dbus/realm-dbus-constants.h | 3 +- service/realm-all-provider.c | 4 +- service/realm-daemon.c | 8 ++-- service/realm-diagnostics.c | 12 +++--- tools/realm-discover.c | 79 +++++++++++++----------------------- tools/realm-enroll.c | 88 +++++++++++++++-------------------------- tools/realm-logins.c | 71 +++++++++++++++++++++++++++------ tools/realm.c | 53 ++++++++++++++++++++++--- tools/realm.h | 5 ++- 10 files changed, 193 insertions(+), 158 deletions(-) commit c1ef1acb837ad7c7001765b8abeded1d3f29c39f Author: Stef Walter Date: 2012-07-27 Remove support for out of process providers * This just overcomplicates everything. Happy to accept other providers into the tree. * No more provider files needed dbus/Makefile.am | 6 - dbus/org.freedesktop.realmd.Samba.provider | 4 - dbus/org.freedesktop.realmd.SssdAd.provider | 4 - dbus/org.freedesktop.realmd.SssdIpa.provider | 4 - dbus/org.freedesktop.realmd.xml | 5 +- dbus/realm-dbus-constants.h | 2 + service/realm-all-provider.c | 317 ++++----------------------- service/realm-all-provider.h | 5 + service/realm-daemon.c | 58 ++++- service/realm-provider.c | 172 +++++---------- service/realm-provider.h | 17 +- service/realm-samba-provider.c | 34 ++- service/realm-sssd-ad-provider.c | 34 ++- service/realm-sssd-ipa-provider.c | 34 ++- tools/realm-discover.c | 7 +- tools/realm.c | 5 +- 16 files changed, 261 insertions(+), 447 deletions(-) commit 15cf8e7e2a91b99a5f8e15bb07f18774113aaaf2 Author: Stef Walter Date: 2012-07-24 Use GDBusInterfaceSkeleton properties * This way the GDBusinterface property accessors work without having to override the interface. * Update realm properties correctly service/realm-samba.c | 91 ++++++++++++++++++++---------------------------- service/realm-sssd-ipa.c | 7 ---- service/realm-sssd.c | 52 +++++++-------------------- 3 files changed, 50 insertions(+), 100 deletions(-) commit fd0444aa007853bd1eff7e7584af8275c5e9a399 Author: Stef Walter Date: 2012-07-24 Fix use after free when removing a config parameter * In RealmIniConfig when removing a config parameter, we didn't remove it from the parameter hashtable. service/realm-ini-config.c | 2 ++ 1 file changed, 2 insertions(+) commit ad41424b8a3fdeb909e3ada561b214ebfbdbefa6 Author: Stef Walter Date: 2012-07-24 Rework the way credentials are passed to realmd * We need password credentials for some methods of joining (like 'net ads join' because samba3 doesn't support AES kerberos stuff), or IPA (because ipa-client-install doesn't support being passed a ccache). * Also add but don't yet implement support for empty credentials (used for automatic enrolling) and one time passwords. https://bugs.freedesktop.org/show_bug.cgi?id=52390 dbus/org.freedesktop.realmd.xml | 46 +-- service/realm-errors.c | 11 + service/realm-errors.h | 4 + service/realm-kerberos.c | 811 ++++++++++++++++++++++++++-------------- service/realm-kerberos.h | 123 ++++-- service/realm-samba-enroll.h | 9 + service/realm-samba.c | 108 +++--- service/realm-sssd-ad.c | 98 +++-- service/realm-sssd-ipa.c | 15 +- tools/realm-enroll.c | 132 +++++-- tools/realm.c | 20 + tools/realm.h | 3 + 12 files changed, 927 insertions(+), 453 deletions(-) commit 375175f39652804bfb7e3abd6cd9bc533c6cbb7c Author: Stef Walter Date: 2012-07-24 Add a debug flag for leaving temp files around service/realm-debug.c | 1 + service/realm-debug.h | 3 ++- service/realm-kerberos.c | 3 ++- service/realm-samba-enroll.c | 4 +++- 4 files changed, 8 insertions(+), 3 deletions(-) commit d48aaf2034912511b1d3d803d9fffceff9e0bf5b Author: Stef Walter Date: 2012-07-24 Set the new path for uploading releases https://bugs.freedesktop.org/show_bug.cgi?id=50960 Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9079724f38fa3566ef7ae90481e2bcd5e193536e Author: Stef Walter Date: 2012-07-18 Fix dbus service files for various providers ... and add one for SssdIpa which was missing dbus/Makefile.am | 3 ++- dbus/org.freedesktop.realmd.Samba.service.in | 2 +- dbus/org.freedesktop.realmd.SssdAd.service.in | 2 +- dbus/org.freedesktop.realmd.SssdIpa.service.in | 4 ++++ 4 files changed, 8 insertions(+), 3 deletions(-) commit f1720129742fac6bfc94805895fe064d5183d1ae Author: Stef Walter Date: 2012-07-18 Prevent piling up of dbus error codes in the GError message service/realm-provider.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 935050ed77791be4f201bd4312279dabfd5760f4 Author: Stef Walter Date: 2012-07-18 Clearer message when IPA discovery fails due to firewall service/realm-ipa-discover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 493ad549af8e5f17cfe6b79801d74699dfc2087c Author: Stef Walter Date: 2012-07-18 Register dbus error domain correctly on realmd startup service/realm-daemon.c | 5 +++++ 1 file changed, 5 insertions(+) commit 8aa3a494080bda75c36ed2682dc4da1480f3f874 Author: Stef Walter Date: 2012-07-18 Reset the configured realm in samba registry before join * Otherwise its used to try and connect to the domain service/realm-samba-enroll.c | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) commit 9bcb3fea5d7c9ad859308e168d58e775941d864f Author: Stef Walter Date: 2012-07-18 Fix innocuous warning about uninitialized variable being used service/realm-ini-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 105aa6ee87ee5c468869b852aa6091c8b961c14f Author: Stef Walter Date: 2012-07-18 Release version 0.5 NEWS | 10 ++++++++++ configure.ac | 2 +- tools/Makefile.am | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) commit b371e1a61f56415177bc3e93fb09410fce45b610 Author: Stef Walter Date: 2012-07-17 Implement concept of a login policy * There are three policies 'allow-any-login' 'allow-permitted-logins' and 'deny-any-login' * The Samba provider only supports allow-any-login * Change the dbus interface so modifying LoginPolicy and LoginsPermitted can be done together. * Add 'realm deny' and 'realm permit' commands dbus/org.freedesktop.realmd.xml | 15 ++-- dbus/realm-dbus-constants.h | 4 ++ service/realm-kerberos.c | 71 ++++++++++++++++--- service/realm-kerberos.h | 15 +++- service/realm-login-name.c | 5 +- service/realm-login-name.h | 3 +- service/realm-samba.c | 21 +++--- service/realm-sssd.c | 79 +++++++++++++++++---- tests/test-login-name.c | 28 +++++++- tools/Makefile.am | 1 + tools/realm-discover.c | 12 +++- tools/realm-enroll.c | 23 +----- tools/realm-logins.c | 151 ++++++++++++++++++++++++++++++++++++++++ tools/realm.c | 90 +++++++++++++++++++++++- tools/realm.h | 10 +++ 15 files changed, 460 insertions(+), 68 deletions(-) commit 081fbb7674b59fb7803adea8e4fadeab4852bad9 Author: Stef Walter Date: 2012-07-17 Fix bug in parsing 'realm' command from arguments tools/realm.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 398fbf29edee478cc25aa2111a05c0a41a8e5126 Author: Stef Walter Date: 2012-07-17 Add semi-transactional API for changing INI files * Basically we want to prevent firing off the 'changed' signal on RealmIniConfig while modifying. Wait until done. service/realm-ini-config.c | 73 ++++++++++++++++++++++++++++++++++++++++----- service/realm-ini-config.h | 8 +++++ service/realm-sssd-config.c | 9 +++--- 3 files changed, 78 insertions(+), 12 deletions(-) commit 6bc19bd7d9790868ce01220742664bb8ac0978fe Author: Stef Walter Date: 2012-07-17 Change the default idle timeout for the daemon service/realm-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 00e477c93b95dae798c4a5cc9149655b2d3245c8 Author: Stef Walter Date: 2012-07-12 Keep daemon alive as long any client that made a method call is around * Add a ReleaseDaemon() call which allows a client to act like it went away. To be used as an optimization in one or two long running clients, like perhaps gdm. dbus/org.freedesktop.realmd.xml | 10 ++++ service/realm-daemon.c | 129 +++++++++++++++++++++++++++++++++------- service/realm-daemon.h | 4 +- tests/release-daemon.py | 41 +++++++++++++ 4 files changed, 160 insertions(+), 24 deletions(-) commit 9d355ac3187624703f53bb00466d1064a9154506 Author: Stef Walter Date: 2012-07-12 Switch to the new sssd ad providers service/realm-sssd-ad-provider.c | 2 +- service/realm-sssd-ad.c | 20 ++++++-------------- 2 files changed, 7 insertions(+), 15 deletions(-) commit c610f122bf8af3396b58d34400d4e89285facd66 Author: Stef Walter Date: 2012-07-12 Cleanup the output of 'realm list' and 'realm discover' tools/realm-discover.c | 97 ++++++++++++++++++++++++++++++++++++++++++++++---- tools/realm-enroll.c | 75 -------------------------------------- 2 files changed, 90 insertions(+), 82 deletions(-) commit 14cd7ba01c99c3f32d34ae2052c2147f815969b0 Author: Stef Walter Date: 2012-07-12 Make certain tool helper functions non-static tools/realm-discover.c | 32 +++-------------------- tools/realm-enroll.c | 70 +++++++------------------------------------------- tools/realm.c | 53 ++++++++++++++++++++++++++++++++++++++ tools/realm.h | 25 ++++++++++++------ 4 files changed, 82 insertions(+), 98 deletions(-) commit b91c75f16af63f269d176795c878678a8dcdc593 Author: Stef Walter Date: 2012-07-11 Add correct commands for enabling sssd in pam and nsswitch.conf service/realmd-redhat.conf | 2 ++ 1 file changed, 2 insertions(+) commit 2219945378eb063e39838bb2e01f537a5976bac8 Author: Stef Walter Date: 2012-07-11 Fix removal of domain from sssd.conf service/realm-sssd-ad.c | 2 +- service/realm-sssd.c | 7 +++++++ service/realm-sssd.h | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) commit d6b70fbba1a8acfbed9a616cc4c93aec530edd3a Author: Stef Walter Date: 2012-07-11 Use correct _finish function service/realm-sssd-ad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c8665949c8815a9ee0ceed06b0e6dc27e4e1d37e Author: Stef Walter Date: 2012-07-11 Use umask() correctly * Had inverted the mask service/realm-ini-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 69631377906935b817160e5eca2f321e5e922c02 Author: Stef Walter Date: 2012-07-11 Add logic to make one AD provider the 'default' * Realms discovered by the default will be returned first service/realm-provider.c | 15 +++++++++++++++ service/realm-provider.h | 3 +++ service/realm-samba-provider.c | 4 +++- service/realm-sssd-ad-provider.c | 4 +++- service/realmd-defaults.conf | 3 +++ 5 files changed, 27 insertions(+), 2 deletions(-) commit 63cd4566ab2478a40fd8e448cea0787849522406 Author: Stef Walter Date: 2012-07-11 Strip remote dbus error codes when displaying with 'realm' tool tools/realm-discover.c | 1 + tools/realm-enroll.c | 1 + 2 files changed, 2 insertions(+) commit d06bdfaadcedd85d56440bc0041069c5c50391a6 Author: Stef Walter Date: 2012-07-11 Fix g_object_unref on NULL * Were trying to get the RealmSamba from the current async result rather than the outer one. service/realm-samba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 81f2b25a715081cd4c804fe8ded886d2cc68605c Author: Stef Walter Date: 2012-07-11 Add a timeout to discovery if already have results * If one provider gives us results on a domain, and other providers take a really long time, then ignore the tardy fellows. service/realm-all-provider.c | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) commit b1e5c9306cd2ed0be4e95876ab1e9c3c3359f523 Author: Stef Walter Date: 2012-07-11 Add IPA discovery and an IPA provider * Enrolling isn't implemented yet dbus/Makefile.am | 3 +- dbus/org.freedesktop.realmd.SssdIpa.provider | 4 + dbus/org.freedesktop.realmd.conf | 2 + service/Makefile.am | 3 + service/realm-daemon.c | 2 + service/realm-ipa-discover.c | 736 +++++++++++++++++++++++++++ service/realm-ipa-discover.h | 35 ++ service/realm-sssd-ipa-provider.c | 189 +++++++ service/realm-sssd-ipa-provider.h | 36 ++ service/realm-sssd-ipa.c | 137 +++++ service/realm-sssd-ipa.h | 37 ++ 11 files changed, 1183 insertions(+), 1 deletion(-) commit 12a984e4bb36509e8988f523b8d89779dbff8bcb Author: Stef Walter Date: 2012-07-11 Include appropriate system service name for sssd service/realmd-defaults.conf | 1 + 1 file changed, 1 insertion(+) commit 7cbf1adfb98419bbf5b5a7ae4913c70d8bada96e Author: Stef Walter Date: 2012-07-11 Prevent samba net command from prompting for passwords * Make sure to pass '-k' to the samba net process * We'd rather fail in this case then hang waiting for a password service/realm-samba-enroll.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit bbab55d9ab6f7ce9fadcc40ccc59092bdeed7d53 Author: Stef Walter Date: 2012-07-11 Factor out the building of discovery server variant * So it can be used by the IPA code later service/realm-ad-discover.c | 35 +++++++++-------------------------- service/realm-discovery.c | 29 +++++++++++++++++++++++++++++ service/realm-discovery.h | 4 ++++ 3 files changed, 42 insertions(+), 26 deletions(-) commit 4a3a1adc44493cbcf03aac9065620837776f3dc7 Author: Stef Walter Date: 2012-07-11 Factor out the common bits of the sssd realm * RealmSssd is a new base class for RealmSssdAd and the future RealmSssdIpa service/Makefile.am | 1 + service/realm-sssd-ad.c | 366 ++++------------------------------------------ service/realm-sssd-ad.h | 3 - service/realm-sssd.c | 378 ++++++++++++++++++++++++++++++++++++++++++++++++ service/realm-sssd.h | 54 +++++++ 5 files changed, 459 insertions(+), 343 deletions(-) commit 129cf2310931b9fa777bda3a06dca9013aa336eb Author: Stef Walter Date: 2012-07-06 One 'realm' tool with various sub-commands .gitignore | 1 + tools/Makefile.am | 8 ++-- tools/realm-discover.c | 14 +++--- tools/realm-enroll.c | 120 +++++++++++++++++++++++++++++++++++-------------- tools/realm.c | 77 +++++++++++++++++++++++++++++++ tools/realm.h | 36 +++++++++++++++ 6 files changed, 213 insertions(+), 43 deletions(-) commit 3a867cf6a6ae082d7a036c7c333c2b7ec97920bb Author: Stef Walter Date: 2012-07-06 Write out sssd.conf as 0600 permissions service/realm-ini-config.c | 16 ++++++++++++++-- service/realm-ini-config.h | 1 + service/realm-sssd-config.c | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) commit 78a20079155ea9737d3717ea271bd03a106e812c Author: Stef Walter Date: 2012-07-06 Only discover once for active directory when multiple providers service/realm-ad-discover.c | 364 +++++++++++++++++++++++++++++++++----------- service/realm-diagnostics.c | 6 + service/realm-diagnostics.h | 2 + 3 files changed, 281 insertions(+), 91 deletions(-) commit de0486cd6370ba0249509e6da4244b64cd5ea876 Author: Stef Walter Date: 2012-07-06 Remove double-release of realm proxy on failure tools/realm-enroll.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit b9e2274f6e5092ed03c6626aab8e31d8319525e7 Author: Stef Walter Date: 2012-07-04 Fix memory leak service/realm-sssd-ad.c | 1 + 1 file changed, 1 insertion(+) commit 280a16d80f9d3772373b867b19d4cd127548b169 Author: Stef Walter Date: 2012-07-04 Enable nss/pam when enabling sssd service/realm-sssd-ad-provider.c | 7 ++++++- service/realm-sssd-ad.c | 38 +++++++++++++++++++++++++++++++++----- 2 files changed, 39 insertions(+), 6 deletions(-) commit 3fe9e067d52875b0c0d0d0745ea93568a8a19362 Author: Stef Walter Date: 2012-07-04 Clearer message when failed to configure pam/nss for winbind service/realm-samba-winbind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 32dcf806867a547c4a2d47e504c737a130c5d399 Author: Stef Walter Date: 2012-07-03 Add the SSSD AD realm provider * Uses samba's 'net' to enroll, and then sets up sssd dbus/Makefile.am | 6 +- dbus/org.freedesktop.realmd.Samba.service.in | 2 +- dbus/org.freedesktop.realmd.SssdAd.provider | 4 + dbus/org.freedesktop.realmd.SssdAd.service.in | 4 + dbus/org.freedesktop.realmd.conf | 2 + service/Makefile.am | 2 + service/realm-daemon.c | 2 + service/realm-sssd-ad-provider.c | 185 +++++++ service/realm-sssd-ad-provider.h | 36 ++ service/realm-sssd-ad.c | 759 ++++++++++++++++++++++++++ service/realm-sssd-ad.h | 40 ++ service/realmd-debian.conf | 6 + service/realmd-redhat.conf | 4 + 13 files changed, 1049 insertions(+), 3 deletions(-) commit 3103b10cf7fbd664c0e85367bcbaee26dae168d6 Author: Stef Walter Date: 2012-07-03 Add functions for loading sssd.conf files * Add appropriate tests for it .gitignore | 1 + service/Makefile.am | 1 + service/realm-sssd-config.c | 175 +++++++++++++++++++++++++++ service/realm-sssd-config.h | 47 ++++++++ service/realmd-defaults.conf | 1 + tests/Makefile.am | 8 ++ tests/test-sssd-config.c | 273 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 506 insertions(+) commit faa31c39517839181c57d73ef6eafa3d92a37052 Author: Stef Walter Date: 2012-07-03 Find enrolled realms when --leave in realm-enroll * Don't just discover any domain to --leave, instead look down the list for discovered realms tools/realm-enroll.c | 150 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 100 insertions(+), 50 deletions(-) commit c688e3a3ead52c7975bef11545679793b413c849 Author: Stef Walter Date: 2012-07-03 Don't run file watch test when running in slow mode * And fix the program name of test-ini-config tests tests/test-ini-config.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit e01280a04ac9e7ded1374bc42f34322c882c649c Author: Stef Walter Date: 2012-07-03 Add function to simply restart a service, without enabling * Rename the instance functions while doing so service/realm-service.c | 160 ++++++++++++++++++++++++++++++++++++------------ service/realm-service.h | 98 +++++++++++++++-------------- 2 files changed, 173 insertions(+), 85 deletions(-) commit c6e077b96587731578255c0554720b8ea09f9b37 Author: Stef Walter Date: 2012-07-03 Respect the service name passed into realm_service_new * Previously hard coded to 'winbind' accidentally service/realm-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 62e09155b0ed243226efd60faccd88504f978c18 Author: Stef Walter Date: 2012-07-03 Remove samba specific config change functions * And use the ini functions directly. * This has the benefit of reflecting changes immediately in loaded config objects. * Have realm_samba_enroll_async() return the settings that need to be set in smb.conf rather than setting directly. This also helps later implementation of the sssd provider service/realm-samba-config.c | 124 ------------------------------------------ service/realm-samba-config.h | 15 ----- service/realm-samba-enroll.c | 43 +++++++-------- service/realm-samba-enroll.h | 1 + service/realm-samba-winbind.c | 26 +++++---- service/realm-samba-winbind.h | 6 +- service/realm-samba.c | 50 +++++++++++++++-- 7 files changed, 84 insertions(+), 181 deletions(-) commit 76e5f12bd03c1d4a8dec65cacc3b94957addd130 Author: Stef Walter Date: 2012-07-03 Respect package set passed into realm_packages_install_xx() * And update the package-set names we have in our config files service/realm-packages.c | 7 ++++--- service/realmd-debian.conf | 2 +- service/realmd-defaults.conf | 2 ++ service/realmd-redhat.conf | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) commit e2a214bbceec34284f65861136b535660eed4ab9 Author: Stef Walter Date: 2012-07-03 Mark realm_ini_config_change() varargs as null terminated * So we get warnings if used incorrectly service/realm-ini-config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b229a2d851caddee218341efad6355e5d07b2cf0 Author: Stef Walter Date: 2012-07-03 Expose the code that adds/removes from a config list * So that other code can use this as a building block service/realm-ini-config.c | 107 +++++++++++++++++++++++---------------------- service/realm-ini-config.h | 7 +++ tests/test-ini-config.c | 12 ++--- 3 files changed, 68 insertions(+), 58 deletions(-) commit a3b0cb926756876c73c226654759d7935384a122 Author: Stef Walter Date: 2012-07-03 Handle filenames in RealmIniConfig better * Track filenames after a write * Accept NULL to both read/write functions and use the previously used filename service/realm-ini-config.c | 20 ++++++++++++++------ tests/test-ini-config.c | 1 - 2 files changed, 14 insertions(+), 7 deletions(-) commit acc7d4f9e71d0285abf87096551a248fe9662862 Author: Stef Walter Date: 2012-07-03 Don't include comments as part of previous config section * Comments often come before a section header, so we treat them as part of the next section, if no values come inbetween service/realm-ini-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5c3b227b3d8de21b634a31706008f2d48b6f9b3 Author: Stef Walter Date: 2012-07-03 Add realm_ini_config_remove_section() to remove config sections service/realm-ini-config.c | 47 +++++++++++++++++++++++++- service/realm-ini-config.h | 3 ++ tests/test-ini-config.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 133 insertions(+), 1 deletion(-) commit d982879331bf483ef29b676d0412bfd8be5102c5 Author: Stef Walter Date: 2012-07-03 Add realm_ini_config_have_section() * To check for whether a section exists in config file service/realm-ini-config.c | 10 ++++++++++ service/realm-ini-config.h | 3 +++ tests/test-ini-config.c | 13 +++++++++++++ 3 files changed, 26 insertions(+) commit 4530e213274e9f9bb4198a0404e4239d99680cf8 Author: Stef Walter Date: 2012-07-03 Add function for writing ini config to a string * realm_ini_config_write_string() * And use in tests as appropriate. service/realm-ini-config.c | 29 ++++++++-- service/realm-ini-config.h | 2 + tests/test-ini-config.c | 139 ++++++++------------------------------------- 3 files changed, 51 insertions(+), 119 deletions(-) commit d63eacd79fc757858330612ddbc83e3cc62f604d Author: Stef Walter Date: 2012-07-03 Fix bug config line added after last wouldn't get serialized correctly service/realm-ini-config.c | 3 +++ 1 file changed, 3 insertions(+) commit 810c82dcb39e452d26670a679b828ac7cd7ec3ab Author: Stef Walter Date: 2012-07-03 Fix null pointer dereference when discovery fails service/realm-ad-discover.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b584fc15ab076a31bf820c8886f0e48a3c2c4878 Author: Stef Walter Date: 2012-07-03 Support parsing logins according to arbittary LoginFormat * Needed for the sssd provider * Factor out the parsing and formatting of logins * Test this stuff .gitignore | 1 + service/Makefile.am | 1 + service/realm-kerberos.c | 51 +++++++++++++++++ service/realm-kerberos.h | 11 ++++ service/realm-login-name.c | 124 +++++++++++++++++++++++++++++++++++++++ service/realm-login-name.h | 37 ++++++++++++ service/realm-samba.c | 48 ++++------------ tests/Makefile.am | 6 ++ tests/test-login-name.c | 140 +++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 381 insertions(+), 38 deletions(-) commit ef8145f26218cfae0eff3019568f3537474f986a Author: Stef Walter Date: 2012-07-03 Changing permitted logins should be asynchronous * Because it can require restarting a service service/realm-kerberos.c | 62 +++++++++++++++++++++++++++++------------------- service/realm-kerberos.h | 8 ++++++- service/realm-samba.c | 24 ++++++++++++++++++- 3 files changed, 67 insertions(+), 27 deletions(-) commit 5c247135e9f6b85f89599556de562d737ae1b107 Author: Stef Walter Date: 2012-07-03 Refactor how providers startup * Most of the code is in RealmProvider now, with derived providers setting their dbus_name and dbus_path on RealmProviderClass dbus/realm-dbus-constants.h | 6 -- service/realm-all-provider.c | 76 ++------------- service/realm-all-provider.h | 4 - service/realm-daemon.c | 7 +- service/realm-provider.c | 208 ++++++++++++++++++++++++++++++++++------- service/realm-provider.h | 8 ++ service/realm-samba-provider.c | 78 +++------------- service/realm-samba-provider.h | 4 - tools/realm-discover.c | 4 +- tools/realm-enroll.c | 8 +- 10 files changed, 210 insertions(+), 193 deletions(-) commit 8575685f6c14990d4062c3e2eb5d5f92b72eda64 Author: Stef Walter Date: 2012-06-21 Release version 0.4 NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit fd8db9355784e768784ee9e42de8a1a8ea1e2238 Author: Stef Walter Date: 2012-06-21 Licensing fixes * Simpler license header for realm-command.[ch] * Cleanup rpmlint warnings * Fix addresses in COPYING COPYING | 6 +++--- service/realm-command.c | 18 +++++------------- service/realm-command.h | 18 +++++------------- 3 files changed, 13 insertions(+), 29 deletions(-) commit 80b59926e68813fa5de94911b8c0be70b5f84938 Author: Stef Walter Date: 2012-06-21 Don't use SOA for MSDCS subdomain, use SRV record directly When determining whether this is an active directory domain we use the _msdcs subdomain. However this may not necessarily be an actual zone. So lookup the DNS SRV records directly gets around that problem. Eg: _kerberos._tcp.dc._msdcs.example.com service/realm-ad-discover.c | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) commit 9fd945e402702592c537f13be23175d2826ec76d Author: Stef Walter Date: 2012-06-19 Release version 0.3 Makefile.am | 4 ++++ NEWS | 3 +++ configure.ac | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) commit 679669c8c275d37b2c1ed3e8db92da47b693c869 Author: Stef Walter Date: 2012-06-19 Packaging fixes, install to correct directory configure.ac | 2 +- service/Makefile.am | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit a490b381e674bfe57be586f6ce44e13418ff92b7 Author: Stef Walter Date: 2012-06-19 Configure debug flags before warnings So that _FORTIFY_SOURCE can depend on optimization configure.ac | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) commit 3e3bebbf4d0294f71a7f7531c4701c85476b5854 Author: Stef Walter Date: 2012-06-15 Release version 0.2 NEWS | 7 +++++++ configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 1b1284a911b8439d0c73b03eaca98ee2510c4681 Author: Stef Walter Date: 2012-06-15 Remove unused ClientSoftware property, accidentally added And whitespace cleanup dbus/org.freedesktop.realmd.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit 9c17dd2d2fa8c9c30ebc6114d4a35f4c86a1927c Author: Stef Walter Date: 2012-06-15 Add Name and Version properties to the dbus interface Mostly for informational purposes. dbus/org.freedesktop.realmd.xml | 10 ++++++++++ service/realm-all-provider.c | 3 +++ service/realm-provider.c | 3 +++ service/realm-samba-provider.c | 3 +++ 4 files changed, 19 insertions(+) commit 6ce7427246dcc75b229cc03493a305583d390c62 Author: Stef Walter Date: 2012-06-15 Use SuggestedAdministrator as a default user in realm-enroll tools/realm-enroll.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 4570b14cfb37e934fb8547808428c09fc4a7a721 Author: Stef Walter Date: 2012-06-14 Clearly print out what DNS records we look at for AD service/realm-ad-discover.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 477a2ad94fcc17d8062a29ca96bd7a83b21b16e7 Author: Stef Walter Date: 2012-06-14 Temporarily add info to README about AD discovery This will go into fuller docs README | 9 +++++++++ 1 file changed, 9 insertions(+) commit 069ccd4a818a681346779bd4382ed9285010aa92 Author: Stef Walter Date: 2012-06-14 Add realm-discover tool to identify a domain .gitignore | 1 + tools/Makefile.am | 5 +- tools/realm-discover.c | 252 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 256 insertions(+), 2 deletions(-) commit 6898e049f9b6f1ca898bbc3088eb0725642de69f Author: Stef Walter Date: 2012-06-14 Add 'Details' property to Kerberos realm interface This is for informational data, generally not to be acted on by clients but can display for diagnostic reasons if desired. dbus/org.freedesktop.realmd.xml | 10 ++++++++++ service/realm-samba.c | 27 ++++++++++++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) commit af92a2df67bc2db863561b3302377728e48b1f75 Author: Stef Walter Date: 2012-06-14 Add operation_id to most dbus method calls, fix diagnostics A client can pass in a unique operation_id. In the future this allows us to add cancellation. In the short-term we use this operation_id to provide useful diagnostics from the 'all' provider. dbus/org.freedesktop.realmd.xml | 8 ++++ service/realm-ad-discover.c | 1 + service/realm-all-provider.c | 101 ++++++++++++++++++++++++++++++++++++---- service/realm-diagnostics.c | 54 +++++++++++++++------ service/realm-diagnostics.h | 6 +++ service/realm-kerberos.c | 30 ++++++++++-- service/realm-provider.c | 8 ++-- tests/change-permitted.py | 4 +- tests/discover-python.py | 10 ++-- tests/enroll-machine.py | 12 ++--- tools/realm-enroll.c | 19 +++++--- 11 files changed, 202 insertions(+), 51 deletions(-) commit aa5c73828a62b6d63f0f96aec1d3a7679b583fb8 Author: Stef Walter Date: 2012-06-14 Add debug messages when loading providers And fix REALM_DEBUG_PROVIDER debug flag service/realm-all-provider.c | 7 ++++++- service/realm-debug.c | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) commit 3c4191ac543f50cf6e90ea9922c2184e88e6d1c3 Author: Stef Walter Date: 2012-06-14 Fix provider path regression in previous commit service/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 28d14efdddf2811183ef9c2c3478a6f64778064a Author: Stef Walter Date: 2012-06-14 Fix compiler warnings, add fortify source We only enable fortify source when optimization is enabled otherwise it becomes a source of warnings itself. configure.ac | 15 +++++++++++++++ service/realm-ad-discover.c | 3 ++- service/realm-all-provider.c | 3 +++ service/realm-debug.c | 8 +++++++- service/realm-kerberos.c | 2 +- service/realm-provider.c | 2 +- 6 files changed, 29 insertions(+), 4 deletions(-) commit c0ec7e29a195ff02301ca36225fba25a60959251 Author: Stef Walter Date: 2012-06-14 Add proper dbus service files, and reorganize install Choose a less confusing name for private files (those in /usr/lib/realmd). Add dbus service files which were conspicuously missing. .gitignore | 1 + Makefile.decl | 34 +++++++++++++++++++++++++++ configure.ac | 7 ++++-- dbus/Makefile.am | 19 ++++++++++++--- dbus/org.freedesktop.realmd.Samba.provider | 4 ++++ dbus/org.freedesktop.realmd.Samba.service.in | 4 ++++ dbus/org.freedesktop.realmd.service.in | 4 ++++ service/Makefile.am | 19 ++++++--------- service/org.freedesktop.realmd.Samba.provider | 4 ---- service/realm-samba-enroll.c | 2 +- service/realm-settings.c | 4 ++-- tests/Makefile.am | 2 +- 12 files changed, 79 insertions(+), 25 deletions(-) commit 166e0cf13304663ab500093455924f0e3b0d3266 Author: Stef Walter Date: 2012-06-13 Fix use of uninitialized variable service/realm-ini-config.c | 1 - 1 file changed, 1 deletion(-) commit 024b6985e54ce5392c4665aa273b223f0e7f3bbe Author: Stef Walter Date: 2012-06-13 Release 0.1 .gitignore | 2 ++ NEWS | 4 +--- configure.ac | 4 ++-- dbus/Makefile.am | 4 ++++ service/Makefile.am | 2 ++ tools/Makefile.am | 3 ++- 6 files changed, 13 insertions(+), 6 deletions(-) commit 0de0c0a8fd4a7006930a91a141404e95f0b44ecf Author: Stef Walter Date: 2012-06-12 Fix a crasher when enrolling or unenrolling service/realm-service.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit e27a442eafbad8e2dfa47ccf815bd1d76ae70e8b Author: Stef Walter Date: 2012-06-12 Try to guess when administrative credentials are needed Samba's 'net' command and AD itself don't make it very easy to tell when administrative credentials are needed to enroll. We try to detect this by scraping the output of 'net ads join' service/realm-samba-enroll.c | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) commit 7b8b8eb3b271edcfc3a4f17defad5abc4f4d8e36 Author: Stef Walter Date: 2012-06-11 Another instance of PK_PROGRESS_TYPE_SUBPERCENTAGE tests/frob-install-packages.c | 4 ---- 1 file changed, 4 deletions(-) commit 3bbd5674ce77d16e6b7fa85eff3a887c6c60d8b8 Author: Stef Walter Date: 2012-06-11 Remove use of PK_PROGRESS_TYPE_SUBPERCENTAGE Isn't yet released service/realm-packages.c | 4 ---- 1 file changed, 4 deletions(-) commit 1f0590d97118434822409a0b5c3f231281a07033 Author: Stef Walter Date: 2012-06-11 Fix mistake in the enroll-machine.py test script tests/enroll-machine.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2c5ec55f2a0ac57e5059c49810f582fa4688f33b Author: Stef Walter Date: 2012-06-11 Add initial customization for debian based OS's configure.ac | 4 +--- service/realmd-debian.conf | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) commit 665ab55445211d1a75cec53dfed8d7074580e0a8 Author: Stef Walter Date: 2012-06-11 Avoid package-kit sync method in our tests * Were only used in tests * Not yet released on major distros tests/frob-install-packages.c | 41 ++++++++++++++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 7 deletions(-) commit d1ab1f998f11f5a9a93441991040c1a8622be706 Author: Stef Walter Date: 2012-06-08 Add support for Upstart to enable/disable system services dbus/Makefile.am | 11 +- dbus/org.freedesktop.systemd1.xml | 224 ----------------- service/Makefile.am | 4 +- service/realm-command.c | 22 ++ service/realm-packages.c | 29 ++- service/realm-samba-winbind.c | 16 +- service/realm-service-systemd.c | 307 +++++++++++++++++++++++ service/realm-service-systemd.h | 41 +++ service/realm-service-upstart.c | 364 +++++++++++++++++++++++++++ service/realm-service-upstart.h | 41 +++ service/realm-service.c | 508 ++++++++++++++++++++++++++++++++++++++ service/realm-service.h | 143 +++++++++++ service/realm-system.c | 273 -------------------- service/realm-system.h | 42 ---- service/realmd-defaults.conf | 2 +- 15 files changed, 1459 insertions(+), 568 deletions(-) commit efb02e781e1e8d5a02550e6536c53646ad9fdb72 Author: Stef Walter Date: 2012-06-06 Fix autogen.sh regression due to file rename autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 70ceb87f8f12482b61f42ae08bcdda9bb1c13272 Author: Stef Walter Date: 2012-06-06 Always store Samba permitted logins in lower case * Since windows logins are case insensitive service/realm-samba.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8f74060d812211870475e86592fbd59d0bd00d4e Author: Stef Walter Date: 2012-06-06 Better docs for PermittedLogin stuff dbus/org.freedesktop.realmd.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 8c96f022fec9ed52921e4cd9bddb4ba6c8f9c534 Author: Stef Walter Date: 2012-06-05 Refactor how changing list values in the samba config works service/realm-ini-config.c | 137 +++++++++++++++++++++++++++++++++++++++++-- service/realm-ini-config.h | 25 +++++++- service/realm-samba-config.c | 12 ++-- service/realm-samba.c | 13 ++-- tests/test-ini-config.c | 20 ++++--- 5 files changed, 179 insertions(+), 28 deletions(-) commit b18f241888b54aa24388082ef75ad99941653b41 Author: Stef Walter Date: 2012-06-05 Implement list of permitted logins * This is not actually enforced by winbind, but will be enforced by sssd. dbus/org.freedesktop.realmd.xml | 30 +++++-- service/org.freedesktop.realmd.policy.in | 10 +++ service/realm-ini-config.c | 77 ++++++++++++++--- service/realm-ini-config.h | 15 +++- service/realm-kerberos.c | 58 ++++++++++++- service/realm-kerberos.h | 6 ++ service/realm-samba-config.c | 75 ++++++++++++++++ service/realm-samba-config.h | 7 ++ service/realm-samba-enroll.c | 18 +++- service/realm-samba.c | 142 +++++++++++++++++++++++++++---- tests/change-permitted.py | 77 +++++++++++++++++ tests/test-ini-config.c | 113 ++++++++++++++++++++++++ 12 files changed, 584 insertions(+), 44 deletions(-) commit 26537d8533edc649761f33f7a85a8cca0e4eac9d Author: Stef Walter Date: 2012-06-04 Allow leaving a domain even if the computer account is broken service/realm-samba-enroll.c | 16 +++++++++------- service/realm-samba.c | 15 +++++---------- 2 files changed, 14 insertions(+), 17 deletions(-) commit 226f634dbbacc6fd7530ec3e3643523a7b76df59 Author: Stef Walter Date: 2012-06-04 Add SuggestedAdiministrator property to kerberos domains dbus/org.freedesktop.realmd.xml | 5 +++++ dbus/realm-dbus-constants.h | 1 - service/realm-samba.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) commit eea477b7e23fc55347cf82738bbca0720ba83679 Author: Stef Walter Date: 2012-06-01 Rename KerberosRealm to Kerberos * Makes for much more intelligent function calls and types dbus/org.freedesktop.realmd.xml | 4 +-- dbus/realm-dbus-constants.h | 2 +- service/realm-kerberos.c | 17 ++++++------- service/realm-kerberos.h | 4 +-- tools/realm-enroll.c | 54 ++++++++++++++++++++--------------------- 5 files changed, 40 insertions(+), 41 deletions(-) commit b55faf00b81d6c68570ba87c29e7530f13dc1d67 Author: Stef Walter Date: 2012-05-31 Add 'Domain' property to realm objects dbus/org.freedesktop.realmd.xml | 5 +++++ service/realm-samba.c | 5 +++++ 2 files changed, 10 insertions(+) commit cdd70be7dffe5dd5a0f8f8916168375bbffa016d Author: Stef Walter Date: 2012-05-31 Return an array of realms on discover * Discover can return multiple realms * This allows us to chain calls better, and have mulitple discovered realms returned by a provider * No longer returned the discovered information * Cleanup and testing dbus/org.freedesktop.realmd.xml | 7 +--- service/realm-all-provider.c | 83 +++++++++++++++++++++++------------------ service/realm-errors.c | 1 - service/realm-errors.h | 1 - service/realm-provider.c | 41 ++++++++++---------- service/realm-provider.h | 3 +- service/realm-samba-provider.c | 30 ++++++--------- tests/discover-python.py | 17 ++++----- tests/enroll-machine.py | 16 +++++--- tools/realm-enroll.c | 33 ++++++++++++---- 10 files changed, 123 insertions(+), 109 deletions(-) commit 994f66d9d579f7a2e9492236dec5fc9aa881b0fc Author: Stef Walter Date: 2012-05-31 Support discovering the default domain * Pass an empty string to Discover() service/Makefile.am | 1 + service/realm-ad-discover.c | 91 +++++++++++---- service/realm-network.c | 269 ++++++++++++++++++++++++++++++++++++++++++++ service/realm-network.h | 33 ++++++ 4 files changed, 371 insertions(+), 23 deletions(-) commit 8079a239e696a8f999260547e5263eacc20b5e91 Author: Stef Walter Date: 2012-05-31 Fix initialization of samba realms * Broken by a previous commit service/realm-provider.c | 4 +++- service/realm-samba-provider.c | 29 +++++++++++++++++++++++++++++ service/realm-samba.c | 30 ++++++++++++++---------------- service/realm-samba.h | 4 ++-- 4 files changed, 48 insertions(+), 19 deletions(-) commit 24fbeb77d9ceed18be1721de624338aef1b234ee Author: Stef Walter Date: 2012-05-30 Add a{sv} options to enroll/unenroll, currently unused dbus/org.freedesktop.realmd.xml | 4 ++++ service/realm-kerberos.c | 12 ++++++++---- tools/realm-enroll.c | 8 ++++++-- 3 files changed, 18 insertions(+), 6 deletions(-) commit aa5c4aff689dd7d91b469651d4c089f96eec85cc Author: Stef Walter Date: 2012-05-29 Rename realm_platform_xxx to realm_settings_xxx service/Makefile.am | 2 +- service/realm-command.c | 4 +- service/realm-daemon.c | 6 +- service/realm-ini-config.c | 2 +- service/realm-packages.c | 4 +- service/realm-platform.c | 178 ------------------------------------------ service/realm-platform.h | 47 ----------- service/realm-samba-config.c | 4 +- service/realm-samba-enroll.c | 4 +- service/realm-samba-winbind.c | 8 +- service/realm-settings.c | 178 ++++++++++++++++++++++++++++++++++++++++++ service/realm-settings.h | 47 +++++++++++ tests/Makefile.am | 2 +- tests/test-ini-config.c | 6 +- 14 files changed, 246 insertions(+), 246 deletions(-) commit 4d5b6b14d56f1b3d0573129db5e06661cc8aa8f2 Author: Stef Walter Date: 2012-05-29 Refactor to make simpler to add different realms service/Makefile.am | 4 +- service/realm-kerberos-realm.c | 548 ----------------------------------------- service/realm-kerberos-realm.h | 75 ------ service/realm-kerberos.c | 548 +++++++++++++++++++++++++++++++++++++++++ service/realm-kerberos.h | 75 ++++++ service/realm-provider.c | 107 ++++++++ service/realm-provider.h | 12 +- service/realm-samba-provider.c | 105 +------- service/realm-samba-realm.c | 456 ---------------------------------- service/realm-samba-realm.h | 40 --- service/realm-samba.c | 456 ++++++++++++++++++++++++++++++++++ service/realm-samba.h | 40 +++ 12 files changed, 1248 insertions(+), 1218 deletions(-) commit 9124a14808cf7b5cef665b250b88b894643dabcc Author: Stef Walter Date: 2012-05-04 Unbreak the enroll test script tests/enroll-machine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 78ef978300867029a679ef0d8e018670cbe1a612 Author: Stef Walter Date: 2012-05-04 Fix up property access for RealmKerberosRealm service/realm-kerberos-realm.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit c08ad49a315448facaa24806d7fb9785aa57fadb Author: Stef Walter Date: 2012-05-04 No need to authorize property accesses service/realm-kerberos-realm.c | 15 +++------------ service/realm-provider.c | 15 +++------------ 2 files changed, 6 insertions(+), 24 deletions(-) commit c5415e3a0cc8d037aabf4075267127fbc7868c17 Author: Stef Walter Date: 2012-05-04 Use vfuncs for handling dbus calls instead of signals service/realm-kerberos-realm.c | 55 +++++++++++++++++++++++------------------- service/realm-provider.c | 29 ++++++++++++++-------- 2 files changed, 49 insertions(+), 35 deletions(-) commit 21bbf19db193a811ca9a13481078e7f1492d9a47 Author: Stef Walter Date: 2012-05-04 A number of tweaks and cleanups ChangeLog | 2 +- autogen.sh | 2 +- service/realm-all-provider.c | 15 +++++--- service/realm-samba-provider.c | 86 +++++++++++++++--------------------------- service/realm-samba-realm.c | 1 - 5 files changed, 41 insertions(+), 65 deletions(-) commit b0c80f2d6344439f59af59baf086b42bc9ec3895 Author: Stef Walter Date: 2012-05-04 Better formatted diagnostic error messages service/realm-diagnostics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5a36879376a902731951d4ef7a9a70e03a6bf5d7 Author: Stef Walter Date: 2012-05-04 Correctly return an error when discovered nothing service/realm-samba-provider.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit d9e04340f87ea2c5940dba4b9a7df00ff33828cc Author: Stef Walter Date: 2012-05-04 Add methods for enroll with passwords, and rename credential cache ones dbus/org.freedesktop.realmd.xml | 22 +++- dbus/realm-dbus-constants.h | 2 +- service/Makefile.am | 2 + service/realm-errors.c | 2 +- service/realm-errors.h | 2 +- service/realm-kerberos-realm.c | 246 +++++++++++++++++++++++++++++++++++++--- service/realm-samba-enroll.c | 6 +- tests/enroll-machine.py | 104 +++++++++++------ tools/realm-enroll.c | 20 ++-- 9 files changed, 336 insertions(+), 70 deletions(-) commit e70c4dbdabc6710db2524de40b14d842e88ca9ba Author: Stef Walter Date: 2012-05-04 Interface documentation dbus/org.freedesktop.realmd.xml | 61 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit 9358e812f8341b9b604d9dd9f0792990f0353f06 Author: Stef Walter Date: 2012-05-04 Return correct errors if already or not enrolled in realm dbus/realm-dbus-constants.h | 2 ++ service/realm-errors.c | 2 ++ service/realm-errors.h | 2 ++ service/realm-kerberos-realm.c | 11 +++++++++ service/realm-samba-realm.c | 51 +++++++++++++++++++++++++++++------------- 5 files changed, 52 insertions(+), 16 deletions(-) commit d52ab95fd1f4fdac10397a42c42261944b57897b Author: Stef Walter Date: 2012-05-04 Properly track changes to the samba config file * And propagate changes to realm properties via PropertiesChanged service/realm-ini-config.c | 248 +++++++++++++++++++++++++++++++++++------ service/realm-ini-config.h | 12 +- service/realm-kerberos-realm.c | 8 -- service/realm-samba-config.c | 33 ++++-- service/realm-samba-config.h | 3 + service/realm-samba-provider.c | 8 +- service/realm-samba-realm.c | 115 +++++++++++++------ service/realm-samba-realm.h | 4 +- tests/Makefile.am | 6 + tests/test-ini-config.c | 102 ++++++++++++++--- 10 files changed, 427 insertions(+), 112 deletions(-) commit b34988b6b47238e7768e0d9a21534a822ced8592 Author: Stef Walter Date: 2012-05-04 Add the realm-enroll tool .gitignore | 2 + Makefile.am | 2 +- configure.ac | 38 +++++ tools/Makefile.am | 21 +++ tools/realm-enroll.c | 468 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 530 insertions(+), 1 deletion(-) commit f0e7c8c9b346cb4101f0a2ca1b3baef4459558ef Author: Stef Walter Date: 2012-05-03 Refactor the interface and add aggregate provider * The all provider aggregates the results from other providers * Discover is a provider level interface * Realms are discovered .gitignore | 7 +- configure.ac | 7 +- dbus/Makefile.am | 4 + dbus/org.freedesktop.realmd.xml | 36 +- dbus/realm-dbus-constants.h | 10 +- dbus/realm-dbus-generated.c | 3537 ---------- dbus/realm-dbus-generated.h | 504 -- dbus/realm-dbus-systemd.c | 12596 ------------------------------------ dbus/realm-dbus-systemd.h | 1609 ----- service/Makefile.am | 8 +- service/realm-ad-discover.c | 39 +- service/realm-ad-discover.h | 10 +- service/realm-all-provider.c | 523 ++ service/realm-all-provider.h | 38 + service/realm-daemon.c | 6 +- service/realm-debug.h | 3 +- service/realm-diagnostics.c | 12 +- service/realm-errors.c | 1 + service/realm-errors.h | 1 + service/realm-kerberos-provider.c | 347 - service/realm-kerberos-provider.h | 86 - service/realm-kerberos-realm.c | 330 + service/realm-kerberos-realm.h | 75 + service/realm-provider.c | 180 + service/realm-provider.h | 66 + service/realm-samba-enroll.h | 2 - service/realm-samba-provider.c | 362 +- service/realm-samba-provider.h | 2 +- service/realm-samba-realm.c | 387 ++ service/realm-samba-realm.h | 38 + service/realm-service.c | 208 - service/realm-service.h | 38 - tests/discover-python.py | 34 +- tests/enroll-machine.py | 38 +- tests/provider-props.py | 8 +- tests/service-list.py | 38 - 36 files changed, 1885 insertions(+), 19305 deletions(-) commit 3fdabbe9762455c180475aeb72a556b5b30133e6 Author: Stef Walter Date: 2012-05-03 Factor the generated dbus stuff into own directory .gitignore | 1 + Makefile.am | 2 +- configure.ac | 2 + dbus/Makefile.am | 46 + dbus/org.freedesktop.realmd.conf | 17 + dbus/org.freedesktop.realmd.xml | 47 + dbus/org.freedesktop.systemd1.xml | 224 + dbus/realm-dbus-constants.h | 54 + dbus/realm-dbus-generated.c | 3537 +++++++++ dbus/realm-dbus-generated.h | 504 ++ dbus/realm-dbus-systemd.c | 12596 +++++++++++++++++++++++++++++++++ dbus/realm-dbus-systemd.h | 1609 +++++ service/Makefile.am | 28 +- service/org.freedesktop.realmd.conf | 17 - service/org.freedesktop.realmd.xml | 47 - service/org.freedesktop.systemd1.xml | 224 - service/realm-dbus-constants.h | 54 - service/realm-dbus-systemd.c | 12596 --------------------------------- service/realm-dbus-systemd.h | 1609 ----- 19 files changed, 18640 insertions(+), 14574 deletions(-) commit acba5ff456494914c265d5ae727622596c886de3 Author: Stef Walter Date: 2012-05-03 Add the Service object, list providers from files service/Makefile.am | 11 +- service/org.freedesktop.realmd.Samba.provider | 4 + service/org.freedesktop.realmd.conf | 4 +- service/org.freedesktop.realmd.xml | 18 +- service/realm-daemon.c | 3 + service/realm-dbus-constants.h | 3 + service/realm-samba-winbind.c | 20 +- service/realm-service.c | 339 +++++++++++--------------- service/realm-service.h | 20 +- service/realm-system.c | 273 +++++++++++++++++++++ service/realm-system.h | 42 ++++ tests/service-list.py | 38 +++ 12 files changed, 546 insertions(+), 229 deletions(-) commit d8273d94f56f62b981c4e0d9bcee04257227b653 Author: Stef Walter Date: 2012-05-03 Rename AdSamba to Samba provider * Interfaces, config and so on updated service/org.freedesktop.realmd.conf | 4 ++-- service/realm-daemon.c | 2 +- service/realm-dbus-constants.h | 4 ++-- service/realm-samba-provider.c | 2 +- service/realmd-defaults.conf | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) commit df957c69918edaab0a30f06933185f23eeb12d8f Author: Stef Walter Date: 2012-05-03 Rename RealmSambaConfig to RealmIniConfig * So we can use the same stuff for sssd .gitignore | 1 + service/Makefile.am | 1 + service/realm-ini-config.c | 659 +++++++++++++++++++++++++++++++++++++++++ service/realm-ini-config.h | 78 +++++ service/realm-samba-config.c | 645 ++-------------------------------------- service/realm-samba-config.h | 50 +--- service/realm-samba-enroll.c | 8 +- service/realm-samba-provider.c | 10 +- tests/Makefile.am | 9 +- tests/test-ini-config.c | 455 ++++++++++++++++++++++++++++ tests/test-samba-config.c | 527 -------------------------------- 11 files changed, 1229 insertions(+), 1214 deletions(-) commit 2daa2c6d48a86d1e367384dcf2cf2b53859c71d5 Author: Stef Walter Date: 2012-05-02 Setup offline logins, and refresh tickets for winbind by default service/realm-samba-winbind.c | 2 ++ 1 file changed, 2 insertions(+) commit 317d6c7c54439216eb5c904f06cf6bee362476e4 Author: Stef Walter Date: 2012-05-02 Remove concept of enabling realm logins separately * This works/doesn't work on different distros, and is contrary to general purpose use. * Obviously admins can still do this manually for their platform as necessary. service/org.freedesktop.realmd.policy.in | 10 ------ service/org.freedesktop.realmd.xml | 7 ----- service/realm-kerberos-provider.c | 54 -------------------------------- service/realm-kerberos-provider.h | 10 ------ service/realm-samba-winbind.c | 4 +-- service/realmd-redhat.conf | 6 ++-- 6 files changed, 4 insertions(+), 87 deletions(-) commit efe9c4c7bf6ef87aa1078dd469be258701b4b5e7 Author: Stef Walter Date: 2012-05-02 Implement the EnrolledRealms property in Samba provider * smb.conf params are stripped of whitespace when read service/realm-samba-config.c | 2 +- service/realm-samba-provider.c | 74 ++++++++++++++++++++++++++++++++++++++++++ tests/files/smb-one.conf | 1 + tests/provider-props.py | 39 ++++++++++++++++++++++ tests/test-samba-config.c | 3 ++ 5 files changed, 118 insertions(+), 1 deletion(-) commit 68cb73f63c28ed38b4634bdd559f0d13bb7de8b4 Author: Stef Walter Date: 2012-05-02 Rename the AD provider to the Samba provider service/Makefile.am | 4 +- .../org.freedesktop.realmd.ActiveDirectory.conf | 15 - service/org.freedesktop.realmd.conf | 15 + service/realm-ad-provider.c | 352 --------------------- service/realm-ad-provider.h | 49 --- service/realm-daemon.c | 6 +- service/realm-dbus-constants.h | 4 +- service/realm-samba-enroll.c | 2 +- service/realm-samba-provider.c | 351 ++++++++++++++++++++ service/realm-samba-provider.h | 40 +++ tests/discover-python.py | 4 +- tests/enroll-machine.py | 4 +- 12 files changed, 418 insertions(+), 428 deletions(-) commit 62e11c9e4b6a0a98835b8e65929d2f2fd1643150 Author: Stef Walter Date: 2012-05-02 Fix 'make distcheck' .gitignore | 1 + service/Makefile.am | 8 +++++++- tests/Makefile.am | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) commit 146f948b6679e4d9fc0fd9b6e10611ba736fe0bb Author: Stef Walter Date: 2012-05-02 Fix 'make check' .gitignore | 3 +++ po/POTFILES.in | 1 + service/realm-command.c | 4 ++-- service/realm-packages.c | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) commit 16165543255342c9d150bf77d2490ba7d64a2218 Author: Stef Walter Date: 2012-05-02 Rename samba specific stuff to include 'samba' in name service/Makefile.am | 4 +- service/realm-ad-enroll.c | 412 ----------------------------------------- service/realm-ad-enroll.h | 46 ----- service/realm-ad-provider.c | 31 ++-- service/realm-dbus-constants.h | 2 +- service/realm-errors.h | 2 +- service/realm-samba-enroll.c | 412 +++++++++++++++++++++++++++++++++++++++++ service/realm-samba-enroll.h | 46 +++++ service/realm-samba-winbind.c | 194 +++++++++++++++++++ service/realm-samba-winbind.h | 40 ++++ service/realm-winbind.c | 194 ------------------- service/realm-winbind.h | 45 ----- 12 files changed, 712 insertions(+), 716 deletions(-) commit f3f22934f9da9b030454a6647bb1c056bf616bc6 Author: Stef Walter Date: 2012-05-02 Modify global smb.conf on join/leave domain * Use the workgroup discovered by the net command service/Makefile.am | 2 +- service/ad-provider-smb.conf | 2 - service/net-ads-smb.conf | 2 + service/realm-ad-enroll.c | 104 ++++++++++++++++++++++++++++++++++--------- service/realm-samba-config.c | 96 ++++++++++++++++++++++++++++++--------- service/realm-samba-config.h | 7 +++ tests/test-samba-config.c | 39 ++++++++++++---- 7 files changed, 198 insertions(+), 54 deletions(-) commit c1cb859408a888f10a03ae9f43a920b58ef3e34e Author: Stef Walter Date: 2012-05-02 Read and write to smb.conf files directly * Preserve the contents well even when modifying * Add tests for the reading/writing code * Factor out the platform setting stuff into its own files so that we can use it in tests .gitignore | 5 + Makefile.decl | 13 + configure.ac | 42 ++- service/Makefile.am | 3 +- service/realm-ad-enroll.c | 50 +-- service/realm-command.c | 3 +- service/realm-daemon.c | 139 +------- service/realm-daemon.h | 10 - service/realm-packages.c | 3 +- service/realm-platform.c | 178 ++++++++++ service/realm-platform.h | 47 +++ service/realm-samba-config.c | 681 +++++++++++++++++++++++++++++++++------ service/realm-samba-config.h | 56 +++- service/realm-winbind.c | 52 ++- service/realmd-defaults.conf | 1 + service/realmd-redhat.conf | 2 + tests/Makefile.am | 10 + tests/files/realmd-defaults.conf | 1 + tests/files/realmd-distro.conf | 1 + tests/files/smb-one.conf | 17 + tests/test-samba-config.c | 503 +++++++++++++++++++++++++++++ 21 files changed, 1494 insertions(+), 323 deletions(-) commit a83a12db61ade0dcdc020561532dcaaa411fdb80 Author: Stef Walter Date: 2012-04-30 Remove incomplete SSSD stuff service/Makefile.am | 1 - service/ad-provider-sssd | 134 ------------------------------------- service/realm-ad-sssd.c | 167 ----------------------------------------------- service/realm-ad-sssd.h | 42 ------------ 4 files changed, 344 deletions(-) commit a7ecf9b6c2e90883ef4e1470ec11279bcee55f64 Author: Stef Walter Date: 2012-04-30 Use authconfig on redhat to enable winbind nsswitch support service/realm-command.c | 48 +++++++++++++++++++++++++--- service/realm-command.h | 7 ++++ service/realm-packages.c | 16 +++++----- service/realm-winbind.c | 79 ++++++++++++++++++++++++++++++++++++++-------- service/realmd-redhat.conf | 8 ++--- 5 files changed, 128 insertions(+), 30 deletions(-) commit 45f8752f1adde9079069bbc79182b5456e1518a6 Author: Stef Walter Date: 2012-04-30 Move to data driven package installation * Use default/distro/admin conf files to lookup settings and commands * Fix bugs in the package installation, and quiet down configure.ac | 26 ++++ service/Makefile.am | 17 ++- .../org.freedesktop.realmd.ActiveDirectory.conf | 15 +++ service/realm-ad-enroll.c | 3 +- service/realm-ad-provider.c | 42 +----- service/realm-constants.h | 40 ------ service/realm-daemon.c | 141 +++++++++++++++++++++ service/realm-daemon.h | 12 +- service/realm-debug.c | 1 + service/realm-debug.h | 1 + service/realm-packages.c | 136 +++++++++++++++----- service/realm-packages.h | 3 +- service/realm-samba-config.c | 3 +- service/realm-service.c | 2 +- service/realm-winbind.c | 7 +- service/realmd-dbus.conf | 16 --- service/realmd-defaults.conf | 15 +++ service/realmd-redhat.conf | 11 ++ 18 files changed, 350 insertions(+), 141 deletions(-) commit 0a78123f8fa55b1f63693a51b0d5fe76c787fb43 Author: Stef Walter Date: 2012-04-30 Fix unenroll from domain, and add to test script service/realm-ad-enroll.c | 4 +--- tests/enroll-machine.py | 29 ++++++++++++++++++++--------- 2 files changed, 21 insertions(+), 12 deletions(-) commit 567cb7ebbf0187733c071232a691622943074bbe Author: Stef Walter Date: 2012-04-30 Implement interaction with systemd * And use it to enable and start winbind service/Makefile.am | 18 +- service/org.freedesktop.systemd1.xml | 224 + service/realm-ad-enroll.c | 3 +- service/realm-ad-provider.c | 57 +- service/realm-ad-sssd.c | 4 +- service/realm-constants.h | 40 + service/realm-daemon.c | 292 + service/realm-daemon.h | 41 + service/realm-dbus-systemd.c | 12596 +++++++++++++++++++++++++++++++++ service/realm-dbus-systemd.h | 1609 +++++ service/realm-kerberos-provider.c | 16 +- service/realm-paths.h | 32 - service/realm-samba-config.c | 4 +- service/realm-service.c | 412 +- service/realm-service.h | 23 +- service/realm-winbind.c | 156 + service/realm-winbind.h | 45 + 17 files changed, 15261 insertions(+), 311 deletions(-) commit 601fc1c8482bd446ca4846247cc05b80f369c6ed Author: Stef Walter Date: 2012-04-25 Factor out the smbconf into its own file * Right now using smbconf registry, maybe switch to smb.conf file format later. service/Makefile.am | 1 + service/realm-ad-enroll.c | 50 ++++--------- service/realm-ad-provider.c | 11 +-- service/realm-ad-provider.h | 8 --- service/realm-command.c | 8 +++ service/realm-paths.h | 32 +++++++++ service/realm-samba-config.c | 166 +++++++++++++++++++++++++++++++++++++++++++ service/realm-samba-config.h | 35 +++++++++ 8 files changed, 263 insertions(+), 48 deletions(-) commit 11e6c7e7071bce2ca89719e6212d9188989f68ab Author: Stef Walter Date: 2012-04-25 Tweaks to the enroll-machine.py script tests/enroll-machine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9e86c7aa9905d708b88f8601e5af4efa908e0458 Author: Stef Walter Date: 2012-04-25 Unbreak autogen.sh after file rename autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 619301384003ef6322a227722917baa1eb320228 Author: Stef Walter Date: 2012-04-20 Fix bugs for enrolling machine service/org.freedesktop.realmd.xml | 8 +++- service/realm-ad-enroll.c | 31 +++++++++----- service/realm-ad-provider.c | 55 ++++++++++++------------ service/realm-ad-provider.h | 17 ++++++++ service/realm-command.c | 9 ++-- tests/enroll-machine.py | 87 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 163 insertions(+), 44 deletions(-) commit 5ca0ca3ad297a584a3e4a79e0b4b08aea1a716ea Author: Stef Walter Date: 2012-04-20 Add polkit checks for the various kerberos actions .gitignore | 5 ++- configure.ac | 16 ++++++-- service/Makefile.am | 12 ++++-- service/org.freedesktop.realmd.policy.in | 57 ++++++++++++++++++++++++++ service/realm-dbus-constants.h | 5 +++ service/realm-kerberos-provider.c | 55 +++++++++++++++++++++++++ service/realm-service.c | 70 ++++++++++++++++++++++++++++++++ service/realm-service.h | 3 ++ tests/discover-python.py | 2 +- 9 files changed, 217 insertions(+), 8 deletions(-) commit d44df9d8b6b7d96c74e50ce3364f0ecad8636196 Author: Stef Walter Date: 2012-04-19 Add tool for DiscoverRealm and fix bugs service/org.freedesktop.realmd.xml | 2 +- service/realm-ad-discover.c | 10 +++--- service/realm-ad-enroll.c | 2 +- service/realm-dbus-constants.h | 2 +- service/realm-diagnostics.c | 8 ++--- service/realm-discovery.c | 5 +-- service/realm-kerberos-provider.c | 2 +- tests/discover-python.py | 72 ++++++++++++++++++++++++++++++++++++++ 8 files changed, 88 insertions(+), 15 deletions(-) commit 7d4db65a9032a888045ee9075e7eeda04e1ac9f4 Author: Stef Walter Date: 2012-04-19 Install dbus configuration file, fix connectiong to system service configure.ac | 17 +++++------------ service/Makefile.am | 6 ++++++ service/realm-ad-provider.c | 3 ++- service/realm-dbus-constants.h | 20 ++++++++++---------- service/realm-kerberos-provider.c | 2 +- service/realm-service.c | 2 +- service/realmd-dbus.conf | 16 ++++++++++++++++ 7 files changed, 41 insertions(+), 25 deletions(-) commit 4f41caa935315188ed75eade1829bf2318aa0d64 Author: Stef Walter Date: 2012-04-19 Add service timeouts and figure out service startup and exit configure.ac | 2 +- service/Makefile.am | 1 - service/realm-ad-discover.c | 22 +++---- service/realm-ad-provider.c | 63 ++++++++++++++++-- service/realm-ad-provider.h | 4 ++ service/realm-debug.c | 8 +-- service/realm-debug.h | 2 +- service/realm-main.c | 58 ---------------- service/realm-service.c | 157 ++++++++++++++++++++++++++++++++++++++++++++ service/realm-service.h | 12 +++- 10 files changed, 243 insertions(+), 86 deletions(-) commit 2e6e5010ff0eea706f170baeb6b613bed0fda9f9 Author: Stef Walter Date: 2012-04-19 Update debug code * Handle G_MESSAGES_DEBUG properly for glib changes service/realm-debug.c | 83 ++++++++++++++++++++++++++++++++++++++++++++------- service/realm-debug.h | 1 + service/realm-main.c | 3 ++ 3 files changed, 76 insertions(+), 11 deletions(-) commit f579a41c2373ab412e799c46525bfc5a8ce1a9e5 Author: Stef Walter Date: 2012-04-17 Rename to realmd .gitignore | 3 + autogen.sh | 2 +- configure.ac | 10 +- service/Makefile.am | 52 +- service/ic-ad-discover.c | 240 --- service/ic-ad-discover.h | 39 - service/ic-ad-enroll.c | 383 ---- service/ic-ad-enroll.h | 46 - service/ic-ad-provider.c | 348 ---- service/ic-ad-provider.h | 36 - service/ic-ad-sssd.c | 167 -- service/ic-ad-sssd.h | 42 - service/ic-command.c | 556 ------ service/ic-command.h | 51 - service/ic-dbus-constants.h | 46 - service/ic-dbus-generated.c | 2964 ---------------------------- service/ic-dbus-generated.h | 421 ---- service/ic-debug.c | 113 -- service/ic-debug.h | 89 - service/ic-diagnostics.c | 180 -- service/ic-diagnostics.h | 47 - service/ic-discovery.c | 75 - service/ic-discovery.h | 38 - service/ic-errors.c | 48 - service/ic-errors.h | 40 - service/ic-kerberos-provider.c | 346 ---- service/ic-kerberos-provider.h | 96 - service/ic-main.c | 55 - service/ic-packages.c | 275 --- service/ic-packages.h | 38 - service/ic-service.c | 58 - service/ic-service.h | 32 - service/org.freedesktop.IdentityConfig.xml | 38 - service/org.freedesktop.realmd.xml | 38 + service/realm-ad-discover.c | 240 +++ service/realm-ad-discover.h | 39 + service/realm-ad-enroll.c | 383 ++++ service/realm-ad-enroll.h | 46 + service/realm-ad-provider.c | 348 ++++ service/realm-ad-provider.h | 36 + service/realm-ad-sssd.c | 167 ++ service/realm-ad-sssd.h | 42 + service/realm-command.c | 556 ++++++ service/realm-command.h | 51 + service/realm-dbus-constants.h | 46 + service/realm-debug.c | 117 ++ service/realm-debug.h | 89 + service/realm-diagnostics.c | 180 ++ service/realm-diagnostics.h | 41 + service/realm-discovery.c | 75 + service/realm-discovery.h | 38 + service/realm-errors.c | 48 + service/realm-errors.h | 40 + service/realm-kerberos-provider.c | 346 ++++ service/realm-kerberos-provider.h | 96 + service/realm-main.c | 55 + service/realm-packages.c | 275 +++ service/realm-packages.h | 38 + service/realm-service.c | 58 + service/realm-service.h | 32 + tests/discover-ad-realm | 62 - tests/frob-install-packages.c | 2 +- 62 files changed, 3556 insertions(+), 7002 deletions(-) commit f4406a8ae989515825fdfa31dca2c5fefe99af90 Author: Stef Walter Date: 2012-03-23 More rough work on IC .gitignore | 1 + Makefile.am | 2 +- configure.ac | 21 +- service/Makefile.am | 27 +- service/ad-provider-smb.conf | 2 + service/ad-provider-sssd | 134 ++ service/ic-ad-discover.c | 240 +++ service/ic-ad-discover.h | 39 + service/ic-ad-enroll.c | 383 +++++ service/ic-ad-enroll.h | 46 + service/ic-ad-provider.c | 348 ++++ service/ic-ad-provider.h | 36 + service/ic-ad-sssd.c | 167 ++ service/ic-ad-sssd.h | 42 + service/ic-ads-provider.c | 286 ---- service/ic-ads-provider.h | 38 - service/ic-command.c | 556 +++++++ service/ic-command.h | 51 + service/ic-dbus-constants.h | 12 +- service/ic-dbus-generated.c | 2389 ++++++++-------------------- service/ic-dbus-generated.h | 302 ++-- service/ic-discovery.c | 75 + service/ic-discovery.h | 38 + service/ic-errors.c | 5 + service/ic-errors.h | 7 +- service/ic-kerberos-provider.c | 346 ++++ service/ic-kerberos-provider.h | 96 ++ service/ic-main.c | 6 +- service/ic-packages.c | 275 ++++ service/ic-packages.h | 38 + service/ic-service.c | 58 + service/ic-service.h | 32 + service/ic-unix-process.c | 908 ----------- service/ic-unix-process.h | 85 - service/org.freedesktop.IdentityConfig.xml | 51 +- tests/Makefile.am | 53 + tests/discover-ad-realm | 62 + tests/discover-ad-realm.py | 62 - tests/frob-install-packages.c | 182 +++ 39 files changed, 4152 insertions(+), 3349 deletions(-) commit 85fadcb38de5551f1eb5aecd27980331c1bb44f1 Author: Stef Walter Date: 2012-03-22 Implement initial ads provider and discovery * And lots of infrastructure along the way .gitignore | 1 + configure.ac | 10 + service/Makefile.am | 10 +- service/ic-ads-provider.c | 286 ++ service/ic-ads-provider.h | 38 + service/ic-dbus-constants.h | 36 + service/ic-dbus-generated.c | 4027 ++++++++++++++++++++++++++++ service/ic-dbus-generated.h | 523 ++++ service/ic-debug.c | 18 +- service/ic-debug.h | 3 + service/ic-diagnostics.c | 180 ++ service/ic-diagnostics.h | 47 + service/ic-errors.c | 43 + service/ic-errors.h | 35 + service/ic-main.c | 35 + service/ic-unix-process.c | 31 +- service/ic-unix-process.h | 2 +- service/org.freedesktop.IdentityConfig.xml | 43 + tests/discover-ad-realm.py | 62 + 19 files changed, 5401 insertions(+), 29 deletions(-) commit c467f99da29b4927a38b6f3939f64074c63c6cd1 Author: Stef Walter Date: 2012-03-20 Include m4 directory by default .gitignore | 2 -- build/m4/.gitignore | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) commit b95f0532f9f8bf90d1f21fb1a3f466be757b3258 Author: Stef Walter Date: 2012-03-20 Add unix process class * Brought over from gcr library .gitignore | 1 + service/Makefile.am | 5 +- service/ic-debug.c | 107 ++++++ service/ic-debug.h | 86 +++++ service/ic-unix-process.c | 917 ++++++++++++++++++++++++++++++++++++++++++++++ service/ic-unix-process.h | 85 +++++ 6 files changed, 1200 insertions(+), 1 deletion(-) commit 4b6b502d694bfe419c9a0140b96dcec4c96a87f1 Author: Stef Walter Date: 2012-03-20 Initial commit .gitignore | 29 ++++ AUTHORS | 1 + COPYING | 482 ++++++++++++++++++++++++++++++++++++++++++++++++++++ ChangeLog | 32 ++++ INSTALL | 0 Makefile.am | 32 ++++ Makefile.decl | 14 ++ NEWS | 4 + README | 1 + autogen.sh | 81 +++++++++ build/Makefile.am | 1 + configure.ac | 131 ++++++++++++++ po/POTFILES.in | 0 service/Makefile.am | 29 ++++ service/ic-main.c | 20 +++ 15 files changed, 857 insertions(+) realmd-0.15.0/dbus/0000775000175000017500000000000012263034130013756 5ustar00stefstef00000000000000realmd-0.15.0/dbus/org.freedesktop.realmd.xml0000664000175000017500000007222412150405220021050 0ustar00stefstef00000000000000 realmd-0.15.0/dbus/org.freedesktop.realmd.service.in0000664000175000017500000000011712041772673022327 0ustar00stefstef00000000000000[D-BUS Service] Name=org.freedesktop.realmd Exec=@privatedir@/realmd User=root realmd-0.15.0/dbus/org.freedesktop.realmd.conf0000664000175000017500000000062412041772673021212 0ustar00stefstef00000000000000 realmd-0.15.0/dbus/realm-dbus-constants.h0000664000175000017500000000770212167007323020211 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_DBUS_CONSTANTS_H__ #define __REALM_DBUS_CONSTANTS_H__ #include G_BEGIN_DECLS #define REALM_DBUS_BUS_NAME "org.freedesktop.realmd" #define REALM_DBUS_SERVICE_PATH "/org/freedesktop/realmd" #define DBUS_PEER_INTERFACE "org.freedesktop.DBus.Peer" #define DBUS_PROPERTIES_INTERFACE "org.freedesktop.DBus.Properties" #define DBUS_INTROSPECTABLE_INTERFACE "org.freedesktop.DBus.Introspectable" #define REALM_DBUS_PROVIDER_INTERFACE "org.freedesktop.realmd.Provider" #define REALM_DBUS_REALM_INTERFACE "org.freedesktop.realmd.Realm" #define REALM_DBUS_KERBEROS_INTERFACE "org.freedesktop.realmd.Kerberos" #define REALM_DBUS_KERBEROS_MEMBERSHIP_INTERFACE "org.freedesktop.realmd.KerberosMembership" #define REALM_DBUS_SERVICE_INTERFACE "org.freedesktop.realmd.Service" #define REALM_DBUS_DIAGNOSTICS_SIGNAL "Diagnostics" #define REALM_DBUS_ERROR_INTERNAL "org.freedesktop.realmd.Error.Internal" #define REALM_DBUS_ERROR_FAILED "org.freedesktop.realmd.Error.Failed" #define REALM_DBUS_ERROR_BUSY "org.freedesktop.realmd.Error.Busy" #define REALM_DBUS_ERROR_NOT_AUTHORIZED "org.freedesktop.realmd.Error.NotAuthorized" #define REALM_DBUS_ERROR_CANCELLED "org.freedesktop.realmd.Error.Cancelled" #define REALM_DBUS_ERROR_ALREADY_CONFIGURED "org.freedesktop.realmd.Error.AlreadyConfigured" #define REALM_DBUS_ERROR_NOT_CONFIGURED "org.freedesktop.realmd.Error.NotConfigured" #define REALM_DBUS_ERROR_AUTH_FAILED "org.freedesktop.realmd.Error.AuthenticationFailed" #define REALM_DBUS_ERROR_BAD_HOSTNAME "org.freedesktop.realmd.Error.BadHostname" #define REALM_DBUS_ERROR_CANCELLED "org.freedesktop.realmd.Error.Cancelled" #define REALM_DBUS_DISCOVERY_DOMAIN "domain" #define REALM_DBUS_DISCOVERY_KDCS "kerberos-kdcs" #define REALM_DBUS_DISCOVERY_REALM "kerberos-realm" #define REALM_DBUS_NAME_CHARS "abcdefghijklnmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_" #define REALM_DBUS_LOGIN_POLICY_ANY "allow-any-login" #define REALM_DBUS_LOGIN_POLICY_REALM "allow-realm-logins" #define REALM_DBUS_LOGIN_POLICY_PERMITTED "allow-permitted-logins" #define REALM_DBUS_LOGIN_POLICY_DENY "deny-any-login" #define REALM_DBUS_OPTION_OPERATION "operation" #define REALM_DBUS_OPTION_COMPUTER_OU "computer-ou" #define REALM_DBUS_OPTION_SERVER_SOFTWARE "server-software" #define REALM_DBUS_OPTION_CLIENT_SOFTWARE "client-software" #define REALM_DBUS_OPTION_MEMBERSHIP_SOFTWARE "membership-software" #define REALM_DBUS_OPTION_USER_PRINCIPAL "user-principal" #define REALM_DBUS_OPTION_MANAGE_SYSTEM "manage-system" #define REALM_DBUS_IDENTIFIER_ACTIVE_DIRECTORY "active-directory" #define REALM_DBUS_IDENTIFIER_WINBIND "winbind" #define REALM_DBUS_IDENTIFIER_IPA "ipa" #define REALM_DBUS_IDENTIFIER_FREEIPA "freeipa" #define REALM_DBUS_IDENTIFIER_SSSD "sssd" #define REALM_DBUS_IDENTIFIER_SAMBA "samba" #define REALM_DBUS_IDENTIFIER_ADCLI "adcli" #define REALM_DBUS_IDENTIFIER_EXAMPLE "example" G_END_DECLS #endif /* __REALM_DBUS_CONSTANTS_H__ */ realmd-0.15.0/dbus/Makefile.in0000664000175000017500000006671112263026711016044 0ustar00stefstef00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(top_srcdir)/Makefile.decl $(srcdir)/Makefile.in \ $(srcdir)/Makefile.am $(top_srcdir)/depcomp subdir = dbus ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/build/m4/intltool.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LIBRARIES = $(noinst_LIBRARIES) AR = ar ARFLAGS = cru AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = librealm_dbus_a_AR = $(AR) $(ARFLAGS) librealm_dbus_a_LIBADD = am__objects_1 = am_librealm_dbus_a_OBJECTS = $(am__objects_1) am__objects_2 = librealm_dbus_a-realm-dbus-generated.$(OBJEXT) nodist_librealm_dbus_a_OBJECTS = $(am__objects_2) $(am__objects_1) librealm_dbus_a_OBJECTS = $(am_librealm_dbus_a_OBJECTS) \ $(nodist_librealm_dbus_a_OBJECTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(librealm_dbus_a_SOURCES) $(nodist_librealm_dbus_a_SOURCES) DIST_SOURCES = $(librealm_dbus_a_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(dbusservicedir)" \ "$(DESTDIR)$(servicedir)" "$(DESTDIR)$(systemdunitdir)" DATA = $(dbusservice_DATA) $(service_DATA) $(systemdunit_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_POLICY_DIR = @DBUS_POLICY_DIR@ DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTRO = @DISTRO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ KRB5_CFLAGS = @KRB5_CFLAGS@ KRB5_CONFIG = @KRB5_CONFIG@ KRB5_LIBS = @KRB5_LIBS@ LCOV = @LCOV@ LDAP_CFLAGS = @LDAP_CFLAGS@ LDAP_LIBS = @LDAP_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGEKIT_CFLAGS = @PACKAGEKIT_CFLAGS@ PACKAGEKIT_LIBS = @PACKAGEKIT_LIBS@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POLKIT_ACTION_DIR = @POLKIT_ACTION_DIR@ POLKIT_CFLAGS = @POLKIT_CFLAGS@ POLKIT_LIBS = @POLKIT_LIBS@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SYSTEMD_JOURNAL_CFLAGS = @SYSTEMD_JOURNAL_CFLAGS@ SYSTEMD_JOURNAL_LIBS = @SYSTEMD_JOURNAL_LIBS@ SYSTEMD_UNIT_DIR = @SYSTEMD_UNIT_DIR@ TEST_MODE = @TEST_MODE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XMLTO = @XMLTO@ XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ cachedir = @cachedir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ privatedir = @privatedir@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ NULL = TEST_SUPPRESSIONS = $(top_builddir)/build/valgrind-suppressions V_SED = $(V_SED_$(V)) V_SED_ = $(V_SED_$(AM_DEFAULT_VERBOSITY)) V_SED_0 = @echo " SED " $@; SED_SUBST = sed \ -e 's,[@]datadir[@],$(datadir),g' \ -e 's,[@]libexecdir[@],$(libexecdir),g' \ -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]includedir[@],$(includedir),g' \ -e 's,[@]datarootdir[@],$(datarootdir),g' \ -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ -e 's,[@]bindir[@],$(bindir),g' \ -e 's,[@]exec_prefix[@],$(exec_prefix),g' \ -e 's,[@]prefix[@],$(prefix),g' \ -e 's,[@]abs_srcdir[@],$(abs_srcdir),g' \ -e 's,[@]srcdir[@],$(srcdir),g' \ -e 's,[@]privatedir[@],$(privatedir),g' \ -e 's,[@]PACKAGE[@],$(PACKAGE),g' \ -e 's,[@]VERSION[@],$(VERSION),g' \ $(NULL) SUFFIXES = .conf .conf.in .desktop.in .desktop.in.in .service .service.in dbusservicedir = $(DBUS_POLICY_DIR) dbusservice_DATA = \ org.freedesktop.realmd.conf servicedir = $(DBUS_SERVICES_DIR) service_in_files = \ org.freedesktop.realmd.service.in service_DATA = $(service_in_files:.service.in=.service) noinst_LIBRARIES = \ librealm-dbus.a BUILT_SOURCES = \ realm-dbus-generated.c realm-dbus-generated.h librealm_dbus_a_SOURCES = \ realm-dbus-constants.h \ $(NULL) nodist_librealm_dbus_a_SOURCES = \ $(BUILT_SOURCES) \ $(NULL) librealm_dbus_a_CFLAGS = \ $(GLIB_CFLAGS) \ $(NULL) DBUS_XML_DEFINITIONS = \ org.freedesktop.realmd.xml DBUS_GENERATED = \ realm-dbus-generated.c \ realm-dbus-generated.h \ $(NULL) systemdunit_in_files = realmd.service.in @WITH_SYSTEMD_TRUE@systemdunitdir = $(SYSTEMD_UNIT_DIR) @WITH_SYSTEMD_TRUE@systemdunit_DATA = $(systemdunit_in_files:.service.in=.service) # ------------------------------------------------------------------ EXTRA_DIST = \ $(DBUS_XML_DEFINITIONS) \ $(dbusservice_DATA) \ $(provider_DATA) \ $(service_in_files) \ $(systemdunit_in_files) \ $(NULL) CLEANFILES = \ $(BUILT_SOURCES) \ $(DBUS_GENERATED) \ $(service_DATA) \ $(systemdunit_DATA) \ *.gcno \ *.gcda \ $(NULL) DISTCLEANFILES = \ $(NULL) all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .conf .conf.in .desktop.in .desktop.in.in .service .service.in .c .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign dbus/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign dbus/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.decl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) librealm-dbus.a: $(librealm_dbus_a_OBJECTS) $(librealm_dbus_a_DEPENDENCIES) $(EXTRA_librealm_dbus_a_DEPENDENCIES) $(AM_V_at)-rm -f librealm-dbus.a $(AM_V_AR)$(librealm_dbus_a_AR) librealm-dbus.a $(librealm_dbus_a_OBJECTS) $(librealm_dbus_a_LIBADD) $(AM_V_at)$(RANLIB) librealm-dbus.a mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librealm_dbus_a-realm-dbus-generated.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` librealm_dbus_a-realm-dbus-generated.o: realm-dbus-generated.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librealm_dbus_a_CFLAGS) $(CFLAGS) -MT librealm_dbus_a-realm-dbus-generated.o -MD -MP -MF $(DEPDIR)/librealm_dbus_a-realm-dbus-generated.Tpo -c -o librealm_dbus_a-realm-dbus-generated.o `test -f 'realm-dbus-generated.c' || echo '$(srcdir)/'`realm-dbus-generated.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/librealm_dbus_a-realm-dbus-generated.Tpo $(DEPDIR)/librealm_dbus_a-realm-dbus-generated.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-dbus-generated.c' object='librealm_dbus_a-realm-dbus-generated.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librealm_dbus_a_CFLAGS) $(CFLAGS) -c -o librealm_dbus_a-realm-dbus-generated.o `test -f 'realm-dbus-generated.c' || echo '$(srcdir)/'`realm-dbus-generated.c librealm_dbus_a-realm-dbus-generated.obj: realm-dbus-generated.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librealm_dbus_a_CFLAGS) $(CFLAGS) -MT librealm_dbus_a-realm-dbus-generated.obj -MD -MP -MF $(DEPDIR)/librealm_dbus_a-realm-dbus-generated.Tpo -c -o librealm_dbus_a-realm-dbus-generated.obj `if test -f 'realm-dbus-generated.c'; then $(CYGPATH_W) 'realm-dbus-generated.c'; else $(CYGPATH_W) '$(srcdir)/realm-dbus-generated.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/librealm_dbus_a-realm-dbus-generated.Tpo $(DEPDIR)/librealm_dbus_a-realm-dbus-generated.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-dbus-generated.c' object='librealm_dbus_a-realm-dbus-generated.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librealm_dbus_a_CFLAGS) $(CFLAGS) -c -o librealm_dbus_a-realm-dbus-generated.obj `if test -f 'realm-dbus-generated.c'; then $(CYGPATH_W) 'realm-dbus-generated.c'; else $(CYGPATH_W) '$(srcdir)/realm-dbus-generated.c'; fi` install-dbusserviceDATA: $(dbusservice_DATA) @$(NORMAL_INSTALL) @list='$(dbusservice_DATA)'; test -n "$(dbusservicedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(dbusservicedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(dbusservicedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(dbusservicedir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(dbusservicedir)" || exit $$?; \ done uninstall-dbusserviceDATA: @$(NORMAL_UNINSTALL) @list='$(dbusservice_DATA)'; test -n "$(dbusservicedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(dbusservicedir)'; $(am__uninstall_files_from_dir) install-serviceDATA: $(service_DATA) @$(NORMAL_INSTALL) @list='$(service_DATA)'; test -n "$(servicedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(servicedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(servicedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(servicedir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(servicedir)" || exit $$?; \ done uninstall-serviceDATA: @$(NORMAL_UNINSTALL) @list='$(service_DATA)'; test -n "$(servicedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(servicedir)'; $(am__uninstall_files_from_dir) install-systemdunitDATA: $(systemdunit_DATA) @$(NORMAL_INSTALL) @list='$(systemdunit_DATA)'; test -n "$(systemdunitdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(systemdunitdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(systemdunitdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(systemdunitdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(systemdunitdir)" || exit $$?; \ done uninstall-systemdunitDATA: @$(NORMAL_UNINSTALL) @list='$(systemdunit_DATA)'; test -n "$(systemdunitdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(systemdunitdir)'; $(am__uninstall_files_from_dir) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile $(LIBRARIES) $(DATA) installdirs: for dir in "$(DESTDIR)$(dbusservicedir)" "$(DESTDIR)$(servicedir)" "$(DESTDIR)$(systemdunitdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-am clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dbusserviceDATA install-serviceDATA \ install-systemdunitDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dbusserviceDATA uninstall-serviceDATA \ uninstall-systemdunitDATA .MAKE: all check install install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-noinstLIBRARIES cscopelist-am ctags ctags-am distclean \ distclean-compile distclean-generic distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dbusserviceDATA \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-serviceDATA install-strip \ install-systemdunitDATA installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am \ uninstall-dbusserviceDATA uninstall-serviceDATA \ uninstall-systemdunitDATA perform-memcheck: $(TEST_PROGS) $(TEST_SUPPRESSIONS) @make -C $(top_builddir)/build all @for test in $(TEST_PROGS); do \ G_SLICE=always-malloc libtool --mode=execute \ valgrind --trace-children=no --gen-suppressions=all \ --suppressions=$(TEST_SUPPRESSIONS) \ --leak-check=full --show-reachable=yes --num-callers=16 \ --quiet --error-exitcode=33 \ $(builddir)/$$test; \ done @WITH_COVERAGE_TRUE@coverage: @WITH_COVERAGE_TRUE@ mkdir -p $(top_builddir)/build/coverage @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --capture --output-file $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(GENHTML) --output-directory $(top_builddir)/build/coverage $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters @WITH_COVERAGE_TRUE@ @echo "file://$(abs_top_builddir)/build/coverage/index.html" @WITH_COVERAGE_TRUE@clear-coverage: @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters .desktop.in.in.desktop.in: $(V_SED) $(SED_SUBST) $< > $@ @INTLTOOL_DESKTOP_RULE@ .service.in.service: $(V_SED) $(SED_SUBST) $< > $@ .conf.in.conf: $(V_SED) $(SED_SUBST) $< > $@ $(DBUS_GENERATED): org.freedesktop.realmd.xml $(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.realmd. \ --generate-c-code realm-dbus-generated \ --c-namespace RealmDbus $< # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: realmd-0.15.0/dbus/Makefile.am0000664000175000017500000000264312140455743016032 0ustar00stefstef00000000000000include $(top_srcdir)/Makefile.decl dbusservicedir = $(DBUS_POLICY_DIR) dbusservice_DATA = \ org.freedesktop.realmd.conf servicedir = $(DBUS_SERVICES_DIR) service_in_files = \ org.freedesktop.realmd.service.in service_DATA = $(service_in_files:.service.in=.service) noinst_LIBRARIES = \ librealm-dbus.a BUILT_SOURCES = \ realm-dbus-generated.c realm-dbus-generated.h librealm_dbus_a_SOURCES = \ realm-dbus-constants.h \ $(NULL) nodist_librealm_dbus_a_SOURCES = \ $(BUILT_SOURCES) \ $(NULL) librealm_dbus_a_CFLAGS = \ $(GLIB_CFLAGS) \ $(NULL) DBUS_XML_DEFINITIONS = \ org.freedesktop.realmd.xml DBUS_GENERATED = \ realm-dbus-generated.c \ realm-dbus-generated.h \ $(NULL) $(DBUS_GENERATED): org.freedesktop.realmd.xml $(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.realmd. \ --generate-c-code realm-dbus-generated \ --c-namespace RealmDbus $< systemdunit_in_files = realmd.service.in if WITH_SYSTEMD systemdunitdir = $(SYSTEMD_UNIT_DIR) systemdunit_DATA = $(systemdunit_in_files:.service.in=.service) endif # ------------------------------------------------------------------ EXTRA_DIST = \ $(DBUS_XML_DEFINITIONS) \ $(dbusservice_DATA) \ $(provider_DATA) \ $(service_in_files) \ $(systemdunit_in_files) \ $(NULL) CLEANFILES = \ $(BUILT_SOURCES) \ $(DBUS_GENERATED) \ $(service_DATA) \ $(systemdunit_DATA) \ *.gcno \ *.gcda \ $(NULL) DISTCLEANFILES = \ $(NULL) realmd-0.15.0/dbus/realmd.service.in0000664000175000017500000000024012140455743017220 0ustar00stefstef00000000000000[Unit] Description=Realm and Domain Configuration Documentation=man:realmd(8) [Service] Type=dbus BusName=org.freedesktop.realmd ExecStart=@privatedir@/realmd realmd-0.15.0/compile0000755000175000017500000001624512177675036014431 0ustar00stefstef00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2013 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: realmd-0.15.0/build/0000775000175000017500000000000012263034130014120 5ustar00stefstef00000000000000realmd-0.15.0/build/valgrind/0000775000175000017500000000000012140455743015741 5ustar00stefstef00000000000000realmd-0.15.0/build/valgrind/memcheck.h0000664000175000017500000003221512140455743017671 0ustar00stefstef00000000000000 /* ---------------------------------------------------------------- Notice that the following BSD-style license applies to this one file (memcheck.h) only. The rest of Valgrind is licensed under the terms of the GNU General Public License, version 2, unless otherwise indicated. See the COPYING file in the source distribution for details. ---------------------------------------------------------------- This file is part of MemCheck, a heavyweight Valgrind tool for detecting memory errors. Copyright (C) 2000-2010 Julian Seward. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 3. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 4. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------- Notice that the above BSD-style license applies to this one file (memcheck.h) only. The entire rest of Valgrind is licensed under the terms of the GNU General Public License, version 2. See the COPYING file in the source distribution for details. ---------------------------------------------------------------- */ #ifndef __MEMCHECK_H #define __MEMCHECK_H /* This file is for inclusion into client (your!) code. You can use these macros to manipulate and query memory permissions inside your own programs. See comment near the top of valgrind.h on how to use them. */ #include "valgrind.h" #if defined(__GNUC__) # define VG_UNUSED __attribute__((unused)) #else # define VG_UNUSED #endif /* !! ABIWARNING !! ABIWARNING !! ABIWARNING !! ABIWARNING !! This enum comprises an ABI exported by Valgrind to programs which use client requests. DO NOT CHANGE THE ORDER OF THESE ENTRIES, NOR DELETE ANY -- add new ones at the end. */ typedef enum { VG_USERREQ__MAKE_MEM_NOACCESS = VG_USERREQ_TOOL_BASE('M','C'), VG_USERREQ__MAKE_MEM_UNDEFINED, VG_USERREQ__MAKE_MEM_DEFINED, VG_USERREQ__DISCARD, VG_USERREQ__CHECK_MEM_IS_ADDRESSABLE, VG_USERREQ__CHECK_MEM_IS_DEFINED, VG_USERREQ__DO_LEAK_CHECK, VG_USERREQ__COUNT_LEAKS, VG_USERREQ__GET_VBITS, VG_USERREQ__SET_VBITS, VG_USERREQ__CREATE_BLOCK, VG_USERREQ__MAKE_MEM_DEFINED_IF_ADDRESSABLE, /* Not next to VG_USERREQ__COUNT_LEAKS because it was added later. */ VG_USERREQ__COUNT_LEAK_BLOCKS, /* This is just for memcheck's internal use - don't use it */ _VG_USERREQ__MEMCHECK_RECORD_OVERLAP_ERROR = VG_USERREQ_TOOL_BASE('M','C') + 256 } Vg_MemCheckClientRequest; /* Client-code macros to manipulate the state of memory. */ /* Mark memory at _qzz_addr as unaddressable for _qzz_len bytes. */ #define VALGRIND_MAKE_MEM_NOACCESS(_qzz_addr,_qzz_len) \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, \ VG_USERREQ__MAKE_MEM_NOACCESS, \ (_qzz_addr), (_qzz_len), 0, 0, 0) /* Similarly, mark memory at _qzz_addr as addressable but undefined for _qzz_len bytes. */ #define VALGRIND_MAKE_MEM_UNDEFINED(_qzz_addr,_qzz_len) \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, \ VG_USERREQ__MAKE_MEM_UNDEFINED, \ (_qzz_addr), (_qzz_len), 0, 0, 0) /* Similarly, mark memory at _qzz_addr as addressable and defined for _qzz_len bytes. */ #define VALGRIND_MAKE_MEM_DEFINED(_qzz_addr,_qzz_len) \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, \ VG_USERREQ__MAKE_MEM_DEFINED, \ (_qzz_addr), (_qzz_len), 0, 0, 0) /* Similar to VALGRIND_MAKE_MEM_DEFINED except that addressability is not altered: bytes which are addressable are marked as defined, but those which are not addressable are left unchanged. */ #define VALGRIND_MAKE_MEM_DEFINED_IF_ADDRESSABLE(_qzz_addr,_qzz_len) \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, \ VG_USERREQ__MAKE_MEM_DEFINED_IF_ADDRESSABLE, \ (_qzz_addr), (_qzz_len), 0, 0, 0) /* Create a block-description handle. The description is an ascii string which is included in any messages pertaining to addresses within the specified memory range. Has no other effect on the properties of the memory range. */ #define VALGRIND_CREATE_BLOCK(_qzz_addr,_qzz_len, _qzz_desc) \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, \ VG_USERREQ__CREATE_BLOCK, \ (_qzz_addr), (_qzz_len), (_qzz_desc), \ 0, 0) /* Discard a block-description-handle. Returns 1 for an invalid handle, 0 for a valid handle. */ #define VALGRIND_DISCARD(_qzz_blkindex) \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, \ VG_USERREQ__DISCARD, \ 0, (_qzz_blkindex), 0, 0, 0) /* Client-code macros to check the state of memory. */ /* Check that memory at _qzz_addr is addressable for _qzz_len bytes. If suitable addressibility is not established, Valgrind prints an error message and returns the address of the first offending byte. Otherwise it returns zero. */ #define VALGRIND_CHECK_MEM_IS_ADDRESSABLE(_qzz_addr,_qzz_len) \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0, \ VG_USERREQ__CHECK_MEM_IS_ADDRESSABLE, \ (_qzz_addr), (_qzz_len), 0, 0, 0) /* Check that memory at _qzz_addr is addressable and defined for _qzz_len bytes. If suitable addressibility and definedness are not established, Valgrind prints an error message and returns the address of the first offending byte. Otherwise it returns zero. */ #define VALGRIND_CHECK_MEM_IS_DEFINED(_qzz_addr,_qzz_len) \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0, \ VG_USERREQ__CHECK_MEM_IS_DEFINED, \ (_qzz_addr), (_qzz_len), 0, 0, 0) /* Use this macro to force the definedness and addressibility of an lvalue to be checked. If suitable addressibility and definedness are not established, Valgrind prints an error message and returns the address of the first offending byte. Otherwise it returns zero. */ #define VALGRIND_CHECK_VALUE_IS_DEFINED(__lvalue) \ VALGRIND_CHECK_MEM_IS_DEFINED( \ (volatile unsigned char *)&(__lvalue), \ (unsigned long)(sizeof (__lvalue))) /* Do a full memory leak check (like --leak-check=full) mid-execution. */ #define VALGRIND_DO_LEAK_CHECK \ {unsigned long _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__DO_LEAK_CHECK, \ 0, 0, 0, 0, 0); \ } /* Do a summary memory leak check (like --leak-check=summary) mid-execution. */ #define VALGRIND_DO_QUICK_LEAK_CHECK \ {unsigned long _qzz_res; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__DO_LEAK_CHECK, \ 1, 0, 0, 0, 0); \ } /* Return number of leaked, dubious, reachable and suppressed bytes found by all previous leak checks. They must be lvalues. */ #define VALGRIND_COUNT_LEAKS(leaked, dubious, reachable, suppressed) \ /* For safety on 64-bit platforms we assign the results to private unsigned long variables, then assign these to the lvalues the user specified, which works no matter what type 'leaked', 'dubious', etc are. We also initialise '_qzz_leaked', etc because VG_USERREQ__COUNT_LEAKS doesn't mark the values returned as defined. */ \ {unsigned long _qzz_res; \ unsigned long _qzz_leaked = 0, _qzz_dubious = 0; \ unsigned long _qzz_reachable = 0, _qzz_suppressed = 0; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__COUNT_LEAKS, \ &_qzz_leaked, &_qzz_dubious, \ &_qzz_reachable, &_qzz_suppressed, 0); \ leaked = _qzz_leaked; \ dubious = _qzz_dubious; \ reachable = _qzz_reachable; \ suppressed = _qzz_suppressed; \ } /* Return number of leaked, dubious, reachable and suppressed bytes found by all previous leak checks. They must be lvalues. */ #define VALGRIND_COUNT_LEAK_BLOCKS(leaked, dubious, reachable, suppressed) \ /* For safety on 64-bit platforms we assign the results to private unsigned long variables, then assign these to the lvalues the user specified, which works no matter what type 'leaked', 'dubious', etc are. We also initialise '_qzz_leaked', etc because VG_USERREQ__COUNT_LEAKS doesn't mark the values returned as defined. */ \ {unsigned long _qzz_res; \ unsigned long _qzz_leaked = 0, _qzz_dubious = 0; \ unsigned long _qzz_reachable = 0, _qzz_suppressed = 0; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__COUNT_LEAK_BLOCKS, \ &_qzz_leaked, &_qzz_dubious, \ &_qzz_reachable, &_qzz_suppressed, 0); \ leaked = _qzz_leaked; \ dubious = _qzz_dubious; \ reachable = _qzz_reachable; \ suppressed = _qzz_suppressed; \ } /* Get the validity data for addresses [zza..zza+zznbytes-1] and copy it into the provided zzvbits array. Return values: 0 if not running on valgrind 1 success 2 [previously indicated unaligned arrays; these are now allowed] 3 if any parts of zzsrc/zzvbits are not addressable. The metadata is not copied in cases 0, 2 or 3 so it should be impossible to segfault your system by using this call. */ #define VALGRIND_GET_VBITS(zza,zzvbits,zznbytes) \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0, \ VG_USERREQ__GET_VBITS, \ (char*)(zza), (char*)(zzvbits), \ (zznbytes), 0, 0) /* Set the validity data for addresses [zza..zza+zznbytes-1], copying it from the provided zzvbits array. Return values: 0 if not running on valgrind 1 success 2 [previously indicated unaligned arrays; these are now allowed] 3 if any parts of zza/zzvbits are not addressable. The metadata is not copied in cases 0, 2 or 3 so it should be impossible to segfault your system by using this call. */ #define VALGRIND_SET_VBITS(zza,zzvbits,zznbytes) \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0, \ VG_USERREQ__SET_VBITS, \ (char*)(zza), (char*)(zzvbits), \ (zznbytes), 0, 0 ) #endif realmd-0.15.0/build/valgrind/valgrind.h0000664000175000017500000114247312140455743017734 0ustar00stefstef00000000000000/* -*- c -*- ---------------------------------------------------------------- Notice that the following BSD-style license applies to this one file (valgrind.h) only. The rest of Valgrind is licensed under the terms of the GNU General Public License, version 2, unless otherwise indicated. See the COPYING file in the source distribution for details. ---------------------------------------------------------------- This file is part of Valgrind, a dynamic binary instrumentation framework. Copyright (C) 2000-2010 Julian Seward. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 3. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 4. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------- Notice that the above BSD-style license applies to this one file (valgrind.h) only. The entire rest of Valgrind is licensed under the terms of the GNU General Public License, version 2. See the COPYING file in the source distribution for details. ---------------------------------------------------------------- */ /* This file is for inclusion into client (your!) code. You can use these macros to manipulate and query Valgrind's execution inside your own programs. The resulting executables will still run without Valgrind, just a little bit more slowly than they otherwise would, but otherwise unchanged. When not running on valgrind, each client request consumes very few (eg. 7) instructions, so the resulting performance loss is negligible unless you plan to execute client requests millions of times per second. Nevertheless, if that is still a problem, you can compile with the NVALGRIND symbol defined (gcc -DNVALGRIND) so that client requests are not even compiled in. */ #ifndef __VALGRIND_H #define __VALGRIND_H /* ------------------------------------------------------------------ */ /* VERSION NUMBER OF VALGRIND */ /* ------------------------------------------------------------------ */ /* Specify Valgrind's version number, so that user code can conditionally compile based on our version number. Note that these were introduced at version 3.6 and so do not exist in version 3.5 or earlier. The recommended way to use them to check for "version X.Y or later" is (eg) #if defined(__VALGRIND_MAJOR__) && defined(__VALGRIND_MINOR__) \ && (__VALGRIND_MAJOR__ > 3 \ || (__VALGRIND_MAJOR__ == 3 && __VALGRIND_MINOR__ >= 6)) */ #define __VALGRIND_MAJOR__ 3 #define __VALGRIND_MINOR__ 6 #include /* Nb: this file might be included in a file compiled with -ansi. So we can't use C++ style "//" comments nor the "asm" keyword (instead use "__asm__"). */ /* Derive some tags indicating what the target platform is. Note that in this file we're using the compiler's CPP symbols for identifying architectures, which are different to the ones we use within the rest of Valgrind. Note, __powerpc__ is active for both 32 and 64-bit PPC, whereas __powerpc64__ is only active for the latter (on Linux, that is). Misc note: how to find out what's predefined in gcc by default: gcc -Wp,-dM somefile.c */ #undef PLAT_ppc64_aix5 #undef PLAT_ppc32_aix5 #undef PLAT_x86_darwin #undef PLAT_amd64_darwin #undef PLAT_x86_win32 #undef PLAT_x86_linux #undef PLAT_amd64_linux #undef PLAT_ppc32_linux #undef PLAT_ppc64_linux #undef PLAT_arm_linux #undef PLAT_s390x_linux #if defined(_AIX) && defined(__64BIT__) # define PLAT_ppc64_aix5 1 #elif defined(_AIX) && !defined(__64BIT__) # define PLAT_ppc32_aix5 1 #elif defined(__APPLE__) && defined(__i386__) # define PLAT_x86_darwin 1 #elif defined(__APPLE__) && defined(__x86_64__) # define PLAT_amd64_darwin 1 #elif defined(__MINGW32__) || defined(__CYGWIN32__) || defined(_WIN32) && defined(_M_IX86) # define PLAT_x86_win32 1 #elif defined(__linux__) && defined(__i386__) # define PLAT_x86_linux 1 #elif defined(__linux__) && defined(__x86_64__) # define PLAT_amd64_linux 1 #elif defined(__linux__) && defined(__powerpc__) && !defined(__powerpc64__) # define PLAT_ppc32_linux 1 #elif defined(__linux__) && defined(__powerpc__) && defined(__powerpc64__) # define PLAT_ppc64_linux 1 #elif defined(__linux__) && defined(__arm__) # define PLAT_arm_linux 1 #elif defined(__linux__) && defined(__s390__) && defined(__s390x__) # define PLAT_s390x_linux 1 #else /* If we're not compiling for our target platform, don't generate any inline asms. */ # if !defined(NVALGRIND) # define NVALGRIND 1 # endif #endif /* ------------------------------------------------------------------ */ /* ARCHITECTURE SPECIFICS for SPECIAL INSTRUCTIONS. There is nothing */ /* in here of use to end-users -- skip to the next section. */ /* ------------------------------------------------------------------ */ #if defined(NVALGRIND) /* Define NVALGRIND to completely remove the Valgrind magic sequence from the compiled code (analogous to NDEBUG's effects on assert()) */ #define VALGRIND_DO_CLIENT_REQUEST( \ _zzq_rlval, _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ { \ (_zzq_rlval) = (_zzq_default); \ } #else /* ! NVALGRIND */ /* The following defines the magic code sequences which the JITter spots and handles magically. Don't look too closely at them as they will rot your brain. The assembly code sequences for all architectures is in this one file. This is because this file must be stand-alone, and we don't want to have multiple files. For VALGRIND_DO_CLIENT_REQUEST, we must ensure that the default value gets put in the return slot, so that everything works when this is executed not under Valgrind. Args are passed in a memory block, and so there's no intrinsic limit to the number that could be passed, but it's currently five. The macro args are: _zzq_rlval result lvalue _zzq_default default value (result returned when running on real CPU) _zzq_request request code _zzq_arg1..5 request params The other two macros are used to support function wrapping, and are a lot simpler. VALGRIND_GET_NR_CONTEXT returns the value of the guest's NRADDR pseudo-register and whatever other information is needed to safely run the call original from the wrapper: on ppc64-linux, the R2 value at the divert point is also needed. This information is abstracted into a user-visible type, OrigFn. VALGRIND_CALL_NOREDIR_* behaves the same as the following on the guest, but guarantees that the branch instruction will not be redirected: x86: call *%eax, amd64: call *%rax, ppc32/ppc64: branch-and-link-to-r11. VALGRIND_CALL_NOREDIR is just text, not a complete inline asm, since it needs to be combined with more magic inline asm stuff to be useful. */ /* ------------------------- x86-{linux,darwin} ---------------- */ #if defined(PLAT_x86_linux) || defined(PLAT_x86_darwin) \ || (defined(PLAT_x86_win32) && defined(__GNUC__)) typedef struct { unsigned int nraddr; /* where's the code? */ } OrigFn; #define __SPECIAL_INSTRUCTION_PREAMBLE \ "roll $3, %%edi ; roll $13, %%edi\n\t" \ "roll $29, %%edi ; roll $19, %%edi\n\t" #define VALGRIND_DO_CLIENT_REQUEST( \ _zzq_rlval, _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ { volatile unsigned int _zzq_args[6]; \ volatile unsigned int _zzq_result; \ _zzq_args[0] = (unsigned int)(_zzq_request); \ _zzq_args[1] = (unsigned int)(_zzq_arg1); \ _zzq_args[2] = (unsigned int)(_zzq_arg2); \ _zzq_args[3] = (unsigned int)(_zzq_arg3); \ _zzq_args[4] = (unsigned int)(_zzq_arg4); \ _zzq_args[5] = (unsigned int)(_zzq_arg5); \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %EDX = client_request ( %EAX ) */ \ "xchgl %%ebx,%%ebx" \ : "=d" (_zzq_result) \ : "a" (&_zzq_args[0]), "0" (_zzq_default) \ : "cc", "memory" \ ); \ _zzq_rlval = _zzq_result; \ } #define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \ { volatile OrigFn* _zzq_orig = &(_zzq_rlval); \ volatile unsigned int __addr; \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %EAX = guest_NRADDR */ \ "xchgl %%ecx,%%ecx" \ : "=a" (__addr) \ : \ : "cc", "memory" \ ); \ _zzq_orig->nraddr = __addr; \ } #define VALGRIND_CALL_NOREDIR_EAX \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* call-noredir *%EAX */ \ "xchgl %%edx,%%edx\n\t" #endif /* PLAT_x86_linux || PLAT_x86_darwin || (PLAT_x86_win32 && __GNUC__) */ /* ------------------------- x86-Win32 ------------------------- */ #if defined(PLAT_x86_win32) && !defined(__GNUC__) typedef struct { unsigned int nraddr; /* where's the code? */ } OrigFn; #if defined(_MSC_VER) #define __SPECIAL_INSTRUCTION_PREAMBLE \ __asm rol edi, 3 __asm rol edi, 13 \ __asm rol edi, 29 __asm rol edi, 19 #define VALGRIND_DO_CLIENT_REQUEST( \ _zzq_rlval, _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ { volatile uintptr_t _zzq_args[6]; \ volatile unsigned int _zzq_result; \ _zzq_args[0] = (uintptr_t)(_zzq_request); \ _zzq_args[1] = (uintptr_t)(_zzq_arg1); \ _zzq_args[2] = (uintptr_t)(_zzq_arg2); \ _zzq_args[3] = (uintptr_t)(_zzq_arg3); \ _zzq_args[4] = (uintptr_t)(_zzq_arg4); \ _zzq_args[5] = (uintptr_t)(_zzq_arg5); \ __asm { __asm lea eax, _zzq_args __asm mov edx, _zzq_default \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* %EDX = client_request ( %EAX ) */ \ __asm xchg ebx,ebx \ __asm mov _zzq_result, edx \ } \ _zzq_rlval = _zzq_result; \ } #define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \ { volatile OrigFn* _zzq_orig = &(_zzq_rlval); \ volatile unsigned int __addr; \ __asm { __SPECIAL_INSTRUCTION_PREAMBLE \ /* %EAX = guest_NRADDR */ \ __asm xchg ecx,ecx \ __asm mov __addr, eax \ } \ _zzq_orig->nraddr = __addr; \ } #define VALGRIND_CALL_NOREDIR_EAX ERROR #else #error Unsupported compiler. #endif #endif /* PLAT_x86_win32 */ /* ------------------------ amd64-{linux,darwin} --------------- */ #if defined(PLAT_amd64_linux) || defined(PLAT_amd64_darwin) typedef struct { unsigned long long int nraddr; /* where's the code? */ } OrigFn; #define __SPECIAL_INSTRUCTION_PREAMBLE \ "rolq $3, %%rdi ; rolq $13, %%rdi\n\t" \ "rolq $61, %%rdi ; rolq $51, %%rdi\n\t" #define VALGRIND_DO_CLIENT_REQUEST( \ _zzq_rlval, _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ { volatile unsigned long long int _zzq_args[6]; \ volatile unsigned long long int _zzq_result; \ _zzq_args[0] = (unsigned long long int)(_zzq_request); \ _zzq_args[1] = (unsigned long long int)(_zzq_arg1); \ _zzq_args[2] = (unsigned long long int)(_zzq_arg2); \ _zzq_args[3] = (unsigned long long int)(_zzq_arg3); \ _zzq_args[4] = (unsigned long long int)(_zzq_arg4); \ _zzq_args[5] = (unsigned long long int)(_zzq_arg5); \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %RDX = client_request ( %RAX ) */ \ "xchgq %%rbx,%%rbx" \ : "=d" (_zzq_result) \ : "a" (&_zzq_args[0]), "0" (_zzq_default) \ : "cc", "memory" \ ); \ _zzq_rlval = _zzq_result; \ } #define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \ { volatile OrigFn* _zzq_orig = &(_zzq_rlval); \ volatile unsigned long long int __addr; \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %RAX = guest_NRADDR */ \ "xchgq %%rcx,%%rcx" \ : "=a" (__addr) \ : \ : "cc", "memory" \ ); \ _zzq_orig->nraddr = __addr; \ } #define VALGRIND_CALL_NOREDIR_RAX \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* call-noredir *%RAX */ \ "xchgq %%rdx,%%rdx\n\t" #endif /* PLAT_amd64_linux || PLAT_amd64_darwin */ /* ------------------------ ppc32-linux ------------------------ */ #if defined(PLAT_ppc32_linux) typedef struct { unsigned int nraddr; /* where's the code? */ } OrigFn; #define __SPECIAL_INSTRUCTION_PREAMBLE \ "rlwinm 0,0,3,0,0 ; rlwinm 0,0,13,0,0\n\t" \ "rlwinm 0,0,29,0,0 ; rlwinm 0,0,19,0,0\n\t" #define VALGRIND_DO_CLIENT_REQUEST( \ _zzq_rlval, _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ \ { unsigned int _zzq_args[6]; \ unsigned int _zzq_result; \ unsigned int* _zzq_ptr; \ _zzq_args[0] = (unsigned int)(_zzq_request); \ _zzq_args[1] = (unsigned int)(_zzq_arg1); \ _zzq_args[2] = (unsigned int)(_zzq_arg2); \ _zzq_args[3] = (unsigned int)(_zzq_arg3); \ _zzq_args[4] = (unsigned int)(_zzq_arg4); \ _zzq_args[5] = (unsigned int)(_zzq_arg5); \ _zzq_ptr = _zzq_args; \ __asm__ volatile("mr 3,%1\n\t" /*default*/ \ "mr 4,%2\n\t" /*ptr*/ \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* %R3 = client_request ( %R4 ) */ \ "or 1,1,1\n\t" \ "mr %0,3" /*result*/ \ : "=b" (_zzq_result) \ : "b" (_zzq_default), "b" (_zzq_ptr) \ : "cc", "memory", "r3", "r4"); \ _zzq_rlval = _zzq_result; \ } #define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \ { volatile OrigFn* _zzq_orig = &(_zzq_rlval); \ unsigned int __addr; \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %R3 = guest_NRADDR */ \ "or 2,2,2\n\t" \ "mr %0,3" \ : "=b" (__addr) \ : \ : "cc", "memory", "r3" \ ); \ _zzq_orig->nraddr = __addr; \ } #define VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* branch-and-link-to-noredir *%R11 */ \ "or 3,3,3\n\t" #endif /* PLAT_ppc32_linux */ /* ------------------------ ppc64-linux ------------------------ */ #if defined(PLAT_ppc64_linux) typedef struct { unsigned long long int nraddr; /* where's the code? */ unsigned long long int r2; /* what tocptr do we need? */ } OrigFn; #define __SPECIAL_INSTRUCTION_PREAMBLE \ "rotldi 0,0,3 ; rotldi 0,0,13\n\t" \ "rotldi 0,0,61 ; rotldi 0,0,51\n\t" #define VALGRIND_DO_CLIENT_REQUEST( \ _zzq_rlval, _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ \ { unsigned long long int _zzq_args[6]; \ register unsigned long long int _zzq_result __asm__("r3"); \ register unsigned long long int* _zzq_ptr __asm__("r4"); \ _zzq_args[0] = (unsigned long long int)(_zzq_request); \ _zzq_args[1] = (unsigned long long int)(_zzq_arg1); \ _zzq_args[2] = (unsigned long long int)(_zzq_arg2); \ _zzq_args[3] = (unsigned long long int)(_zzq_arg3); \ _zzq_args[4] = (unsigned long long int)(_zzq_arg4); \ _zzq_args[5] = (unsigned long long int)(_zzq_arg5); \ _zzq_ptr = _zzq_args; \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %R3 = client_request ( %R4 ) */ \ "or 1,1,1" \ : "=r" (_zzq_result) \ : "0" (_zzq_default), "r" (_zzq_ptr) \ : "cc", "memory"); \ _zzq_rlval = _zzq_result; \ } #define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \ { volatile OrigFn* _zzq_orig = &(_zzq_rlval); \ register unsigned long long int __addr __asm__("r3"); \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %R3 = guest_NRADDR */ \ "or 2,2,2" \ : "=r" (__addr) \ : \ : "cc", "memory" \ ); \ _zzq_orig->nraddr = __addr; \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %R3 = guest_NRADDR_GPR2 */ \ "or 4,4,4" \ : "=r" (__addr) \ : \ : "cc", "memory" \ ); \ _zzq_orig->r2 = __addr; \ } #define VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* branch-and-link-to-noredir *%R11 */ \ "or 3,3,3\n\t" #endif /* PLAT_ppc64_linux */ /* ------------------------- arm-linux ------------------------- */ #if defined(PLAT_arm_linux) typedef struct { unsigned int nraddr; /* where's the code? */ } OrigFn; #define __SPECIAL_INSTRUCTION_PREAMBLE \ "mov r12, r12, ror #3 ; mov r12, r12, ror #13 \n\t" \ "mov r12, r12, ror #29 ; mov r12, r12, ror #19 \n\t" #define VALGRIND_DO_CLIENT_REQUEST( \ _zzq_rlval, _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ \ { volatile unsigned int _zzq_args[6]; \ volatile unsigned int _zzq_result; \ _zzq_args[0] = (unsigned int)(_zzq_request); \ _zzq_args[1] = (unsigned int)(_zzq_arg1); \ _zzq_args[2] = (unsigned int)(_zzq_arg2); \ _zzq_args[3] = (unsigned int)(_zzq_arg3); \ _zzq_args[4] = (unsigned int)(_zzq_arg4); \ _zzq_args[5] = (unsigned int)(_zzq_arg5); \ __asm__ volatile("mov r3, %1\n\t" /*default*/ \ "mov r4, %2\n\t" /*ptr*/ \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* R3 = client_request ( R4 ) */ \ "orr r10, r10, r10\n\t" \ "mov %0, r3" /*result*/ \ : "=r" (_zzq_result) \ : "r" (_zzq_default), "r" (&_zzq_args[0]) \ : "cc","memory", "r3", "r4"); \ _zzq_rlval = _zzq_result; \ } #define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \ { volatile OrigFn* _zzq_orig = &(_zzq_rlval); \ unsigned int __addr; \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* R3 = guest_NRADDR */ \ "orr r11, r11, r11\n\t" \ "mov %0, r3" \ : "=r" (__addr) \ : \ : "cc", "memory", "r3" \ ); \ _zzq_orig->nraddr = __addr; \ } #define VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* branch-and-link-to-noredir *%R4 */ \ "orr r12, r12, r12\n\t" #endif /* PLAT_arm_linux */ /* ------------------------ ppc32-aix5 ------------------------- */ #if defined(PLAT_ppc32_aix5) typedef struct { unsigned int nraddr; /* where's the code? */ unsigned int r2; /* what tocptr do we need? */ } OrigFn; #define __SPECIAL_INSTRUCTION_PREAMBLE \ "rlwinm 0,0,3,0,0 ; rlwinm 0,0,13,0,0\n\t" \ "rlwinm 0,0,29,0,0 ; rlwinm 0,0,19,0,0\n\t" #define VALGRIND_DO_CLIENT_REQUEST( \ _zzq_rlval, _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ \ { unsigned int _zzq_args[7]; \ register unsigned int _zzq_result; \ register unsigned int* _zzq_ptr; \ _zzq_args[0] = (unsigned int)(_zzq_request); \ _zzq_args[1] = (unsigned int)(_zzq_arg1); \ _zzq_args[2] = (unsigned int)(_zzq_arg2); \ _zzq_args[3] = (unsigned int)(_zzq_arg3); \ _zzq_args[4] = (unsigned int)(_zzq_arg4); \ _zzq_args[5] = (unsigned int)(_zzq_arg5); \ _zzq_args[6] = (unsigned int)(_zzq_default); \ _zzq_ptr = _zzq_args; \ __asm__ volatile("mr 4,%1\n\t" \ "lwz 3, 24(4)\n\t" \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* %R3 = client_request ( %R4 ) */ \ "or 1,1,1\n\t" \ "mr %0,3" \ : "=b" (_zzq_result) \ : "b" (_zzq_ptr) \ : "r3", "r4", "cc", "memory"); \ _zzq_rlval = _zzq_result; \ } #define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \ { volatile OrigFn* _zzq_orig = &(_zzq_rlval); \ register unsigned int __addr; \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %R3 = guest_NRADDR */ \ "or 2,2,2\n\t" \ "mr %0,3" \ : "=b" (__addr) \ : \ : "r3", "cc", "memory" \ ); \ _zzq_orig->nraddr = __addr; \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %R3 = guest_NRADDR_GPR2 */ \ "or 4,4,4\n\t" \ "mr %0,3" \ : "=b" (__addr) \ : \ : "r3", "cc", "memory" \ ); \ _zzq_orig->r2 = __addr; \ } #define VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* branch-and-link-to-noredir *%R11 */ \ "or 3,3,3\n\t" #endif /* PLAT_ppc32_aix5 */ /* ------------------------ ppc64-aix5 ------------------------- */ #if defined(PLAT_ppc64_aix5) typedef struct { unsigned long long int nraddr; /* where's the code? */ unsigned long long int r2; /* what tocptr do we need? */ } OrigFn; #define __SPECIAL_INSTRUCTION_PREAMBLE \ "rotldi 0,0,3 ; rotldi 0,0,13\n\t" \ "rotldi 0,0,61 ; rotldi 0,0,51\n\t" #define VALGRIND_DO_CLIENT_REQUEST( \ _zzq_rlval, _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ \ { unsigned long long int _zzq_args[7]; \ register unsigned long long int _zzq_result; \ register unsigned long long int* _zzq_ptr; \ _zzq_args[0] = (unsigned int long long)(_zzq_request); \ _zzq_args[1] = (unsigned int long long)(_zzq_arg1); \ _zzq_args[2] = (unsigned int long long)(_zzq_arg2); \ _zzq_args[3] = (unsigned int long long)(_zzq_arg3); \ _zzq_args[4] = (unsigned int long long)(_zzq_arg4); \ _zzq_args[5] = (unsigned int long long)(_zzq_arg5); \ _zzq_args[6] = (unsigned int long long)(_zzq_default); \ _zzq_ptr = _zzq_args; \ __asm__ volatile("mr 4,%1\n\t" \ "ld 3, 48(4)\n\t" \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* %R3 = client_request ( %R4 ) */ \ "or 1,1,1\n\t" \ "mr %0,3" \ : "=b" (_zzq_result) \ : "b" (_zzq_ptr) \ : "r3", "r4", "cc", "memory"); \ _zzq_rlval = _zzq_result; \ } #define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \ { volatile OrigFn* _zzq_orig = &(_zzq_rlval); \ register unsigned long long int __addr; \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %R3 = guest_NRADDR */ \ "or 2,2,2\n\t" \ "mr %0,3" \ : "=b" (__addr) \ : \ : "r3", "cc", "memory" \ ); \ _zzq_orig->nraddr = __addr; \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ /* %R3 = guest_NRADDR_GPR2 */ \ "or 4,4,4\n\t" \ "mr %0,3" \ : "=b" (__addr) \ : \ : "r3", "cc", "memory" \ ); \ _zzq_orig->r2 = __addr; \ } #define VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ __SPECIAL_INSTRUCTION_PREAMBLE \ /* branch-and-link-to-noredir *%R11 */ \ "or 3,3,3\n\t" #endif /* PLAT_ppc64_aix5 */ /* ------------------------ s390x-linux ------------------------ */ #if defined(PLAT_s390x_linux) typedef struct { unsigned long long int nraddr; /* where's the code? */ } OrigFn; /* __SPECIAL_INSTRUCTION_PREAMBLE will be used to identify Valgrind specific * code. This detection is implemented in platform specific toIR.c * (e.g. VEX/priv/guest_s390_decoder.c). */ #define __SPECIAL_INSTRUCTION_PREAMBLE \ "lr 15,15\n\t" \ "lr 1,1\n\t" \ "lr 2,2\n\t" \ "lr 3,3\n\t" #define __CLIENT_REQUEST_CODE "lr 2,2\n\t" #define __GET_NR_CONTEXT_CODE "lr 3,3\n\t" #define __CALL_NO_REDIR_CODE "lr 4,4\n\t" #define VALGRIND_DO_CLIENT_REQUEST( \ _zzq_rlval, _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ { volatile unsigned long long int _zzq_args[6]; \ volatile unsigned long long int _zzq_result; \ _zzq_args[0] = (unsigned long long int)(_zzq_request); \ _zzq_args[1] = (unsigned long long int)(_zzq_arg1); \ _zzq_args[2] = (unsigned long long int)(_zzq_arg2); \ _zzq_args[3] = (unsigned long long int)(_zzq_arg3); \ _zzq_args[4] = (unsigned long long int)(_zzq_arg4); \ _zzq_args[5] = (unsigned long long int)(_zzq_arg5); \ __asm__ volatile(/* r2 = args */ \ "lgr 2,%1\n\t" \ /* r3 = default */ \ "lgr 3,%2\n\t" \ __SPECIAL_INSTRUCTION_PREAMBLE \ __CLIENT_REQUEST_CODE \ /* results = r3 */ \ "lgr %0, 3\n\t" \ : "=d" (_zzq_result) \ : "a" (&_zzq_args[0]), "0" (_zzq_default) \ : "cc", "2", "3", "memory" \ ); \ _zzq_rlval = _zzq_result; \ } #define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \ { volatile OrigFn* _zzq_orig = &(_zzq_rlval); \ volatile unsigned long long int __addr; \ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \ __GET_NR_CONTEXT_CODE \ "lgr %0, 3\n\t" \ : "=a" (__addr) \ : \ : "cc", "3", "memory" \ ); \ _zzq_orig->nraddr = __addr; \ } #define VALGRIND_CALL_NOREDIR_R1 \ __SPECIAL_INSTRUCTION_PREAMBLE \ __CALL_NO_REDIR_CODE #endif /* PLAT_s390x_linux */ /* Insert assembly code for other platforms here... */ #endif /* NVALGRIND */ /* ------------------------------------------------------------------ */ /* PLATFORM SPECIFICS for FUNCTION WRAPPING. This is all very */ /* ugly. It's the least-worst tradeoff I can think of. */ /* ------------------------------------------------------------------ */ /* This section defines magic (a.k.a appalling-hack) macros for doing guaranteed-no-redirection macros, so as to get from function wrappers to the functions they are wrapping. The whole point is to construct standard call sequences, but to do the call itself with a special no-redirect call pseudo-instruction that the JIT understands and handles specially. This section is long and repetitious, and I can't see a way to make it shorter. The naming scheme is as follows: CALL_FN_{W,v}_{v,W,WW,WWW,WWWW,5W,6W,7W,etc} 'W' stands for "word" and 'v' for "void". Hence there are different macros for calling arity 0, 1, 2, 3, 4, etc, functions, and for each, the possibility of returning a word-typed result, or no result. */ /* Use these to write the name of your wrapper. NOTE: duplicates VG_WRAP_FUNCTION_Z{U,Z} in pub_tool_redir.h. */ /* Use an extra level of macroisation so as to ensure the soname/fnname args are fully macro-expanded before pasting them together. */ #define VG_CONCAT4(_aa,_bb,_cc,_dd) _aa##_bb##_cc##_dd #define I_WRAP_SONAME_FNNAME_ZU(soname,fnname) \ VG_CONCAT4(_vgwZU_,soname,_,fnname) #define I_WRAP_SONAME_FNNAME_ZZ(soname,fnname) \ VG_CONCAT4(_vgwZZ_,soname,_,fnname) /* Use this macro from within a wrapper function to collect the context (address and possibly other info) of the original function. Once you have that you can then use it in one of the CALL_FN_ macros. The type of the argument _lval is OrigFn. */ #define VALGRIND_GET_ORIG_FN(_lval) VALGRIND_GET_NR_CONTEXT(_lval) /* Derivatives of the main macros below, for calling functions returning void. */ #define CALL_FN_v_v(fnptr) \ do { volatile unsigned long _junk; \ CALL_FN_W_v(_junk,fnptr); } while (0) #define CALL_FN_v_W(fnptr, arg1) \ do { volatile unsigned long _junk; \ CALL_FN_W_W(_junk,fnptr,arg1); } while (0) #define CALL_FN_v_WW(fnptr, arg1,arg2) \ do { volatile unsigned long _junk; \ CALL_FN_W_WW(_junk,fnptr,arg1,arg2); } while (0) #define CALL_FN_v_WWW(fnptr, arg1,arg2,arg3) \ do { volatile unsigned long _junk; \ CALL_FN_W_WWW(_junk,fnptr,arg1,arg2,arg3); } while (0) #define CALL_FN_v_WWWW(fnptr, arg1,arg2,arg3,arg4) \ do { volatile unsigned long _junk; \ CALL_FN_W_WWWW(_junk,fnptr,arg1,arg2,arg3,arg4); } while (0) #define CALL_FN_v_5W(fnptr, arg1,arg2,arg3,arg4,arg5) \ do { volatile unsigned long _junk; \ CALL_FN_W_5W(_junk,fnptr,arg1,arg2,arg3,arg4,arg5); } while (0) #define CALL_FN_v_6W(fnptr, arg1,arg2,arg3,arg4,arg5,arg6) \ do { volatile unsigned long _junk; \ CALL_FN_W_6W(_junk,fnptr,arg1,arg2,arg3,arg4,arg5,arg6); } while (0) #define CALL_FN_v_7W(fnptr, arg1,arg2,arg3,arg4,arg5,arg6,arg7) \ do { volatile unsigned long _junk; \ CALL_FN_W_7W(_junk,fnptr,arg1,arg2,arg3,arg4,arg5,arg6,arg7); } while (0) /* ------------------------- x86-{linux,darwin} ---------------- */ #if defined(PLAT_x86_linux) || defined(PLAT_x86_darwin) /* These regs are trashed by the hidden call. No need to mention eax as gcc can already see that, plus causes gcc to bomb. */ #define __CALLER_SAVED_REGS /*"eax"*/ "ecx", "edx" /* These CALL_FN_ macros assume that on x86-linux, sizeof(unsigned long) == 4. */ #define CALL_FN_W_v(lval, orig) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[1]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ __asm__ volatile( \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_W(lval, orig, arg1) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[2]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ __asm__ volatile( \ "subl $12, %%esp\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $16, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WW(lval, orig, arg1,arg2) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ __asm__ volatile( \ "subl $8, %%esp\n\t" \ "pushl 8(%%eax)\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $16, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWW(lval, orig, arg1,arg2,arg3) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[4]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ __asm__ volatile( \ "subl $4, %%esp\n\t" \ "pushl 12(%%eax)\n\t" \ "pushl 8(%%eax)\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $16, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWWW(lval, orig, arg1,arg2,arg3,arg4) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[5]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ __asm__ volatile( \ "pushl 16(%%eax)\n\t" \ "pushl 12(%%eax)\n\t" \ "pushl 8(%%eax)\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $16, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_5W(lval, orig, arg1,arg2,arg3,arg4,arg5) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[6]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ __asm__ volatile( \ "subl $12, %%esp\n\t" \ "pushl 20(%%eax)\n\t" \ "pushl 16(%%eax)\n\t" \ "pushl 12(%%eax)\n\t" \ "pushl 8(%%eax)\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $32, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_6W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[7]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ __asm__ volatile( \ "subl $8, %%esp\n\t" \ "pushl 24(%%eax)\n\t" \ "pushl 20(%%eax)\n\t" \ "pushl 16(%%eax)\n\t" \ "pushl 12(%%eax)\n\t" \ "pushl 8(%%eax)\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $32, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_7W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[8]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ __asm__ volatile( \ "subl $4, %%esp\n\t" \ "pushl 28(%%eax)\n\t" \ "pushl 24(%%eax)\n\t" \ "pushl 20(%%eax)\n\t" \ "pushl 16(%%eax)\n\t" \ "pushl 12(%%eax)\n\t" \ "pushl 8(%%eax)\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $32, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_8W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[9]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ __asm__ volatile( \ "pushl 32(%%eax)\n\t" \ "pushl 28(%%eax)\n\t" \ "pushl 24(%%eax)\n\t" \ "pushl 20(%%eax)\n\t" \ "pushl 16(%%eax)\n\t" \ "pushl 12(%%eax)\n\t" \ "pushl 8(%%eax)\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $32, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_9W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[10]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ __asm__ volatile( \ "subl $12, %%esp\n\t" \ "pushl 36(%%eax)\n\t" \ "pushl 32(%%eax)\n\t" \ "pushl 28(%%eax)\n\t" \ "pushl 24(%%eax)\n\t" \ "pushl 20(%%eax)\n\t" \ "pushl 16(%%eax)\n\t" \ "pushl 12(%%eax)\n\t" \ "pushl 8(%%eax)\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $48, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_10W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[11]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ _argvec[10] = (unsigned long)(arg10); \ __asm__ volatile( \ "subl $8, %%esp\n\t" \ "pushl 40(%%eax)\n\t" \ "pushl 36(%%eax)\n\t" \ "pushl 32(%%eax)\n\t" \ "pushl 28(%%eax)\n\t" \ "pushl 24(%%eax)\n\t" \ "pushl 20(%%eax)\n\t" \ "pushl 16(%%eax)\n\t" \ "pushl 12(%%eax)\n\t" \ "pushl 8(%%eax)\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $48, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_11W(lval, orig, arg1,arg2,arg3,arg4,arg5, \ arg6,arg7,arg8,arg9,arg10, \ arg11) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[12]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ _argvec[10] = (unsigned long)(arg10); \ _argvec[11] = (unsigned long)(arg11); \ __asm__ volatile( \ "subl $4, %%esp\n\t" \ "pushl 44(%%eax)\n\t" \ "pushl 40(%%eax)\n\t" \ "pushl 36(%%eax)\n\t" \ "pushl 32(%%eax)\n\t" \ "pushl 28(%%eax)\n\t" \ "pushl 24(%%eax)\n\t" \ "pushl 20(%%eax)\n\t" \ "pushl 16(%%eax)\n\t" \ "pushl 12(%%eax)\n\t" \ "pushl 8(%%eax)\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $48, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_12W(lval, orig, arg1,arg2,arg3,arg4,arg5, \ arg6,arg7,arg8,arg9,arg10, \ arg11,arg12) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[13]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ _argvec[10] = (unsigned long)(arg10); \ _argvec[11] = (unsigned long)(arg11); \ _argvec[12] = (unsigned long)(arg12); \ __asm__ volatile( \ "pushl 48(%%eax)\n\t" \ "pushl 44(%%eax)\n\t" \ "pushl 40(%%eax)\n\t" \ "pushl 36(%%eax)\n\t" \ "pushl 32(%%eax)\n\t" \ "pushl 28(%%eax)\n\t" \ "pushl 24(%%eax)\n\t" \ "pushl 20(%%eax)\n\t" \ "pushl 16(%%eax)\n\t" \ "pushl 12(%%eax)\n\t" \ "pushl 8(%%eax)\n\t" \ "pushl 4(%%eax)\n\t" \ "movl (%%eax), %%eax\n\t" /* target->%eax */ \ VALGRIND_CALL_NOREDIR_EAX \ "addl $48, %%esp\n" \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #endif /* PLAT_x86_linux || PLAT_x86_darwin */ /* ------------------------ amd64-{linux,darwin} --------------- */ #if defined(PLAT_amd64_linux) || defined(PLAT_amd64_darwin) /* ARGREGS: rdi rsi rdx rcx r8 r9 (the rest on stack in R-to-L order) */ /* These regs are trashed by the hidden call. */ #define __CALLER_SAVED_REGS /*"rax",*/ "rcx", "rdx", "rsi", \ "rdi", "r8", "r9", "r10", "r11" /* This is all pretty complex. It's so as to make stack unwinding work reliably. See bug 243270. The basic problem is the sub and add of 128 of %rsp in all of the following macros. If gcc believes the CFA is in %rsp, then unwinding may fail, because what's at the CFA is not what gcc "expected" when it constructs the CFIs for the places where the macros are instantiated. But we can't just add a CFI annotation to increase the CFA offset by 128, to match the sub of 128 from %rsp, because we don't know whether gcc has chosen %rsp as the CFA at that point, or whether it has chosen some other register (eg, %rbp). In the latter case, adding a CFI annotation to change the CFA offset is simply wrong. So the solution is to get hold of the CFA using __builtin_dwarf_cfa(), put it in a known register, and add a CFI annotation to say what the register is. We choose %rbp for this (perhaps perversely), because: (1) %rbp is already subject to unwinding. If a new register was chosen then the unwinder would have to unwind it in all stack traces, which is expensive, and (2) %rbp is already subject to precise exception updates in the JIT. If a new register was chosen, we'd have to have precise exceptions for it too, which reduces performance of the generated code. However .. one extra complication. We can't just whack the result of __builtin_dwarf_cfa() into %rbp and then add %rbp to the list of trashed registers at the end of the inline assembly fragments; gcc won't allow %rbp to appear in that list. Hence instead we need to stash %rbp in %r15 for the duration of the asm, and say that %r15 is trashed instead. gcc seems happy to go with that. Oh .. and this all needs to be conditionalised so that it is unchanged from before this commit, when compiled with older gccs that don't support __builtin_dwarf_cfa. Furthermore, since this header file is freestanding, it has to be independent of config.h, and so the following conditionalisation cannot depend on configure time checks. Although it's not clear from 'defined(__GNUC__) && defined(__GCC_HAVE_DWARF2_CFI_ASM)', this expression excludes Darwin. .cfi directives in Darwin assembly appear to be completely different and I haven't investigated how they work. For even more entertainment value, note we have to use the completely undocumented __builtin_dwarf_cfa(), which appears to really compute the CFA, whereas __builtin_frame_address(0) claims to but actually doesn't. See https://bugs.kde.org/show_bug.cgi?id=243270#c47 */ #if defined(__GNUC__) && defined(__GCC_HAVE_DWARF2_CFI_ASM) # define __FRAME_POINTER \ ,"r"(__builtin_dwarf_cfa()) # define VALGRIND_CFI_PROLOGUE \ "movq %%rbp, %%r15\n\t" \ "movq %2, %%rbp\n\t" \ ".cfi_remember_state\n\t" \ ".cfi_def_cfa rbp, 0\n\t" # define VALGRIND_CFI_EPILOGUE \ "movq %%r15, %%rbp\n\t" \ ".cfi_restore_state\n\t" #else # define __FRAME_POINTER # define VALGRIND_CFI_PROLOGUE # define VALGRIND_CFI_EPILOGUE #endif /* These CALL_FN_ macros assume that on amd64-linux, sizeof(unsigned long) == 8. */ /* NB 9 Sept 07. There is a nasty kludge here in all these CALL_FN_ macros. In order not to trash the stack redzone, we need to drop %rsp by 128 before the hidden call, and restore afterwards. The nastyness is that it is only by luck that the stack still appears to be unwindable during the hidden call - since then the behaviour of any routine using this macro does not match what the CFI data says. Sigh. Why is this important? Imagine that a wrapper has a stack allocated local, and passes to the hidden call, a pointer to it. Because gcc does not know about the hidden call, it may allocate that local in the redzone. Unfortunately the hidden call may then trash it before it comes to use it. So we must step clear of the redzone, for the duration of the hidden call, to make it safe. Probably the same problem afflicts the other redzone-style ABIs too (ppc64-linux, ppc32-aix5, ppc64-aix5); but for those, the stack is self describing (none of this CFI nonsense) so at least messing with the stack pointer doesn't give a danger of non-unwindable stack. */ #define CALL_FN_W_v(lval, orig) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[1]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $128,%%rsp\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $128,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_W(lval, orig, arg1) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[2]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $128,%%rsp\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $128,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WW(lval, orig, arg1,arg2) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $128,%%rsp\n\t" \ "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $128,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWW(lval, orig, arg1,arg2,arg3) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[4]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $128,%%rsp\n\t" \ "movq 24(%%rax), %%rdx\n\t" \ "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $128,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWWW(lval, orig, arg1,arg2,arg3,arg4) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[5]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $128,%%rsp\n\t" \ "movq 32(%%rax), %%rcx\n\t" \ "movq 24(%%rax), %%rdx\n\t" \ "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $128,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_5W(lval, orig, arg1,arg2,arg3,arg4,arg5) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[6]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $128,%%rsp\n\t" \ "movq 40(%%rax), %%r8\n\t" \ "movq 32(%%rax), %%rcx\n\t" \ "movq 24(%%rax), %%rdx\n\t" \ "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $128,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_6W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[7]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $128,%%rsp\n\t" \ "movq 48(%%rax), %%r9\n\t" \ "movq 40(%%rax), %%r8\n\t" \ "movq 32(%%rax), %%rcx\n\t" \ "movq 24(%%rax), %%rdx\n\t" \ "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $128,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_7W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[8]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $136,%%rsp\n\t" \ "pushq 56(%%rax)\n\t" \ "movq 48(%%rax), %%r9\n\t" \ "movq 40(%%rax), %%r8\n\t" \ "movq 32(%%rax), %%rcx\n\t" \ "movq 24(%%rax), %%rdx\n\t" \ "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $8, %%rsp\n" \ "addq $136,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_8W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[9]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $128,%%rsp\n\t" \ "pushq 64(%%rax)\n\t" \ "pushq 56(%%rax)\n\t" \ "movq 48(%%rax), %%r9\n\t" \ "movq 40(%%rax), %%r8\n\t" \ "movq 32(%%rax), %%rcx\n\t" \ "movq 24(%%rax), %%rdx\n\t" \ "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $16, %%rsp\n" \ "addq $128,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_9W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[10]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $136,%%rsp\n\t" \ "pushq 72(%%rax)\n\t" \ "pushq 64(%%rax)\n\t" \ "pushq 56(%%rax)\n\t" \ "movq 48(%%rax), %%r9\n\t" \ "movq 40(%%rax), %%r8\n\t" \ "movq 32(%%rax), %%rcx\n\t" \ "movq 24(%%rax), %%rdx\n\t" \ "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $24, %%rsp\n" \ "addq $136,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_10W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[11]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ _argvec[10] = (unsigned long)(arg10); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $128,%%rsp\n\t" \ "pushq 80(%%rax)\n\t" \ "pushq 72(%%rax)\n\t" \ "pushq 64(%%rax)\n\t" \ "pushq 56(%%rax)\n\t" \ "movq 48(%%rax), %%r9\n\t" \ "movq 40(%%rax), %%r8\n\t" \ "movq 32(%%rax), %%rcx\n\t" \ "movq 24(%%rax), %%rdx\n\t" \ "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $32, %%rsp\n" \ "addq $128,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_11W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10,arg11) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[12]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ _argvec[10] = (unsigned long)(arg10); \ _argvec[11] = (unsigned long)(arg11); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $136,%%rsp\n\t" \ "pushq 88(%%rax)\n\t" \ "pushq 80(%%rax)\n\t" \ "pushq 72(%%rax)\n\t" \ "pushq 64(%%rax)\n\t" \ "pushq 56(%%rax)\n\t" \ "movq 48(%%rax), %%r9\n\t" \ "movq 40(%%rax), %%r8\n\t" \ "movq 32(%%rax), %%rcx\n\t" \ "movq 24(%%rax), %%rdx\n\t" \ "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $40, %%rsp\n" \ "addq $136,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_12W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10,arg11,arg12) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[13]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ _argvec[10] = (unsigned long)(arg10); \ _argvec[11] = (unsigned long)(arg11); \ _argvec[12] = (unsigned long)(arg12); \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "subq $128,%%rsp\n\t" \ "pushq 96(%%rax)\n\t" \ "pushq 88(%%rax)\n\t" \ "pushq 80(%%rax)\n\t" \ "pushq 72(%%rax)\n\t" \ "pushq 64(%%rax)\n\t" \ "pushq 56(%%rax)\n\t" \ "movq 48(%%rax), %%r9\n\t" \ "movq 40(%%rax), %%r8\n\t" \ "movq 32(%%rax), %%rcx\n\t" \ "movq 24(%%rax), %%rdx\n\t" \ "movq 16(%%rax), %%rsi\n\t" \ "movq 8(%%rax), %%rdi\n\t" \ "movq (%%rax), %%rax\n\t" /* target->%rax */ \ VALGRIND_CALL_NOREDIR_RAX \ "addq $48, %%rsp\n" \ "addq $128,%%rsp\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=a" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS, "r15" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #endif /* PLAT_amd64_linux || PLAT_amd64_darwin */ /* ------------------------ ppc32-linux ------------------------ */ #if defined(PLAT_ppc32_linux) /* This is useful for finding out about the on-stack stuff: extern int f9 ( int,int,int,int,int,int,int,int,int ); extern int f10 ( int,int,int,int,int,int,int,int,int,int ); extern int f11 ( int,int,int,int,int,int,int,int,int,int,int ); extern int f12 ( int,int,int,int,int,int,int,int,int,int,int,int ); int g9 ( void ) { return f9(11,22,33,44,55,66,77,88,99); } int g10 ( void ) { return f10(11,22,33,44,55,66,77,88,99,110); } int g11 ( void ) { return f11(11,22,33,44,55,66,77,88,99,110,121); } int g12 ( void ) { return f12(11,22,33,44,55,66,77,88,99,110,121,132); } */ /* ARGREGS: r3 r4 r5 r6 r7 r8 r9 r10 (the rest on stack somewhere) */ /* These regs are trashed by the hidden call. */ #define __CALLER_SAVED_REGS \ "lr", "ctr", "xer", \ "cr0", "cr1", "cr2", "cr3", "cr4", "cr5", "cr6", "cr7", \ "r0", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", \ "r11", "r12", "r13" /* These CALL_FN_ macros assume that on ppc32-linux, sizeof(unsigned long) == 4. */ #define CALL_FN_W_v(lval, orig) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[1]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_W(lval, orig, arg1) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[2]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WW(lval, orig, arg1,arg2) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 4,8(11)\n\t" \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWW(lval, orig, arg1,arg2,arg3) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[4]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 4,8(11)\n\t" \ "lwz 5,12(11)\n\t" \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWWW(lval, orig, arg1,arg2,arg3,arg4) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[5]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 4,8(11)\n\t" \ "lwz 5,12(11)\n\t" \ "lwz 6,16(11)\n\t" /* arg4->r6 */ \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_5W(lval, orig, arg1,arg2,arg3,arg4,arg5) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[6]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 4,8(11)\n\t" \ "lwz 5,12(11)\n\t" \ "lwz 6,16(11)\n\t" /* arg4->r6 */ \ "lwz 7,20(11)\n\t" \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_6W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[7]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 4,8(11)\n\t" \ "lwz 5,12(11)\n\t" \ "lwz 6,16(11)\n\t" /* arg4->r6 */ \ "lwz 7,20(11)\n\t" \ "lwz 8,24(11)\n\t" \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_7W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[8]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 4,8(11)\n\t" \ "lwz 5,12(11)\n\t" \ "lwz 6,16(11)\n\t" /* arg4->r6 */ \ "lwz 7,20(11)\n\t" \ "lwz 8,24(11)\n\t" \ "lwz 9,28(11)\n\t" \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_8W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[9]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ _argvec[8] = (unsigned long)arg8; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 4,8(11)\n\t" \ "lwz 5,12(11)\n\t" \ "lwz 6,16(11)\n\t" /* arg4->r6 */ \ "lwz 7,20(11)\n\t" \ "lwz 8,24(11)\n\t" \ "lwz 9,28(11)\n\t" \ "lwz 10,32(11)\n\t" /* arg8->r10 */ \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_9W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[10]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ _argvec[8] = (unsigned long)arg8; \ _argvec[9] = (unsigned long)arg9; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "addi 1,1,-16\n\t" \ /* arg9 */ \ "lwz 3,36(11)\n\t" \ "stw 3,8(1)\n\t" \ /* args1-8 */ \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 4,8(11)\n\t" \ "lwz 5,12(11)\n\t" \ "lwz 6,16(11)\n\t" /* arg4->r6 */ \ "lwz 7,20(11)\n\t" \ "lwz 8,24(11)\n\t" \ "lwz 9,28(11)\n\t" \ "lwz 10,32(11)\n\t" /* arg8->r10 */ \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "addi 1,1,16\n\t" \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_10W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[11]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ _argvec[8] = (unsigned long)arg8; \ _argvec[9] = (unsigned long)arg9; \ _argvec[10] = (unsigned long)arg10; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "addi 1,1,-16\n\t" \ /* arg10 */ \ "lwz 3,40(11)\n\t" \ "stw 3,12(1)\n\t" \ /* arg9 */ \ "lwz 3,36(11)\n\t" \ "stw 3,8(1)\n\t" \ /* args1-8 */ \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 4,8(11)\n\t" \ "lwz 5,12(11)\n\t" \ "lwz 6,16(11)\n\t" /* arg4->r6 */ \ "lwz 7,20(11)\n\t" \ "lwz 8,24(11)\n\t" \ "lwz 9,28(11)\n\t" \ "lwz 10,32(11)\n\t" /* arg8->r10 */ \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "addi 1,1,16\n\t" \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_11W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10,arg11) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[12]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ _argvec[8] = (unsigned long)arg8; \ _argvec[9] = (unsigned long)arg9; \ _argvec[10] = (unsigned long)arg10; \ _argvec[11] = (unsigned long)arg11; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "addi 1,1,-32\n\t" \ /* arg11 */ \ "lwz 3,44(11)\n\t" \ "stw 3,16(1)\n\t" \ /* arg10 */ \ "lwz 3,40(11)\n\t" \ "stw 3,12(1)\n\t" \ /* arg9 */ \ "lwz 3,36(11)\n\t" \ "stw 3,8(1)\n\t" \ /* args1-8 */ \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 4,8(11)\n\t" \ "lwz 5,12(11)\n\t" \ "lwz 6,16(11)\n\t" /* arg4->r6 */ \ "lwz 7,20(11)\n\t" \ "lwz 8,24(11)\n\t" \ "lwz 9,28(11)\n\t" \ "lwz 10,32(11)\n\t" /* arg8->r10 */ \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "addi 1,1,32\n\t" \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_12W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10,arg11,arg12) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[13]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ _argvec[8] = (unsigned long)arg8; \ _argvec[9] = (unsigned long)arg9; \ _argvec[10] = (unsigned long)arg10; \ _argvec[11] = (unsigned long)arg11; \ _argvec[12] = (unsigned long)arg12; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "addi 1,1,-32\n\t" \ /* arg12 */ \ "lwz 3,48(11)\n\t" \ "stw 3,20(1)\n\t" \ /* arg11 */ \ "lwz 3,44(11)\n\t" \ "stw 3,16(1)\n\t" \ /* arg10 */ \ "lwz 3,40(11)\n\t" \ "stw 3,12(1)\n\t" \ /* arg9 */ \ "lwz 3,36(11)\n\t" \ "stw 3,8(1)\n\t" \ /* args1-8 */ \ "lwz 3,4(11)\n\t" /* arg1->r3 */ \ "lwz 4,8(11)\n\t" \ "lwz 5,12(11)\n\t" \ "lwz 6,16(11)\n\t" /* arg4->r6 */ \ "lwz 7,20(11)\n\t" \ "lwz 8,24(11)\n\t" \ "lwz 9,28(11)\n\t" \ "lwz 10,32(11)\n\t" /* arg8->r10 */ \ "lwz 11,0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "addi 1,1,32\n\t" \ "mr %0,3" \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #endif /* PLAT_ppc32_linux */ /* ------------------------ ppc64-linux ------------------------ */ #if defined(PLAT_ppc64_linux) /* ARGREGS: r3 r4 r5 r6 r7 r8 r9 r10 (the rest on stack somewhere) */ /* These regs are trashed by the hidden call. */ #define __CALLER_SAVED_REGS \ "lr", "ctr", "xer", \ "cr0", "cr1", "cr2", "cr3", "cr4", "cr5", "cr6", "cr7", \ "r0", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", \ "r11", "r12", "r13" /* These CALL_FN_ macros assume that on ppc64-linux, sizeof(unsigned long) == 8. */ #define CALL_FN_W_v(lval, orig) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+0]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)" /* restore tocptr */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_W(lval, orig, arg1) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+1]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)" /* restore tocptr */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WW(lval, orig, arg1,arg2) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+2]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)" /* restore tocptr */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWW(lval, orig, arg1,arg2,arg3) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+3]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)" /* restore tocptr */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWWW(lval, orig, arg1,arg2,arg3,arg4) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+4]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)" /* restore tocptr */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_5W(lval, orig, arg1,arg2,arg3,arg4,arg5) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+5]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)" /* restore tocptr */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_6W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+6]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)" /* restore tocptr */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_7W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+7]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)" /* restore tocptr */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_8W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+8]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 10, 64(11)\n\t" /* arg8->r10 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)" /* restore tocptr */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_9W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+9]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "addi 1,1,-128\n\t" /* expand stack frame */ \ /* arg9 */ \ "ld 3,72(11)\n\t" \ "std 3,112(1)\n\t" \ /* args1-8 */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 10, 64(11)\n\t" /* arg8->r10 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ "addi 1,1,128" /* restore frame */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_10W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+10]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ _argvec[2+10] = (unsigned long)arg10; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "addi 1,1,-128\n\t" /* expand stack frame */ \ /* arg10 */ \ "ld 3,80(11)\n\t" \ "std 3,120(1)\n\t" \ /* arg9 */ \ "ld 3,72(11)\n\t" \ "std 3,112(1)\n\t" \ /* args1-8 */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 10, 64(11)\n\t" /* arg8->r10 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ "addi 1,1,128" /* restore frame */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_11W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10,arg11) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+11]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ _argvec[2+10] = (unsigned long)arg10; \ _argvec[2+11] = (unsigned long)arg11; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "addi 1,1,-144\n\t" /* expand stack frame */ \ /* arg11 */ \ "ld 3,88(11)\n\t" \ "std 3,128(1)\n\t" \ /* arg10 */ \ "ld 3,80(11)\n\t" \ "std 3,120(1)\n\t" \ /* arg9 */ \ "ld 3,72(11)\n\t" \ "std 3,112(1)\n\t" \ /* args1-8 */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 10, 64(11)\n\t" /* arg8->r10 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ "addi 1,1,144" /* restore frame */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_12W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10,arg11,arg12) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+12]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ _argvec[2+10] = (unsigned long)arg10; \ _argvec[2+11] = (unsigned long)arg11; \ _argvec[2+12] = (unsigned long)arg12; \ __asm__ volatile( \ "mr 11,%1\n\t" \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "addi 1,1,-144\n\t" /* expand stack frame */ \ /* arg12 */ \ "ld 3,96(11)\n\t" \ "std 3,136(1)\n\t" \ /* arg11 */ \ "ld 3,88(11)\n\t" \ "std 3,128(1)\n\t" \ /* arg10 */ \ "ld 3,80(11)\n\t" \ "std 3,120(1)\n\t" \ /* arg9 */ \ "ld 3,72(11)\n\t" \ "std 3,112(1)\n\t" \ /* args1-8 */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 10, 64(11)\n\t" /* arg8->r10 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ "addi 1,1,144" /* restore frame */ \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #endif /* PLAT_ppc64_linux */ /* ------------------------- arm-linux ------------------------- */ #if defined(PLAT_arm_linux) /* These regs are trashed by the hidden call. */ #define __CALLER_SAVED_REGS "r0", "r1", "r2", "r3","r4","r14" /* These CALL_FN_ macros assume that on arm-linux, sizeof(unsigned long) == 4. */ #define CALL_FN_W_v(lval, orig) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[1]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ __asm__ volatile( \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "mov %0, r0\n" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_W(lval, orig, arg1) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[2]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ __asm__ volatile( \ "ldr r0, [%1, #4] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "mov %0, r0\n" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WW(lval, orig, arg1,arg2) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ __asm__ volatile( \ "ldr r0, [%1, #4] \n\t" \ "ldr r1, [%1, #8] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "mov %0, r0\n" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWW(lval, orig, arg1,arg2,arg3) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[4]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ __asm__ volatile( \ "ldr r0, [%1, #4] \n\t" \ "ldr r1, [%1, #8] \n\t" \ "ldr r2, [%1, #12] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "mov %0, r0\n" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWWW(lval, orig, arg1,arg2,arg3,arg4) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[5]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ __asm__ volatile( \ "ldr r0, [%1, #4] \n\t" \ "ldr r1, [%1, #8] \n\t" \ "ldr r2, [%1, #12] \n\t" \ "ldr r3, [%1, #16] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "mov %0, r0" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_5W(lval, orig, arg1,arg2,arg3,arg4,arg5) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[6]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ __asm__ volatile( \ "ldr r0, [%1, #20] \n\t" \ "push {r0} \n\t" \ "ldr r0, [%1, #4] \n\t" \ "ldr r1, [%1, #8] \n\t" \ "ldr r2, [%1, #12] \n\t" \ "ldr r3, [%1, #16] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "add sp, sp, #4 \n\t" \ "mov %0, r0" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_6W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[7]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ __asm__ volatile( \ "ldr r0, [%1, #20] \n\t" \ "ldr r1, [%1, #24] \n\t" \ "push {r0, r1} \n\t" \ "ldr r0, [%1, #4] \n\t" \ "ldr r1, [%1, #8] \n\t" \ "ldr r2, [%1, #12] \n\t" \ "ldr r3, [%1, #16] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "add sp, sp, #8 \n\t" \ "mov %0, r0" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_7W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[8]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ __asm__ volatile( \ "ldr r0, [%1, #20] \n\t" \ "ldr r1, [%1, #24] \n\t" \ "ldr r2, [%1, #28] \n\t" \ "push {r0, r1, r2} \n\t" \ "ldr r0, [%1, #4] \n\t" \ "ldr r1, [%1, #8] \n\t" \ "ldr r2, [%1, #12] \n\t" \ "ldr r3, [%1, #16] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "add sp, sp, #12 \n\t" \ "mov %0, r0" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_8W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[9]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ __asm__ volatile( \ "ldr r0, [%1, #20] \n\t" \ "ldr r1, [%1, #24] \n\t" \ "ldr r2, [%1, #28] \n\t" \ "ldr r3, [%1, #32] \n\t" \ "push {r0, r1, r2, r3} \n\t" \ "ldr r0, [%1, #4] \n\t" \ "ldr r1, [%1, #8] \n\t" \ "ldr r2, [%1, #12] \n\t" \ "ldr r3, [%1, #16] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "add sp, sp, #16 \n\t" \ "mov %0, r0" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_9W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[10]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ __asm__ volatile( \ "ldr r0, [%1, #20] \n\t" \ "ldr r1, [%1, #24] \n\t" \ "ldr r2, [%1, #28] \n\t" \ "ldr r3, [%1, #32] \n\t" \ "ldr r4, [%1, #36] \n\t" \ "push {r0, r1, r2, r3, r4} \n\t" \ "ldr r0, [%1, #4] \n\t" \ "ldr r1, [%1, #8] \n\t" \ "ldr r2, [%1, #12] \n\t" \ "ldr r3, [%1, #16] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "add sp, sp, #20 \n\t" \ "mov %0, r0" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_10W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[11]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ _argvec[10] = (unsigned long)(arg10); \ __asm__ volatile( \ "ldr r0, [%1, #40] \n\t" \ "push {r0} \n\t" \ "ldr r0, [%1, #20] \n\t" \ "ldr r1, [%1, #24] \n\t" \ "ldr r2, [%1, #28] \n\t" \ "ldr r3, [%1, #32] \n\t" \ "ldr r4, [%1, #36] \n\t" \ "push {r0, r1, r2, r3, r4} \n\t" \ "ldr r0, [%1, #4] \n\t" \ "ldr r1, [%1, #8] \n\t" \ "ldr r2, [%1, #12] \n\t" \ "ldr r3, [%1, #16] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "add sp, sp, #24 \n\t" \ "mov %0, r0" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_11W(lval, orig, arg1,arg2,arg3,arg4,arg5, \ arg6,arg7,arg8,arg9,arg10, \ arg11) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[12]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ _argvec[10] = (unsigned long)(arg10); \ _argvec[11] = (unsigned long)(arg11); \ __asm__ volatile( \ "ldr r0, [%1, #40] \n\t" \ "ldr r1, [%1, #44] \n\t" \ "push {r0, r1} \n\t" \ "ldr r0, [%1, #20] \n\t" \ "ldr r1, [%1, #24] \n\t" \ "ldr r2, [%1, #28] \n\t" \ "ldr r3, [%1, #32] \n\t" \ "ldr r4, [%1, #36] \n\t" \ "push {r0, r1, r2, r3, r4} \n\t" \ "ldr r0, [%1, #4] \n\t" \ "ldr r1, [%1, #8] \n\t" \ "ldr r2, [%1, #12] \n\t" \ "ldr r3, [%1, #16] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "add sp, sp, #28 \n\t" \ "mov %0, r0" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory",__CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_12W(lval, orig, arg1,arg2,arg3,arg4,arg5, \ arg6,arg7,arg8,arg9,arg10, \ arg11,arg12) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[13]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)(arg1); \ _argvec[2] = (unsigned long)(arg2); \ _argvec[3] = (unsigned long)(arg3); \ _argvec[4] = (unsigned long)(arg4); \ _argvec[5] = (unsigned long)(arg5); \ _argvec[6] = (unsigned long)(arg6); \ _argvec[7] = (unsigned long)(arg7); \ _argvec[8] = (unsigned long)(arg8); \ _argvec[9] = (unsigned long)(arg9); \ _argvec[10] = (unsigned long)(arg10); \ _argvec[11] = (unsigned long)(arg11); \ _argvec[12] = (unsigned long)(arg12); \ __asm__ volatile( \ "ldr r0, [%1, #40] \n\t" \ "ldr r1, [%1, #44] \n\t" \ "ldr r2, [%1, #48] \n\t" \ "push {r0, r1, r2} \n\t" \ "ldr r0, [%1, #20] \n\t" \ "ldr r1, [%1, #24] \n\t" \ "ldr r2, [%1, #28] \n\t" \ "ldr r3, [%1, #32] \n\t" \ "ldr r4, [%1, #36] \n\t" \ "push {r0, r1, r2, r3, r4} \n\t" \ "ldr r0, [%1, #4] \n\t" \ "ldr r1, [%1, #8] \n\t" \ "ldr r2, [%1, #12] \n\t" \ "ldr r3, [%1, #16] \n\t" \ "ldr r4, [%1] \n\t" /* target->r4 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R4 \ "add sp, sp, #32 \n\t" \ "mov %0, r0" \ : /*out*/ "=r" (_res) \ : /*in*/ "0" (&_argvec[0]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #endif /* PLAT_arm_linux */ /* ------------------------ ppc32-aix5 ------------------------- */ #if defined(PLAT_ppc32_aix5) /* ARGREGS: r3 r4 r5 r6 r7 r8 r9 r10 (the rest on stack somewhere) */ /* These regs are trashed by the hidden call. */ #define __CALLER_SAVED_REGS \ "lr", "ctr", "xer", \ "cr0", "cr1", "cr2", "cr3", "cr4", "cr5", "cr6", "cr7", \ "r0", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", \ "r11", "r12", "r13" /* Expand the stack frame, copying enough info that unwinding still works. Trashes r3. */ #define VG_EXPAND_FRAME_BY_trashes_r3(_n_fr) \ "addi 1,1,-" #_n_fr "\n\t" \ "lwz 3," #_n_fr "(1)\n\t" \ "stw 3,0(1)\n\t" #define VG_CONTRACT_FRAME_BY(_n_fr) \ "addi 1,1," #_n_fr "\n\t" /* These CALL_FN_ macros assume that on ppc32-aix5, sizeof(unsigned long) == 4. */ #define CALL_FN_W_v(lval, orig) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+0]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_W(lval, orig, arg1) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+1]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WW(lval, orig, arg1,arg2) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+2]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 4, 8(11)\n\t" /* arg2->r4 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWW(lval, orig, arg1,arg2,arg3) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+3]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 4, 8(11)\n\t" /* arg2->r4 */ \ "lwz 5, 12(11)\n\t" /* arg3->r5 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWWW(lval, orig, arg1,arg2,arg3,arg4) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+4]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 4, 8(11)\n\t" /* arg2->r4 */ \ "lwz 5, 12(11)\n\t" /* arg3->r5 */ \ "lwz 6, 16(11)\n\t" /* arg4->r6 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_5W(lval, orig, arg1,arg2,arg3,arg4,arg5) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+5]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 4, 8(11)\n\t" /* arg2->r4 */ \ "lwz 5, 12(11)\n\t" /* arg3->r5 */ \ "lwz 6, 16(11)\n\t" /* arg4->r6 */ \ "lwz 7, 20(11)\n\t" /* arg5->r7 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_6W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+6]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 4, 8(11)\n\t" /* arg2->r4 */ \ "lwz 5, 12(11)\n\t" /* arg3->r5 */ \ "lwz 6, 16(11)\n\t" /* arg4->r6 */ \ "lwz 7, 20(11)\n\t" /* arg5->r7 */ \ "lwz 8, 24(11)\n\t" /* arg6->r8 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_7W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+7]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 4, 8(11)\n\t" /* arg2->r4 */ \ "lwz 5, 12(11)\n\t" /* arg3->r5 */ \ "lwz 6, 16(11)\n\t" /* arg4->r6 */ \ "lwz 7, 20(11)\n\t" /* arg5->r7 */ \ "lwz 8, 24(11)\n\t" /* arg6->r8 */ \ "lwz 9, 28(11)\n\t" /* arg7->r9 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_8W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+8]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 4, 8(11)\n\t" /* arg2->r4 */ \ "lwz 5, 12(11)\n\t" /* arg3->r5 */ \ "lwz 6, 16(11)\n\t" /* arg4->r6 */ \ "lwz 7, 20(11)\n\t" /* arg5->r7 */ \ "lwz 8, 24(11)\n\t" /* arg6->r8 */ \ "lwz 9, 28(11)\n\t" /* arg7->r9 */ \ "lwz 10, 32(11)\n\t" /* arg8->r10 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_9W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+9]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ VG_EXPAND_FRAME_BY_trashes_r3(64) \ /* arg9 */ \ "lwz 3,36(11)\n\t" \ "stw 3,56(1)\n\t" \ /* args1-8 */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 4, 8(11)\n\t" /* arg2->r4 */ \ "lwz 5, 12(11)\n\t" /* arg3->r5 */ \ "lwz 6, 16(11)\n\t" /* arg4->r6 */ \ "lwz 7, 20(11)\n\t" /* arg5->r7 */ \ "lwz 8, 24(11)\n\t" /* arg6->r8 */ \ "lwz 9, 28(11)\n\t" /* arg7->r9 */ \ "lwz 10, 32(11)\n\t" /* arg8->r10 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(64) \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_10W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+10]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ _argvec[2+10] = (unsigned long)arg10; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ VG_EXPAND_FRAME_BY_trashes_r3(64) \ /* arg10 */ \ "lwz 3,40(11)\n\t" \ "stw 3,60(1)\n\t" \ /* arg9 */ \ "lwz 3,36(11)\n\t" \ "stw 3,56(1)\n\t" \ /* args1-8 */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 4, 8(11)\n\t" /* arg2->r4 */ \ "lwz 5, 12(11)\n\t" /* arg3->r5 */ \ "lwz 6, 16(11)\n\t" /* arg4->r6 */ \ "lwz 7, 20(11)\n\t" /* arg5->r7 */ \ "lwz 8, 24(11)\n\t" /* arg6->r8 */ \ "lwz 9, 28(11)\n\t" /* arg7->r9 */ \ "lwz 10, 32(11)\n\t" /* arg8->r10 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(64) \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_11W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10,arg11) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+11]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ _argvec[2+10] = (unsigned long)arg10; \ _argvec[2+11] = (unsigned long)arg11; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ VG_EXPAND_FRAME_BY_trashes_r3(72) \ /* arg11 */ \ "lwz 3,44(11)\n\t" \ "stw 3,64(1)\n\t" \ /* arg10 */ \ "lwz 3,40(11)\n\t" \ "stw 3,60(1)\n\t" \ /* arg9 */ \ "lwz 3,36(11)\n\t" \ "stw 3,56(1)\n\t" \ /* args1-8 */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 4, 8(11)\n\t" /* arg2->r4 */ \ "lwz 5, 12(11)\n\t" /* arg3->r5 */ \ "lwz 6, 16(11)\n\t" /* arg4->r6 */ \ "lwz 7, 20(11)\n\t" /* arg5->r7 */ \ "lwz 8, 24(11)\n\t" /* arg6->r8 */ \ "lwz 9, 28(11)\n\t" /* arg7->r9 */ \ "lwz 10, 32(11)\n\t" /* arg8->r10 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(72) \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_12W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10,arg11,arg12) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+12]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ _argvec[2+10] = (unsigned long)arg10; \ _argvec[2+11] = (unsigned long)arg11; \ _argvec[2+12] = (unsigned long)arg12; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "stw 2,-8(11)\n\t" /* save tocptr */ \ "lwz 2,-4(11)\n\t" /* use nraddr's tocptr */ \ VG_EXPAND_FRAME_BY_trashes_r3(72) \ /* arg12 */ \ "lwz 3,48(11)\n\t" \ "stw 3,68(1)\n\t" \ /* arg11 */ \ "lwz 3,44(11)\n\t" \ "stw 3,64(1)\n\t" \ /* arg10 */ \ "lwz 3,40(11)\n\t" \ "stw 3,60(1)\n\t" \ /* arg9 */ \ "lwz 3,36(11)\n\t" \ "stw 3,56(1)\n\t" \ /* args1-8 */ \ "lwz 3, 4(11)\n\t" /* arg1->r3 */ \ "lwz 4, 8(11)\n\t" /* arg2->r4 */ \ "lwz 5, 12(11)\n\t" /* arg3->r5 */ \ "lwz 6, 16(11)\n\t" /* arg4->r6 */ \ "lwz 7, 20(11)\n\t" /* arg5->r7 */ \ "lwz 8, 24(11)\n\t" /* arg6->r8 */ \ "lwz 9, 28(11)\n\t" /* arg7->r9 */ \ "lwz 10, 32(11)\n\t" /* arg8->r10 */ \ "lwz 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "lwz 2,-8(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(72) \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #endif /* PLAT_ppc32_aix5 */ /* ------------------------ ppc64-aix5 ------------------------- */ #if defined(PLAT_ppc64_aix5) /* ARGREGS: r3 r4 r5 r6 r7 r8 r9 r10 (the rest on stack somewhere) */ /* These regs are trashed by the hidden call. */ #define __CALLER_SAVED_REGS \ "lr", "ctr", "xer", \ "cr0", "cr1", "cr2", "cr3", "cr4", "cr5", "cr6", "cr7", \ "r0", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", \ "r11", "r12", "r13" /* Expand the stack frame, copying enough info that unwinding still works. Trashes r3. */ #define VG_EXPAND_FRAME_BY_trashes_r3(_n_fr) \ "addi 1,1,-" #_n_fr "\n\t" \ "ld 3," #_n_fr "(1)\n\t" \ "std 3,0(1)\n\t" #define VG_CONTRACT_FRAME_BY(_n_fr) \ "addi 1,1," #_n_fr "\n\t" /* These CALL_FN_ macros assume that on ppc64-aix5, sizeof(unsigned long) == 8. */ #define CALL_FN_W_v(lval, orig) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+0]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_W(lval, orig, arg1) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+1]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WW(lval, orig, arg1,arg2) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+2]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWW(lval, orig, arg1,arg2,arg3) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+3]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWWW(lval, orig, arg1,arg2,arg3,arg4) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+4]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_5W(lval, orig, arg1,arg2,arg3,arg4,arg5) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+5]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_6W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+6]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_7W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+7]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_8W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+8]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 10, 64(11)\n\t" /* arg8->r10 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_9W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+9]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ VG_EXPAND_FRAME_BY_trashes_r3(128) \ /* arg9 */ \ "ld 3,72(11)\n\t" \ "std 3,112(1)\n\t" \ /* args1-8 */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 10, 64(11)\n\t" /* arg8->r10 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(128) \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_10W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+10]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ _argvec[2+10] = (unsigned long)arg10; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ VG_EXPAND_FRAME_BY_trashes_r3(128) \ /* arg10 */ \ "ld 3,80(11)\n\t" \ "std 3,120(1)\n\t" \ /* arg9 */ \ "ld 3,72(11)\n\t" \ "std 3,112(1)\n\t" \ /* args1-8 */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 10, 64(11)\n\t" /* arg8->r10 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(128) \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_11W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10,arg11) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+11]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ _argvec[2+10] = (unsigned long)arg10; \ _argvec[2+11] = (unsigned long)arg11; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ VG_EXPAND_FRAME_BY_trashes_r3(144) \ /* arg11 */ \ "ld 3,88(11)\n\t" \ "std 3,128(1)\n\t" \ /* arg10 */ \ "ld 3,80(11)\n\t" \ "std 3,120(1)\n\t" \ /* arg9 */ \ "ld 3,72(11)\n\t" \ "std 3,112(1)\n\t" \ /* args1-8 */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 10, 64(11)\n\t" /* arg8->r10 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(144) \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_12W(lval, orig, arg1,arg2,arg3,arg4,arg5,arg6, \ arg7,arg8,arg9,arg10,arg11,arg12) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3+12]; \ volatile unsigned long _res; \ /* _argvec[0] holds current r2 across the call */ \ _argvec[1] = (unsigned long)_orig.r2; \ _argvec[2] = (unsigned long)_orig.nraddr; \ _argvec[2+1] = (unsigned long)arg1; \ _argvec[2+2] = (unsigned long)arg2; \ _argvec[2+3] = (unsigned long)arg3; \ _argvec[2+4] = (unsigned long)arg4; \ _argvec[2+5] = (unsigned long)arg5; \ _argvec[2+6] = (unsigned long)arg6; \ _argvec[2+7] = (unsigned long)arg7; \ _argvec[2+8] = (unsigned long)arg8; \ _argvec[2+9] = (unsigned long)arg9; \ _argvec[2+10] = (unsigned long)arg10; \ _argvec[2+11] = (unsigned long)arg11; \ _argvec[2+12] = (unsigned long)arg12; \ __asm__ volatile( \ "mr 11,%1\n\t" \ VG_EXPAND_FRAME_BY_trashes_r3(512) \ "std 2,-16(11)\n\t" /* save tocptr */ \ "ld 2,-8(11)\n\t" /* use nraddr's tocptr */ \ VG_EXPAND_FRAME_BY_trashes_r3(144) \ /* arg12 */ \ "ld 3,96(11)\n\t" \ "std 3,136(1)\n\t" \ /* arg11 */ \ "ld 3,88(11)\n\t" \ "std 3,128(1)\n\t" \ /* arg10 */ \ "ld 3,80(11)\n\t" \ "std 3,120(1)\n\t" \ /* arg9 */ \ "ld 3,72(11)\n\t" \ "std 3,112(1)\n\t" \ /* args1-8 */ \ "ld 3, 8(11)\n\t" /* arg1->r3 */ \ "ld 4, 16(11)\n\t" /* arg2->r4 */ \ "ld 5, 24(11)\n\t" /* arg3->r5 */ \ "ld 6, 32(11)\n\t" /* arg4->r6 */ \ "ld 7, 40(11)\n\t" /* arg5->r7 */ \ "ld 8, 48(11)\n\t" /* arg6->r8 */ \ "ld 9, 56(11)\n\t" /* arg7->r9 */ \ "ld 10, 64(11)\n\t" /* arg8->r10 */ \ "ld 11, 0(11)\n\t" /* target->r11 */ \ VALGRIND_BRANCH_AND_LINK_TO_NOREDIR_R11 \ "mr 11,%1\n\t" \ "mr %0,3\n\t" \ "ld 2,-16(11)\n\t" /* restore tocptr */ \ VG_CONTRACT_FRAME_BY(144) \ VG_CONTRACT_FRAME_BY(512) \ : /*out*/ "=r" (_res) \ : /*in*/ "r" (&_argvec[2]) \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #endif /* PLAT_ppc64_aix5 */ /* ------------------------- s390x-linux ------------------------- */ #if defined(PLAT_s390x_linux) /* Similar craziness as x86 (see above), but we use r11 as frame pointer and save the old r11 in r7. r11 might be used for argvec, therefore we copy argvec in r1 since r1 is clobbered after the call anyway. */ #if defined(__GNUC__) && defined(__GCC_HAVE_DWARF2_CFI_ASM) # define __FRAME_POINTER \ ,"d"(__builtin_dwarf_cfa()) # define VALGRIND_CFI_PROLOGUE \ ".cfi_remember_state\n\t" \ "lgr 1,%1\n\t" /* copy the argvec pointer in r1 */ \ "lgr 7,11\n\t" \ "lgr 11,%2\n\t" \ ".cfi_def_cfa r11, 0\n\t" # define VALGRIND_CFI_EPILOGUE \ "lgr 11, 7\n\t" \ ".cfi_restore_state\n\t" #else # define __FRAME_POINTER # define VALGRIND_CFI_PROLOGUE \ "lgr 1,%1\n\t" # define VALGRIND_CFI_EPILOGUE #endif /* These regs are trashed by the hidden call. Note that we overwrite r14 in s390_irgen_noredir (VEX/priv/guest_s390_irgen.c) to give the function a proper return address. All others are ABI defined call clobbers. */ #define __CALLER_SAVED_REGS "0","1","2","3","4","5","14", \ "f0","f1","f2","f3","f4","f5","f6","f7" #define CALL_FN_W_v(lval, orig) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[1]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-160\n\t" \ "lg 1, 0(1)\n\t" /* target->r1 */ \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,160\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "d" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) /* The call abi has the arguments in r2-r6 and stack */ #define CALL_FN_W_W(lval, orig, arg1) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[2]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-160\n\t" \ "lg 2, 8(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,160\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WW(lval, orig, arg1, arg2) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[3]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-160\n\t" \ "lg 2, 8(1)\n\t" \ "lg 3,16(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,160\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWW(lval, orig, arg1, arg2, arg3) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[4]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-160\n\t" \ "lg 2, 8(1)\n\t" \ "lg 3,16(1)\n\t" \ "lg 4,24(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,160\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_WWWW(lval, orig, arg1, arg2, arg3, arg4) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[5]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-160\n\t" \ "lg 2, 8(1)\n\t" \ "lg 3,16(1)\n\t" \ "lg 4,24(1)\n\t" \ "lg 5,32(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,160\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_5W(lval, orig, arg1, arg2, arg3, arg4, arg5) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[6]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-160\n\t" \ "lg 2, 8(1)\n\t" \ "lg 3,16(1)\n\t" \ "lg 4,24(1)\n\t" \ "lg 5,32(1)\n\t" \ "lg 6,40(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,160\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"6","7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_6W(lval, orig, arg1, arg2, arg3, arg4, arg5, \ arg6) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[7]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-168\n\t" \ "lg 2, 8(1)\n\t" \ "lg 3,16(1)\n\t" \ "lg 4,24(1)\n\t" \ "lg 5,32(1)\n\t" \ "lg 6,40(1)\n\t" \ "mvc 160(8,15), 48(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,168\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"6","7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_7W(lval, orig, arg1, arg2, arg3, arg4, arg5, \ arg6, arg7) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[8]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-176\n\t" \ "lg 2, 8(1)\n\t" \ "lg 3,16(1)\n\t" \ "lg 4,24(1)\n\t" \ "lg 5,32(1)\n\t" \ "lg 6,40(1)\n\t" \ "mvc 160(8,15), 48(1)\n\t" \ "mvc 168(8,15), 56(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,176\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"6","7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_8W(lval, orig, arg1, arg2, arg3, arg4, arg5, \ arg6, arg7 ,arg8) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[9]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ _argvec[8] = (unsigned long)arg8; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-184\n\t" \ "lg 2, 8(1)\n\t" \ "lg 3,16(1)\n\t" \ "lg 4,24(1)\n\t" \ "lg 5,32(1)\n\t" \ "lg 6,40(1)\n\t" \ "mvc 160(8,15), 48(1)\n\t" \ "mvc 168(8,15), 56(1)\n\t" \ "mvc 176(8,15), 64(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,184\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"6","7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_9W(lval, orig, arg1, arg2, arg3, arg4, arg5, \ arg6, arg7 ,arg8, arg9) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[10]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ _argvec[8] = (unsigned long)arg8; \ _argvec[9] = (unsigned long)arg9; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-192\n\t" \ "lg 2, 8(1)\n\t" \ "lg 3,16(1)\n\t" \ "lg 4,24(1)\n\t" \ "lg 5,32(1)\n\t" \ "lg 6,40(1)\n\t" \ "mvc 160(8,15), 48(1)\n\t" \ "mvc 168(8,15), 56(1)\n\t" \ "mvc 176(8,15), 64(1)\n\t" \ "mvc 184(8,15), 72(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,192\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"6","7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_10W(lval, orig, arg1, arg2, arg3, arg4, arg5, \ arg6, arg7 ,arg8, arg9, arg10) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[11]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ _argvec[8] = (unsigned long)arg8; \ _argvec[9] = (unsigned long)arg9; \ _argvec[10] = (unsigned long)arg10; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-200\n\t" \ "lg 2, 8(1)\n\t" \ "lg 3,16(1)\n\t" \ "lg 4,24(1)\n\t" \ "lg 5,32(1)\n\t" \ "lg 6,40(1)\n\t" \ "mvc 160(8,15), 48(1)\n\t" \ "mvc 168(8,15), 56(1)\n\t" \ "mvc 176(8,15), 64(1)\n\t" \ "mvc 184(8,15), 72(1)\n\t" \ "mvc 192(8,15), 80(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,200\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"6","7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_11W(lval, orig, arg1, arg2, arg3, arg4, arg5, \ arg6, arg7 ,arg8, arg9, arg10, arg11) \ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[12]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ _argvec[8] = (unsigned long)arg8; \ _argvec[9] = (unsigned long)arg9; \ _argvec[10] = (unsigned long)arg10; \ _argvec[11] = (unsigned long)arg11; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-208\n\t" \ "lg 2, 8(1)\n\t" \ "lg 3,16(1)\n\t" \ "lg 4,24(1)\n\t" \ "lg 5,32(1)\n\t" \ "lg 6,40(1)\n\t" \ "mvc 160(8,15), 48(1)\n\t" \ "mvc 168(8,15), 56(1)\n\t" \ "mvc 176(8,15), 64(1)\n\t" \ "mvc 184(8,15), 72(1)\n\t" \ "mvc 192(8,15), 80(1)\n\t" \ "mvc 200(8,15), 88(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,208\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"6","7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #define CALL_FN_W_12W(lval, orig, arg1, arg2, arg3, arg4, arg5, \ arg6, arg7 ,arg8, arg9, arg10, arg11, arg12)\ do { \ volatile OrigFn _orig = (orig); \ volatile unsigned long _argvec[13]; \ volatile unsigned long _res; \ _argvec[0] = (unsigned long)_orig.nraddr; \ _argvec[1] = (unsigned long)arg1; \ _argvec[2] = (unsigned long)arg2; \ _argvec[3] = (unsigned long)arg3; \ _argvec[4] = (unsigned long)arg4; \ _argvec[5] = (unsigned long)arg5; \ _argvec[6] = (unsigned long)arg6; \ _argvec[7] = (unsigned long)arg7; \ _argvec[8] = (unsigned long)arg8; \ _argvec[9] = (unsigned long)arg9; \ _argvec[10] = (unsigned long)arg10; \ _argvec[11] = (unsigned long)arg11; \ _argvec[12] = (unsigned long)arg12; \ __asm__ volatile( \ VALGRIND_CFI_PROLOGUE \ "aghi 15,-216\n\t" \ "lg 2, 8(1)\n\t" \ "lg 3,16(1)\n\t" \ "lg 4,24(1)\n\t" \ "lg 5,32(1)\n\t" \ "lg 6,40(1)\n\t" \ "mvc 160(8,15), 48(1)\n\t" \ "mvc 168(8,15), 56(1)\n\t" \ "mvc 176(8,15), 64(1)\n\t" \ "mvc 184(8,15), 72(1)\n\t" \ "mvc 192(8,15), 80(1)\n\t" \ "mvc 200(8,15), 88(1)\n\t" \ "mvc 208(8,15), 96(1)\n\t" \ "lg 1, 0(1)\n\t" \ VALGRIND_CALL_NOREDIR_R1 \ "lgr %0, 2\n\t" \ "aghi 15,216\n\t" \ VALGRIND_CFI_EPILOGUE \ : /*out*/ "=d" (_res) \ : /*in*/ "a" (&_argvec[0]) __FRAME_POINTER \ : /*trash*/ "cc", "memory", __CALLER_SAVED_REGS,"6","7" \ ); \ lval = (__typeof__(lval)) _res; \ } while (0) #endif /* PLAT_s390x_linux */ /* ------------------------------------------------------------------ */ /* ARCHITECTURE INDEPENDENT MACROS for CLIENT REQUESTS. */ /* */ /* ------------------------------------------------------------------ */ /* Some request codes. There are many more of these, but most are not exposed to end-user view. These are the public ones, all of the form 0x1000 + small_number. Core ones are in the range 0x00000000--0x0000ffff. The non-public ones start at 0x2000. */ /* These macros are used by tools -- they must be public, but don't embed them into other programs. */ #define VG_USERREQ_TOOL_BASE(a,b) \ ((unsigned int)(((a)&0xff) << 24 | ((b)&0xff) << 16)) #define VG_IS_TOOL_USERREQ(a, b, v) \ (VG_USERREQ_TOOL_BASE(a,b) == ((v) & 0xffff0000)) /* !! ABIWARNING !! ABIWARNING !! ABIWARNING !! ABIWARNING !! This enum comprises an ABI exported by Valgrind to programs which use client requests. DO NOT CHANGE THE ORDER OF THESE ENTRIES, NOR DELETE ANY -- add new ones at the end. */ typedef enum { VG_USERREQ__RUNNING_ON_VALGRIND = 0x1001, VG_USERREQ__DISCARD_TRANSLATIONS = 0x1002, /* These allow any function to be called from the simulated CPU but run on the real CPU. Nb: the first arg passed to the function is always the ThreadId of the running thread! So CLIENT_CALL0 actually requires a 1 arg function, etc. */ VG_USERREQ__CLIENT_CALL0 = 0x1101, VG_USERREQ__CLIENT_CALL1 = 0x1102, VG_USERREQ__CLIENT_CALL2 = 0x1103, VG_USERREQ__CLIENT_CALL3 = 0x1104, /* Can be useful in regression testing suites -- eg. can send Valgrind's output to /dev/null and still count errors. */ VG_USERREQ__COUNT_ERRORS = 0x1201, /* These are useful and can be interpreted by any tool that tracks malloc() et al, by using vg_replace_malloc.c. */ VG_USERREQ__MALLOCLIKE_BLOCK = 0x1301, VG_USERREQ__FREELIKE_BLOCK = 0x1302, /* Memory pool support. */ VG_USERREQ__CREATE_MEMPOOL = 0x1303, VG_USERREQ__DESTROY_MEMPOOL = 0x1304, VG_USERREQ__MEMPOOL_ALLOC = 0x1305, VG_USERREQ__MEMPOOL_FREE = 0x1306, VG_USERREQ__MEMPOOL_TRIM = 0x1307, VG_USERREQ__MOVE_MEMPOOL = 0x1308, VG_USERREQ__MEMPOOL_CHANGE = 0x1309, VG_USERREQ__MEMPOOL_EXISTS = 0x130a, /* Allow printfs to valgrind log. */ /* The first two pass the va_list argument by value, which assumes it is the same size as or smaller than a UWord, which generally isn't the case. Hence are deprecated. The second two pass the vargs by reference and so are immune to this problem. */ /* both :: char* fmt, va_list vargs (DEPRECATED) */ VG_USERREQ__PRINTF = 0x1401, VG_USERREQ__PRINTF_BACKTRACE = 0x1402, /* both :: char* fmt, va_list* vargs */ VG_USERREQ__PRINTF_VALIST_BY_REF = 0x1403, VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF = 0x1404, /* Stack support. */ VG_USERREQ__STACK_REGISTER = 0x1501, VG_USERREQ__STACK_DEREGISTER = 0x1502, VG_USERREQ__STACK_CHANGE = 0x1503, /* Wine support */ VG_USERREQ__LOAD_PDB_DEBUGINFO = 0x1601, /* Querying of debug info. */ VG_USERREQ__MAP_IP_TO_SRCLOC = 0x1701 } Vg_ClientRequest; #if !defined(__GNUC__) # define __extension__ /* */ #endif /* * VALGRIND_DO_CLIENT_REQUEST_EXPR(): a C expression that invokes a Valgrind * client request and whose value equals the client request result. */ #if defined(NVALGRIND) #define VALGRIND_DO_CLIENT_REQUEST_EXPR( \ _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ (_zzq_default) #else /*defined(NVALGRIND)*/ #if defined(_MSC_VER) #define VALGRIND_DO_CLIENT_REQUEST_EXPR( \ _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ (vg_VALGRIND_DO_CLIENT_REQUEST_EXPR((uintptr_t)(_zzq_default), \ (_zzq_request), (uintptr_t)(_zzq_arg1), (uintptr_t)(_zzq_arg2), \ (uintptr_t)(_zzq_arg3), (uintptr_t)(_zzq_arg4), \ (uintptr_t)(_zzq_arg5))) static __inline unsigned vg_VALGRIND_DO_CLIENT_REQUEST_EXPR(uintptr_t _zzq_default, unsigned _zzq_request, uintptr_t _zzq_arg1, uintptr_t _zzq_arg2, uintptr_t _zzq_arg3, uintptr_t _zzq_arg4, uintptr_t _zzq_arg5) { unsigned _zzq_rlval; VALGRIND_DO_CLIENT_REQUEST(_zzq_rlval, _zzq_default, _zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5); return _zzq_rlval; } #else /*defined(_MSC_VER)*/ #define VALGRIND_DO_CLIENT_REQUEST_EXPR( \ _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ (__extension__({unsigned int _zzq_rlval; \ VALGRIND_DO_CLIENT_REQUEST(_zzq_rlval, _zzq_default, _zzq_request, \ _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5) \ _zzq_rlval; \ })) #endif /*defined(_MSC_VER)*/ #endif /*defined(NVALGRIND)*/ /* Returns the number of Valgrinds this code is running under. That is, 0 if running natively, 1 if running under Valgrind, 2 if running under Valgrind which is running under another Valgrind, etc. */ #define RUNNING_ON_VALGRIND \ VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* if not */, \ VG_USERREQ__RUNNING_ON_VALGRIND, \ 0, 0, 0, 0, 0) \ /* Discard translation of code in the range [_qzz_addr .. _qzz_addr + _qzz_len - 1]. Useful if you are debugging a JITter or some such, since it provides a way to make sure valgrind will retranslate the invalidated area. Returns no value. */ #define VALGRIND_DISCARD_TRANSLATIONS(_qzz_addr,_qzz_len) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__DISCARD_TRANSLATIONS, \ _qzz_addr, _qzz_len, 0, 0, 0); \ } /* These requests are for getting Valgrind itself to print something. Possibly with a backtrace. This is a really ugly hack. The return value is the number of characters printed, excluding the "**** " part at the start and the backtrace (if present). */ #if defined(NVALGRIND) # define VALGRIND_PRINTF(...) # define VALGRIND_PRINTF_BACKTRACE(...) #else /* NVALGRIND */ #if !defined(_MSC_VER) /* Modern GCC will optimize the static routine out if unused, and unused attribute will shut down warnings about it. */ static int VALGRIND_PRINTF(const char *format, ...) __attribute__((format(__printf__, 1, 2), __unused__)); #endif static int #if defined(_MSC_VER) __inline #endif VALGRIND_PRINTF(const char *format, ...) { unsigned long _qzz_res; va_list vargs; va_start(vargs, format); #if defined(_MSC_VER) VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, VG_USERREQ__PRINTF_VALIST_BY_REF, (uintptr_t)format, (uintptr_t)&vargs, 0, 0, 0); #else VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, VG_USERREQ__PRINTF_VALIST_BY_REF, (unsigned long)format, (unsigned long)&vargs, 0, 0, 0); #endif va_end(vargs); return (int)_qzz_res; } #if !defined(_MSC_VER) static int VALGRIND_PRINTF_BACKTRACE(const char *format, ...) __attribute__((format(__printf__, 1, 2), __unused__)); #endif static int #if defined(_MSC_VER) __inline #endif VALGRIND_PRINTF_BACKTRACE(const char *format, ...) { unsigned long _qzz_res; va_list vargs; va_start(vargs, format); #if defined(_MSC_VER) VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF, (uintptr_t)format, (uintptr_t)&vargs, 0, 0, 0); #else VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF, (unsigned long)format, (unsigned long)&vargs, 0, 0, 0); #endif va_end(vargs); return (int)_qzz_res; } #endif /* NVALGRIND */ /* These requests allow control to move from the simulated CPU to the real CPU, calling an arbitary function. Note that the current ThreadId is inserted as the first argument. So this call: VALGRIND_NON_SIMD_CALL2(f, arg1, arg2) requires f to have this signature: Word f(Word tid, Word arg1, Word arg2) where "Word" is a word-sized type. Note that these client requests are not entirely reliable. For example, if you call a function with them that subsequently calls printf(), there's a high chance Valgrind will crash. Generally, your prospects of these working are made higher if the called function does not refer to any global variables, and does not refer to any libc or other functions (printf et al). Any kind of entanglement with libc or dynamic linking is likely to have a bad outcome, for tricky reasons which we've grappled with a lot in the past. */ #define VALGRIND_NON_SIMD_CALL0(_qyy_fn) \ __extension__ \ ({unsigned long _qyy_res; \ VALGRIND_DO_CLIENT_REQUEST(_qyy_res, 0 /* default return */, \ VG_USERREQ__CLIENT_CALL0, \ _qyy_fn, \ 0, 0, 0, 0); \ _qyy_res; \ }) #define VALGRIND_NON_SIMD_CALL1(_qyy_fn, _qyy_arg1) \ __extension__ \ ({unsigned long _qyy_res; \ VALGRIND_DO_CLIENT_REQUEST(_qyy_res, 0 /* default return */, \ VG_USERREQ__CLIENT_CALL1, \ _qyy_fn, \ _qyy_arg1, 0, 0, 0); \ _qyy_res; \ }) #define VALGRIND_NON_SIMD_CALL2(_qyy_fn, _qyy_arg1, _qyy_arg2) \ __extension__ \ ({unsigned long _qyy_res; \ VALGRIND_DO_CLIENT_REQUEST(_qyy_res, 0 /* default return */, \ VG_USERREQ__CLIENT_CALL2, \ _qyy_fn, \ _qyy_arg1, _qyy_arg2, 0, 0); \ _qyy_res; \ }) #define VALGRIND_NON_SIMD_CALL3(_qyy_fn, _qyy_arg1, _qyy_arg2, _qyy_arg3) \ __extension__ \ ({unsigned long _qyy_res; \ VALGRIND_DO_CLIENT_REQUEST(_qyy_res, 0 /* default return */, \ VG_USERREQ__CLIENT_CALL3, \ _qyy_fn, \ _qyy_arg1, _qyy_arg2, \ _qyy_arg3, 0); \ _qyy_res; \ }) /* Counts the number of errors that have been recorded by a tool. Nb: the tool must record the errors with VG_(maybe_record_error)() or VG_(unique_error)() for them to be counted. */ #define VALGRIND_COUNT_ERRORS \ __extension__ \ ({unsigned int _qyy_res; \ VALGRIND_DO_CLIENT_REQUEST(_qyy_res, 0 /* default return */, \ VG_USERREQ__COUNT_ERRORS, \ 0, 0, 0, 0, 0); \ _qyy_res; \ }) /* Several Valgrind tools (Memcheck, Massif, Helgrind, DRD) rely on knowing when heap blocks are allocated in order to give accurate results. This happens automatically for the standard allocator functions such as malloc(), calloc(), realloc(), memalign(), new, new[], free(), delete, delete[], etc. But if your program uses a custom allocator, this doesn't automatically happen, and Valgrind will not do as well. For example, if you allocate superblocks with mmap() and then allocates chunks of the superblocks, all Valgrind's observations will be at the mmap() level and it won't know that the chunks should be considered separate entities. In Memcheck's case, that means you probably won't get heap block overrun detection (because there won't be redzones marked as unaddressable) and you definitely won't get any leak detection. The following client requests allow a custom allocator to be annotated so that it can be handled accurately by Valgrind. VALGRIND_MALLOCLIKE_BLOCK marks a region of memory as having been allocated by a malloc()-like function. For Memcheck (an illustrative case), this does two things: - It records that the block has been allocated. This means any addresses within the block mentioned in error messages will be identified as belonging to the block. It also means that if the block isn't freed it will be detected by the leak checker. - It marks the block as being addressable and undefined (if 'is_zeroed' is not set), or addressable and defined (if 'is_zeroed' is set). This controls how accesses to the block by the program are handled. 'addr' is the start of the usable block (ie. after any redzone), 'sizeB' is its size. 'rzB' is the redzone size if the allocator can apply redzones -- these are blocks of padding at the start and end of each block. Adding redzones is recommended as it makes it much more likely Valgrind will spot block overruns. `is_zeroed' indicates if the memory is zeroed (or filled with another predictable value), as is the case for calloc(). VALGRIND_MALLOCLIKE_BLOCK should be put immediately after the point where a heap block -- that will be used by the client program -- is allocated. It's best to put it at the outermost level of the allocator if possible; for example, if you have a function my_alloc() which calls internal_alloc(), and the client request is put inside internal_alloc(), stack traces relating to the heap block will contain entries for both my_alloc() and internal_alloc(), which is probably not what you want. For Memcheck users: if you use VALGRIND_MALLOCLIKE_BLOCK to carve out custom blocks from within a heap block, B, that has been allocated with malloc/calloc/new/etc, then block B will be *ignored* during leak-checking -- the custom blocks will take precedence. VALGRIND_FREELIKE_BLOCK is the partner to VALGRIND_MALLOCLIKE_BLOCK. For Memcheck, it does two things: - It records that the block has been deallocated. This assumes that the block was annotated as having been allocated via VALGRIND_MALLOCLIKE_BLOCK. Otherwise, an error will be issued. - It marks the block as being unaddressable. VALGRIND_FREELIKE_BLOCK should be put immediately after the point where a heap block is deallocated. In many cases, these two client requests will not be enough to get your allocator working well with Memcheck. More specifically, if your allocator writes to freed blocks in any way then a VALGRIND_MAKE_MEM_UNDEFINED call will be necessary to mark the memory as addressable just before the zeroing occurs, otherwise you'll get a lot of invalid write errors. For example, you'll need to do this if your allocator recycles freed blocks, but it zeroes them before handing them back out (via VALGRIND_MALLOCLIKE_BLOCK). Alternatively, if your allocator reuses freed blocks for allocator-internal data structures, VALGRIND_MAKE_MEM_UNDEFINED calls will also be necessary. Really, what's happening is a blurring of the lines between the client program and the allocator... after VALGRIND_FREELIKE_BLOCK is called, the memory should be considered unaddressable to the client program, but the allocator knows more than the rest of the client program and so may be able to safely access it. Extra client requests are necessary for Valgrind to understand the distinction between the allocator and the rest of the program. Note: there is currently no VALGRIND_REALLOCLIKE_BLOCK client request; it has to be emulated with MALLOCLIKE/FREELIKE and memory copying. Ignored if addr == 0. */ #define VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__MALLOCLIKE_BLOCK, \ addr, sizeB, rzB, is_zeroed, 0); \ } /* See the comment for VALGRIND_MALLOCLIKE_BLOCK for details. Ignored if addr == 0. */ #define VALGRIND_FREELIKE_BLOCK(addr, rzB) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__FREELIKE_BLOCK, \ addr, rzB, 0, 0, 0); \ } /* Create a memory pool. */ #define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__CREATE_MEMPOOL, \ pool, rzB, is_zeroed, 0, 0); \ } /* Destroy a memory pool. */ #define VALGRIND_DESTROY_MEMPOOL(pool) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__DESTROY_MEMPOOL, \ pool, 0, 0, 0, 0); \ } /* Associate a piece of memory with a memory pool. */ #define VALGRIND_MEMPOOL_ALLOC(pool, addr, size) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__MEMPOOL_ALLOC, \ pool, addr, size, 0, 0); \ } /* Disassociate a piece of memory from a memory pool. */ #define VALGRIND_MEMPOOL_FREE(pool, addr) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__MEMPOOL_FREE, \ pool, addr, 0, 0, 0); \ } /* Disassociate any pieces outside a particular range. */ #define VALGRIND_MEMPOOL_TRIM(pool, addr, size) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__MEMPOOL_TRIM, \ pool, addr, size, 0, 0); \ } /* Resize and/or move a piece associated with a memory pool. */ #define VALGRIND_MOVE_MEMPOOL(poolA, poolB) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__MOVE_MEMPOOL, \ poolA, poolB, 0, 0, 0); \ } /* Resize and/or move a piece associated with a memory pool. */ #define VALGRIND_MEMPOOL_CHANGE(pool, addrA, addrB, size) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__MEMPOOL_CHANGE, \ pool, addrA, addrB, size, 0); \ } /* Return 1 if a mempool exists, else 0. */ #define VALGRIND_MEMPOOL_EXISTS(pool) \ __extension__ \ ({unsigned int _qzz_res; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__MEMPOOL_EXISTS, \ pool, 0, 0, 0, 0); \ _qzz_res; \ }) /* Mark a piece of memory as being a stack. Returns a stack id. */ #define VALGRIND_STACK_REGISTER(start, end) \ __extension__ \ ({unsigned int _qzz_res; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__STACK_REGISTER, \ start, end, 0, 0, 0); \ _qzz_res; \ }) /* Unmark the piece of memory associated with a stack id as being a stack. */ #define VALGRIND_STACK_DEREGISTER(id) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__STACK_DEREGISTER, \ id, 0, 0, 0, 0); \ } /* Change the start and end address of the stack id. */ #define VALGRIND_STACK_CHANGE(id, start, end) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__STACK_CHANGE, \ id, start, end, 0, 0); \ } /* Load PDB debug info for Wine PE image_map. */ #define VALGRIND_LOAD_PDB_DEBUGINFO(fd, ptr, total_size, delta) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__LOAD_PDB_DEBUGINFO, \ fd, ptr, total_size, delta, 0); \ } /* Map a code address to a source file name and line number. buf64 must point to a 64-byte buffer in the caller's address space. The result will be dumped in there and is guaranteed to be zero terminated. If no info is found, the first byte is set to zero. */ #define VALGRIND_MAP_IP_TO_SRCLOC(addr, buf64) \ {unsigned int _qzz_res VG_UNUSED; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__MAP_IP_TO_SRCLOC, \ addr, buf64, 0, 0, 0); \ } #undef PLAT_x86_linux #undef PLAT_amd64_linux #undef PLAT_ppc32_linux #undef PLAT_ppc64_linux #undef PLAT_arm_linux #undef PLAT_s390x_linux #undef PLAT_ppc32_aix5 #undef PLAT_ppc64_aix5 #endif /* __VALGRIND_H */ realmd-0.15.0/build/m4/0000775000175000017500000000000012263034130014440 5ustar00stefstef00000000000000realmd-0.15.0/build/m4/intltool.m40000644000175000017500000002772412263026351016566 0ustar00stefstef00000000000000## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*- ## Copyright (C) 2001 Eazel, Inc. ## Author: Maciej Stachowiak ## Kenneth Christiansen ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ## ## As a special exception to the GNU General Public License, if you ## distribute this file as part of a program that contains a ## configuration script generated by Autoconf, you may include it under ## the same distribution terms that you use for the rest of that program. dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 42 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [ AC_PREREQ([2.50])dnl AC_REQUIRE([AM_NLS])dnl case "$am__api_version" in 1.[01234]) AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) ;; *) ;; esac INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n "$1"; then AC_MSG_CHECKING([for intltool >= $1]) AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) fi AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi AC_SUBST([AM_DEFAULT_VERBOSITY]) INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;' AC_SUBST(INTLTOOL_V_MERGE) AC_SUBST(INTLTOOL__v_MERGE_) AC_SUBST(INTLTOOL__v_MERGE_0) INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' intltool__v_merge_options_0='-q' AC_SUBST(INTLTOOL_V_MERGE_OPTIONS) AC_SUBST(intltool__v_merge_options_) AC_SUBST(intltool__v_merge_options_0) INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@' else INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir' fi INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' _IT_SUBST(INTLTOOL_DESKTOP_RULE) _IT_SUBST(INTLTOOL_DIRECTORY_RULE) _IT_SUBST(INTLTOOL_KEYS_RULE) _IT_SUBST(INTLTOOL_PROP_RULE) _IT_SUBST(INTLTOOL_OAF_RULE) _IT_SUBST(INTLTOOL_PONG_RULE) _IT_SUBST(INTLTOOL_SERVER_RULE) _IT_SUBST(INTLTOOL_SHEET_RULE) _IT_SUBST(INTLTOOL_SOUNDLIST_RULE) _IT_SUBST(INTLTOOL_UI_RULE) _IT_SUBST(INTLTOOL_XAM_RULE) _IT_SUBST(INTLTOOL_KBD_RULE) _IT_SUBST(INTLTOOL_XML_RULE) _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) _IT_SUBST(INTLTOOL_CAVES_RULE) _IT_SUBST(INTLTOOL_SCHEMAS_RULE) _IT_SUBST(INTLTOOL_THEME_RULE) _IT_SUBST(INTLTOOL_SERVICE_RULE) _IT_SUBST(INTLTOOL_POLICY_RULE) # Check the gettext tools to make sure they are GNU AC_PATH_PROG(XGETTEXT, xgettext) AC_PATH_PROG(MSGMERGE, msgmerge) AC_PATH_PROG(MSGFMT, msgfmt) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found]) fi AC_MSG_CHECKING([for perl >= 5.8.1]) $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then AC_MSG_ERROR([perl 5.8.1 is required for intltool]) else IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` AC_MSG_RESULT([$IT_PERL_VERSION]) fi if test "x$2" != "xno-xml"; then AC_MSG_CHECKING([for XML::Parser]) if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then AC_MSG_RESULT([ok]) else AC_MSG_ERROR([XML::Parser perl module is required for intltool]) fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then AC_LINK_IFELSE( [AC_LANG_PROGRAM([[]], [[extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr]])], [DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share dnl in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [DATADIRNAME=share], [DATADIRNAME=lib]) ;; *) [DATADIRNAME=lib] ;; esac]) fi AC_SUBST(DATADIRNAME) IT_PO_SUBDIR([po]) ]) # IT_PO_SUBDIR(DIRNAME) # --------------------- # All po subdirs have to be declared with this macro; the subdir "po" is # declared by IT_PROG_INTLTOOL. # AC_DEFUN([IT_PO_SUBDIR], [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. dnl dnl The following CONFIG_COMMANDS should be executed at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) fi rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" >"$1/stamp-it.tmp" [sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" ] [sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r $1/POTFILES } ' "$1/Makefile.in" >"$1/Makefile"] rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ]) ])dnl ]) # _IT_SUBST(VARIABLE) # ------------------- # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST # AC_DEFUN([_IT_SUBST], [ AC_SUBST([$1]) m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) ] ) # deprecated macros AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) # A hint is needed for aclocal from Automake <= 1.9.4: # AC_DEFUN([AC_PROG_INTLTOOL], ...) realmd-0.15.0/build/Makefile.in0000664000175000017500000003475412263026711016210 0ustar00stefstef00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(top_srcdir)/Makefile.decl $(srcdir)/Makefile.in \ $(srcdir)/Makefile.am subdir = build ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/build/m4/intltool.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_POLICY_DIR = @DBUS_POLICY_DIR@ DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTRO = @DISTRO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ KRB5_CFLAGS = @KRB5_CFLAGS@ KRB5_CONFIG = @KRB5_CONFIG@ KRB5_LIBS = @KRB5_LIBS@ LCOV = @LCOV@ LDAP_CFLAGS = @LDAP_CFLAGS@ LDAP_LIBS = @LDAP_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGEKIT_CFLAGS = @PACKAGEKIT_CFLAGS@ PACKAGEKIT_LIBS = @PACKAGEKIT_LIBS@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POLKIT_ACTION_DIR = @POLKIT_ACTION_DIR@ POLKIT_CFLAGS = @POLKIT_CFLAGS@ POLKIT_LIBS = @POLKIT_LIBS@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SYSTEMD_JOURNAL_CFLAGS = @SYSTEMD_JOURNAL_CFLAGS@ SYSTEMD_JOURNAL_LIBS = @SYSTEMD_JOURNAL_LIBS@ SYSTEMD_UNIT_DIR = @SYSTEMD_UNIT_DIR@ TEST_MODE = @TEST_MODE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XMLTO = @XMLTO@ XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ cachedir = @cachedir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ privatedir = @privatedir@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ NULL = TEST_SUPPRESSIONS = $(top_builddir)/build/valgrind-suppressions V_SED = $(V_SED_$(V)) V_SED_ = $(V_SED_$(AM_DEFAULT_VERBOSITY)) V_SED_0 = @echo " SED " $@; SED_SUBST = sed \ -e 's,[@]datadir[@],$(datadir),g' \ -e 's,[@]libexecdir[@],$(libexecdir),g' \ -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]includedir[@],$(includedir),g' \ -e 's,[@]datarootdir[@],$(datarootdir),g' \ -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ -e 's,[@]bindir[@],$(bindir),g' \ -e 's,[@]exec_prefix[@],$(exec_prefix),g' \ -e 's,[@]prefix[@],$(prefix),g' \ -e 's,[@]abs_srcdir[@],$(abs_srcdir),g' \ -e 's,[@]srcdir[@],$(srcdir),g' \ -e 's,[@]privatedir[@],$(privatedir),g' \ -e 's,[@]PACKAGE[@],$(PACKAGE),g' \ -e 's,[@]VERSION[@],$(VERSION),g' \ $(NULL) SUFFIXES = .conf .conf.in .desktop.in .desktop.in.in .service .service.in EXTRA_DIST = valgrind all: all-am .SUFFIXES: .SUFFIXES: .conf .conf.in .desktop.in .desktop.in.in .service .service.in $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign build/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign build/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.decl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ctags-am distclean distclean-generic distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags-am uninstall uninstall-am perform-memcheck: $(TEST_PROGS) $(TEST_SUPPRESSIONS) @make -C $(top_builddir)/build all @for test in $(TEST_PROGS); do \ G_SLICE=always-malloc libtool --mode=execute \ valgrind --trace-children=no --gen-suppressions=all \ --suppressions=$(TEST_SUPPRESSIONS) \ --leak-check=full --show-reachable=yes --num-callers=16 \ --quiet --error-exitcode=33 \ $(builddir)/$$test; \ done @WITH_COVERAGE_TRUE@coverage: @WITH_COVERAGE_TRUE@ mkdir -p $(top_builddir)/build/coverage @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --capture --output-file $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(GENHTML) --output-directory $(top_builddir)/build/coverage $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters @WITH_COVERAGE_TRUE@ @echo "file://$(abs_top_builddir)/build/coverage/index.html" @WITH_COVERAGE_TRUE@clear-coverage: @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters .desktop.in.in.desktop.in: $(V_SED) $(SED_SUBST) $< > $@ @INTLTOOL_DESKTOP_RULE@ .service.in.service: $(V_SED) $(SED_SUBST) $< > $@ .conf.in.conf: $(V_SED) $(SED_SUBST) $< > $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: realmd-0.15.0/build/Makefile.am0000664000175000017500000000007212140455743016166 0ustar00stefstef00000000000000include $(top_srcdir)/Makefile.decl EXTRA_DIST = valgrindrealmd-0.15.0/configure.ac0000664000175000017500000002541712263026704015330 0ustar00stefstef00000000000000AC_PREREQ(2.63) AC_INIT([realmd], [0.15.0], [http://bugs.freedesktop.org/enter_bug.cgi?product=realmd], [realmd]) # ----------------------------------------------------------------------------- # Versions GLIB_REQ=2.36.0 GLIB_MIN=GLIB_VERSION_2_36 GLIB_MAX=GLIB_VERSION_2_36 INTLTOOL_REQ=0.35.0 # ----------------------------------------------------------------------------- AC_CONFIG_MACRO_DIR([build/m4]) AM_INIT_AUTOMAKE([1.11 tar-ustar foreign -Wno-portability]) AM_SANITY_CHECK AC_CONFIG_HEADERS(config.h) AC_CONFIG_SRCDIR([service/realm-daemon.c]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AM_MAINTAINER_MODE([enable]) # ----------------------------------------------------------------------------- # Distro Detection AC_ARG_WITH([distro], [AS_HELP_STRING([--with-distro], [Configure for a specific distribution (eg: redhat)] )], [DISTRO=$withval]) if test -z $DISTRO; then AC_CHECK_FILE(/etc/redhat-release, [DISTRO="redhat"]) AC_CHECK_FILE(/etc/debian_version, [DISTRO="debian"]) AC_CHECK_FILE(/etc/SuSE-release, [DISTRO="suse"]) # Not customized for these yet dnl AC_CHECK_FILE(/etc/gentoo-release, [DISTRO="gentoo"]) dnl AC_CHECK_FILE(/etc/slackware-version, [DISTRO="slackware"]) fi if test -z $DISTRO; then AC_MSG_ERROR([Couldn't detect the distro to configure for. Specify one with --with-distro]) fi AC_SUBST(DISTRO) # ----------------------------------------------------------------------------- # Basic tools AC_GNU_SOURCE AC_ISC_POSIX AC_PROG_CC AC_PROG_CPP AM_PROG_CC_C_O AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_RANLIB IT_PROG_INTLTOOL($INTLTOOL_REQ) AC_PATH_PROG(PKG_CONFIG, pkg-config, no) GETTEXT_PACKAGE=realmd AC_SUBST([GETTEXT_PACKAGE]) AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[The gettext domain name]) AM_GLIB_GNU_GETTEXT # -------------------------------------------------------------------- # GLib PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQ gio-2.0 gio-unix-2.0) GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=$GLIB_MIN -DGLIB_VERSION_MAX_ALLOWED=$GLIB_MAX" AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) # -------------------------------------------------------------------- # PackageKit PKG_CHECK_MODULES(PACKAGEKIT, packagekit-glib2) AC_SUBST(PACKAGEKIT_CFLAGS) AC_SUBST(PACKAGEKIT_LIBS) # -------------------------------------------------------------------- # PolicyKit PKG_CHECK_MODULES(POLKIT, polkit-gobject-1) AC_SUBST(POLKIT_CFLAGS) AC_SUBST(POLKIT_LIBS) # -------------------------------------------------------------------- # systemd AC_MSG_CHECKING([systemd unit directory]) AC_ARG_WITH(systemd-unit-dir, AC_HELP_STRING([--with-systemd-unit-dir], [Directory to install systemd service file])) if test "$with_systemd_unit_dir" = "" -o "$with_systemd_unit_dir" = "yes"; then with_systemd_unit_dir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd) if test "$with_systemd_unit_dir" = ""; then AC_MSG_ERROR(["Couldn't find systemd system unit directory"]) fi elif test "$with_systemd_unit_dir" = "no"; then with_systemd_unit_dir="" fi SYSTEMD_UNIT_DIR="$with_systemd_unit_dir" AC_SUBST(SYSTEMD_UNIT_DIR) AM_CONDITIONAL(WITH_SYSTEMD, [test -n "$with_systemd_unit_dir"]) AC_MSG_RESULT($with_systemd_unit_dir) AC_ARG_WITH(systemd-journal, AC_HELP_STRING([--with-systemd-journal], [Use systemd's journal for logging])) if test "$with_systemd_journal" != "no"; then AC_DEFINE_UNQUOTED(WITH_JOURNAL, 1, [Use systemd's journal]) PKG_CHECK_MODULES(SYSTEMD_JOURNAL, libsystemd-journal) with_systemd_journal="yes" fi AC_SUBST(SYSTEMD_JOURNAL_CFLAGS) AC_SUBST(SYSTEMD_JOURNAL_LIBS) # ------------------------------------------------------------------- # resolv AC_MSG_CHECKING(for which library has res_query) for lib in "" "-lresolv"; do saved_LIBS="$LIBS" LIBS="$LIBS $lib" AC_LINK_IFELSE([ AC_LANG_PROGRAM([#include ], [res_query (0, 0, 0, 0, 0)]) ], [ AC_MSG_RESULT(${lib:-libc}); have_res_query="yes"; break; ], [ LIBS="$saved_LIBS" ]) done if test "$have_res_query" != "yes"; then AC_MSG_RESULT(no) AC_MSG_ERROR([Couldn't find the library for the res_query function]) fi # ------------------------------------------------------------------- # Kerberos if test "$KRB5_LIBS" != ""; then KRB5_PASSED_LIBS=$KRB5_LIBS fi if test "$KRB5_CFLAGS" != ""; then KRB5_PASSED_CFLAGS=$KRB5_CFLAGS fi AC_PATH_PROG(KRB5_CONFIG, krb5-config) AC_MSG_CHECKING(for working krb5-config) if test -x "$KRB5_CONFIG"; then KRB5_CFLAGS="`$KRB5_CONFIG --cflags`" KRB5_LIBS="`$KRB5_CONFIG --libs`" AC_MSG_RESULT(yes) else if test x$KRB5_PASSED_LIBS = x; then AC_MSG_ERROR(no. Please install MIT kerberos devel package) fi fi if test x$KRB5_PASSED_LIBS != x; then KRB5_LIBS=$KRB5_PASSED_LIBS fi if test x$KRB5_PASSED_CFLAGS != x; then KRB5_CFLAGS=$KRB5_PASSED_CFLAGS fi AC_ARG_VAR([KRB5_CFLAGS], [C compiler flags for kerberos, overriding krb5-config])dnl AC_ARG_VAR([KRB5_LIBS], [linker flags for kerberos, overriding krb5-config])dnl AC_SUBST(KRB5_CFLAGS) AC_SUBST(KRB5_LIBS) # ------------------------------------------------------------------- # LDAP AC_CHECK_LIB(ldap, ldap_search, , [ldap_invalid=yes]) AC_CHECK_LIB(lber, ber_pvt_opt_on, , [ldap_invalid=yes]) AC_CHECK_HEADERS([ldap.h], , [ldap_invalid=yes]) if test "$ldap_invalid" = "yes"; then AC_MSG_ERROR(["Couldn't find OpenLDAP headers or libraries"]) fi AC_CHECK_LIB(ldap, ldap_init_fd, [true], [ AC_MSG_ERROR([Couldn't find ldap_init_fd function in libldap]) ]) LDAP_LIBS="" AC_CHECK_LIB(resolv, res_query, LDAP_LIBS="-lresolv") LDAP_LIBS="$LDAP_LIBS -lldap -llber" LDAP_CFLAGS="" AC_SUBST(LDAP_LIBS) AC_SUBST(LDAP_CFLAGS) # ------------------------------------------------------------------- # Directories DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services" AC_SUBST(DBUS_SERVICES_DIR) DBUS_POLICY_DIR="${sysconfdir}/dbus-1/system.d" AC_SUBST(DBUS_POLICY_DIR) POLKIT_ACTION_DIR="${datadir}/polkit-1/actions" AC_SUBST(POLKIT_ACTION_DIR) # -------------------------------------------------------------------- # Compilation options AC_MSG_CHECKING([whether to build documentation]) AC_ARG_ENABLE(doc, AC_HELP_STRING([--enable-doc], [Disable building documentation]) ) if test "$enable_doc" = "no"; then AC_MSG_RESULT($enable_doc) else if test "$enable_doc" = ""; then disable_msg="(perhaps --disable-doc)" fi enable_doc="yes" AC_MSG_RESULT($enable_doc) AC_PATH_PROG([XSLTPROC], [xsltproc], [no]) if test "$XSLTPROC" = "no"; then AC_MSG_ERROR([the xsltproc command was not found $disable_msg]) fi AC_PATH_PROG([XMLTO], [xmlto], [no]) if test "$XMLTO" = "no"; then AC_MSG_ERROR([the xmlto command was not found $disable_msg]) fi AC_SUBST(XSLTPROC) AC_SUBST(XMLTO) fi AM_CONDITIONAL([ENABLE_DOC], [test "$enable_doc" = "yes"]) AC_MSG_CHECKING([whether to build with gcov testing]) AC_ARG_ENABLE([coverage], AS_HELP_STRING([--enable-coverage], [Whether to enable coverage testing ]), [], [enable_coverage=no]) AC_MSG_RESULT([$enable_coverage]) if test "$enable_coverage" = "yes"; then if test "$GCC" != "yes"; then AC_MSG_ERROR(Coverage testing requires GCC) fi AC_PATH_PROG(GCOV, gcov, no) if test "$GCOV" = "no" ; then AC_MSG_ERROR(gcov tool is not available) fi AC_PATH_PROG(LCOV, lcov, no) if test "$LCOV" = "no" ; then AC_MSG_ERROR(lcov tool is not installed) fi AC_PATH_PROG(GENHTML, genhtml, no) if test "$GENHTML" = "no" ; then AC_MSG_ERROR(lcov's genhtml tool is not installed) fi CFLAGS="$CFLAGS -O0 -g -fprofile-arcs -ftest-coverage" LDFLAGS="$LDFLAGS -lgcov" fi AM_CONDITIONAL([WITH_COVERAGE], [test "$enable_coverage" = "yes"]) AC_SUBST(LCOV) AC_SUBST(GCOV) AC_SUBST(GENHTML) AC_MSG_CHECKING([for debug mode]) AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug=no/default/yes], [Turn on or off debugging]) ) if test "$enable_debug" != "no"; then AC_DEFINE_UNQUOTED(WITH_DEBUG, 1, [Print debug output]) AC_DEFINE_UNQUOTED(_DEBUG, 1, [In debug mode]) CFLAGS="$CFLAGS -g" fi if test "$enable_debug" = "yes"; then debug_status="yes" CFLAGS="$CFLAGS -O0" elif test "$enable_debug" = "no"; then debug_status="no" CFLAGS="$CFLAGS -O2" AC_DEFINE_UNQUOTED(G_DISABLE_ASSERT, 1, [Disable glib assertions]) else debug_status="default" fi AC_MSG_RESULT($debug_status) if test "$GCC" = "yes"; then CFLAGS="$CFLAGS \ -Wall -Wmissing-declarations \ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ -Wdeclaration-after-statement -Wformat=2 -Winit-self \ -Waggregate-return -Wmissing-format-attribute" for option in -Wmissing-include-dirs -Wundef; do SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $option" AC_MSG_CHECKING([whether gcc understands $option]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])], [has_option=yes], [has_option=no]) AC_MSG_RESULT($has_option) if test $has_option = no; then CFLAGS="$SAVE_CFLAGS" fi done # Only add this when optimizing is enabled (default) AC_MSG_CHECKING([whether optimization is enabled]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#if __OPTIMIZE__ == 0 #error No optimization #endif ]], [[]])], [has_optimization=yes], [has_optimization=no]) if test $has_optimization = yes; then CFLAGS="$CFLAGS -Wp,-D_FORTIFY_SOURCE=2" AC_MSG_RESULT([yes, fortifying source]) else AC_MSG_RESULT([no, not fortifying source]) fi fi AC_ARG_ENABLE(strict, [ AS_HELP_STRING([--enable-strict], [Strict code compilation]) ]) AC_MSG_CHECKING([build strict]) if test "$enable_strict" = "yes"; then CFLAGS="$CFLAGS -Werror \ -DG_DISABLE_DEPRECATED" TEST_MODE="thorough" else CFLAGS="$CFLAGS -Wno-error" TEST_MODE="quick" enable_strict="no" fi AC_MSG_RESULT($enable_strict) AC_SUBST(TEST_MODE) # ------------------------------------------------------------------------------ # Results privatedir='${libdir}/realmd' AC_SUBST(privatedir) cachedir='${localstatedir}/cache/realmd' AC_SUBST(cachedir) AC_CONFIG_FILES([ Makefile build/Makefile dbus/Makefile doc/Makefile doc/internals/Makefile doc/manual/Makefile doc/website/Makefile doc/version.xml po/Makefile.in po/Makefile service/Makefile tests/Makefile tools/Makefile ]) AC_OUTPUT echo echo "CFLAGS: $CFLAGS" echo echo "OPTIONS:" echo " Debug: $debug_status" echo " Coverage: $enable_coverage" echo " Strict: $enable_strict" echo " Documentation: $enable_doc" echo echo "OPTIONAL DEPENDENCIES:" echo " systemd unit dir: $with_systemd_unit_dir" echo " systemd journal: $with_systemd_journal" echo realmd-0.15.0/Makefile.in0000664000175000017500000007040412263026711015101 0ustar00stefstef00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(top_srcdir)/Makefile.decl $(srcdir)/Makefile.in \ $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(srcdir)/config.h.in AUTHORS COPYING \ ChangeLog INSTALL NEWS README compile depcomp install-sh \ missing subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/build/m4/intltool.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_POLICY_DIR = @DBUS_POLICY_DIR@ DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTRO = @DISTRO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ KRB5_CFLAGS = @KRB5_CFLAGS@ KRB5_CONFIG = @KRB5_CONFIG@ KRB5_LIBS = @KRB5_LIBS@ LCOV = @LCOV@ LDAP_CFLAGS = @LDAP_CFLAGS@ LDAP_LIBS = @LDAP_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGEKIT_CFLAGS = @PACKAGEKIT_CFLAGS@ PACKAGEKIT_LIBS = @PACKAGEKIT_LIBS@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POLKIT_ACTION_DIR = @POLKIT_ACTION_DIR@ POLKIT_CFLAGS = @POLKIT_CFLAGS@ POLKIT_LIBS = @POLKIT_LIBS@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SYSTEMD_JOURNAL_CFLAGS = @SYSTEMD_JOURNAL_CFLAGS@ SYSTEMD_JOURNAL_LIBS = @SYSTEMD_JOURNAL_LIBS@ SYSTEMD_UNIT_DIR = @SYSTEMD_UNIT_DIR@ TEST_MODE = @TEST_MODE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XMLTO = @XMLTO@ XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ cachedir = @cachedir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ privatedir = @privatedir@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ NULL = TEST_SUPPRESSIONS = $(top_builddir)/build/valgrind-suppressions V_SED = $(V_SED_$(V)) V_SED_ = $(V_SED_$(AM_DEFAULT_VERBOSITY)) V_SED_0 = @echo " SED " $@; SED_SUBST = sed \ -e 's,[@]datadir[@],$(datadir),g' \ -e 's,[@]libexecdir[@],$(libexecdir),g' \ -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]includedir[@],$(includedir),g' \ -e 's,[@]datarootdir[@],$(datarootdir),g' \ -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ -e 's,[@]bindir[@],$(bindir),g' \ -e 's,[@]exec_prefix[@],$(exec_prefix),g' \ -e 's,[@]prefix[@],$(prefix),g' \ -e 's,[@]abs_srcdir[@],$(abs_srcdir),g' \ -e 's,[@]srcdir[@],$(srcdir),g' \ -e 's,[@]privatedir[@],$(privatedir),g' \ -e 's,[@]PACKAGE[@],$(PACKAGE),g' \ -e 's,[@]VERSION[@],$(VERSION),g' \ $(NULL) SUFFIXES = .conf .conf.in .desktop.in .desktop.in.in .service .service.in ACLOCAL_AMFLAGS = -I build/m4 ${ACLOCAL_FLAGS} SUBDIRS = build dbus service tools tests doc po DISTCHECK_CONFIGURE_FLAGS = \ --enable-debug=yes \ --disable-coverage \ --disable-silent-rules \ --with-systemd-unit-dir=$(abs_srcdir)/$(top_distdir)/_inst/ \ --enable-doc all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: .SUFFIXES: .conf .conf.in .desktop.in .desktop.in.in .service .service.in am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.decl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @if test ! -f $@; then rm -f stamp-h1; else :; fi @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) all install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \ dist-zip distcheck distclean distclean-generic distclean-hdr \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am perform-memcheck: $(TEST_PROGS) $(TEST_SUPPRESSIONS) @make -C $(top_builddir)/build all @for test in $(TEST_PROGS); do \ G_SLICE=always-malloc libtool --mode=execute \ valgrind --trace-children=no --gen-suppressions=all \ --suppressions=$(TEST_SUPPRESSIONS) \ --leak-check=full --show-reachable=yes --num-callers=16 \ --quiet --error-exitcode=33 \ $(builddir)/$$test; \ done @WITH_COVERAGE_TRUE@coverage: @WITH_COVERAGE_TRUE@ mkdir -p $(top_builddir)/build/coverage @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --capture --output-file $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(GENHTML) --output-directory $(top_builddir)/build/coverage $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters @WITH_COVERAGE_TRUE@ @echo "file://$(abs_top_builddir)/build/coverage/index.html" @WITH_COVERAGE_TRUE@clear-coverage: @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters .desktop.in.in.desktop.in: $(V_SED) $(SED_SUBST) $< > $@ @INTLTOOL_DESKTOP_RULE@ .service.in.service: $(V_SED) $(SED_SUBST) $< > $@ .conf.in.conf: $(V_SED) $(SED_SUBST) $< > $@ dist-hook: @if test -d "$(srcdir)/.git"; \ then \ echo Creating ChangeLog && \ ( cd "$(top_srcdir)" && \ echo '# Generate automatically. Do not edit.'; echo; \ $(top_srcdir)/missing --run git log --stat --date=short ) > ChangeLog.tmp \ && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ || ( rm -f ChangeLog.tmp ; \ echo Failed to generate ChangeLog >&2 ); \ else \ echo A git clone is required to generate a ChangeLog >&2; \ fi memcheck: make -C tests memcheck; website: make -C doc website upload-website: make -C doc upload upload-release: $(DIST_ARCHIVES) gpg --detach-sign --local-user 'stef@thewalter.net' $(DIST_ARCHIVES) scp $(DIST_ARCHIVES) $(DIST_ARCHIVES).sig anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/releases transifex: sh build/tx-update # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: realmd-0.15.0/Makefile.am0000664000175000017500000000224412140455743015072 0ustar00stefstef00000000000000## Process this file with automake to produce Makefile.in include $(top_srcdir)/Makefile.decl ACLOCAL_AMFLAGS = -I build/m4 ${ACLOCAL_FLAGS} SUBDIRS = build dbus service tools tests doc po DISTCHECK_CONFIGURE_FLAGS = \ --enable-debug=yes \ --disable-coverage \ --disable-silent-rules \ --with-systemd-unit-dir=$(abs_srcdir)/$(top_distdir)/_inst/ \ --enable-doc dist-hook: @if test -d "$(srcdir)/.git"; \ then \ echo Creating ChangeLog && \ ( cd "$(top_srcdir)" && \ echo '# Generate automatically. Do not edit.'; echo; \ $(top_srcdir)/missing --run git log --stat --date=short ) > ChangeLog.tmp \ && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ || ( rm -f ChangeLog.tmp ; \ echo Failed to generate ChangeLog >&2 ); \ else \ echo A git clone is required to generate a ChangeLog >&2; \ fi memcheck: make -C tests memcheck; website: make -C doc website upload-website: make -C doc upload upload-release: $(DIST_ARCHIVES) gpg --detach-sign --local-user 'stef@thewalter.net' $(DIST_ARCHIVES) scp $(DIST_ARCHIVES) $(DIST_ARCHIVES).sig anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/releases transifex: sh build/tx-update realmd-0.15.0/service/0000775000175000017500000000000012263034130014461 5ustar00stefstef00000000000000realmd-0.15.0/service/realm-adcli-enroll.c0000664000175000017500000002064112263030675020305 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-adcli-enroll.h" #include "realm-command.h" #include "realm-daemon.h" #include "realm-diagnostics.h" #include "realm-errors.h" #include "realm-ini-config.h" #include "realm-options.h" #include "realm-settings.h" static void on_join_process (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; GString *output = NULL; gint status; status = realm_command_run_finish (result, &output, &error); if (error == NULL && status != 0) { switch (status) { case 2: /* ADCLI_ERR_UNEXPECTED */ g_set_error (&error, REALM_ERROR, REALM_ERROR_INTERNAL, "Internal unexpected error joining the domain"); break; case 6: /* ADCLI_ERR_CREDENTIALS */ g_set_error (&error, REALM_ERROR, REALM_ERROR_AUTH_FAILED, "Insufficient permissions to join the domain"); break; default: g_set_error (&error, REALM_ERROR, REALM_ERROR_FAILED, "Failed to join the domain"); break; } } if (error == NULL) { g_task_return_boolean (task, TRUE); } else { g_task_return_error (task, error); } if (output) g_string_free (output, TRUE); g_object_unref (task); } void realm_adcli_enroll_join_async (RealmDisco *disco, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { gchar *environ[] = { "LANG=C", NULL }; GInetAddress *address; const gchar *computer_ou; GTask *task; GBytes *input = NULL; const gchar *upn; GPtrArray *args; const gchar *os; gchar *ccache_arg = NULL; gchar *upn_arg = NULL; gchar *server_arg = NULL; g_return_if_fail (cred != NULL); g_return_if_fail (disco != NULL); g_return_if_fail (invocation != NULL); task = g_task_new (NULL, NULL, callback, user_data); args = g_ptr_array_new (); /* Use our custom smb.conf */ g_ptr_array_add (args, (gpointer)realm_settings_path ("adcli")); g_ptr_array_add (args, "join"); g_ptr_array_add (args, "--verbose"); g_ptr_array_add (args, "--domain"); g_ptr_array_add (args, (gpointer)disco->domain_name); g_ptr_array_add (args, "--domain-realm"); g_ptr_array_add (args, (gpointer)disco->kerberos_realm); if (G_IS_INET_SOCKET_ADDRESS (disco->server_address)) { address = g_inet_socket_address_get_address (G_INET_SOCKET_ADDRESS (disco->server_address)); server_arg = g_inet_address_to_string (address); if (server_arg) { g_ptr_array_add (args, "--domain-controller"); g_ptr_array_add (args, server_arg); } } else if (disco->explicit_server) { g_ptr_array_add (args, "--domain-controller"); g_ptr_array_add (args, (gpointer)disco->explicit_server); } if (disco->explicit_netbios) { realm_diagnostics_info (invocation, "Joining using a truncated netbios name: %s", disco->explicit_netbios); g_ptr_array_add (args, "--computer-name"); g_ptr_array_add (args, disco->explicit_netbios); } computer_ou = realm_options_computer_ou (options, disco->domain_name); if (computer_ou) { g_ptr_array_add (args, "--computer-ou"); g_ptr_array_add (args, (gpointer)computer_ou); } os = realm_settings_value ("active-directory", "os-name"); if (os != NULL && !g_str_equal (os, "")) { g_ptr_array_add (args, "--os-name"); g_ptr_array_add (args, (gpointer)os); } os = realm_settings_value ("active-directory", "os-version"); if (os != NULL && !g_str_equal (os, "")) { g_ptr_array_add (args, "--os-version"); g_ptr_array_add (args, (gpointer)os); } switch (cred->type) { case REALM_CREDENTIAL_AUTOMATIC: g_ptr_array_add (args, "--login-type"); g_ptr_array_add (args, "computer"); g_ptr_array_add (args, "--no-password"); break; case REALM_CREDENTIAL_CCACHE: g_ptr_array_add (args, "--login-type"); g_ptr_array_add (args, "user"); ccache_arg = g_strdup_printf ("--login-ccache=%s", cred->x.ccache.file); g_ptr_array_add (args, ccache_arg); break; case REALM_CREDENTIAL_PASSWORD: input = g_bytes_ref (cred->x.password.value); g_ptr_array_add (args, "--login-type"); g_ptr_array_add (args, "user"); g_ptr_array_add (args, "--login-user"); g_ptr_array_add (args, cred->x.password.name); g_ptr_array_add (args, "--stdin-password"); break; case REALM_CREDENTIAL_SECRET: input = g_bytes_ref (cred->x.secret.value); g_ptr_array_add (args, "--login-type"); g_ptr_array_add (args, "computer"); g_ptr_array_add (args, "--stdin-password"); break; } upn = realm_options_user_principal (options, disco->domain_name); if (upn) { if (g_str_equal (upn, "")) { g_ptr_array_add (args, "--user-principal"); } else { upn_arg = g_strdup_printf ("--user-principal=%s", upn); g_ptr_array_add (args, upn_arg); } } g_ptr_array_add (args, NULL); realm_command_runv_async ((gchar **)args->pdata, environ, input, invocation, on_join_process, g_object_ref (task)); g_ptr_array_free (args, TRUE); g_object_unref (task); if (input) g_bytes_unref (input); free (ccache_arg); free (upn_arg); free (server_arg); } gboolean realm_adcli_enroll_join_finish (GAsyncResult *result, GError **error) { g_return_val_if_fail (g_task_is_valid (result, NULL), FALSE); return g_task_propagate_boolean (G_TASK (result), error); } void realm_adcli_enroll_delete_async (RealmDisco *disco, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { gchar *environ[] = { "LANG=C", NULL }; GInetAddress *address; GTask *task; GBytes *input = NULL; GPtrArray *args; gchar *ccache_arg = NULL; gchar *server_arg = NULL; g_return_if_fail (cred != NULL); g_return_if_fail (disco != NULL); g_return_if_fail (invocation != NULL); task = g_task_new (NULL, NULL, callback, user_data); args = g_ptr_array_new (); /* Use our custom smb.conf */ g_ptr_array_add (args, (gpointer)realm_settings_path ("adcli")); g_ptr_array_add (args, "delete-computer"); g_ptr_array_add (args, "--verbose"); g_ptr_array_add (args, "--domain"); g_ptr_array_add (args, (gpointer)disco->domain_name); g_ptr_array_add (args, "--domain-realm"); g_ptr_array_add (args, (gpointer)disco->kerberos_realm); if (G_IS_INET_SOCKET_ADDRESS (disco->server_address)) { address = g_inet_socket_address_get_address (G_INET_SOCKET_ADDRESS (disco->server_address)); server_arg = g_inet_address_to_string (address); if (server_arg) { g_ptr_array_add (args, "--domain-controller"); g_ptr_array_add (args, server_arg); } } else if (disco->explicit_server) { g_ptr_array_add (args, "--domain-controller"); g_ptr_array_add (args, (gpointer)disco->explicit_server); } switch (cred->type) { case REALM_CREDENTIAL_AUTOMATIC: case REALM_CREDENTIAL_SECRET: g_return_if_reached (); break; case REALM_CREDENTIAL_CCACHE: ccache_arg = g_strdup_printf ("--login-ccache=%s", cred->x.ccache.file); g_ptr_array_add (args, ccache_arg); break; case REALM_CREDENTIAL_PASSWORD: input = g_bytes_ref (cred->x.password.value); g_ptr_array_add (args, "--login-user"); g_ptr_array_add (args, cred->x.password.name); g_ptr_array_add (args, "--stdin-password"); break; } g_ptr_array_add (args, NULL); realm_command_runv_async ((gchar **)args->pdata, environ, input, invocation, on_join_process, g_object_ref (task)); g_ptr_array_free (args, TRUE); g_object_unref (task); if (input) g_bytes_unref (input); free (ccache_arg); g_free (server_arg); } gboolean realm_adcli_enroll_delete_finish (GAsyncResult *result, GError **error) { g_return_val_if_fail (g_task_is_valid (result, NULL), FALSE); return g_task_propagate_boolean (G_TASK (result), error); } realmd-0.15.0/service/realm-credential.c0000664000175000017500000002075312242621731020052 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include #include "realm-credential.h" #include "realm-daemon.h" #include "realm-errors.h" #include #include #include static gchar * write_ccache_file (GVariant *ccache, GError **error) { const gchar *directory; gchar *filename; const guchar *data; gsize length; gint fd; int res; data = g_variant_get_fixed_array (ccache, &length, 1); g_return_val_if_fail (length > 0, NULL); directory = g_get_tmp_dir (); filename = g_build_filename (directory, "realm-ad-kerberos-XXXXXX", NULL); fd = g_mkstemp_full (filename, O_WRONLY, 0600); if (fd < 0) { g_warning ("couldn't open temporary file in %s directory for kerberos cache: %s", directory, g_strerror (errno)); g_set_error (error, REALM_ERROR, REALM_ERROR_INTERNAL, "Problem writing out the kerberos cache data"); g_free (filename); return NULL; } while (length > 0) { res = write (fd, data, length); if (res <= 0) { if (errno == EAGAIN || errno == EINTR) continue; g_warning ("couldn't write kerberos cache to file %s: %s", filename, g_strerror (errno)); g_set_error (error, REALM_ERROR, REALM_ERROR_INTERNAL, "Problem writing out the kerberos cache data"); break; } else { length -= res; data += res; } } if (close (fd) < 0) { g_warning ("couldn't write kerberos cache to file %s: %s", filename, g_strerror (errno)); g_set_error (error, REALM_ERROR, REALM_ERROR_INTERNAL, "Problem writing out the kerberos cache data"); g_free (filename); return NULL; } if (length != 0) { g_free (filename); return NULL; } return filename; } static gboolean parse_ccache (RealmCredential *cred, GVariant *contents, GError **error) { gsize length; if (!g_variant_is_of_type (contents, G_VARIANT_TYPE ("ay"))) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "Credential cache argument is of wrong DBus type"); return FALSE; } g_variant_get_fixed_array (contents, &length, 1); if (length == 0) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "Invalid zero length credential cache argument"); return FALSE; } cred->x.ccache.file = write_ccache_file (contents, error); if (cred->x.ccache.file == NULL) return FALSE; cred->type = REALM_CREDENTIAL_CCACHE; return TRUE; } static gboolean parse_password (RealmCredential *cred, GVariant *contents, GError **error) { const gchar *password; if (!g_variant_is_of_type (contents, G_VARIANT_TYPE ("(ss)"))) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "Password credentials are of wrong DBus type"); return FALSE; } g_variant_get (contents, "(s&s)", &cred->x.password.name, &password); cred->x.password.value = g_bytes_new_with_free_func (password, strlen (password), (GDestroyNotify)g_variant_unref, g_variant_ref (contents)); cred->type = REALM_CREDENTIAL_PASSWORD; return TRUE; } static gboolean parse_secret (RealmCredential *cred, GVariant *contents, GError **error) { gconstpointer data; gsize length; if (!g_variant_is_of_type (contents, G_VARIANT_TYPE ("ay"))) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "Secret credentials are of wrong DBus type"); return FALSE; } data = g_variant_get_fixed_array (contents, &length, 1); cred->x.secret.value = g_bytes_new_with_free_func (data, length, (GDestroyNotify)g_variant_unref, g_variant_ref (contents)); cred->type = REALM_CREDENTIAL_SECRET; return TRUE; } static gboolean parse_automatic (RealmCredential *cred, GVariant *contents, GError **error) { cred->type = REALM_CREDENTIAL_AUTOMATIC; return TRUE; } RealmCredential * realm_credential_parse (GVariant *input, GError **error) { RealmCredential *cred; GVariant *outer; GVariant *contents; const char *owner, *type; gboolean ret = TRUE; g_return_val_if_fail (input != NULL, NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); cred = g_new0 (RealmCredential, 1); cred->refs = 1; g_variant_get (input, "(&s&s@v)", &type, &owner, &outer); if (g_str_equal (owner, "administrator")) { cred->owner = REALM_CREDENTIAL_OWNER_ADMIN; } else if (g_str_equal (owner, "user")) { cred->owner = REALM_CREDENTIAL_OWNER_USER; } else if (g_str_equal (owner, "computer")) { cred->owner = REALM_CREDENTIAL_OWNER_COMPUTER; } else if (g_str_equal (owner, "none")) { cred->owner = REALM_CREDENTIAL_OWNER_NONE; } else { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "Credential cache argument has invalid or unsupported owner"); ret = FALSE; } contents = g_variant_get_variant (outer); g_variant_unref (outer); if (!ret) { /* skip */; } else if (g_str_equal (type, "ccache")) { ret = parse_ccache (cred, contents, error); } else if (g_str_equal (type, "password")) { ret = parse_password (cred, contents, error); } else if (g_str_equal (type, "secret")) { ret = parse_secret (cred, contents, error); } else if (g_str_equal (type, "automatic")) { ret = parse_automatic (cred, contents, error); } else { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "Invalid or unsupported credential type"); ret = FALSE; } if (!ret) { realm_credential_unref (cred); cred = NULL; } g_variant_unref (contents); return cred; } RealmCredential * realm_credential_ref (RealmCredential *cred) { g_return_val_if_fail (cred != NULL, NULL); g_return_val_if_fail (cred->refs > 0, NULL); cred->refs++; return cred; } void realm_credential_unref (RealmCredential *cred) { g_return_if_fail (cred != NULL); g_return_if_fail (cred->refs > 0); cred->refs--; if (cred->refs > 0) return; switch (cred->type) { case REALM_CREDENTIAL_AUTOMATIC: break; case REALM_CREDENTIAL_CCACHE: realm_credential_ccache_delete_and_free (cred->x.ccache.file); break; case REALM_CREDENTIAL_SECRET: g_bytes_unref (cred->x.secret.value); break; case REALM_CREDENTIAL_PASSWORD: g_free (cred->x.password.name); g_bytes_unref (cred->x.password.value); break; } g_free (cred); } void realm_credential_ccache_delete_and_free (gchar *ccache_file) { g_return_if_fail (ccache_file != NULL); if (!realm_daemon_has_debug_flag () && g_unlink (ccache_file) < 0) { g_warning ("couldn't remove kerberos cache file: %s: %s", ccache_file, g_strerror (errno)); } g_free (ccache_file); } GVariant * realm_credential_build_supported (const RealmCredential *creds) { GPtrArray *elements; GVariant *tuple[2]; const gchar *string; GVariant *supported; elements = g_ptr_array_new (); while (creds->type) { if (creds->owner == REALM_CREDENTIAL_OWNER_ADMIN) string = "administrator"; else if (creds->owner == REALM_CREDENTIAL_OWNER_USER) string = "user"; else if (creds->owner == REALM_CREDENTIAL_OWNER_COMPUTER) string = "computer"; else if (creds->owner == REALM_CREDENTIAL_OWNER_NONE) string = "none"; else g_return_val_if_reached (NULL); tuple[1] = g_variant_new_string (string); switch (creds->type) { case REALM_CREDENTIAL_CCACHE: string = "ccache"; break; case REALM_CREDENTIAL_PASSWORD: string = "password"; break; case REALM_CREDENTIAL_SECRET: string = "secret"; break; case REALM_CREDENTIAL_AUTOMATIC: string = "automatic"; break; default: g_return_val_if_reached (NULL); break; } tuple[0] = g_variant_new_string (string); g_ptr_array_add (elements, g_variant_new_tuple (tuple, 2)); creds++; } supported = g_variant_new_array (G_VARIANT_TYPE ("(ss)"), (GVariant *const *)elements->pdata, elements->len); g_ptr_array_free (elements, TRUE); g_variant_ref_sink (supported); return supported; } realmd-0.15.0/service/realm-daemon.h0000664000175000017500000000271112144161265017204 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_DAEMON_H__ #define __REALM_DAEMON_H__ #include G_BEGIN_DECLS void realm_daemon_hold (const gchar *identifier); gboolean realm_daemon_release (const gchar *identifier); gboolean realm_daemon_is_dbus_peer (void); gboolean realm_daemon_is_install_mode (void); gboolean realm_daemon_has_debug_flag (void); void realm_daemon_poke (void); void realm_daemon_export_object (GDBusObjectSkeleton *object); void realm_daemon_syslog (const gchar *operation, int prio, const gchar *format, ...) G_GNUC_PRINTF(3, 4); G_END_DECLS #endif /* __REALM_DAEMON_H__ */ realmd-0.15.0/service/realm-sssd-config.h0000664000175000017500000000502712173241564020166 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SSSD_CONFIG_H__ #define __REALM_SSSD_CONFIG_H__ #include #include "realm-ini-config.h" RealmIniConfig * realm_sssd_config_new (GError **error); RealmIniConfig * realm_sssd_config_new_with_flags (RealmIniFlags flags, GError **error); gchar ** realm_sssd_config_get_domains (RealmIniConfig *config); gchar * realm_sssd_config_domain_to_section (const gchar *domain); gboolean realm_sssd_config_have_domain (RealmIniConfig *config, const gchar *domain); gboolean realm_sssd_config_add_domain (RealmIniConfig *config, const gchar *domain, GError **error, ...) G_GNUC_NULL_TERMINATED; gboolean realm_sssd_config_update_domain (RealmIniConfig *config, const gchar *domain, GError **error, ...); gboolean realm_sssd_config_remove_domain (RealmIniConfig *config, const gchar *domain, GError **error); gboolean realm_sssd_config_load_domain (RealmIniConfig *config, const gchar *domain, gchar **section, gchar **id_provider, gchar **realm_name); G_END_DECLS #endif /* __REALM_SSSD_CONFIG_H__ */ realmd-0.15.0/service/realm-samba-config.c0000664000175000017500000000447412140455744020276 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-ini-config.h" #include "realm-samba-config.h" #include "realm-settings.h" #include RealmIniConfig * realm_samba_config_new_with_flags (RealmIniFlags flags, GError **error) { RealmIniConfig *config; const gchar *filename; GError *err = NULL; config = realm_ini_config_new (REALM_INI_LINE_CONTINUATIONS | flags); filename = realm_settings_path ("smb.conf"); realm_ini_config_read_file (config, filename, &err); if (err != NULL) { /* If the caller wants errors, then don't return an invalid samba config */ if (error) { g_propagate_error (error, err); g_object_unref (config); config = NULL; /* If the caller doesn't care, then warn but continue */ } else { g_warning ("Couldn't load config file: %s: %s", filename, err->message); g_error_free (err); } } return config; } RealmIniConfig * realm_samba_config_new (GError **error) { return realm_samba_config_new_with_flags (REALM_INI_NONE, error); } gboolean realm_samba_config_get_boolean (RealmIniConfig *config, const gchar *section, const gchar *key, gboolean defalt) { gchar *string = NULL; gboolean ret; string = realm_ini_config_get (config, section, key); if (string == NULL) { ret = defalt; } else if (g_ascii_strcasecmp (string, "true") == 0 || g_ascii_strcasecmp (string, "1") == 0 || g_ascii_strcasecmp (string, "yes") == 0) { ret = TRUE; } else if (g_ascii_strcasecmp (string, "false") == 0 || g_ascii_strcasecmp (string, "0") == 0 || g_ascii_strcasecmp (string, "no") == 0) { ret = FALSE; } else { g_message ("Unexpected boolean value in samba config [%s] %s = %s\n", section, key, string); ret = defalt; } g_free (string); return ret; } realmd-0.15.0/service/realmd-suse.conf0000664000175000017500000000270312167007323017562 0ustar00stefstef00000000000000# Distro specific overrides for SuSE [paths] smb.conf = /etc/samba/smb.conf [samba-packages] samba-client = /usr/bin/net [winbind-packages] samba-winbind = /usr/sbin/winbindd [sssd-packages] sssd = /usr/sbin/sssd sssd-tools = /usr/sbin/sss_cache [adcli-packages] adcli = /usr/sbin/adcli [ipa-packages] freeipa-client = /usr/sbin/ipa-client-install [commands] # TODO: How do we enable winbind in /etc/nsswitch.conf? winbind-enable-logins = /usr/sbin/pam-config --add --winbind --mkhomedir winbind-disable-logins = /usr/sbin/pam-config --delete --winbind winbind-enable-service = /usr/bin/systemctl enable winbind.service winbind-disable-service = /usr/bin/systemctl disable winbind.service winbind-restart-service = /usr/bin/systemctl restart winbind.service winbind-stop-service = /usr/bin/systemctl stop winbind.service # TODO: pam-config doesn't have support for --sssd # TODO: How do we enable sssd in /etc/nsswitch.conf? sssd-enable-logins = /usr/sbin/pam-config --add --sssd --mkhomedir sssd-disable-logins = /usr/sbin/pam-config --delete --sssd sssd-enable-service = /usr/bin/systemctl enable sssd.service sssd-disable-service = /usr/bin/systemctl disable sssd.service sssd-restart-service = /usr/bin/systemctl restart sssd.service sssd-stop-service = /usr/bin/systemctl stop sssd.service sssd-caches-flush = /usr/sbin/sss_cache --users --groups --netgroups --services --autofs-maps # TODO: Is flushing a nsswitch.conf name cache necessary? name-caches-flush = realmd-0.15.0/service/realm-samba.h0000644000175000017500000000222211763376337017035 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SAMBA_H__ #define __REALM_SAMBA_H__ #include #include "realm-kerberos.h" #include "realm-provider.h" G_BEGIN_DECLS #define REALM_TYPE_SAMBA (realm_samba_get_type ()) #define REALM_SAMBA(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_SAMBA, RealmSamba)) #define REALM_IS_SAMBA(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_SAMBA)) typedef struct _RealmSamba RealmSamba; GType realm_samba_get_type (void) G_GNUC_CONST; RealmKerberos * realm_samba_new (const gchar *name, RealmProvider *provider); G_END_DECLS #endif /* __REALM_SAMBA_H__ */ realmd-0.15.0/service/realm-sssd.h0000664000175000017500000000556312263030560016720 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SSSD_H__ #define __REALM_SSSD_H__ #include #include "realm-kerberos.h" #include "realm-ini-config.h" G_BEGIN_DECLS #define REALM_TYPE_SSSD (realm_sssd_get_type ()) #define REALM_SSSD(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_SSSD, RealmSssd)) #define REALM_IS_SSSD(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_SSSD)) #define REALM_SSSD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), REALM_TYPE_SSSD, RealmSssdClass)) #define REALM_IS_SSSD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), REALM_TYPE_SSSD)) #define REALM_SSSD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), REALM_TYPE_SSSD, RealmSssdClass)) typedef struct _RealmSssd RealmSssd; typedef struct _RealmSssdClass RealmSssdClass; typedef struct _RealmSssdPrivate RealmSssdPrivate; struct _RealmSssd { RealmKerberos parent; RealmSssdPrivate *pv; }; struct _RealmSssdClass { RealmKerberosClass parent_class; /* * This is set by derived classes and is a value for the sssd.conf * provider relevant to this realm, surch as "ipa" or "ad" */ const char *sssd_conf_provider_name; }; typedef struct _RealmSssd RealmSssd; GType realm_sssd_get_type (void) G_GNUC_CONST; RealmIniConfig * realm_sssd_get_config (RealmSssd *self); const gchar * realm_sssd_get_config_section (RealmSssd *self); const gchar * realm_sssd_get_config_domain (RealmSssd *self); gchar * realm_sssd_build_default_home (const gchar *value); void realm_sssd_deconfigure_domain_tail (RealmSssd *self, GTask *task, GDBusMethodInvocation *invocation); gboolean realm_sssd_set_login_policy (RealmIniConfig *config, const gchar *section, const gchar *access_provider, const gchar **add_names, const gchar **remove_names, gboolean names_are_groups, GError **error); void realm_sssd_update_properties (RealmSssd *self); G_END_DECLS #endif /* __REALM_SSSD_H__ */ realmd-0.15.0/service/realm-all-provider.c0000664000175000017500000002244412144212025020330 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) all later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-all-provider.h" #include "realm-daemon.h" #include "realm-diagnostics.h" #include "realm-errors.h" #include "realm-dbus-constants.h" #include "realm-dbus-generated.h" #include "realm-provider.h" #include #include #include struct _RealmAllProvider { RealmProvider parent; GList *providers; }; typedef struct { RealmProviderClass parent_class; } RealmAllProviderClass; G_DEFINE_TYPE (RealmAllProvider, realm_all_provider, REALM_TYPE_PROVIDER); static void realm_all_provider_init (RealmAllProvider *self) { } static void realm_all_provider_constructed (GObject *obj) { G_OBJECT_CLASS (realm_all_provider_parent_class)->constructed (obj); /* The dbus Name property of the provider */ realm_provider_set_name (REALM_PROVIDER (obj), "All"); } static void update_realms_property (RealmProvider *self) { GPtrArray *paths; GList *realms; GList *l; realms = realm_provider_get_realms (self); paths = g_ptr_array_new (); for (l = realms; l != NULL; l = g_list_next (l)) g_ptr_array_add (paths, (gchar *)g_dbus_object_get_object_path (l->data)); g_ptr_array_add (paths, NULL); g_list_free (realms); realm_provider_set_realm_paths (REALM_PROVIDER (self), (const gchar **)paths->pdata); g_ptr_array_free (paths, TRUE); } static void update_all_properties (RealmProvider *self) { update_realms_property (self); } static void on_provider_notify (GObject *obj, GParamSpec *spec, gpointer user_data) { RealmProvider *self = REALM_PROVIDER (user_data); update_all_properties (self); } typedef struct { GDBusMethodInvocation *invocation; gchar *operation_id; gboolean completed; gint outstanding; GQueue failures; GQueue results; gint relevance; GList *realms; } DiscoverClosure; typedef struct { GList *realms; gint relevance; } DiscoverResult; static void discover_result_free (gpointer data) { DiscoverResult *disco = data; g_list_free_full (disco->realms, g_object_unref); g_free (disco); } static void discover_closure_free (gpointer data) { DiscoverClosure *discover = data; g_free (discover->operation_id); g_object_unref (discover->invocation); while (!g_queue_is_empty (&discover->results)) discover_result_free (g_queue_pop_head (&discover->results)); while (!g_queue_is_empty (&discover->failures)) g_error_free (g_queue_pop_head (&discover->failures)); g_list_free_full (discover->realms, g_object_unref); g_free (discover); } static gint compare_relevance (gconstpointer a, gconstpointer b, gpointer user_data) { const DiscoverResult *disco_a = a; const DiscoverResult *disco_b = b; return disco_b->relevance - disco_a->relevance; } static void discover_process_results (GSimpleAsyncResult *res, DiscoverClosure *discover) { GError *error; DiscoverResult *disco; gboolean any = FALSE; g_queue_sort (&discover->results, compare_relevance, NULL); for (;;) { disco = g_queue_pop_head (&discover->results); if (disco == NULL) break; discover->realms = g_list_concat (discover->realms, disco->realms); disco->realms = NULL; if (disco->relevance > discover->relevance) discover->relevance = disco->relevance; discover_result_free (disco); any = TRUE; } if (!any) { /* If there was a failure, return one of them */ error = g_queue_pop_head (&discover->failures); if (error != NULL) g_simple_async_result_take_error (res, error); } } static void on_provider_discover (GObject *source, GAsyncResult *result, gpointer user_data) { GSimpleAsyncResult *res = G_SIMPLE_ASYNC_RESULT (user_data); DiscoverClosure *discover = g_simple_async_result_get_op_res_gpointer (res); RealmAllProvider *self = REALM_ALL_PROVIDER (g_async_result_get_source_object (user_data)); DiscoverResult *disco; GError *error = NULL; GList *realms; gint relevance; realms = realm_provider_discover_finish (REALM_PROVIDER (source), result, &relevance, &error); if (error == NULL) { disco = g_new0 (DiscoverResult, 1); disco->realms = realms; disco->relevance = relevance; g_queue_push_tail (&discover->results, disco); } else { g_queue_push_tail (&discover->failures, error); } g_assert (discover->outstanding > 0); discover->outstanding--; /* All done at this point? */ if (!discover->completed && discover->outstanding == 0) { discover_process_results (res, discover); discover->completed = TRUE; g_simple_async_result_complete (res); } g_object_unref (res); g_object_unref (self); } static void realm_all_provider_discover_async (RealmProvider *provider, const gchar *string, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmAllProvider *self = REALM_ALL_PROVIDER (provider); GSimpleAsyncResult *res; DiscoverClosure *discover; GList *l; res = g_simple_async_result_new (G_OBJECT (self), callback, user_data, realm_all_provider_discover_async); discover = g_new0 (DiscoverClosure, 1); g_queue_init (&discover->results); discover->invocation = g_object_ref (invocation); g_simple_async_result_set_op_res_gpointer (res, discover, discover_closure_free); for (l = self->providers; l != NULL; l = g_list_next (l)) { realm_provider_discover (l->data, string, options, invocation, on_provider_discover, g_object_ref (res)); discover->outstanding++; } /* If no discovery going on then just complete */ if (discover->outstanding == 0) { discover_process_results (res, discover); discover->completed = TRUE; g_simple_async_result_complete_in_idle (res); } g_object_unref (res); } static GList * realm_all_provider_discover_finish (RealmProvider *provider, GAsyncResult *result, gint *relevance, GError **error) { GSimpleAsyncResult *res; DiscoverClosure *discover; GList *realms; res = G_SIMPLE_ASYNC_RESULT (result); if (g_simple_async_result_propagate_error (res, error)) return NULL; discover = g_simple_async_result_get_op_res_gpointer (res); *relevance = discover->relevance; realms = discover->realms; discover->realms = NULL; return realms; } static GList * realm_all_provider_get_realms (RealmProvider *provider) { RealmAllProvider *self = REALM_ALL_PROVIDER (provider); GList *realms = NULL; GList *l; for (l = self->providers; l != NULL; l = g_list_next (l)) realms = g_list_concat (realms, realm_provider_get_realms (l->data)); return realms; } static void realm_all_provider_finalize (GObject *obj) { RealmAllProvider *self = REALM_ALL_PROVIDER (obj); GList *l; for (l = self->providers; l != NULL; l = g_list_next (l)) g_signal_handlers_disconnect_by_func (l->data, on_provider_notify, self); g_list_free_full (self->providers, g_object_unref); G_OBJECT_CLASS (realm_all_provider_parent_class)->finalize (obj); } void realm_all_provider_class_init (RealmAllProviderClass *klass) { RealmProviderClass *provider_class = REALM_PROVIDER_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->constructed = realm_all_provider_constructed; object_class->finalize = realm_all_provider_finalize; provider_class->discover_async = realm_all_provider_discover_async; provider_class->discover_finish = realm_all_provider_discover_finish; provider_class->get_realms = realm_all_provider_get_realms; } RealmProvider * realm_all_provider_new_and_export (GDBusConnection *connection) { GDBusObject *self; GList *interfaces, *l; GError *error = NULL; self = g_object_new (REALM_TYPE_ALL_PROVIDER, "g-object-path", REALM_DBUS_SERVICE_PATH, NULL); interfaces = g_dbus_object_get_interfaces (G_DBUS_OBJECT (self)); for (l = interfaces; l != NULL; l = g_list_next (l)) { g_dbus_interface_skeleton_export (l->data, connection, g_dbus_object_get_object_path (self), &error); if (error != NULL) { g_warning ("Couldn't export DBus interface at %s", g_dbus_object_get_object_path (self)); g_clear_error (&error); } } g_list_free_full (interfaces, g_object_unref); return REALM_PROVIDER (self); } void realm_all_provider_register (RealmProvider *all_provider, RealmProvider *provider) { RealmAllProvider *self; g_return_if_fail (REALM_IS_ALL_PROVIDER (all_provider)); g_return_if_fail (REALM_IS_PROVIDER (provider)); self = REALM_ALL_PROVIDER (all_provider); self->providers = g_list_prepend (self->providers, g_object_ref (provider)); update_all_properties (all_provider); g_signal_connect (provider, "notify", G_CALLBACK (on_provider_notify), self); } realmd-0.15.0/service/realm-ldap.c0000664000175000017500000002143412263030453016653 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-ldap.h" #include #include #include #include #include #include #include /* * So the reason that we don't use GSocket is because its fd's are always * non-blocking internally. We can't just go and hand these non-blocking * fds to openldap, which then fiddles with blocking state. */ GQuark realm_ldap_error_get_quark (void) { static GQuark quark = 0; if (!quark) quark = g_quark_from_static_string ("realm-ldap-error"); return quark; } typedef struct { GSource source; int sock; LDAP *ldap; GPollFD pollfd; GIOCondition condition; GCancellable *cancellable; GPollFD cancel_pollfd; gboolean connect_done; /* An LDAP failure we should always return if non-zero */ int force_fail; } LdapSource; static gboolean ldap_source_prepare (GSource *source, gint *timeout) { LdapSource *ls = (LdapSource *)source; if (ls->force_fail != 0) return TRUE; if (g_cancellable_is_cancelled (ls->cancellable)) return TRUE; *timeout = -1; if ((ls->condition & ls->pollfd.revents) != 0) return TRUE; ls->pollfd.events = ls->condition; return FALSE; } static gboolean ldap_source_check (GSource *source) { int timeout; return ldap_source_prepare (source, &timeout); } static void ldap_set_result_code (LDAP *ldap, int rc) { int check; if (ldap_get_option (ldap, LDAP_OPT_RESULT_CODE, &check) < 0 || check != rc) { ldap_set_option (ldap, LDAP_OPT_RESULT_CODE, &rc); ldap_set_option (ldap, LDAP_OPT_DIAGNOSTIC_MESSAGE, NULL); } } static gboolean ldap_source_dispatch (GSource *source, GSourceFunc callback, gpointer user_data) { RealmLdapCallback func = (RealmLdapCallback)callback; LdapSource *ls = (LdapSource *)source; GIOCondition cond; socklen_t slen; int error; cond = ls->pollfd.revents & ls->condition; /* * We report cancels as an error. The callback can check if it * was cancelled by looking for LDAP_CANCELLED result code. */ if (g_cancellable_is_cancelled (ls->cancellable)) { ls->force_fail = LDAP_CANCELLED; } else if (cond & (G_IO_HUP | G_IO_ERR)) { g_debug ("socket closed or error"); ls->force_fail = LDAP_SERVER_DOWN; } else if (cond & G_IO_OUT) { /* * Read out the result of the asynchronous non-blocking connect() * call. If it fails we propagate that error up. */ if (!ls->connect_done) { ls->connect_done = TRUE; slen = sizeof (int); if (getsockopt (ls->sock, SOL_SOCKET, SO_ERROR, &error, &slen) != 0) { g_warning ("getsockopt() for SO_ERROR failed"); ls->force_fail = LDAP_SERVER_DOWN; } else if (error != 0) { g_debug ("Cannot connect: %s", g_strerror (error)); ls->force_fail = LDAP_SERVER_DOWN; } } } if (ls->force_fail != 0) { ldap_set_result_code (ls->ldap, ls->force_fail); cond |= G_IO_ERR; } if (func != NULL && cond != 0) { cond = (* func) (ls->ldap, cond, user_data); if ((cond & G_IO_NVAL) == G_IO_NVAL) return FALSE; cond |= G_IO_HUP | G_IO_ERR; ls->condition = cond; } return TRUE; } static void ldap_source_finalize (GSource *source) { LdapSource *ls = (LdapSource *)source; /* Yeah, this is pretty rough, but we don't want blocking here */ close (ls->sock); ldap_destroy (ls->ldap); if (ls->cancellable) { g_cancellable_release_fd (ls->cancellable); g_object_unref (ls->cancellable); } } static GSourceFuncs socket_source_funcs = { ldap_source_prepare, ldap_source_check, ldap_source_dispatch, ldap_source_finalize, }; /* Not included in ldap.h but documented */ int ldap_init_fd (ber_socket_t fd, int proto, LDAP_CONST char *url, struct ldap **ldp); GSource * realm_ldap_connect_anonymous (GSocketAddress *address, GSocketProtocol protocol, GCancellable *cancellable) { GSource *source; LdapSource *ls; gchar *addrname; GInetSocketAddress *inet; struct berval cred; Sockbuf *sb = NULL; gsize native_len; gpointer native; int version; gint port; gchar *url; int rc; g_return_val_if_fail (G_IS_INET_SOCKET_ADDRESS (address), NULL); inet = G_INET_SOCKET_ADDRESS (address); addrname = g_inet_address_to_string (g_inet_socket_address_get_address (inet)); port = g_inet_socket_address_get_port (inet); if (port == 0) port = 389; source = g_source_new (&socket_source_funcs, sizeof (LdapSource)); g_source_set_name (source, "LdapSource"); ls = (LdapSource *)source; switch (protocol) { case G_SOCKET_PROTOCOL_TCP: ls->sock = socket (g_socket_address_get_family (address), SOCK_STREAM, IPPROTO_TCP); /* Not an expected failure */ if (ls->sock < 0) { g_critical ("couldn't open socket to: %s: %s", addrname, strerror (errno)); return NULL; } if (!g_unix_set_fd_nonblocking (ls->sock, TRUE, NULL)) g_warning ("couldn't set to non-blocking"); native_len = g_socket_address_get_native_size (address); native = g_malloc (native_len); if (!g_socket_address_to_native (address, native, native_len, NULL)) g_return_val_if_reached (NULL); if (connect (ls->sock, native, native_len) < 0 && errno != EINPROGRESS) { g_debug ("Cannot connect: %s", g_strerror (errno)); ls->force_fail = LDAP_SERVER_DOWN; } if (!g_unix_set_fd_nonblocking (ls->sock, FALSE, NULL)) g_warning ("couldn't set to blocking"); rc = ldap_init_fd (ls->sock, 1, NULL, &ls->ldap); g_free (native); /* Not an expected failure */ if (rc != LDAP_SUCCESS) { g_warning ("ldap_init_fd() failed: %s", ldap_err2string (rc)); return NULL; } break; case G_SOCKET_PROTOCOL_UDP: url = g_strdup_printf ("cldap://%s:%d", addrname, port); /* * HACK: ldap_init_fd() does not work for UDP, otherwise we * could use the same code path as above, but it doesn't * block while connecting anyway, so just use ldap_initialize() */ rc = ldap_initialize (&ls->ldap, url); g_free (url); /* Not an expected failure */ if (rc != LDAP_SUCCESS) { g_warning ("ldap_initialize() failed: %s", ldap_err2string (rc)); return NULL; } /* * An anonymous bind is used to actually connect the connection * so we can get at the socket. For UDP with openldap an anonymous * bind is treated as a no-op. */ cred.bv_val = ""; cred.bv_len = 0; rc = ldap_sasl_bind_s (ls->ldap, NULL, LDAP_SASL_SIMPLE, &cred, NULL, NULL, NULL); /* Not an expected failure */ if (rc != LDAP_SUCCESS) { g_warning ("ldap_sasl_bind_s() failed: %s", ldap_err2string (rc)); return NULL; } if (ldap_get_option (ls->ldap, LDAP_OPT_SOCKBUF, &sb) < 0) g_return_val_if_reached (NULL); g_return_val_if_fail (sb != NULL, NULL); if (ber_sockbuf_ctrl (sb, LBER_SB_OPT_GET_FD, &ls->sock) != 1) g_return_val_if_reached (NULL); ls->connect_done = TRUE; break; default: g_return_val_if_reached (NULL); break; } g_free (addrname); version = LDAP_VERSION3; if (ldap_set_option (ls->ldap, LDAP_OPT_PROTOCOL_VERSION, &version) != 0) g_return_val_if_reached (NULL); ldap_set_option (ls->ldap, LDAP_OPT_REFERRALS , LDAP_OPT_OFF); ls->condition = G_IO_IN | G_IO_OUT | G_IO_HUP | G_IO_ERR; ls->pollfd.fd = ls->sock; ls->pollfd.events = ls->condition; ls->pollfd.revents = 0; g_source_add_poll (source, &ls->pollfd); if (g_cancellable_make_pollfd (cancellable, &ls->cancel_pollfd)) { ls->cancellable = g_object_ref (cancellable); g_source_add_poll (source, &ls->cancel_pollfd); } return source; } void realm_ldap_set_condition (GSource *source, GIOCondition cond) { LdapSource *ls = (LdapSource *)source; GMainContext *context; ls->condition = cond | G_IO_HUP | G_IO_ERR; context = g_source_get_context (source); if (context != NULL) g_main_context_wakeup (context); } void realm_ldap_set_error (GError **error, LDAP *ldap, int code) { char *info = NULL; if (code <= 0) { if (ldap_get_option (ldap, LDAP_OPT_RESULT_CODE, &code) != 0) g_return_if_reached (); } if (code == LDAP_CANCELLED) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_CANCELLED, _("The operation was cancelled")); return; } if (ldap != NULL) { if (ldap_get_option (ldap, LDAP_OPT_DIAGNOSTIC_MESSAGE, (void*)&info) != 0) info = NULL; } g_set_error_literal (error, REALM_LDAP_ERROR, code, info ? info : ldap_err2string (code)); } realmd-0.15.0/service/realm-disco-dns.h0000664000175000017500000000210412147351215017617 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_DISCO_DNS_H__ #define __REALM_DICSO_DNS_H__ #include typedef enum { REALM_DISCO_IS_SERVER = 1 << 3, } RealmDiscoDnsHint; G_BEGIN_DECLS GSocketAddressEnumerator * realm_disco_dns_enumerate_servers (const gchar *domain_or_server, GDBusMethodInvocation *invocation); RealmDiscoDnsHint realm_disco_dns_get_hint (GSocketAddressEnumerator *enumerator); const gchar * realm_disco_dns_get_name (GSocketAddressEnumerator *enumerator); G_END_DECLS #endif /* __REALM_DISCO_DNS_H__ */ realmd-0.15.0/service/realm-command.c0000664000175000017500000004265312144212042017351 0ustar00stefstef00000000000000/* * Copyright (C) 2011 Collabora Ltd. * Copyright (C) 2012 Red Hat Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-daemon.h" #include "realm-command.h" #include "realm-diagnostics.h" #include "realm-invocation.h" #include "realm-settings.h" #include #include #include #include #include enum { FD_INPUT, FD_OUTPUT, FD_ERROR, NUM_FDS }; #define DEBUG_VERBOSE 0 typedef struct { GBytes *input; gsize input_offset; GString *output; guint source_sig; gint exit_code; gboolean cancelled; GDBusMethodInvocation *invocation; } CommandClosure; typedef struct { GSource source; GPollFD polls[NUM_FDS]; /* The various fd's we're listening to */ GPid child_pid; guint child_sig; GSimpleAsyncResult *res; CommandClosure *command; GCancellable *cancellable; guint cancel_sig; } ProcessSource; static void command_closure_free (gpointer data) { CommandClosure *command = data; if (command->input) g_bytes_unref (command->input); if (command->invocation) g_object_unref (command->invocation); g_string_free (command->output, TRUE); g_assert (command->source_sig == 0); g_free (command); } static void complete_source_is_done (ProcessSource *process_source) { #if DEBUG_VERBOSE g_debug ("all fds closed and process exited, completing"); #endif g_assert (process_source->child_sig == 0); if (process_source->cancel_sig) { g_signal_handler_disconnect (process_source->cancellable, process_source->cancel_sig); process_source->cancel_sig = 0; } g_clear_object (&process_source->cancellable); g_simple_async_result_complete (process_source->res); /* All done, the source can go away now */ g_source_unref ((GSource*)process_source); } static void close_fd (int *fd) { g_assert (fd); if (*fd >= 0) { #if DEBUG_VERBOSE g_debug ("closing fd: %d", *fd); #endif close (*fd); } *fd = -1; } static void close_poll (GSource *source, GPollFD *poll) { g_source_remove_poll (source, poll); close_fd (&poll->fd); poll->revents = 0; } static gboolean unused_callback (gpointer data) { /* Never called */ g_assert_not_reached (); return FALSE; } static gboolean on_process_source_prepare (GSource *source, gint *timeout_) { ProcessSource *process_source = (ProcessSource*)source; gint i; for (i = 0; i < NUM_FDS; ++i) { if (process_source->polls[i].fd >= 0) return FALSE; } /* If none of the FDs are valid, then process immediately */ return TRUE; } static gboolean on_process_source_check (GSource *source) { ProcessSource *process_source = (ProcessSource*)source; gint i; for (i = 0; i < NUM_FDS; ++i) { if (process_source->polls[i].fd >= 0 && process_source->polls[i].revents != 0) return TRUE; } return FALSE; } static void on_process_source_finalize (GSource *source) { ProcessSource *process_source = (ProcessSource*)source; gint i; g_assert (process_source->cancellable == NULL); g_assert (process_source->cancel_sig == 0); for (i = 0; i < NUM_FDS; ++i) close_fd (&process_source->polls[i].fd); g_assert (!process_source->child_pid); g_assert (!process_source->child_sig); } static gboolean read_output (int fd, GString *buffer, GDBusMethodInvocation *invocation) { gchar block[1024]; gssize result; g_return_val_if_fail (fd >= 0, FALSE); do { result = read (fd, block, sizeof (block)); if (result < 0) { if (errno == EINTR || errno == EAGAIN) continue; return FALSE; } else if (result > 0) { realm_diagnostics_info_data (invocation, block, result); g_string_append_len (buffer, block, result); } } while (result == sizeof (block)); return TRUE; } static gboolean on_process_source_input (CommandClosure *command, ProcessSource *process_source, gint fd) { const guchar *data; gsize length; gssize result; if (command->input == NULL) return FALSE; /* don't call again */ data = g_bytes_get_data (command->input, &length); if (command->input_offset < length) { result = write (fd, data + command->input_offset, length - command->input_offset); if (result < 0) { if (errno != EINTR && errno != EAGAIN) { if (!command->cancelled || errno != EPIPE) g_warning ("couldn't write output data to process: %s", g_strerror (errno)); g_bytes_unref (command->input); command->input = NULL; return FALSE; } } else { command->input_offset += result; } } if (command->input_offset >= length) { g_bytes_unref (command->input); command->input = NULL; return FALSE; /* close, don't call again */ } return TRUE; /* call again */ } static gboolean on_process_source_output (CommandClosure *command, ProcessSource *process_source, gint fd) { if (!read_output (fd, command->output, command->invocation)) { g_warning ("couldn't read output data from process"); return FALSE; } return TRUE; } static gboolean on_process_source_error (CommandClosure *command, ProcessSource *process_source, gint fd) { if (!read_output (fd, command->output, command->invocation)) { g_warning ("couldn't read error data from process"); return FALSE; } return TRUE; } static gboolean on_process_source_dispatch (GSource *source, GSourceFunc unused, gpointer user_data) { ProcessSource *process_source = (ProcessSource*)source; CommandClosure *command = process_source->command; GPollFD *poll; guint i; /* Standard input, no support yet */ poll = &process_source->polls[FD_INPUT]; if (poll->fd >= 0) { if (poll->revents & G_IO_OUT) if (!on_process_source_input (command, process_source, poll->fd)) poll->revents |= G_IO_HUP; if (poll->revents & G_IO_HUP) close_poll (source, poll); poll->revents = 0; } /* Standard output */ poll = &process_source->polls[FD_OUTPUT]; if (poll->fd >= 0) { if (poll->revents & G_IO_IN) if (!on_process_source_output (command, process_source, poll->fd)) poll->revents |= G_IO_HUP; if (poll->revents & G_IO_HUP) close_poll (source, poll); poll->revents = 0; } /* Standard error */ poll = &process_source->polls[FD_ERROR]; if (poll->fd >= 0) { if (poll->revents & G_IO_IN) if (!on_process_source_error (command, process_source, poll->fd)) poll->revents |= G_IO_HUP; if (poll->revents & G_IO_HUP) close_poll (source, poll); poll->revents = 0; } for (i = 0; i < NUM_FDS; ++i) { if (process_source->polls[i].fd >= 0) return TRUE; } /* Because we return below */ command->source_sig = 0; if (!process_source->child_pid) complete_source_is_done (process_source); return FALSE; /* Disconnect this source */ } static GSourceFuncs process_source_funcs = { on_process_source_prepare, on_process_source_check, on_process_source_dispatch, on_process_source_finalize, }; static void on_unix_process_child_exited (GPid pid, gint status, gpointer user_data) { ProcessSource *process_source = user_data; CommandClosure *command = process_source->command; gint code; guint i; g_debug ("process exited: %d", (int)pid); g_spawn_close_pid (process_source->child_pid); process_source->child_pid = 0; process_source->child_sig = 0; if (WIFEXITED (status)) { command->exit_code = WEXITSTATUS (status); } else if (WIFSIGNALED (status)) { code = WTERMSIG (status); /* Ignore cases where we've signaled the process because we were cancelled */ if (!command->cancelled) g_simple_async_result_set_error (process_source->res, G_SPAWN_ERROR, G_SPAWN_ERROR_FAILED, _("Process was terminated with signal: %d"), code); } for (i = 0; i < NUM_FDS; ++i) { if (process_source->polls[i].fd >= 0) return; } complete_source_is_done (process_source); } static void on_unix_process_child_setup (gpointer user_data) { int *child_fds = user_data; long val; guint i; /* * Become a process leader in order to close the controlling terminal. * This allows us to avoid the sub-processes blocking on reading from * the terminal. We can also pipe passwords and such into stdin since * getpass() will fall back to that. */ setsid (); /* * Clear close-on-exec flag for these file descriptors, so that * gnupg can write to them */ for (i = 0; i < NUM_FDS; i++) { if (child_fds[i] >= 0) { val = fcntl (child_fds[i], F_GETFD); fcntl (child_fds[i], F_SETFD, val & ~FD_CLOEXEC); } } } static void on_cancellable_cancelled (GCancellable *cancellable, gpointer user_data) { ProcessSource *process_source = user_data; g_debug ("process cancelled: %d", process_source->child_pid); /* Set an error, which is respected when this actually completes. */ g_simple_async_result_set_error (process_source->res, G_IO_ERROR, G_IO_ERROR_CANCELLED, _("The operation was cancelled")); process_source->command->cancelled = TRUE; /* Try and kill the child process */ if (process_source->child_pid) { g_debug ("sending term signal to process: %d", (int)process_source->child_pid); kill (process_source->child_pid, SIGTERM); } } void realm_command_runv_async (gchar **argv, gchar **environ, GBytes *input, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GSimpleAsyncResult *res; CommandClosure *command; GError *error = NULL; int child_fds[NUM_FDS]; int output_fd = -1; int error_fd = -1; int input_fd = -1; ProcessSource *process_source; GCancellable *cancellable; GSource *source; gchar *cmd_string; gchar *env_string; gchar **parts; gchar **env; GPid pid; guint i; g_return_if_fail (argv != NULL); g_return_if_fail (invocation == NULL || G_IS_DBUS_METHOD_INVOCATION (invocation)); cancellable = realm_invocation_get_cancellable (invocation); for (i = 0; i < NUM_FDS; i++) child_fds[i] = -1; /* TODO: Figure out if it's a name, and lookup the path */ /* Spawn/child will close all other attributes, besides thesthose in child_fds */ child_fds[FD_INPUT] = 0; child_fds[FD_OUTPUT] = 1; child_fds[FD_ERROR] = 2; env = g_get_environ (); env_string = NULL; if (environ) { env_string = g_strjoinv (" ", environ); for (i = 0; environ != NULL && environ[i] != NULL; i++) { parts = g_strsplit (environ[i], "=", 2); if (!parts[0] || !parts[1]) g_warning ("invalid environment variable: %s", environ[i]); else env = g_environ_setenv (env, parts[0], parts[1], TRUE); g_strfreev (parts); } } cmd_string = g_strjoinv (" ", argv); realm_diagnostics_info (invocation, "%s%s%s", env_string ? env_string : "", env_string ? " " : "", cmd_string); g_free (env_string); g_free (cmd_string); g_spawn_async_with_pipes (NULL, argv, env, G_SPAWN_DO_NOT_REAP_CHILD, on_unix_process_child_setup, child_fds, &pid, &input_fd, &output_fd, &error_fd, &error); g_strfreev (env); res = g_simple_async_result_new (NULL, callback, user_data, realm_command_runv_async); command = g_new0 (CommandClosure, 1); command->input = input ? g_bytes_ref (input) : NULL; command->output = g_string_sized_new (128); command->invocation = invocation ? g_object_ref (invocation) : NULL; g_simple_async_result_set_op_res_gpointer (res, command, command_closure_free); if (error) { g_simple_async_result_take_error (res, error); g_simple_async_result_complete_in_idle (res); g_object_unref (res); return; } g_debug ("process started: %d", (int)pid); source = g_source_new (&process_source_funcs, sizeof (ProcessSource)); /* Initialize the source */ process_source = (ProcessSource *)source; for (i = 0; i < NUM_FDS; i++) process_source->polls[i].fd = -1; process_source->res = g_object_ref (res); process_source->command = command; process_source->child_pid = pid; process_source->polls[FD_INPUT].fd = input_fd; if (input_fd >= 0) { process_source->polls[FD_INPUT].events = G_IO_HUP | G_IO_OUT; g_source_add_poll (source, &process_source->polls[FD_INPUT]); } process_source->polls[FD_OUTPUT].fd = output_fd; if (output_fd >= 0) { process_source->polls[FD_OUTPUT].events = G_IO_HUP | G_IO_IN; g_source_add_poll (source, &process_source->polls[FD_OUTPUT]); } process_source->polls[FD_ERROR].fd = error_fd; if (error_fd >= 0) { process_source->polls[FD_ERROR].events = G_IO_HUP | G_IO_IN; g_source_add_poll (source, &process_source->polls[FD_ERROR]); } if (cancellable) { process_source->cancellable = g_object_ref (cancellable); process_source->cancel_sig = g_cancellable_connect (cancellable, G_CALLBACK (on_cancellable_cancelled), g_source_ref (source), (GDestroyNotify)g_source_unref); } g_assert (command->source_sig == 0); g_source_set_callback (source, unused_callback, NULL, NULL); command->source_sig = g_source_attach (source, g_main_context_default ()); /* This assumes the outstanding reference to source */ g_assert (process_source->child_sig == 0); process_source->child_sig = g_child_watch_add_full (G_PRIORITY_DEFAULT, pid, on_unix_process_child_exited, g_source_ref (source), (GDestroyNotify)g_source_unref); /* source is unreffed in complete_if_source_is_done() */ } static gboolean is_only_whitespace (const gchar *string) { while (*string != '\0') { if (!g_ascii_isspace (*string)) return FALSE; string++; } return TRUE; } void realm_command_run_known_async (const gchar *known_command, gchar **environ, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { const gchar *command_line; GSimpleAsyncResult *async; CommandClosure *command; GError *error = NULL; gchar *message = NULL; gint exit_code = -1; gchar **argv = NULL; gint unused; g_return_if_fail (known_command != NULL); g_return_if_fail (invocation == NULL || G_IS_DBUS_METHOD_INVOCATION (invocation)); command_line = realm_settings_value ("commands", known_command); if (command_line == NULL) { message = g_strdup_printf (_("Configured command not found: %s"), known_command); g_warning ("Configured command not found: %s", known_command); exit_code = 127; } else if (is_only_whitespace (command_line)) { message = g_strdup_printf (_("Skipped command: %s"), known_command); exit_code = 0; } else if (!g_shell_parse_argv (command_line, &unused, &argv, &error)) { g_warning ("Couldn't parse the command line: %s: %s", command_line, error->message); g_error_free (error); message = g_strdup_printf (_("Configured command invalid: %s"), command_line); exit_code = 127; } if (message == NULL) { realm_command_runv_async (argv, environ, NULL, invocation, callback, user_data); g_free (argv); } else { async = g_simple_async_result_new (NULL, callback, user_data, realm_command_runv_async); command = g_new0 (CommandClosure, 1); command->output = g_string_new (message); command->exit_code = exit_code; g_simple_async_result_set_op_res_gpointer (async, command, command_closure_free); g_simple_async_result_complete_in_idle (async); g_object_unref (async); g_free (message); } } gint realm_command_run_finish (GAsyncResult *result, GString **output, GError **error) { GSimpleAsyncResult *res; CommandClosure *command; g_return_val_if_fail (error == NULL || *error == NULL, -1); g_return_val_if_fail (g_simple_async_result_is_valid (result, NULL, realm_command_runv_async), -1); res = G_SIMPLE_ASYNC_RESULT (result); if (g_simple_async_result_propagate_error (res, error)) return -1; command = g_simple_async_result_get_op_res_gpointer (res); if (output) { *output = command->output; command->output = NULL; } return command->exit_code; } static void clear_and_free_password (gpointer data) { gchar *password = data; memset ((char *)password, 0, strlen (password)); g_free (password); } GBytes * realm_command_build_password_line (GBytes *password) { GByteArray *array; gconstpointer data; gsize length; guchar *result; array = g_byte_array_new (); data = g_bytes_get_data (password, &length); g_byte_array_append (array, data, length); /* * We add a new line, which getpass() used inside command expects */ g_byte_array_append (array, (guchar *)"\n", 1); length = array->len; /* * In addition we add null terminator. This is not * written to 'net' command, but used by clear_and_free_password(). */ g_byte_array_append (array, (guchar *)"\0", 1); result = g_byte_array_free (array, FALSE); return g_bytes_new_with_free_func (result, length, clear_and_free_password, result); } realmd-0.15.0/service/realm-login-name.c0000664000175000017500000000667312140455744020001 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-login-name.h" #include static gboolean split_login_format (const gchar *format, const gchar **prefix, gsize *prefix_len, const gchar **suffix, gsize *suffix_len) { const gchar *end; const gchar *pos; g_assert (format != NULL); g_assert (prefix != NULL); g_assert (prefix_len != NULL); g_assert (suffix != NULL); g_assert (suffix_len != NULL); pos = strstr (format, "%U"); if (pos == NULL) return FALSE; end = format + strlen (format); *prefix = format; *prefix_len = pos - format; *suffix = pos + 2; *suffix_len = end - (*suffix); return TRUE; } gchar * realm_login_name_parse (const gchar *const *formats, gboolean lower, const gchar *login) { const gchar *prefix = NULL; const gchar *suffix = NULL; gsize prefix_len = 0; gsize suffix_len = 0; gchar length; const gchar *user; gsize user_len; gint i; g_return_val_if_fail (formats != NULL, NULL); g_return_val_if_fail (login != NULL, NULL); for (i = 0; formats[i]; i++) { if (strstr (formats[i], "%D") != NULL) { g_warning ("Using a %%D as a domain in a login format is not yet implemented"); continue; } split_login_format (formats[i], &prefix, &prefix_len, &suffix, &suffix_len); length = strlen (login); if (prefix_len + suffix_len >= length) continue; if (g_ascii_strncasecmp (login, prefix, prefix_len) != 0) continue; if (g_ascii_strncasecmp (login + (length - suffix_len), suffix, suffix_len) != 0) continue; user = login + prefix_len; user_len = length - (suffix_len + prefix_len); if (lower) return g_utf8_strdown (user, user_len); else return g_strndup (user, user_len); } return NULL; } gchar ** realm_login_name_parse_all (const gchar *const *formats, gboolean lower, const gchar **logins, const gchar **failed) { GPtrArray *names; gchar *login; gint i; names = g_ptr_array_new_full (0, g_free); for (i = 0; logins != NULL && logins[i] != NULL; i++) { login = realm_login_name_parse (formats, lower, logins[i]); if (login == NULL) { if (failed) *failed = logins[i]; g_ptr_array_free (names, TRUE); return NULL; } g_ptr_array_add (names, login); } g_ptr_array_add (names, NULL); return (gchar **)g_ptr_array_free (names, FALSE); } gchar * realm_login_name_format (const gchar *format, const gchar *user) { const gchar *prefix = NULL; const gchar *suffix = NULL; gsize prefix_len = 0; gsize suffix_len = 0; GString *string; g_return_val_if_fail (format != NULL, NULL); g_return_val_if_fail (user != NULL, NULL); string = g_string_sized_new (64); split_login_format (format, &prefix, &prefix_len, &suffix, &suffix_len); g_string_append_len (string, prefix, prefix_len); g_string_append (string, user); g_string_append_len (string, suffix, suffix_len); return g_string_free (string, FALSE); } realmd-0.15.0/service/realm-settings.h0000664000175000017500000000404312140455744017605 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SETTINGS_H__ #define __REALM_SETTINGS_H__ #include G_BEGIN_DECLS void realm_settings_init (void); void realm_settings_uninit (void); gboolean realm_settings_load (const gchar *filename, GError **error); void realm_settings_add (const gchar *section, const gchar *key, const gchar *value); const gchar * realm_settings_path (const gchar *name); GHashTable * realm_settings_section (const gchar *section); const gchar * realm_settings_value (const gchar *section, const gchar *key); const gchar * realm_settings_string (const gchar *section, const gchar *key); gdouble realm_settings_double (const gchar *section, const gchar *key, gdouble def); gboolean realm_settings_boolean (const gchar *section, const gchar *key, gboolean def); G_END_DECLS #endif /* __REALM_SETTINGS_H__ */ realmd-0.15.0/service/realm-sssd-ad.h0000664000175000017500000000202712041772674017307 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SSSD_AD_H__ #define __REALM_SSSD_AD_H__ #include #include "realm-kerberos.h" #include "realm-provider.h" G_BEGIN_DECLS #define REALM_TYPE_SSSD_AD (realm_sssd_ad_get_type ()) #define REALM_SSSD_AD(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_SSSD_AD, RealmSssdAd)) #define REALM_IS_SSSD_AD(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_SSSD_AD)) typedef struct _RealmSssdAd RealmSssdAd; GType realm_sssd_ad_get_type (void) G_GNUC_CONST; G_END_DECLS #endif /* __REALM_SSSD_AD_H__ */ realmd-0.15.0/service/realm-disco-dns.c0000664000175000017500000002003412263031013017602 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-diagnostics.h" #include "realm-disco-dns.h" #include typedef enum { PHASE_NONE, PHASE_SRV, PHASE_HOST, PHASE_DONE } DiscoPhase; typedef struct { GSocketAddressEnumerator parent; gchar *name; GQueue addresses; GQueue targets; gint current_port; gint returned; DiscoPhase phase; GResolver *resolver; GDBusMethodInvocation *invocation; } RealmDiscoDns; typedef struct { GSocketAddressEnumeratorClass parent; } RealmDiscoDnsClass; #define REALM_TYPE_DISCO_DNS (realm_disco_dns_get_type ()) #define REALM_DISCO_DNS(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_DISCO_DNS, RealmDiscoDns)) #define REALM_IS_DISCO_DNS(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_DISCO_DNS)) static void return_or_resolve (RealmDiscoDns *self, GTask *task); GType realm_disco_dns_get_type (void) G_GNUC_CONST; G_DEFINE_TYPE (RealmDiscoDns, realm_disco_dns, G_TYPE_SOCKET_ADDRESS_ENUMERATOR); static void realm_disco_dns_init (RealmDiscoDns *self) { g_queue_init (&self->addresses); g_queue_init (&self->targets); } static void realm_disco_dns_finalize (GObject *obj) { RealmDiscoDns *self = REALM_DISCO_DNS (obj); gpointer value; g_free (self->name); g_object_unref (self->invocation); g_clear_object (&self->resolver); for (;;) { value = g_queue_pop_head (&self->addresses); if (!value) break; g_object_unref (value); } for (;;) { value = g_queue_pop_head (&self->targets); if (!value) break; g_srv_target_free (value); } G_OBJECT_CLASS (realm_disco_dns_parent_class)->finalize (obj); } static GSocketAddress * realm_disco_dns_next (GSocketAddressEnumerator *enumerator, GCancellable *cancellable, GError **error) { /* We don't use this synchronously in realmd */ g_return_val_if_reached (NULL); } static void on_name_resolved (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); RealmDiscoDns *self = g_task_get_source_object (task); GError *error = NULL; GList *addrs; GList *l; addrs = g_resolver_lookup_by_name_finish (self->resolver, result, &error); if (error) g_debug ("%s", error->message); /* These are not real errors, just absence of addresses */ if (g_error_matches (error, G_RESOLVER_ERROR, G_RESOLVER_ERROR_NOT_FOUND) || g_error_matches (error, G_RESOLVER_ERROR, G_RESOLVER_ERROR_TEMPORARY_FAILURE)) g_clear_error (&error); if (error) { g_task_return_error (task, error); } else { for (l = addrs; l != NULL; l = g_list_next (l)) g_queue_push_head (&self->addresses, g_inet_socket_address_new (l->data, self->current_port)); g_list_free_full (addrs, g_object_unref); return_or_resolve (self, task); } g_object_unref (task); } static void on_service_resolved (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); RealmDiscoDns *self = g_task_get_source_object (task); GError *error = NULL; GList *targets; GList *l; targets = g_resolver_lookup_service_finish (self->resolver, result, &error); if (error) g_debug ("%s", error->message); /* These are not real errors, just absence of addresses */ if (g_error_matches (error, G_RESOLVER_ERROR, G_RESOLVER_ERROR_NOT_FOUND) || g_error_matches (error, G_RESOLVER_ERROR, G_RESOLVER_ERROR_TEMPORARY_FAILURE)) g_clear_error (&error); if (error) { g_task_return_error (task, error); } else { for (l = targets; l != NULL; l = g_list_next (l)) g_queue_push_tail (&self->targets, l->data); g_list_free (targets); return_or_resolve (self, task); } g_object_unref (task); } static void return_or_resolve (RealmDiscoDns *self, GTask *task) { GSocketAddress *address; GSrvTarget *target; address = g_queue_pop_head (&self->addresses); if (address) { self->returned++; g_task_return_pointer (task, address, g_object_unref); return; } target = g_queue_pop_head (&self->targets); if (target) { self->current_port = g_srv_target_get_port (target); g_resolver_lookup_by_name_async (self->resolver, g_srv_target_get_hostname (target), g_task_get_cancellable (task), on_name_resolved, g_object_ref (task)); g_srv_target_free (target); return; } switch (self->returned > 0 ? PHASE_DONE : self->phase) { case PHASE_NONE: realm_diagnostics_info (self->invocation, "Resolving: _ldap._tcp.%s", self->name); g_resolver_lookup_service_async (self->resolver, "ldap", "tcp", self->name, g_task_get_cancellable (task), on_service_resolved, g_object_ref (task)); self->phase = PHASE_SRV; break; case PHASE_SRV: realm_diagnostics_info (self->invocation, "Resolving: %s", self->name); g_resolver_lookup_by_name_async (self->resolver, self->name, g_task_get_cancellable (task), on_name_resolved, g_object_ref (task)); self->current_port = 389; self->phase = PHASE_HOST; break; case PHASE_HOST: realm_diagnostics_info (self->invocation, "No results: %s", self->name); self->phase = PHASE_DONE; /* fall through */ case PHASE_DONE: g_task_return_pointer (task, NULL, NULL); break; } } static void realm_disco_dns_next_async (GSocketAddressEnumerator *enumerator, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { RealmDiscoDns *self = REALM_DISCO_DNS (enumerator); GTask *task; task = g_task_new (enumerator, cancellable, callback, user_data); return_or_resolve (self, task); g_object_unref (task); } static GSocketAddress * realm_disco_dns_next_finish (GSocketAddressEnumerator *enumerator, GAsyncResult *result, GError **error) { return g_task_propagate_pointer (G_TASK (result), error); } static void realm_disco_dns_class_init (RealmDiscoDnsClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GSocketAddressEnumeratorClass *enum_class = G_SOCKET_ADDRESS_ENUMERATOR_CLASS (klass); object_class->finalize = realm_disco_dns_finalize; enum_class->next = realm_disco_dns_next; enum_class->next_async = realm_disco_dns_next_async; enum_class->next_finish = realm_disco_dns_next_finish; } GSocketAddressEnumerator * realm_disco_dns_enumerate_servers (const gchar *domain_or_server, GDBusMethodInvocation *invocation) { RealmDiscoDns *self; GInetAddress *inet; gchar *input; input = g_strdup (domain_or_server); g_strstrip (input); self = g_object_new (REALM_TYPE_DISCO_DNS, NULL); self->name = g_hostname_to_ascii (input); self->invocation = g_object_ref (invocation); /* If is an IP, skip resolution */ if (g_hostname_is_ip_address (input)) { inet = g_inet_address_new_from_string (input); g_queue_push_head (&self->addresses, g_inet_socket_address_new (inet, 389)); g_object_unref (inet); self->phase = PHASE_HOST; } else { self->resolver = g_resolver_get_default (); } g_free (input); return G_SOCKET_ADDRESS_ENUMERATOR (self); } RealmDiscoDnsHint realm_disco_dns_get_hint (GSocketAddressEnumerator *enumerator) { g_return_val_if_fail (REALM_IS_DISCO_DNS (enumerator), FALSE); switch (REALM_DISCO_DNS (enumerator)->phase) { case PHASE_HOST: return REALM_DISCO_IS_SERVER; default: return 0; } } const gchar * realm_disco_dns_get_name (GSocketAddressEnumerator *enumerator) { g_return_val_if_fail (REALM_IS_DISCO_DNS (enumerator), NULL); return REALM_DISCO_DNS (enumerator)->name; } realmd-0.15.0/service/realm-ini-config.h0000664000175000017500000001761612174154466020005 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_INI_CONFIG_H__ #define __REALM_INI_CONFIG_H__ #include typedef enum { REALM_INI_NONE = 0, REALM_INI_LINE_CONTINUATIONS = 1 << 1, REALM_INI_NO_WATCH = 1 << 2, REALM_INI_PRIVATE = 1 << 3, REALM_INI_STRICT_BOOLEAN = 1 << 4, } RealmIniFlags; #define REALM_TYPE_INI_CONFIG (realm_ini_config_get_type ()) #define REALM_INI_CONFIG(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_INI_CONFIG, RealmIniConfig)) #define REALM_IS_INI_CONFIG(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_INI_CONFIG)) typedef struct _RealmIniConfig RealmIniConfig; GType realm_ini_config_get_type (void) G_GNUC_CONST; RealmIniConfig * realm_ini_config_new (RealmIniFlags flags); void realm_ini_config_reset (RealmIniConfig *self); gboolean realm_ini_config_begin_change (RealmIniConfig *self, GError **error); void realm_ini_config_abort_change (RealmIniConfig *self); gboolean realm_ini_config_finish_change (RealmIniConfig *self, GError **error); const gchar * realm_ini_config_get_filename (RealmIniConfig *self); void realm_ini_config_set_filename (RealmIniConfig *self, const gchar *filename); void realm_ini_config_reload (RealmIniConfig *self); void realm_ini_config_read_string (RealmIniConfig *self, const gchar *data); gchar * realm_ini_config_write_string (RealmIniConfig *self); void realm_ini_config_read_bytes (RealmIniConfig *self, GBytes *data); GBytes * realm_ini_config_write_bytes (RealmIniConfig *self); gboolean realm_ini_config_read_file (RealmIniConfig *self, const gchar *filename, GError **error); gboolean realm_ini_config_write_file (RealmIniConfig *self, const gchar *filename, GError **error); gboolean realm_ini_config_write_fd (RealmIniConfig *self, gint fd, GError **error); void realm_ini_config_set (RealmIniConfig *self, const gchar *section, const gchar *name, const gchar *value, ...) G_GNUC_NULL_TERMINATED; gchar * realm_ini_config_get (RealmIniConfig *self, const gchar *section, const gchar *name); gboolean realm_ini_config_have (RealmIniConfig *self, const gchar *section, const gchar *name); gchar ** realm_ini_config_get_list (RealmIniConfig *self, const gchar *section, const gchar *name, const gchar *delimiters); void realm_ini_config_set_list (RealmIniConfig *self, const gchar *section, const gchar *name, const gchar *delimiter, const gchar **values); void realm_ini_config_set_list_diff (RealmIniConfig *self, const gchar *section, const gchar *name, const gchar *delimiter, const gchar **add, const gchar **remove); GHashTable * realm_ini_config_get_all (RealmIniConfig *self, const gchar *section); void realm_ini_config_set_all (RealmIniConfig *self, const gchar *section, GHashTable *parameters); gboolean realm_ini_config_get_boolean (RealmIniConfig *config, const gchar *section, const gchar *name, gboolean defahlt); gchar ** realm_ini_config_get_sections (RealmIniConfig *self); gboolean realm_ini_config_have_section (RealmIniConfig *self, const gchar *section); void realm_ini_config_remove_section (RealmIniConfig *self, const gchar *section); gboolean realm_ini_config_change (RealmIniConfig *self, const gchar *section, GError **error, ...) G_GNUC_NULL_TERMINATED; gboolean realm_ini_config_changev (RealmIniConfig *self, const gchar *section, GHashTable *parameters, GError **error); gboolean realm_ini_config_change_list (RealmIniConfig *self, const gchar *section, const gchar *name, const gchar *delimiters, const gchar **add, const gchar **remove, GError **error); G_END_DECLS #endif /* __REALM_INI_CONFIG_H__ */ realmd-0.15.0/service/realm-network.h0000644000175000017500000000174211763376337017451 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_NETWORK_H__ #define __REALM_NETWORK_H__ #include G_BEGIN_DECLS void realm_network_get_dhcp_domain_async (GDBusConnection *connection, GAsyncReadyCallback callback, gpointer user_data); gchar * realm_network_get_dhcp_domain_finish (GAsyncResult *result, GError **error); G_END_DECLS #endif /* __REALM_NETWORK_H__ */ realmd-0.15.0/service/realm-disco.c0000664000175000017500000000266612212341653017043 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-disco.h" GType realm_disco_get_type (void) { static GType type = 0; if (type == 0) type = g_boxed_type_register_static ("RealmDisco", (GBoxedCopyFunc)realm_disco_ref, realm_disco_unref); return type; } RealmDisco * realm_disco_new (const gchar *domain) { RealmDisco *disco; disco = g_new0 (RealmDisco, 1); disco->refs = 1; disco->domain_name = g_strdup (domain); return disco; } RealmDisco * realm_disco_ref (RealmDisco *disco) { g_return_val_if_fail (disco != NULL, NULL); disco->refs++; return disco; } void realm_disco_unref (gpointer data) { RealmDisco *disco = data; if (!data) return; if (disco->refs-- == 1) { g_free (disco->domain_name); g_free (disco->explicit_server); g_free (disco->explicit_netbios); g_free (disco->kerberos_realm); g_free (disco->workgroup); if (disco->server_address) g_object_unref (disco->server_address); g_free (disco); } } realmd-0.15.0/service/realm-samba.c0000664000175000017500000005114312263031417017017 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-command.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-diagnostics.h" #include "realm-disco.h" #include "realm-errors.h" #include "realm-kerberos.h" #include "realm-kerberos-membership.h" #include "realm-options.h" #include "realm-packages.h" #include "realm-provider.h" #include "realm-samba.h" #include "realm-samba-config.h" #include "realm-samba-enroll.h" #include "realm-samba-winbind.h" #include "realm-settings.h" #include #include #include #include struct _RealmSamba { RealmKerberos parent; RealmIniConfig *config; gulong config_sig; }; typedef struct { RealmKerberosClass parent_class; } RealmSambaClass; enum { PROP_0, PROP_PROVIDER, }; static const gchar *SAMBA_PACKAGES[] = { REALM_DBUS_IDENTIFIER_WINBIND, REALM_DBUS_IDENTIFIER_SAMBA, NULL }; static void realm_samba_kerberos_membership_iface (RealmKerberosMembershipIface *iface); G_DEFINE_TYPE_WITH_CODE (RealmSamba, realm_samba, REALM_TYPE_KERBEROS, G_IMPLEMENT_INTERFACE (REALM_TYPE_KERBEROS_MEMBERSHIP, realm_samba_kerberos_membership_iface); ); static void realm_samba_init (RealmSamba *self) { } static void realm_samba_constructed (GObject *obj) { RealmKerberos *kerberos = REALM_KERBEROS (obj); G_OBJECT_CLASS (realm_samba_parent_class)->constructed (obj); realm_kerberos_set_details (kerberos, REALM_DBUS_OPTION_SERVER_SOFTWARE, REALM_DBUS_IDENTIFIER_ACTIVE_DIRECTORY, REALM_DBUS_OPTION_CLIENT_SOFTWARE, REALM_DBUS_IDENTIFIER_WINBIND, NULL); realm_kerberos_set_suggested_admin (kerberos, "Administrator"); realm_kerberos_set_login_policy (kerberos, REALM_KERBEROS_ALLOW_ANY_LOGIN); realm_kerberos_set_required_package_sets (kerberos, SAMBA_PACKAGES); } static gchar * lookup_enrolled_realm (RealmSamba *self) { gchar *enrolled = NULL; gchar *security; security = realm_ini_config_get (self->config, REALM_SAMBA_CONFIG_GLOBAL, "security"); if (security != NULL && g_ascii_strcasecmp (security, "ADS") == 0) enrolled = realm_ini_config_get (self->config, REALM_SAMBA_CONFIG_GLOBAL, "realm"); return enrolled; } static gboolean lookup_is_enrolled (RealmSamba *self) { const gchar *name; gchar *enrolled; gboolean ret = FALSE; enrolled = lookup_enrolled_realm (self); if (enrolled != NULL) { name = realm_kerberos_get_realm_name (REALM_KERBEROS (self)); ret = g_strcmp0 (name, enrolled) == 0; g_free (enrolled); } return ret; } static gchar * lookup_login_prefix (RealmSamba *self) { gchar *workgroup; gchar *separator; /* When using default, just have a direct login format */ if (realm_samba_config_get_boolean (self->config, REALM_SAMBA_CONFIG_GLOBAL, "winbind use default domain", FALSE)) return g_strdup (""); workgroup = realm_ini_config_get (self->config, REALM_SAMBA_CONFIG_GLOBAL, "workgroup"); if (workgroup == NULL) return NULL; separator = realm_ini_config_get (self->config, REALM_SAMBA_CONFIG_GLOBAL, "winbind separator"); if (separator == NULL) separator = g_strdup ("\\"); return g_strdup_printf ("%s%s", workgroup, separator); } typedef struct { GDBusMethodInvocation *invocation; GVariant *options; RealmDisco *disco; RealmCredential *cred; } EnrollClosure; static void enroll_closure_free (gpointer data) { EnrollClosure *enroll = data; realm_disco_unref (enroll->disco); g_variant_unref (enroll->options); realm_credential_unref (enroll->cred); g_object_unref (enroll->invocation); g_free (enroll); } static void on_winbind_done (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; realm_samba_winbind_configure_finish (result, &error); if (error != NULL) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static void on_join_do_winbind (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); EnrollClosure *enroll = g_task_get_task_data (task); RealmSamba *self = g_task_get_source_object (task); GHashTable *settings = NULL; GError *error = NULL; const gchar *name; realm_samba_enroll_join_finish (result, &error); if (error == NULL) { realm_ini_config_change (self->config, REALM_SAMBA_CONFIG_GLOBAL, &error, "security", "ads", "realm", enroll->disco->kerberos_realm, "workgroup", enroll->disco->workgroup, "template homedir", realm_settings_string ("users", "default-home"), "template shell", realm_settings_string ("users", "default-shell"), "netbios name", enroll->disco->explicit_netbios, "password server", enroll->disco->explicit_server, "kerberos method", "system keytab", NULL); } if (error == NULL) { name = realm_kerberos_get_name (REALM_KERBEROS (self)); realm_samba_winbind_configure_async (self->config, name, enroll->invocation, on_winbind_done, g_object_ref (task)); } else { g_task_return_error (task, error); } if (settings) g_hash_table_unref (settings); g_object_unref (task); } static void on_install_do_join (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); EnrollClosure *enroll = g_task_get_task_data (task); GError *error = NULL; realm_packages_install_finish (result, &error); if (error == NULL) { realm_samba_enroll_join_async (enroll->disco, enroll->cred, enroll->options, enroll->invocation, on_join_do_winbind, g_object_ref (task)); } else { g_task_return_error (task, error); } g_object_unref (task); } static gboolean validate_membership_options (GVariant *options, GError **error) { const gchar *software; /* Figure out the method that we're going to use to enroll */ if (g_variant_lookup (options, REALM_DBUS_OPTION_MEMBERSHIP_SOFTWARE, "&s", &software)) { if (!g_str_equal (software, REALM_DBUS_IDENTIFIER_SAMBA)) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, _("Unsupported or unknown membership software '%s'"), software); return FALSE; } } return TRUE; } static void realm_samba_join_async (RealmKerberosMembership *membership, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmKerberos *realm = REALM_KERBEROS (membership); RealmSamba *self = REALM_SAMBA (realm); GTask *task; EnrollClosure *enroll; GError *error = NULL; gchar *enrolled; task = g_task_new (realm, NULL, callback, user_data); enroll = g_new0 (EnrollClosure, 1); enroll->disco = realm_disco_ref (realm_kerberos_get_disco (realm)); enroll->invocation = g_object_ref (invocation); enroll->options = g_variant_ref (options); enroll->cred = realm_credential_ref (cred); g_task_set_task_data (task, enroll, enroll_closure_free); /* Make sure not already enrolled in a realm */ enrolled = lookup_enrolled_realm (self); if (enrolled != NULL) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_ALREADY_CONFIGURED, _("Already joined to a domain")); } else if (!validate_membership_options (options, &error)) { g_task_return_error (task, error); } else { realm_packages_install_async (SAMBA_PACKAGES, enroll->invocation, options, on_install_do_join, g_object_ref (task)); } g_free (enrolled); g_object_unref (task); } typedef struct { GDBusMethodInvocation *invocation; RealmDisco *disco; } LeaveClosure; static void leave_closure_free (gpointer data) { LeaveClosure *leave = data; realm_disco_unref (leave->disco); g_object_unref (leave->invocation); g_free (leave); } static void on_deconfigure_done (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; realm_samba_winbind_deconfigure_finish (result, &error); if (error != NULL) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static void leave_deconfigure_begin (RealmSamba *self, GTask *task) { LeaveClosure *leave; GError *error = NULL; leave = g_task_get_task_data (task); /* Flush the keytab of all the entries for this realm */ realm_diagnostics_info (leave->invocation, "Removing entries from keytab for realm"); if (!realm_kerberos_flush_keytab (leave->disco->kerberos_realm, &error)) { g_task_return_error (task, error); return; } /* Deconfigure smb.conf */ realm_diagnostics_info (leave->invocation, "Updating smb.conf file"); if (!realm_ini_config_change (self->config, REALM_SAMBA_CONFIG_GLOBAL, &error, "workgroup", NULL, "realm", NULL, "security", "user", NULL)) { g_task_return_error (task, error); return; } /* And then deconfigure winbind */ realm_samba_winbind_deconfigure_async (self->config, leave->invocation, on_deconfigure_done, g_object_ref (task)); } static void on_leave_do_deconfigure (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); LeaveClosure *leave = g_task_get_task_data (task); RealmSamba *self = g_task_get_source_object (task); GError *error = NULL; /* We don't care if we can leave or not, just continue with other steps */ realm_samba_enroll_leave_finish (result, &error); if (error != NULL) { realm_diagnostics_error (leave->invocation, error, NULL); g_error_free (error); } leave_deconfigure_begin (self, task); g_object_unref (task); } static void realm_samba_leave_async (RealmKerberosMembership *membership, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmSamba *self = REALM_SAMBA (membership); RealmKerberos *kerberos = REALM_KERBEROS (self); GTask *task; LeaveClosure *leave; const gchar *realm_name; gchar *enrolled; realm_name = realm_kerberos_get_realm_name (kerberos); task = g_task_new (self, NULL, callback, user_data); leave = g_new0 (LeaveClosure, 1); leave->disco = realm_disco_ref (realm_kerberos_get_disco (kerberos)); leave->invocation = g_object_ref (invocation); g_task_set_task_data (task, leave, leave_closure_free); /* Check that enrolled in this realm */ enrolled = lookup_enrolled_realm (self); if (g_strcmp0 (enrolled, realm_name) != 0) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_NOT_CONFIGURED, _("Not currently joined to this domain")); g_object_unref (task); return; } switch (cred->type) { case REALM_CREDENTIAL_PASSWORD: realm_samba_enroll_leave_async (leave->disco, cred, options, leave->invocation, on_leave_do_deconfigure, g_object_ref (task)); break; case REALM_CREDENTIAL_AUTOMATIC: leave_deconfigure_begin (self, task); break; default: g_return_if_reached (); } g_object_unref (task); } static gboolean realm_samba_change_logins (RealmKerberos *realm, GDBusMethodInvocation *invocation, const gchar **add, const gchar **remove, GError **error) { RealmSamba *self = REALM_SAMBA (realm); gchar **names; if (!lookup_is_enrolled (self)) { g_set_error (error, REALM_ERROR, REALM_ERROR_NOT_CONFIGURED, _("Not joined to this domain")); return FALSE; } /* We cannot handle removing logins */ names = realm_kerberos_parse_logins (realm, TRUE, remove, error); if (names == NULL) return FALSE; if (names[0] != NULL) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_NOT_SUPPORTED, _("The Samba provider cannot restrict permitted logins.")); g_strfreev (names); return FALSE; } g_strfreev (names); names = realm_kerberos_parse_logins (realm, TRUE, add, error); if (names == NULL) return FALSE; /* * Samba cannot restrict the set of logins. We allow specific logins to be * added, but not changing the mode to only allow the permitted logins. * In addition we don't keep track of the list of permitted logins. */ g_strfreev (names); return TRUE; } static void realm_samba_logins_async (RealmKerberos *realm, GDBusMethodInvocation *invocation, RealmKerberosLoginPolicy login_policy, const gchar **add, const gchar **remove, GVariant *options, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; GError *error = NULL; task = g_task_new (realm, NULL, callback, user_data); if (login_policy == REALM_KERBEROS_ALLOW_REALM_LOGINS) login_policy = REALM_KERBEROS_ALLOW_ANY_LOGIN; /* Sadly we don't support this option */ if (login_policy != REALM_KERBEROS_ALLOW_ANY_LOGIN && login_policy != REALM_KERBEROS_POLICY_NOT_SET) { g_task_return_new_error (task, G_DBUS_ERROR, G_DBUS_ERROR_NOT_SUPPORTED, _("The Samba provider cannot restrict permitted logins.")); /* Make note of the permitted logins, so we can return them in the property */ } else if (!realm_samba_change_logins (realm, invocation, add, remove, &error)) { g_task_return_error (task, error); } else { g_task_return_boolean (task, TRUE); } g_object_unref (task); } static void update_properties (RealmSamba *self) { RealmKerberos *kerberos = REALM_KERBEROS (self); GPtrArray *permitted; gchar *login_formats[2] = { NULL, NULL }; gboolean configured; const gchar *name; gchar *domain; gchar *realm; gchar *prefix; g_object_freeze_notify (G_OBJECT (self)); name = realm_kerberos_get_name (kerberos); domain = name ? g_ascii_strdown (name, -1) : NULL; realm_kerberos_set_domain_name (kerberos, domain); g_free (domain); realm = name ? g_ascii_strup (name, -1) : NULL; realm_kerberos_set_realm_name (kerberos, realm); g_free (realm); /* * Although samba domains do not do much management of the system or * pull that much policy, we cannot limit who can log in from the domain * and also cannot join more than one domain, so this we mark a * configured domain as one that manages the system. */ configured = lookup_is_enrolled (self); realm_kerberos_set_configured (kerberos, configured); realm_kerberos_set_manages_system (kerberos, configured); /* Setup the workgroup property */ prefix = lookup_login_prefix (self); if (prefix != NULL) { login_formats[0] = g_strdup_printf ("%s%%U", prefix); realm_kerberos_set_login_formats (kerberos, (const gchar **)login_formats); g_free (login_formats[0]); g_free (prefix); } else { login_formats[0] = "%U"; realm_kerberos_set_login_formats (kerberos, (const gchar **)login_formats); } permitted = g_ptr_array_new_full (0, g_free); g_ptr_array_add (permitted, NULL); realm_kerberos_set_permitted_logins (kerberos, (const gchar **)permitted->pdata); g_ptr_array_free (permitted, TRUE); g_object_thaw_notify (G_OBJECT (self)); } static void on_config_changed (RealmIniConfig *config, gpointer user_data) { update_properties (REALM_SAMBA (user_data)); } static gboolean realm_samba_membership_generic_finish (RealmKerberosMembership *realm, GAsyncResult *result, GError **error) { if (!g_task_propagate_boolean (G_TASK (result), error)) return FALSE; update_properties (REALM_SAMBA (realm)); return TRUE; } static gboolean realm_samba_generic_finish (RealmKerberos *realm, GAsyncResult *result, GError **error) { if (!g_task_propagate_boolean (G_TASK (result), error)) return FALSE; update_properties (REALM_SAMBA (realm)); return TRUE; } static void realm_samba_set_property (GObject *obj, guint prop_id, const GValue *value, GParamSpec *pspec) { RealmSamba *self = REALM_SAMBA (obj); RealmProvider *provider; switch (prop_id) { case PROP_PROVIDER: provider = g_value_get_object (value); g_object_get (provider, "samba-config", &self->config, NULL); self->config_sig = g_signal_connect (self->config, "changed", G_CALLBACK (on_config_changed), self); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec); break; } } static void realm_samba_notify (GObject *obj, GParamSpec *spec) { if (g_str_equal (spec->name, "name")) update_properties (REALM_SAMBA (obj)); if (G_OBJECT_CLASS (realm_samba_parent_class)->notify) G_OBJECT_CLASS (realm_samba_parent_class)->notify (obj, spec); } static void realm_samba_finalize (GObject *obj) { RealmSamba *self = REALM_SAMBA (obj); if (self->config) g_object_unref (self->config); G_OBJECT_CLASS (realm_samba_parent_class)->finalize (obj); } static void realm_samba_discover_myself (RealmKerberos *realm, RealmDisco *disco) { RealmSamba *self = REALM_SAMBA (realm); gchar *value; value = realm_ini_config_get (self->config, REALM_SAMBA_CONFIG_GLOBAL, "workgroup"); g_free (disco->workgroup); disco->workgroup = value; value = realm_ini_config_get (self->config, REALM_SAMBA_CONFIG_GLOBAL, "netbios name"); g_free (disco->explicit_netbios); disco->explicit_netbios = value; value = realm_ini_config_get (self->config, REALM_SAMBA_CONFIG_GLOBAL, "password server"); g_free (disco->explicit_server); disco->explicit_server = value; } void realm_samba_class_init (RealmSambaClass *klass) { RealmKerberosClass *kerberos_class = REALM_KERBEROS_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass); kerberos_class->logins_async = realm_samba_logins_async; kerberos_class->logins_finish = realm_samba_generic_finish; kerberos_class->discover_myself = realm_samba_discover_myself; object_class->constructed = realm_samba_constructed; object_class->set_property = realm_samba_set_property; object_class->notify = realm_samba_notify; object_class->finalize = realm_samba_finalize; g_object_class_override_property (object_class, PROP_PROVIDER, "provider"); } static void realm_samba_kerberos_membership_iface (RealmKerberosMembershipIface *iface) { /* * Each line is a combination of owner and what kind of credentials are supported, * same for enroll/leave. We can't accept a ccache, because samba3 needs * to have credentials limited to RC4. */ static const RealmCredential join_supported[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN }, { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_USER }, { REALM_CREDENTIAL_CCACHE, REALM_CREDENTIAL_OWNER_ADMIN }, { 0, }, }; static const RealmCredential leave_supported[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN }, { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_USER }, { REALM_CREDENTIAL_AUTOMATIC, REALM_CREDENTIAL_OWNER_NONE }, { 0, }, }; iface->join_async = realm_samba_join_async; iface->join_finish = realm_samba_membership_generic_finish; iface->join_creds_supported = join_supported; iface->leave_async = realm_samba_leave_async; iface->leave_finish = realm_samba_membership_generic_finish; iface->leave_creds_supported = leave_supported; } RealmKerberos * realm_samba_new (const gchar *name, RealmProvider *provider) { return g_object_new (REALM_TYPE_SAMBA, "name", name, "provider", provider, NULL); } realmd-0.15.0/service/realm-sssd-ipa.h0000664000175000017500000000204212041772674017471 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SSSD_IPA_H__ #define __REALM_SSSD_IPA_H__ #include #include "realm-kerberos.h" #include "realm-provider.h" G_BEGIN_DECLS #define REALM_TYPE_SSSD_IPA (realm_sssd_ipa_get_type ()) #define REALM_SSSD_IPA(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_SSSD_IPA, RealmSssdAd)) #define REALM_IS_SSSD_IPA(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_SSSD_IPA)) typedef struct _RealmSssdIpa RealmSssdIpa; GType realm_sssd_ipa_get_type (void) G_GNUC_CONST; G_END_DECLS #endif /* __REALM_SSSD_IPA_H__ */ realmd-0.15.0/service/realm-samba-provider.c0000664000175000017500000001403312263031013020634 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-command.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-diagnostics.h" #include "realm-disco-domain.h" #include "realm-errors.h" #include "realm-kerberos.h" #include "realm-packages.h" #include "realm-samba.h" #include "realm-samba-config.h" #include "realm-samba-enroll.h" #include "realm-samba-provider.h" #include "realm-samba-winbind.h" #include #include struct _RealmSambaProvider { RealmProvider parent; RealmIniConfig *config; }; typedef struct { RealmProviderClass parent_class; } RealmSambaProviderClass; enum { PROP_0, PROP_SAMBA_CONFIG, }; #define REALM_DBUS_SAMBA_PATH "/org/freedesktop/realmd/Samba" G_DEFINE_TYPE (RealmSambaProvider, realm_samba_provider, REALM_TYPE_PROVIDER); static void realm_samba_provider_init (RealmSambaProvider *self) { self->config = realm_samba_config_new (NULL); } static void realm_samba_provider_constructed (GObject *obj) { RealmSambaProvider *self; gchar *krb_realm = NULL; gchar *security; gchar *name; G_OBJECT_CLASS (realm_samba_provider_parent_class)->constructed (obj); self = REALM_SAMBA_PROVIDER (obj); realm_provider_set_name (REALM_PROVIDER (self), "Samba"); security = realm_ini_config_get (self->config, REALM_SAMBA_CONFIG_GLOBAL, "security"); if (security != NULL && g_ascii_strcasecmp (security, "ADS") == 0) krb_realm = realm_ini_config_get (self->config, REALM_SAMBA_CONFIG_GLOBAL, "realm"); if (krb_realm != NULL) { name = g_ascii_strdown (krb_realm, -1); realm_provider_lookup_or_register_realm (REALM_PROVIDER (self), REALM_TYPE_SAMBA, name, NULL); g_free (name); } g_free (krb_realm); g_free (security); } static void on_ad_discover (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); RealmDisco *disco; GError *error = NULL; disco = realm_disco_domain_finish (result, &error); if (error) g_task_return_error (task, error); else g_task_return_pointer (task, disco, realm_disco_unref); g_object_unref (task); } static void realm_samba_provider_discover_async (RealmProvider *provider, const gchar *string, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; task = g_task_new (provider, NULL, callback, user_data); if (!realm_provider_match_software (options, REALM_DBUS_IDENTIFIER_ACTIVE_DIRECTORY, REALM_DBUS_IDENTIFIER_WINBIND, REALM_DBUS_IDENTIFIER_SAMBA)) { g_task_return_pointer (task, NULL, NULL); } else { realm_disco_domain_async (string, invocation, on_ad_discover, g_object_ref (task)); } g_object_unref (task); } static GList * realm_samba_provider_discover_finish (RealmProvider *provider, GAsyncResult *result, gint *relevance, GError **error) { RealmKerberos *realm = NULL; RealmDisco *disco; disco = g_task_propagate_pointer (G_TASK (result), error); if (disco == NULL) return NULL; if (g_strcmp0 (disco->server_software, REALM_DBUS_IDENTIFIER_ACTIVE_DIRECTORY) == 0) { realm = realm_provider_lookup_or_register_realm (provider, REALM_TYPE_SAMBA, disco->domain_name, disco); } realm_disco_unref (disco); if (realm == NULL) return NULL; /* Return a higher priority if we're the default */ *relevance = realm_provider_is_default (REALM_DBUS_IDENTIFIER_ACTIVE_DIRECTORY, REALM_DBUS_IDENTIFIER_WINBIND) ? 100 : 50; return g_list_append (NULL, g_object_ref (realm)); } static void realm_samba_provider_get_property (GObject *obj, guint prop_id, GValue *value, GParamSpec *pspec) { RealmSambaProvider *self = REALM_SAMBA_PROVIDER (obj); switch (prop_id) { case PROP_SAMBA_CONFIG: g_value_set_object (value, self->config); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec); break; } } static void realm_samba_provider_finalize (GObject *obj) { RealmSambaProvider *self = REALM_SAMBA_PROVIDER (obj); g_object_unref (self->config); G_OBJECT_CLASS (realm_samba_provider_parent_class)->finalize (obj); } void realm_samba_provider_class_init (RealmSambaProviderClass *klass) { RealmProviderClass *provider_class = REALM_PROVIDER_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass); provider_class->discover_async = realm_samba_provider_discover_async; provider_class->discover_finish = realm_samba_provider_discover_finish; object_class->constructed = realm_samba_provider_constructed; object_class->get_property = realm_samba_provider_get_property; object_class->finalize = realm_samba_provider_finalize; g_object_class_install_property (object_class, PROP_SAMBA_CONFIG, g_param_spec_object ("samba-config", "Samba Config", "Samba Config", REALM_TYPE_INI_CONFIG, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); } RealmProvider * realm_samba_provider_new (void) { return g_object_new (REALM_TYPE_SAMBA_PROVIDER, "g-object-path", REALM_DBUS_SAMBA_PATH, NULL); } realmd-0.15.0/service/realm-diagnostics.c0000664000175000017500000001227312140455744020253 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-diagnostics.h" #include "realm-invocation.h" #include #include static GDBusConnection *the_connection = NULL; static GString *line_buffer = NULL; void realm_diagnostics_initialize (GDBusConnection *connection) { g_return_if_fail (G_IS_DBUS_CONNECTION (connection)); if (the_connection != NULL) g_object_remove_weak_pointer (G_OBJECT (the_connection), (gpointer *)&the_connection); the_connection = connection; g_object_add_weak_pointer (G_OBJECT (the_connection), (gpointer *)&the_connection); } static void log_syslog_and_debug (GDBusMethodInvocation *invocation, int log_level, gchar *string, gsize length) { const gchar *operation = NULL; gchar *at = string; gchar *ptr; if (invocation) operation = realm_invocation_get_operation (invocation); /* Print all stderr lines as messages */ while ((ptr = memchr (at, '\n', length)) != NULL) { *ptr = '\0'; if (line_buffer && line_buffer->len > 0) { realm_daemon_syslog (operation, log_level, "%s%s", line_buffer->str, at); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s%s", line_buffer->str, at); g_string_set_size (line_buffer, 0); } else { realm_daemon_syslog (operation, log_level, "%s", at); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s", at); } *ptr = '\n'; ptr++; length -= (ptr - at); at = ptr; } if (length != 0) { if (line_buffer == NULL) line_buffer = g_string_new_len (at, length); else g_string_append_len (line_buffer, at, length); } } static void log_take_diagnostic (GDBusMethodInvocation *invocation, int log_level, gchar *string) { log_syslog_and_debug (invocation, log_level, string, strlen (string)); realm_diagnostics_signal (invocation, string); g_free (string); } void realm_diagnostics_info (GDBusMethodInvocation *invocation, const gchar *format, ...) { GString *message; va_list va; g_return_if_fail (invocation == NULL || G_IS_DBUS_METHOD_INVOCATION (invocation)); g_return_if_fail (format != NULL); va_start (va, format); message = g_string_new (" * "); g_string_append_vprintf (message, format, va); va_end (va); if (!g_str_has_suffix (message->str, "\n")) g_string_append_c (message, '\n'); log_take_diagnostic (invocation, LOG_INFO, g_string_free (message, FALSE)); } void realm_diagnostics_error (GDBusMethodInvocation *invocation, GError *error, const gchar *format, ...) { GString *message; va_list va; g_return_if_fail (invocation == NULL || G_IS_DBUS_METHOD_INVOCATION (invocation)); if (!format && g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) return; message = g_string_new (" ! "); if (format) { va_start (va, format); g_string_append_vprintf (message, format, va); va_end (va); } if (format && error) g_string_append (message, ": "); if (error) g_string_append (message, error->message); g_string_append_c (message, '\n'); log_take_diagnostic (invocation, LOG_INFO, g_string_free (message, FALSE)); } void realm_diagnostics_info_data (GDBusMethodInvocation *invocation, const gchar *data, gssize n_data) { gchar *info; gsize length; g_return_if_fail (invocation == NULL || G_IS_DBUS_METHOD_INVOCATION (invocation)); g_return_if_fail (data != NULL); if (n_data == -1) n_data = strlen (data); if (g_utf8_validate (data, n_data, NULL)) { info = g_strndup (data, n_data); } else { info = g_convert_with_fallback (data, n_data, "utf-8", "ascii", "\xef\xbf\xbd", NULL, &length, NULL); } log_take_diagnostic (invocation, LOG_INFO, info); } void realm_diagnostics_signal (GDBusMethodInvocation *invocation, const gchar *data) { const gchar *operation; GError *error = NULL; const gchar *sender; if (!the_connection || !invocation) return; operation = realm_invocation_get_operation (invocation); if (operation == NULL) operation = ""; /* This might be NULL if operating in peer mode, but that's appropriate for use below */ sender = g_dbus_method_invocation_get_sender (invocation); g_dbus_connection_emit_signal (the_connection, sender, REALM_DBUS_SERVICE_PATH, REALM_DBUS_SERVICE_INTERFACE, REALM_DBUS_DIAGNOSTICS_SIGNAL, g_variant_new ("(ss)", data, operation), &error); if (error != NULL) { g_warning ("couldn't emit the %s signal: %s", REALM_DBUS_DIAGNOSTICS_SIGNAL, error->message); g_error_free (error); } } realmd-0.15.0/service/realm-kerberos-provider.c0000664000175000017500000001036112263031055021373 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-dbus-constants.h" #include "realm-invocation.h" #include "realm-kerberos-provider.h" #include struct _RealmKerberosProvider { RealmProvider parent; }; typedef struct { RealmProviderClass parent_class; } RealmKerberosProviderClass; #define REALM_DBUS_GENERIC_KERBEROS_PATH "/org/freedesktop/realmd/GenericKerberos" G_DEFINE_TYPE (RealmKerberosProvider, realm_kerberos_provider, REALM_TYPE_PROVIDER); static void realm_kerberos_provider_init (RealmKerberosProvider *self) { } static void on_kerberos_discover (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); const gchar *domain = g_task_get_task_data (task); GError *error = NULL; RealmDisco *disco; GList *targets; targets = g_resolver_lookup_service_finish (G_RESOLVER (source), result, &error); if (targets) { g_list_free_full (targets, (GDestroyNotify)g_srv_target_free); disco = realm_disco_new (domain); disco->kerberos_realm = g_ascii_strup (domain, -1); g_task_return_pointer (task, disco, realm_disco_unref); } else if (error) { g_debug ("Resolving %s failed: %s", domain, error->message); g_error_free (error); g_task_return_pointer (task, NULL, NULL); } g_object_unref (task); } static void realm_kerberos_provider_discover_async (RealmProvider *provider, const gchar *string, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; const gchar *software; GResolver *resolver; gchar *name; task = g_task_new (provider, NULL, callback, user_data); /* If filtering for specific software, don't return anything */ if (g_variant_lookup (options, REALM_DBUS_OPTION_SERVER_SOFTWARE, "&s", &software) || g_variant_lookup (options, REALM_DBUS_OPTION_CLIENT_SOFTWARE, "&s", &software)) { g_task_return_pointer (task, NULL, NULL); } else { name = g_hostname_to_ascii (string); resolver = g_resolver_get_default (); g_resolver_lookup_service_async (resolver, "kerberos", "udp", name, realm_invocation_get_cancellable (invocation), on_kerberos_discover, g_object_ref (task)); g_task_set_task_data (task, name, g_free); g_object_unref (resolver); } g_object_unref (task); } static GList * realm_kerberos_provider_discover_finish (RealmProvider *provider, GAsyncResult *result, gint *relevance, GError **error) { RealmKerberos *realm = NULL; RealmDisco *disco; disco = g_task_propagate_pointer (G_TASK (result), error); if (disco == NULL) return NULL; realm = realm_provider_lookup_or_register_realm (provider, REALM_TYPE_KERBEROS, disco->domain_name, disco); realm_disco_unref (disco); if (realm == NULL) return NULL; /* Return a low priority as we can't handle enrollment */ *relevance = 10; return g_list_append (NULL, g_object_ref (realm)); } void realm_kerberos_provider_class_init (RealmKerberosProviderClass *klass) { RealmProviderClass *provider_class = REALM_PROVIDER_CLASS (klass); provider_class->discover_async = realm_kerberos_provider_discover_async; provider_class->discover_finish = realm_kerberos_provider_discover_finish; } RealmProvider * realm_kerberos_provider_new (void) { return g_object_new (REALM_TYPE_KERBEROS_PROVIDER, "g-object-path", REALM_DBUS_GENERIC_KERBEROS_PATH, NULL); } realmd-0.15.0/service/realm-kerberos.c0000664000175000017500000010476312217047621017562 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-command.h" #include "realm-credential.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-dbus-generated.h" #include "realm-diagnostics.h" #include "realm-disco.h" #include "realm-errors.h" #include "realm-invocation.h" #include "realm-kerberos.h" #include "realm-kerberos-membership.h" #include "realm-login-name.h" #include "realm-options.h" #include "realm-packages.h" #include "realm-provider.h" #include "realm-settings.h" #include #include #include #include #include #include #include #include struct _RealmKerberosPrivate { RealmDisco *disco; RealmDbusRealm *realm_iface; RealmDbusKerberos *kerberos_iface; RealmDbusKerberosMembership *membership_iface; }; enum { PROP_0, PROP_NAME, PROP_DISCO, PROP_PROVIDER, PROP_MANAGES_SYSTEM, }; /* A global weak pointer which tracks the manage-system domain */ static RealmKerberos *realm_which_manages_system = NULL; G_DEFINE_TYPE (RealmKerberos, realm_kerberos, G_TYPE_DBUS_OBJECT_SKELETON); #define return_if_krb5_failed(ctx, code) G_STMT_START \ if G_LIKELY ((code) == 0) { } else { \ g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ krb5_get_error_message ((ctx), (code))); \ return; \ } G_STMT_END #define return_val_if_krb5_failed(ctx, code, val) G_STMT_START \ if G_LIKELY ((code) == 0) { } else { \ g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ krb5_get_error_message ((ctx), (code))); \ return (val); \ } G_STMT_END #define warn_if_krb5_failed(ctx, code) G_STMT_START \ if G_LIKELY ((code) == 0) { } else { \ g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ krb5_get_error_message ((ctx), (code))); \ } G_STMT_END typedef struct { RealmKerberos *self; GDBusMethodInvocation *invocation; RealmCredential *cred; } MethodClosure; #ifndef HOST_NAME_MAX #define HOST_NAME_MAX 255 #endif static MethodClosure * method_closure_new (RealmKerberos *self, GDBusMethodInvocation *invocation) { MethodClosure *method = g_new0 (MethodClosure, 1); method->self = g_object_ref (self); method->invocation = g_object_ref (invocation); return method; } static void method_closure_free (MethodClosure *closure) { g_object_unref (closure->self); g_object_unref (closure->invocation); if (closure->cred) realm_credential_unref (closure->cred); g_free (closure); } static void enroll_method_reply (GDBusMethodInvocation *invocation, GError *error) { if (error == NULL) { realm_diagnostics_info (invocation, "Successfully enrolled machine in realm"); g_dbus_method_invocation_return_value (invocation, g_variant_new ("()")); } else if (error->domain == REALM_ERROR || error->domain == G_DBUS_ERROR) { realm_diagnostics_error (invocation, error, NULL); g_dbus_method_invocation_return_gerror (invocation, error); } else if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { realm_diagnostics_error (invocation, error, "Cancelled"); g_dbus_method_invocation_return_error (invocation, REALM_ERROR, REALM_ERROR_CANCELLED, _("Operation was cancelled.")); } else { realm_diagnostics_error (invocation, error, "Failed to enroll machine in realm"); g_dbus_method_invocation_return_error (invocation, REALM_ERROR, REALM_ERROR_FAILED, _("Failed to enroll machine in realm. See diagnostics.")); } realm_invocation_unlock_daemon (invocation); } static void on_name_caches_flush (GObject *source, GAsyncResult *result, gpointer user_data) { MethodClosure *closure = user_data; GError *error = NULL; gint status; status = realm_command_run_finish (result, NULL, &error); if (status != 0) { realm_diagnostics_error (closure->invocation, error, "Flushing name caches failed"); } g_clear_error (&error); enroll_method_reply (closure->invocation, NULL); method_closure_free (closure); } static void on_enroll_complete (GObject *source, GAsyncResult *result, gpointer user_data) { MethodClosure *closure = user_data; RealmKerberosMembershipIface *iface; GCancellable *cancellable; GError *error = NULL; iface = REALM_KERBEROS_MEMBERSHIP_GET_IFACE (closure->self); g_return_if_fail (iface->join_finish != NULL); cancellable = realm_invocation_get_cancellable (closure->invocation); if (!g_cancellable_set_error_if_cancelled (cancellable, &error)) (iface->join_finish) (REALM_KERBEROS_MEMBERSHIP (closure->self), result, &error); if (error != NULL) { enroll_method_reply (closure->invocation, error); method_closure_free (closure); g_clear_error (&error); /* Only flush the name caches if not in install mode */ } else if (!realm_daemon_is_install_mode ()) { realm_command_run_known_async ("name-caches-flush", NULL, closure->invocation, on_name_caches_flush, closure); } else { enroll_method_reply (closure->invocation, NULL); } } static void unenroll_method_reply (GDBusMethodInvocation *invocation, GError *error) { if (error == NULL) { realm_diagnostics_info (invocation, "Successfully unenrolled machine from realm"); g_dbus_method_invocation_return_value (invocation, g_variant_new ("()")); } else if (error->domain == REALM_ERROR || error->domain == G_DBUS_ERROR) { realm_diagnostics_error (invocation, error, NULL); g_dbus_method_invocation_return_gerror (invocation, error); } else if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { realm_diagnostics_error (invocation, error, "Cancelled"); g_dbus_method_invocation_return_error (invocation, REALM_ERROR, REALM_ERROR_CANCELLED, _("Operation was cancelled.")); } else { realm_diagnostics_error (invocation, error, "Failed to unenroll machine from realm"); g_dbus_method_invocation_return_error (invocation, REALM_ERROR, REALM_ERROR_FAILED, _("Failed to unenroll machine from domain. See diagnostics.")); } realm_invocation_unlock_daemon (invocation); } static void on_unenroll_complete (GObject *source, GAsyncResult *result, gpointer user_data) { MethodClosure *closure = user_data; RealmKerberosMembershipIface *iface; GCancellable *cancellable; GError *error = NULL; iface = REALM_KERBEROS_MEMBERSHIP_GET_IFACE (closure->self); g_return_if_fail (iface->leave_finish != NULL); cancellable = realm_invocation_get_cancellable (closure->invocation); if (!g_cancellable_set_error_if_cancelled (cancellable, &error)) (iface->leave_finish) (REALM_KERBEROS_MEMBERSHIP (closure->self), result, &error); unenroll_method_reply (closure->invocation, error); g_clear_error (&error); method_closure_free (closure); } static gboolean is_credential_supported (RealmKerberosMembershipIface *iface, RealmCredential *cred, gboolean join, GError **error) { const RealmCredential *supported; const char *message = NULL; gboolean found = FALSE; gint i; supported = join ? iface->join_creds_supported : iface->leave_creds_supported; if (supported) { for (i = 0; supported[i].type != 0; i++) { if (cred->type == supported[i].type) { found = TRUE; break; } } } if (found) return TRUE; switch (cred->type) { case REALM_CREDENTIAL_AUTOMATIC: message = join ? _("Joining this realm without credentials is not supported") : _("Leaving this realm without credentials is not supported"); break; case REALM_CREDENTIAL_CCACHE: message = join ? _("Joining this realm using a credential cache is not supported") : _("Leaving this realm using a credential cache is not supported"); break; case REALM_CREDENTIAL_SECRET: message = join ? _("Joining this realm using a secret is not supported") : _("Unenrolling this realm using a secret is not supported"); break; case REALM_CREDENTIAL_PASSWORD: message = join ? _("Enrolling this realm using a password is not supported") : _("Unenrolling this realm using a password is not supported"); break; } g_set_error_literal (error, G_DBUS_ERROR, G_DBUS_ERROR_NOT_SUPPORTED, message); return FALSE; } static void join_or_leave (RealmKerberos *self, GVariant *credential, GVariant *options, GDBusMethodInvocation *invocation, gboolean join) { RealmKerberosMembershipIface *iface = REALM_KERBEROS_MEMBERSHIP_GET_IFACE (self); RealmCredential *cred; MethodClosure *method; GError *error = NULL; g_return_if_fail (iface != NULL); if ((join && iface && iface->join_async == NULL) || (!join && iface && iface->leave_async == NULL)) { g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_NOT_SUPPORTED, join ? _("Joining this realm is not supported") : _("Leaving this realm is not supported")); return; } cred = realm_credential_parse (credential, &error); if (error != NULL) { g_dbus_method_invocation_return_gerror (invocation, error); g_error_free (error); return; } if (!is_credential_supported (iface, cred, join, &error)) { g_dbus_method_invocation_return_gerror (invocation, error); realm_credential_unref (cred); g_error_free (error); return; } if (!realm_invocation_lock_daemon (invocation)) { g_dbus_method_invocation_return_error (invocation, REALM_ERROR, REALM_ERROR_BUSY, _("Already running another action")); return; } method = method_closure_new (self, invocation); method->cred = cred; if (join) { g_return_if_fail (iface->join_finish != NULL); (iface->join_async) (REALM_KERBEROS_MEMBERSHIP (self), cred, options, invocation, on_enroll_complete, method); } else { g_return_if_fail (iface->leave_finish != NULL); (iface->leave_async) (REALM_KERBEROS_MEMBERSHIP (self), cred, options, invocation, on_unenroll_complete, method); } } static gboolean handle_join (RealmDbusKerberosMembership *membership, GDBusMethodInvocation *invocation, GVariant *credentials, GVariant *options, gpointer user_data) { RealmKerberos *self = REALM_KERBEROS (user_data); gchar hostname[HOST_NAME_MAX + 1]; RealmKerberos *manages; gint ret; /* Check the host name */ ret = gethostname (hostname, sizeof (hostname)); if (ret < 0 || g_ascii_strcasecmp (hostname, "localhost") == 0 || g_ascii_strncasecmp (hostname, "localhost.", 10) == 0 || hostname[0] == '.') { g_dbus_method_invocation_return_error (invocation, REALM_ERROR, REALM_ERROR_BAD_HOSTNAME, "This computer's host name is not set correctly."); return TRUE; } if (realm_options_manage_system (options, realm_kerberos_get_name (self))) { manages = realm_kerberos_which_manages_system (); if (manages != NULL && manages != self) { g_dbus_method_invocation_return_error (invocation, REALM_ERROR, REALM_ERROR_ALREADY_CONFIGURED, _("Already joined to another domain: %s"), realm_kerberos_get_name (manages)); return TRUE; } } join_or_leave (self, credentials, options, invocation, TRUE); return TRUE; } static gboolean handle_leave (RealmDbusKerberosMembership *membership, GDBusMethodInvocation *invocation, GVariant *credentials, GVariant *options, gpointer user_data) { RealmKerberos *self = REALM_KERBEROS (user_data); if (realm_options_computer_ou (options, NULL)) { g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "The computer-ou argument is not supported when leaving a domain."); return TRUE; } join_or_leave (self, credentials, options, invocation, FALSE); return TRUE; } static gboolean handle_deconfigure (RealmDbusRealm *realm, GDBusMethodInvocation *invocation, GVariant *options, gpointer user_data) { GVariant *credential; credential = g_variant_new ("(ss@v)", "automatic", "none", g_variant_new_variant (g_variant_new_string (""))); join_or_leave (REALM_KERBEROS (user_data), credential, options, invocation, FALSE); g_variant_unref (credential); return TRUE; } static void on_logins_complete (GObject *source, GAsyncResult *result, gpointer user_data) { MethodClosure *closure = user_data; RealmKerberosClass *klass; GError *error = NULL; klass = REALM_KERBEROS_GET_CLASS (closure->self); g_return_if_fail (klass->logins_finish != NULL); if ((klass->logins_finish) (closure->self, result, &error)) { realm_diagnostics_info (closure->invocation, "Successfully changed permitted logins for realm"); g_dbus_method_invocation_return_value (closure->invocation, g_variant_new ("()")); } else if (error != NULL && (error->domain == REALM_ERROR || error->domain == G_DBUS_ERROR)) { realm_diagnostics_error (closure->invocation, error, NULL); g_dbus_method_invocation_return_gerror (closure->invocation, error); g_error_free (error); } else { realm_diagnostics_error (closure->invocation, error, "Failed to change permitted logins"); g_dbus_method_invocation_return_error (closure->invocation, REALM_ERROR, REALM_ERROR_INTERNAL, _("Failed to change permitted logins. See diagnostics.")); g_error_free (error); } realm_invocation_unlock_daemon (closure->invocation); method_closure_free (closure); } static gboolean handle_change_login_policy (RealmDbusRealm *realm, GDBusMethodInvocation *invocation, const gchar *login_policy, const gchar *const *add, const gchar *const *remove, GVariant *options, gpointer user_data) { RealmKerberosLoginPolicy policy = REALM_KERBEROS_POLICY_NOT_SET; RealmKerberos *self = REALM_KERBEROS (user_data); RealmKerberosClass *klass; gchar **policies; gint policies_set = 0; gint i; policies = g_strsplit_set (login_policy, ", \t", -1); for (i = 0; policies[i] != NULL; i++) { if (g_str_equal (policies[i], REALM_DBUS_LOGIN_POLICY_ANY)) { policy = REALM_KERBEROS_ALLOW_ANY_LOGIN; policies_set++; } else if (g_str_equal (policies[i], REALM_DBUS_LOGIN_POLICY_REALM)) { policy = REALM_KERBEROS_ALLOW_REALM_LOGINS; policies_set++; } else if (g_str_equal (policies[i], REALM_DBUS_LOGIN_POLICY_PERMITTED)) { policy = REALM_KERBEROS_ALLOW_PERMITTED_LOGINS; policies_set++; } else if (g_str_equal (policies[i], REALM_DBUS_LOGIN_POLICY_DENY)) { policy = REALM_KERBEROS_DENY_ANY_LOGIN; policies_set++; } else { g_strfreev (policies); g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "Invalid or unknown login_policy argument"); return TRUE; } } g_strfreev (policies); if (policies_set > 1) { g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "Conflicting flags in login_policy argument"); return TRUE; } if (!realm_invocation_lock_daemon (invocation)) { g_dbus_method_invocation_return_error (invocation, REALM_ERROR, REALM_ERROR_BUSY, _("Already running another action")); return TRUE; } klass = REALM_KERBEROS_GET_CLASS (self); g_return_val_if_fail (klass->logins_async != NULL, FALSE); (klass->logins_async) (self, invocation, policy, (const gchar **)add, (const gchar **)remove, options, on_logins_complete, method_closure_new (self, invocation)); return TRUE; } static gboolean realm_kerberos_authorize_method (GDBusObjectSkeleton *object, GDBusInterfaceSkeleton *iface, GDBusMethodInvocation *invocation) { return realm_invocation_authorize (invocation); } static void realm_kerberos_init (RealmKerberos *self) { GDBusObjectSkeleton *skeleton = G_DBUS_OBJECT_SKELETON (self); self->pv = G_TYPE_INSTANCE_GET_PRIVATE (self, REALM_TYPE_KERBEROS, RealmKerberosPrivate); self->pv->realm_iface = realm_dbus_realm_skeleton_new (); g_signal_connect (self->pv->realm_iface, "handle-deconfigure", G_CALLBACK (handle_deconfigure), self); g_signal_connect (self->pv->realm_iface, "handle-change-login-policy", G_CALLBACK (handle_change_login_policy), self); g_dbus_object_skeleton_add_interface (skeleton, G_DBUS_INTERFACE_SKELETON (self->pv->realm_iface)); self->pv->kerberos_iface = realm_dbus_kerberos_skeleton_new (); g_dbus_object_skeleton_add_interface (skeleton, G_DBUS_INTERFACE_SKELETON (self->pv->kerberos_iface)); } static void realm_kerberos_constructed (GObject *obj) { RealmKerberosMembershipIface *iface; RealmKerberos *self = REALM_KERBEROS (obj); const gchar *supported_interfaces[3]; GVariant *supported; g_return_if_fail (self != NULL); G_OBJECT_CLASS (realm_kerberos_parent_class)->constructed (obj); if (REALM_IS_KERBEROS_MEMBERSHIP (self)) { self->pv->membership_iface = realm_dbus_kerberos_membership_skeleton_new (); g_signal_connect (self->pv->membership_iface, "handle-join", G_CALLBACK (handle_join), self); g_signal_connect (self->pv->membership_iface, "handle-leave", G_CALLBACK (handle_leave), self); g_dbus_object_skeleton_add_interface (G_DBUS_OBJECT_SKELETON (self), G_DBUS_INTERFACE_SKELETON (self->pv->membership_iface)); iface = REALM_KERBEROS_MEMBERSHIP_GET_IFACE (self); supported = realm_credential_build_supported (iface->join_creds_supported); realm_dbus_kerberos_membership_set_supported_join_credentials (self->pv->membership_iface, supported); iface = REALM_KERBEROS_MEMBERSHIP_GET_IFACE (self); supported = realm_credential_build_supported (iface->leave_creds_supported); realm_dbus_kerberos_membership_set_supported_leave_credentials (self->pv->membership_iface, supported); } supported_interfaces[0] = REALM_DBUS_KERBEROS_INTERFACE; if (self->pv->membership_iface) supported_interfaces[1] = REALM_DBUS_KERBEROS_MEMBERSHIP_INTERFACE; else supported_interfaces[1] = NULL; supported_interfaces[2] = NULL; realm_dbus_realm_set_supported_interfaces (self->pv->realm_iface, supported_interfaces); if (self->pv->disco) { if (self->pv->disco->domain_name) realm_kerberos_set_domain_name (self, self->pv->disco->domain_name); if (self->pv->disco->kerberos_realm) realm_kerberos_set_realm_name (self, self->pv->disco->kerberos_realm); } } static void realm_kerberos_get_property (GObject *obj, guint prop_id, GValue *value, GParamSpec *pspec) { RealmKerberos *self = REALM_KERBEROS (obj); switch (prop_id) { case PROP_NAME: g_value_set_string (value, realm_kerberos_get_name (self)); break; case PROP_DISCO: g_value_set_boxed (value, realm_kerberos_get_disco (self)); break; case PROP_MANAGES_SYSTEM: g_value_set_boolean (value, realm_kerberos_get_manages_system (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec); break; } } static void realm_kerberos_set_property (GObject *obj, guint prop_id, const GValue *value, GParamSpec *pspec) { RealmKerberos *self = REALM_KERBEROS (obj); switch (prop_id) { case PROP_NAME: realm_dbus_realm_set_name (self->pv->realm_iface, g_value_get_string (value)); break; case PROP_DISCO: realm_kerberos_set_disco (self, g_value_get_boxed (value)); break; case PROP_PROVIDER: /* ignore */ break; case PROP_MANAGES_SYSTEM: realm_kerberos_set_manages_system (self, g_value_get_boolean (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec); break; } } static void realm_kerberos_finalize (GObject *obj) { RealmKerberos *self = REALM_KERBEROS (obj); g_object_unref (self->pv->realm_iface); g_object_unref (self->pv->kerberos_iface); if (self->pv->membership_iface) g_object_unref (self->pv->membership_iface); if (self->pv->disco) realm_disco_unref (self->pv->disco); G_OBJECT_CLASS (realm_kerberos_parent_class)->finalize (obj); } static void realm_kerberos_class_init (RealmKerberosClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); GDBusObjectSkeletonClass *skeleton_class = G_DBUS_OBJECT_SKELETON_CLASS (klass); object_class->constructed = realm_kerberos_constructed; object_class->get_property = realm_kerberos_get_property; object_class->set_property = realm_kerberos_set_property; object_class->finalize = realm_kerberos_finalize; skeleton_class->authorize_method = realm_kerberos_authorize_method; g_type_class_add_private (klass, sizeof (RealmKerberosPrivate)); g_object_class_install_property (object_class, PROP_NAME, g_param_spec_string ("name", "Name", "Name", NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_DISCO, g_param_spec_boxed ("disco", "Discovery", "Discovery Data", REALM_TYPE_DISCO, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_PROVIDER, g_param_spec_object ("provider", "Provider", "Realm Provider", REALM_TYPE_PROVIDER, G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_MANAGES_SYSTEM, g_param_spec_boolean ("manages-system", "Manages System", "Whether domain configured to manage system", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); } void realm_kerberos_set_disco (RealmKerberos *self, RealmDisco *disco) { g_return_if_fail (REALM_IS_KERBEROS (self)); if (disco) realm_disco_ref (disco); realm_disco_unref (self->pv->disco); self->pv->disco = disco; g_object_notify (G_OBJECT (self), "disco"); } RealmDisco * realm_kerberos_get_disco (RealmKerberos *self) { RealmKerberosClass *klass; RealmDisco *disco; g_return_val_if_fail (REALM_IS_KERBEROS (self), NULL); if (!self->pv->disco) { disco = realm_disco_new (NULL); if (!disco->domain_name) disco->domain_name = g_strdup (realm_kerberos_get_domain_name (self)); if (!disco->kerberos_realm) disco->kerberos_realm = g_strdup (realm_kerberos_get_realm_name (self)); klass = REALM_KERBEROS_GET_CLASS (self); if (klass->discover_myself) (klass->discover_myself) (self, disco); self->pv->disco = disco; } return self->pv->disco; } gchar ** realm_kerberos_parse_logins (RealmKerberos *self, gboolean lower, const gchar **logins, GError **error) { const gchar *failed = NULL; const gchar *const *formats; gchar **result; g_return_val_if_fail (REALM_IS_KERBEROS (self), NULL); formats = realm_dbus_realm_get_login_formats (self->pv->realm_iface); if (formats == NULL) { g_set_error (error, REALM_ERROR, REALM_ERROR_NOT_CONFIGURED, _("The realm does not allow specifying logins")); return NULL; } result = realm_login_name_parse_all (formats, lower, logins, &failed); if (result == NULL) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, _("Invalid login argument%s%s%s does not match the login format."), failed ? " '" : "", failed, failed ? "'" : ""); } return result; } gchar * realm_kerberos_format_login (RealmKerberos *self, const gchar *user) { const gchar *const *formats; g_return_val_if_fail (REALM_IS_KERBEROS (self), NULL); g_return_val_if_fail (user != NULL, NULL); formats = realm_dbus_realm_get_login_formats (self->pv->realm_iface); if (formats == NULL || formats[0] == NULL) return NULL; return realm_login_name_format (formats[0], user); } static void set_krb5_error (GError **error, krb5_error_code code, krb5_context context, const gchar *message, ...) G_GNUC_PRINTF (4, 5); static void set_krb5_error (GError **error, krb5_error_code code, krb5_context context, const gchar *message, ...) { gchar *string; va_list va; va_start (va, message); string = g_strdup_vprintf (message, va); va_end (va); g_set_error (error, REALM_KRB5_ERROR, code, "%s: %s", string, krb5_get_error_message (context, code)); g_free (string); } const gchar * realm_kerberos_get_name (RealmKerberos *self) { g_return_val_if_fail (REALM_IS_KERBEROS (self), NULL); return realm_dbus_realm_get_name (self->pv->realm_iface); } const gchar * realm_kerberos_get_realm_name (RealmKerberos *self) { g_return_val_if_fail (REALM_IS_KERBEROS (self), NULL); return realm_dbus_kerberos_get_realm_name (self->pv->kerberos_iface); } void realm_kerberos_set_realm_name (RealmKerberos *self, const gchar *value) { g_return_if_fail (REALM_IS_KERBEROS (self)); realm_dbus_kerberos_set_realm_name (self->pv->kerberos_iface, value); } const gchar * realm_kerberos_get_domain_name (RealmKerberos *self) { g_return_val_if_fail (REALM_IS_KERBEROS (self), NULL); return realm_dbus_kerberos_get_domain_name (self->pv->kerberos_iface); } void realm_kerberos_set_domain_name (RealmKerberos *self, const gchar *value) { g_return_if_fail (REALM_IS_KERBEROS (self)); realm_dbus_kerberos_set_domain_name (self->pv->kerberos_iface, value); } gboolean realm_kerberos_get_manages_system (RealmKerberos *self) { g_return_val_if_fail (REALM_IS_KERBEROS (self), FALSE); return (self == realm_which_manages_system); } void realm_kerberos_set_manages_system (RealmKerberos *self, gboolean manages) { GObject *obj; g_return_if_fail (REALM_IS_KERBEROS (self)); if (manages == realm_kerberos_get_manages_system (self)) return; if (realm_which_manages_system) { obj = G_OBJECT (realm_which_manages_system); g_object_remove_weak_pointer (G_OBJECT (obj), (gpointer *)&realm_which_manages_system); realm_which_manages_system = NULL; g_object_notify (obj, "manages-system"); } if (manages) { obj = G_OBJECT (self); realm_which_manages_system = self; g_object_add_weak_pointer (G_OBJECT (obj), (gpointer *)&realm_which_manages_system); g_object_notify (obj, "manages-system"); } } RealmKerberos * realm_kerberos_which_manages_system (void) { return realm_which_manages_system; } gboolean realm_kerberos_matches (RealmKerberos *self, const gchar *string) { const gchar *value; g_return_val_if_fail (REALM_IS_KERBEROS (self), FALSE); value = realm_dbus_realm_get_name (self->pv->realm_iface); if (value != NULL && g_utf8_collate (value, string) == 0) return TRUE; value = realm_dbus_kerberos_get_domain_name (self->pv->kerberos_iface); if (value != NULL && g_utf8_collate (value, string) == 0) return TRUE; value = realm_dbus_kerberos_get_realm_name (self->pv->kerberos_iface); if (value != NULL && g_utf8_collate (value, string) == 0) return TRUE; return FALSE; } void realm_kerberos_set_suggested_admin (RealmKerberos *self, const gchar *value) { g_return_if_fail (REALM_IS_KERBEROS (self)); g_return_if_fail (self->pv->membership_iface != NULL); realm_dbus_kerberos_membership_set_suggested_administrator (self->pv->membership_iface, value); } void realm_kerberos_set_permitted_logins (RealmKerberos *self, const gchar **value) { g_return_if_fail (REALM_IS_KERBEROS (self)); realm_dbus_realm_set_permitted_logins (self->pv->realm_iface, (const gchar * const*)value); } void realm_kerberos_set_permitted_groups (RealmKerberos *self, const gchar **value) { g_return_if_fail (REALM_IS_KERBEROS (self)); realm_dbus_realm_set_permitted_groups (self->pv->realm_iface, (const gchar * const*)value); } const gchar * realm_kerberos_login_policy_to_string (RealmKerberosLoginPolicy value) { switch (value) { case REALM_KERBEROS_ALLOW_ANY_LOGIN: return REALM_DBUS_LOGIN_POLICY_ANY; case REALM_KERBEROS_ALLOW_REALM_LOGINS: return REALM_DBUS_LOGIN_POLICY_REALM; case REALM_KERBEROS_ALLOW_PERMITTED_LOGINS: return REALM_DBUS_LOGIN_POLICY_PERMITTED; case REALM_KERBEROS_DENY_ANY_LOGIN: return REALM_DBUS_LOGIN_POLICY_DENY; case REALM_KERBEROS_POLICY_NOT_SET: return ""; default: g_return_val_if_reached (""); } } void realm_kerberos_set_login_policy (RealmKerberos *self, RealmKerberosLoginPolicy value) { realm_dbus_realm_set_login_policy (self->pv->realm_iface, realm_kerberos_login_policy_to_string (value)); } void realm_kerberos_set_login_formats (RealmKerberos *self, const gchar **value) { g_return_if_fail (REALM_IS_KERBEROS (self)); realm_dbus_realm_set_login_formats (self->pv->realm_iface, (const gchar * const*)value); } void realm_kerberos_set_details (RealmKerberos *self, ...) { GPtrArray *tuples; GVariant *tuple; GVariant *details; const gchar *name; const gchar *value; GVariant *values[2]; va_list va; g_return_if_fail (REALM_IS_KERBEROS (self)); va_start (va, self); tuples = g_ptr_array_new (); for (;;) { name = va_arg (va, const gchar *); if (name == NULL) break; value = va_arg (va, const gchar *); g_return_if_fail (value != NULL); values[0] = g_variant_new_string (name); values[1] = g_variant_new_string (value); tuple = g_variant_new_tuple (values, 2); g_ptr_array_add (tuples, tuple); } va_end (va); details = g_variant_new_array (G_VARIANT_TYPE ("(ss)"), (GVariant * const *)tuples->pdata, tuples->len); realm_dbus_realm_set_details (self->pv->realm_iface, details); g_ptr_array_free (tuples, TRUE); } gboolean realm_kerberos_is_configured (RealmKerberos *self) { const gchar *configured; g_return_val_if_fail (REALM_IS_KERBEROS (self), FALSE); configured = realm_dbus_realm_get_configured (self->pv->realm_iface); return configured && !g_str_equal (configured, ""); } void realm_kerberos_set_configured (RealmKerberos *self, gboolean configured) { g_return_if_fail (REALM_IS_KERBEROS (self)); realm_dbus_realm_set_configured (self->pv->realm_iface, configured ? REALM_DBUS_KERBEROS_MEMBERSHIP_INTERFACE : ""); } void realm_kerberos_set_required_package_sets (RealmKerberos *self, const gchar **package_sets) { gchar **packages; g_return_if_fail (REALM_IS_KERBEROS (self)); packages = realm_packages_expand_sets (package_sets); realm_dbus_realm_set_required_packages (self->pv->realm_iface, (const gchar **)packages); g_strfreev (packages); } static gboolean flush_keytab_entries (krb5_context ctx, krb5_keytab keytab, krb5_principal realm_princ, int *remaining, GError **error) { krb5_error_code code; krb5_kt_cursor cursor; krb5_keytab_entry entry; int count = 0; code = krb5_kt_start_seq_get (ctx, keytab, &cursor); if (code == KRB5_KT_END || code == ENOENT ) { *remaining = 0; return TRUE; } while (!krb5_kt_next_entry (ctx, keytab, &entry, &cursor)) { count++; if (krb5_realm_compare (ctx, realm_princ, entry.principal)) { code = krb5_kt_end_seq_get (ctx, keytab, &cursor); return_val_if_krb5_failed (ctx, code, FALSE); code = krb5_kt_remove_entry (ctx, keytab, &entry); return_val_if_krb5_failed (ctx, code, FALSE); code = krb5_kt_start_seq_get (ctx, keytab, &cursor); return_val_if_krb5_failed (ctx, code, FALSE); count = 0; } code = krb5_kt_free_entry (ctx, &entry); return_val_if_krb5_failed (ctx, code, FALSE); } code = krb5_kt_end_seq_get (ctx, keytab, &cursor); return_val_if_krb5_failed (ctx, code, FALSE); *remaining = count; return TRUE; } gboolean realm_kerberos_flush_keytab (const gchar *realm_name, GError **error) { char kt_name[MAX_KEYTAB_NAME_LEN]; krb5_error_code code; krb5_keytab keytab; krb5_context ctx; krb5_principal princ; int remaining; gchar *name; gboolean ret; code = krb5_init_context (&ctx); if (code != 0) { set_krb5_error (error, code, NULL, "Couldn't initialize kerberos"); return FALSE; } code = krb5_kt_default (ctx, &keytab); if (code != 0) { set_krb5_error (error, code, NULL, "Couldn't open default host keytab"); krb5_free_context (ctx); return FALSE; } name = g_strdup_printf ("user@%s", realm_name); code = krb5_parse_name (ctx, name, &princ); return_val_if_krb5_failed (ctx, code, FALSE); g_free (name); ret = flush_keytab_entries (ctx, keytab, princ, &remaining, error); krb5_free_principal (ctx, princ); if (ret && remaining == 0) { code = krb5_kt_get_name (ctx, keytab, kt_name, sizeof (kt_name)); return_val_if_krb5_failed (ctx, code, FALSE); } code = krb5_kt_close (ctx, keytab); warn_if_krb5_failed (ctx, code); krb5_free_context (ctx); if (ret && remaining == 0) { if (strncmp (kt_name, "FILE:", 5) == 0) { if (g_unlink (kt_name + 5) < 0 && errno != ENOENT) { g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno), "Couldn't remove empty host keytab"); ret = FALSE; } } } return ret; } realmd-0.15.0/service/realm-samba-util.c0000664000175000017500000001026212053433306017767 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-samba-util.h" #include #include static gboolean berval_is_string (const struct berval *bv, const gchar *string, gsize length) { return (bv->bv_len == length && g_ascii_strncasecmp (bv->bv_val, string, length) == 0); } static gboolean berval_case_equals (const struct berval *v1, const struct berval *v2) { return (v1->bv_len == v2->bv_len && g_ascii_strncasecmp (v1->bv_val, v2->bv_val, v1->bv_len) == 0); } static gboolean dn_equals_domain (LDAPDN dn, const gchar *domain) { LDAPDN domain_dn; gchar *domain_dn_str; gboolean ret; int rc; gint i, j; rc = ldap_domain2dn (domain, &domain_dn_str); g_return_val_if_fail (rc == LDAP_SUCCESS, FALSE); rc = ldap_str2dn (domain_dn_str, &domain_dn, LDAP_DN_FORMAT_LDAPV3); g_return_val_if_fail (rc == LDAP_SUCCESS, FALSE); ldap_memfree (domain_dn_str); for (i = 0; dn[i] != NULL && domain_dn[i] != NULL; i++) { for (j = 0; dn[i][j] != NULL && domain_dn[i][j] != NULL; j++) { if (!berval_case_equals (&(dn[i][j]->la_attr), &(domain_dn[i][j]->la_attr)) || !berval_case_equals (&(dn[i][j]->la_value), &(domain_dn[i][j]->la_value))) break; } if (dn[i][j] != NULL && domain_dn[i][j] != NULL) break; } /* Did we reach end of both DNs? */ ret = (dn[i] == NULL && domain_dn[i] == NULL); ldap_dnfree (domain_dn); return ret; } gchar * realm_samba_util_build_strange_ou (const gchar *ldap_dn, const gchar *domain) { GArray *parts; GString *part; gchar **strv; gchar *str; LDAPAVA* ava; gboolean ret; LDAPDN dn; int rc; gint i, j; /* * Here we convert a standard LDAP DN to the strange samba net format, * as "documented" here: * * createcomputer=OU Precreate the computer account in a specific OU. * The OU string read from top to bottom without RDNs and delimited by a '/'. * E.g. "createcomputer=Computers/Servers/Unix" * NB: A backslash '\' is used as escape at multiple levels and may * need to be doubled or even quadrupled. It is not used as a separator. */ /* ldap_str2dn doesn't like empty strings */ while (g_ascii_isspace (ldap_dn[0])) ldap_dn++; if (g_str_equal (ldap_dn, "")) return NULL; rc = ldap_str2dn (ldap_dn, &dn, LDAP_DN_FORMAT_LDAPV3); if (rc != LDAP_SUCCESS) return NULL; ret = TRUE; parts = g_array_new (TRUE, TRUE, sizeof (gchar *)); for (i = 0; dn[i] != NULL; i++) { ava = dn[i][0]; /* * Make sure this is a valid DN, we only support one value per * RDN, string values, and must be an OU. DC values are allowed * but only at the end of the DN. */ if (ava == NULL || dn[i][1] != NULL || !(ava->la_flags & LDAP_AVA_STRING)) { ret = FALSE; break; /* A DC, remainder must match the domain */ } else if (berval_is_string (&ava->la_attr, "DC", 2)) { ret = dn_equals_domain (dn + i, domain); break; /* An OU, include */ } else if (berval_is_string (&ava->la_attr, "OU", 2)) { part = g_string_sized_new (ava->la_value.bv_len); for (j = 0; j < ava->la_value.bv_len; j++) { switch (ava->la_value.bv_val[j]) { case '\\': g_string_append (part, "\\\\"); break; case '/': g_string_append (part, "\\/"); break; default: g_string_append_c (part, ava->la_value.bv_val[j]); break; } } str = g_string_free (part, FALSE); g_array_insert_val (parts, 0, str); /* Invalid, stop */ } else { ret = FALSE; break; } } ldap_dnfree (dn); strv = (gchar **)g_array_free (parts, FALSE); str = NULL; /* Loop completed successfully */ if (ret) str = g_strjoinv ("/", strv); g_strfreev (strv); return str; } realmd-0.15.0/service/realm-packages.c0000664000175000017500000003171112263031055017507 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-diagnostics.h" #include "realm-daemon.h" #include "realm-errors.h" #include "realm-invocation.h" #include "realm-options.h" #include "realm-packages.h" #include "realm-settings.h" #include #define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE #include typedef struct { PkTask *task; GHashTable *check; GDBusMethodInvocation *invocation; gboolean automatic; } InstallClosure; static void install_closure_free (gpointer data) { InstallClosure *install = data; g_object_ref (install->task); g_clear_object (&install->invocation); if (install->check) g_hash_table_destroy (install->check); g_free (install); } static void on_install_progress (PkProgress *progress, PkProgressType type, gpointer user_data) { gchar *string; guint unumber; gint number; if (type == PK_PROGRESS_TYPE_STATUS) { #ifdef TODO PkStatusEnum status; g_object_get (progress, "status", &status, NULL); switch (status) { case PK_STATUS_WAIT: realm_status (install->invocation, "Waiting for package system"); break; case PK_STATUS_ENUM_WAITING_FOR_AUTH: pk_status_enum_to_localised_text (); }; #endif } switch (type) { case PK_PROGRESS_TYPE_PACKAGE_ID: g_object_get (progress, "package-id", &string, NULL); g_debug ("package-id: %s", string); g_free (string); break; case PK_PROGRESS_TYPE_TRANSACTION_ID: g_object_get (progress, "transaction-id", &string, NULL); g_debug ("transaction-id: %s", string); g_free (string); break; case PK_PROGRESS_TYPE_PERCENTAGE: g_object_get (progress, "percentage", &number, NULL); g_debug ("percentage: %d", number); break; case PK_PROGRESS_TYPE_STATUS: g_object_get (progress, "status", &unumber, NULL); g_debug ("status: %s", pk_status_enum_to_string (unumber)); break; case PK_PROGRESS_TYPE_ELAPSED_TIME: g_object_get (progress, "elapsed-time", &unumber, NULL); g_debug ("elapsed-time: %u", unumber); break; case PK_PROGRESS_TYPE_REMAINING_TIME: g_object_get (progress, "remaining-time", &unumber, NULL); g_debug ("remaining-time: %u", unumber); break; case PK_PROGRESS_TYPE_SPEED: g_object_get (progress, "speed", &unumber, NULL); g_debug ("speed: %u", unumber); break; case PK_PROGRESS_TYPE_INVALID: case PK_PROGRESS_TYPE_ALLOW_CANCEL: case PK_PROGRESS_TYPE_CALLER_ACTIVE: case PK_PROGRESS_TYPE_ROLE: case PK_PROGRESS_TYPE_UID: case PK_PROGRESS_TYPE_PACKAGE: case PK_PROGRESS_TYPE_ITEM_PROGRESS: default: break; } } static gchar * package_names_to_list (GHashTable *packages) { GString *string; GHashTableIter iter; const gchar *name; string = g_string_new (""); g_hash_table_iter_init (&iter, packages); while (g_hash_table_iter_next (&iter, (void **)&name, NULL)) { if (string->len) g_string_append (string, ", "); g_string_append (string, name); } return g_string_free (string, FALSE); } static gchar ** extract_results (InstallClosure *install, PkResults *results, GHashTable *names, GError **error) { GPtrArray *packages; PkPackage *package; GPtrArray *ids; const gchar *name; gchar *missing; guint i; #if !PK_CHECK_VERSION(0, 8, 13) GPtrArray *messages; messages = pk_results_get_message_array (results); for (i = 0; i < messages->len; i++) { realm_diagnostics_info (install->invocation, "%s", pk_message_get_details (messages->pdata[i])); } g_ptr_array_free (messages, TRUE); #endif packages = pk_results_get_package_array (results); ids = g_ptr_array_new_with_free_func (g_free); for (i = 0; i < packages->len; i++) { package = PK_PACKAGE (packages->pdata[i]); name = pk_package_get_name (package); g_hash_table_remove (install->check, name); if (pk_package_get_info (package) != PK_INFO_ENUM_INSTALLED) { g_ptr_array_add (ids, g_strdup (pk_package_get_id (package))); g_hash_table_add (names, g_strdup (name)); } } g_ptr_array_free (packages, TRUE); if (g_hash_table_size (install->check) == 0) { g_ptr_array_add (ids, NULL); return (gchar **)g_ptr_array_free (ids, FALSE); /* If not all packages were found, then this is an error */ } else { missing = package_names_to_list (install->check); g_set_error (error, REALM_ERROR, REALM_ERROR_INTERNAL, _("The following packages are not available for installation: %s"), missing); g_free (missing); g_ptr_array_free (ids, TRUE); return NULL; } } static void on_install_installed (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); InstallClosure *install = g_task_get_task_data (task); GError *error = NULL; PkResults *results; results = pk_task_generic_finish (install->task, result, &error); if (error == NULL) { g_object_unref (results); g_task_return_boolean (task, TRUE); } else { g_task_return_error (task, error); } g_object_unref (task); } static void on_install_resolved (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); InstallClosure *install = g_task_get_task_data (task); gchar **package_ids = NULL; GHashTable *names; GCancellable *cancellable; GError *error = NULL; PkResults *results; gchar *remote; gchar *missing; names = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); results = pk_task_generic_finish (install->task, result, &error); if (error == NULL) { package_ids = extract_results (install, results, names, &error); g_object_unref (results); } if (error == NULL) { missing = package_names_to_list (names); if (package_ids == NULL || *package_ids == NULL) { g_task_return_boolean (task, TRUE); } else if (!install->automatic) { g_set_error (&error, REALM_ERROR, REALM_ERROR_FAILED, _("Necessary packages are not installed: %s"), missing); } else { /* String should match that in realm-client.c */ realm_diagnostics_info (install->invocation, "%s: %s", _("Installing necessary packages"), missing); cancellable = realm_invocation_get_cancellable (install->invocation); pk_task_install_packages_async (install->task, package_ids, cancellable, on_install_progress, install, on_install_installed, g_object_ref (task)); } g_free (missing); } if (error != NULL) { /* * This is after our first interaction with package-kit. If it's * not installed then we'll get a standard DBus error that it * couldn't activate the service. * * So translate that into something useful for the caller. If * PackageKit is not installed, then it is assumed that the * distro or administrator wants to take full control over the * installation of packages. */ if (error->domain == PK_CONTROL_ERROR) { remote = g_dbus_error_get_remote_error (error); if (remote && g_str_equal (remote, "org.freedesktop.DBus.Error.ServiceUnknown")) { g_dbus_error_strip_remote_error (error); realm_diagnostics_error (install->invocation, error, "PackageKit not available"); g_clear_error (&error); missing = package_names_to_list (install->check); g_set_error (&error, REALM_ERROR, REALM_ERROR_FAILED, _("Necessary packages are not installed: %s"), missing); g_free (missing); } g_free (remote); } g_task_return_error (task, error); } g_hash_table_unref (names); g_strfreev (package_ids); g_object_unref (task); } static void lookup_required_files_and_packages (const gchar **package_sets, gchar ***result_packages, gchar ***result_files, gboolean *result_unconditional) { GHashTable *settings; GHashTableIter iter; GPtrArray *packages; GPtrArray *files; gboolean unconditional; gchar *section; gchar *package; gchar *file; gint i; unconditional = FALSE; packages = g_ptr_array_new_with_free_func (g_free); files = g_ptr_array_new_with_free_func (g_free); for (i = 0; package_sets[i] != NULL; i++) { section = g_strdup_printf ("%s-packages", package_sets[i]); settings = realm_settings_section (section); if (settings == NULL) { g_critical ("No section found in settings: %s", section); return; } g_free (section); g_hash_table_iter_init (&iter, settings); while (g_hash_table_iter_next (&iter, (gpointer *)&package, (gpointer *)&file)) { file = g_strstrip (g_strdup (file)); if (g_str_equal (file, "")) { g_free (file); unconditional = TRUE; } else { g_ptr_array_add (files, file); } package = g_strstrip (g_strdup (package)); if (g_str_equal (package, "")) g_free (package); else g_ptr_array_add (packages, package); } } if (result_packages) { g_ptr_array_add (packages, NULL); *result_packages = (gchar **)g_ptr_array_free (packages, FALSE); } else { g_ptr_array_free (files, TRUE); } if (result_files) { g_ptr_array_add (files, NULL); *result_files = (gchar **)g_ptr_array_free (files, FALSE); } else { g_ptr_array_free (files, TRUE); } if (result_unconditional) *result_unconditional = unconditional; } gchar ** realm_packages_expand_sets (const gchar **package_sets) { gchar **packages = NULL; g_return_val_if_fail (package_sets != NULL, NULL); lookup_required_files_and_packages (package_sets, &packages, NULL, NULL); return packages; } void realm_packages_install_async (const gchar **package_sets, GDBusMethodInvocation *invocation, GVariant *options, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; InstallClosure *install; gboolean unconditional; gchar **required_files; gchar **packages; gchar *string; gboolean have; gint i; g_return_if_fail (package_sets != NULL); g_return_if_fail (invocation == NULL || G_IS_DBUS_METHOD_INVOCATION (invocation)); lookup_required_files_and_packages (package_sets, &packages, &required_files, &unconditional); task = g_task_new (NULL, NULL, callback, user_data); install = g_new0 (InstallClosure, 1); install->task = pk_task_new (); install->automatic = realm_options_automatic_install (options); pk_task_set_interactive (install->task, FALSE); pk_client_set_background (PK_CLIENT (install->task), FALSE); install->invocation = invocation ? g_object_ref (invocation) : NULL; g_task_set_task_data (task, install, install_closure_free); if (realm_daemon_is_install_mode ()) { have = TRUE; realm_diagnostics_info (invocation, "Assuming packages are installed"); } else if (unconditional) { have = FALSE; realm_diagnostics_info (invocation, "Unconditionally checking packages"); } else { have = realm_packages_check_paths ((const gchar **)required_files, invocation); if (required_files[0] != NULL) { string = g_strjoinv (", ", required_files); realm_diagnostics_info (invocation, "Required files: %s", string); g_free (string); } } g_strfreev (required_files); if (have) { g_task_return_boolean (task, TRUE); } else { realm_diagnostics_info (invocation, "Resolving required packages"); /* * In an unexpected move, pk_task_resolve_async() does not fail or provide * any feedback when a requested package does not exist. * * So we make a note of the ones we requested here, to compare against * what we get back. */ install->check = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); for (i = 0; packages[i] != NULL; i++) g_hash_table_add (install->check, g_strdup (packages[i])); pk_task_resolve_async (install->task, pk_filter_bitfield_from_string ("arch"), packages, NULL, on_install_progress, install, on_install_resolved, g_object_ref (task)); } g_strfreev (packages); g_object_unref (task); } gboolean realm_packages_install_finish (GAsyncResult *result, GError **error) { if (g_task_propagate_boolean (G_TASK (result), error)) return FALSE; return TRUE; } gboolean realm_packages_check_paths (const gchar **paths, GDBusMethodInvocation *invocation) { gint i; g_return_val_if_fail (paths != NULL, FALSE); g_return_val_if_fail (invocation == NULL || G_IS_DBUS_METHOD_INVOCATION (invocation), FALSE); for (i = 0; paths[i] != NULL; i++) { if (!g_file_test (paths[i], G_FILE_TEST_EXISTS)) { realm_diagnostics_info (invocation, "Couldn't find file: %s", paths[i]); return FALSE; } } return TRUE; } realmd-0.15.0/service/realm-login-name.h0000664000175000017500000000225412041772674020001 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_LOGIN_NAME_H__ #define __REALM_LOGIN_NAME_H__ #include G_BEGIN_DECLS gchar * realm_login_name_parse (const gchar *const *formats, gboolean lower, const gchar *login); gchar ** realm_login_name_parse_all (const gchar *const *formats, gboolean lower, const gchar **logins, const gchar **failed); gchar * realm_login_name_format (const gchar *format, const gchar *user); G_END_DECLS #endif /* __REALM_LOGIN_NAME_H__ */ realmd-0.15.0/service/realmd-defaults.conf0000664000175000017500000000122112172260352020403 0ustar00stefstef00000000000000# Default values for realmd [service] debug = no automatic-install = yes [paths] net = /usr/bin/net winbindd = /usr/sbin/winbindd smb.conf = /etc/smb.conf sssd.conf = /etc/sssd/sssd.conf adcli = /usr/sbin/adcli ipa-client-install = /usr/sbin/ipa-client-install pam_winbind.conf = /etc/security/pam_winbind.conf [active-directory] default-client = sssd os-name = os-version = [providers] sssd = yes samba = yes example = no [samba-packages] [winbind-packages] [sssd-packages] [adcli-packages] [commands] [users] default-shell = /bin/bash default-home = /home/%D/%U [example.com] example-administrator = Administrator example-password = bureaucracy realmd-0.15.0/service/safe-printf.c0000664000175000017500000001446312263001764017062 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "safe-printf.h" #include #include #ifndef MIN #define MIN(a, b) (((a) < (b)) ? (a) : (b)) #endif #ifndef MAX #define MAX(a, b) (((a) > (b)) ? (a) : (b)) #endif static void safe_padding (int count, int *total, void (* callback) (void *, const char *, size_t), void *data) { char eight[] = " "; int num; while (count > 0) { num = MIN (count, 8); callback (data, eight, num); count -= num; *total += num; } } static void dummy_callback (void *data, const char *piece, size_t len) { } int safe_printf_cb (void (* callback) (void *, const char *, size_t), void *data, const char *format, const char * const args[], int num_args) { int at_arg = 0; const char *cp; int precision; int width; int len; const char *value; int total; int left; if (!callback) callback = dummy_callback; total = 0; cp = format; while (*cp) { /* Piece of raw string */ if (*cp != '%') { len = strcspn (cp, "%"); callback (data, cp, len); total += len; cp += len; continue; } cp++; /* An literal percent sign? */ if (*cp == '%') { callback (data, "%", 1); total++; cp++; continue; } value = NULL; left = 0; precision = -1; width = -1; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { /* Look-ahead parsing, otherwise skipped */ if (cp[strspn (cp, "0123456789")] == '$') { unsigned int n = 0; for (; *cp >= '0' && *cp <= '9'; cp++) n = 10 * n + (*cp - '0'); /* Positional argument 0 is invalid. */ if (n == 0) return -1; /* Positional argument N too high */ if (n > num_args) return -1; value = args[n - 1]; cp++; /* $ */ } } /* Read the supported flags. */ for (; ; cp++) { if (*cp == '-') left = 1; /* Supported but ignored */ else if (*cp != ' ') break; } /* Parse the width. */ if (*cp >= '0' && *cp <= '9') { width = 0; for (; *cp >= '0' && *cp <= '9'; cp++) width = 10 * width + (*cp - '0'); } /* Parse the precision. */ if (*cp == '.') { precision = 0; for (cp++; *cp >= '0' && *cp <= '9'; cp++) precision = 10 * precision + (*cp - '0'); } /* Read the conversion character. */ switch (*cp++) { case 's': /* Non-positional argument */ if (value == NULL) { /* Too many arguments used */ if (at_arg == num_args) return -1; value = args[at_arg++]; } break; /* No other conversion characters are supported */ default: return -1; } /* How many characters are we printing? */ len = strlen (value); if (precision >= 0) len = MIN (precision, len); /* Do we need padding? */ safe_padding (left ? 0 : width - len, &total, callback, data); /* The actual data */; callback (data, value, len); total += len; /* Do we need padding? */ safe_padding (left ? width - len : 0, &total, callback, data); } return total; } struct sprintf_ctx { char *data; size_t length; size_t alloc; }; static void asprintf_callback (void *data, const char *piece, size_t length) { struct sprintf_ctx *cx = data; void *mem; if (!cx->data) return; /* Reallocate if necessary */ if (cx->length + length + 1 > cx->alloc) { cx->alloc += MAX (length + 1, 1024); mem = realloc (cx->data, cx->alloc); if (mem == NULL) { free (cx->data); cx->data = NULL; return; } cx->data = mem; } memcpy (cx->data + cx->length, piece, length); cx->length += length; cx->data[cx->length] = 0; } static const char ** valist_to_args (va_list va, int *num_args) { int alo_args; const char **args; const char *arg; void *mem; *num_args = alo_args = 0; args = NULL; for (;;) { arg = va_arg (va, const char *); if (arg == NULL) break; if (*num_args == alo_args) { alo_args += 8; mem = realloc (args, sizeof (const char *) * alo_args); if (!mem) { free (args); return NULL; } args = mem; } args[(*num_args)++] = arg; } return args; } int safe_asprintf (char **strp, const char *format, ...) { struct sprintf_ctx cx; const char **args; int num_args; va_list va; int ret; int i; va_start (va, format); args = valist_to_args (va, &num_args); va_end (va); if (args == NULL) return -1; /* Preallocate a pretty good guess */ cx.alloc = strlen (format) + 1; for (i = 0; i < num_args; i++) cx.alloc += strlen (args[i]); cx.data = malloc (cx.alloc); if (!cx.data) { free (args); return -1; } cx.data[0] = '\0'; cx.length = 0; ret = safe_printf_cb (asprintf_callback, &cx, format, args, num_args); if (cx.data == NULL) ret = -1; if (ret < 0) free (cx.data); else *strp = cx.data; free (args); return ret; } static void snprintf_callback (void *data, const char *piece, size_t length) { struct sprintf_ctx *cx = data; /* Don't copy if too much data */ if (cx->length > cx->alloc) length = 0; else if (cx->length + length > cx->alloc) length = cx->alloc - cx->length; else length = length; if (length > 0) memcpy (cx->data + cx->length, piece, length); /* Null termination happens later */ cx->length += length; } int safe_snprintf (char *str, size_t len, const char *format, ...) { struct sprintf_ctx cx; int num_args; va_list va; const char **args; int ret; cx.data = str; cx.length = 0; cx.alloc = len; va_start (va, format); args = valist_to_args (va, &num_args); va_end (va); if (args == NULL) return -1; if (len) cx.data[0] = '\0'; ret = safe_printf_cb (snprintf_callback, &cx, format, args, num_args); if (ret < 0) return ret; /* Null terminate appropriately */ if (len > 0) cx.data[MIN(cx.length, len - 1)] = '\0'; free (args); return ret; } realmd-0.15.0/service/realm-disco.h0000664000175000017500000000223112261476532017045 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #ifndef __REALM_DISCO_H__ #define __REALM_DISCO_H__ #include #include #include G_BEGIN_DECLS typedef struct { gint refs; const gchar *server_software; gchar *domain_name; gchar *kerberos_realm; gchar *workgroup; gchar *explicit_server; gchar *explicit_netbios; GSocketAddress *server_address; } RealmDisco; #define REALM_TYPE_DISCO (realm_disco_get_type ()) GType realm_disco_get_type (void) G_GNUC_CONST; RealmDisco * realm_disco_new (const gchar *domain); RealmDisco * realm_disco_ref (RealmDisco *disco); void realm_disco_unref (gpointer disco); G_END_DECLS #endif /* __REALM_DISCO_H__ */ realmd-0.15.0/service/realm-command.h0000664000175000017500000000356012140455744017366 0ustar00stefstef00000000000000/* * Copyright (C) 2011 Collabora Ltd. * Copyright (C) 2012 Red Hat Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #ifndef REALM_COMMAND_H #define REALM_COMMAND_H #include G_BEGIN_DECLS void realm_command_runv_async (gchar **name_or_path_and_arguments, gchar **environ, GBytes *input, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); void realm_command_run_known_async (const gchar *known_command, gchar **environ, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gint realm_command_run_finish (GAsyncResult *result, GString **output, GError **error); GBytes * realm_command_build_password_line (GBytes *password); G_END_DECLS #endif /* REALM_COMMAND_H */ realmd-0.15.0/service/realm-daemon.c0000664000175000017500000003510612144211767017206 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-all-provider.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-dbus-generated.h" #include "realm-diagnostics.h" #include "realm-errors.h" #include "realm-example-provider.h" #include "realm-invocation.h" #include "realm-kerberos-provider.h" #include "realm-samba-provider.h" #include "realm-settings.h" #include "realm-sssd-provider.h" #include "valgrind/valgrind.h" #include #include #include #include #include #ifdef WITH_JOURNAL #include #else #include #endif #define TIMEOUT 60 /* seconds */ #define HOLD_INTERNAL (GUINT_TO_POINTER (~0)) static GMainLoop *main_loop = NULL; static GHashTable *service_holds = NULL; static gint64 service_quit_at = 0; static guint service_timeout_id = 0; static guint service_bus_name_owner_id = 0; static gboolean service_bus_name_claimed = FALSE; static GDBusObjectManagerServer *object_server = NULL; static gboolean service_debug = FALSE; static gboolean service_replace = FALSE; static gchar *service_install = NULL; static gint service_dbus_fd = -1; /* We use this for registering the dbus errors */ GQuark realm_error = 0; gboolean realm_daemon_is_dbus_peer (void) { return service_dbus_fd != -1; } gboolean realm_daemon_is_install_mode (void) { return service_install != NULL; } gboolean realm_daemon_has_debug_flag (void) { return service_debug; } void realm_daemon_hold (const gchar *hold) { g_assert (hold != NULL); if (g_hash_table_lookup (service_holds, hold)) g_critical ("realm_daemon_hold: already have hold: %s", hold); g_debug ("holding daemon: %s", hold); g_hash_table_add (service_holds, g_strdup (hold)); } gboolean realm_daemon_release (const gchar *hold) { g_assert (hold != NULL); if (g_hash_table_remove (service_holds, hold)) { g_debug ("released daemon: %s", hold); return TRUE; } return FALSE; } static gboolean on_service_timeout (gpointer data) { gint seconds; gint64 now; service_timeout_id = 0; if (g_hash_table_size (service_holds) > 0) return FALSE; now = g_get_monotonic_time (); if (now >= service_quit_at) { g_debug ("quitting realmd service after timeout"); g_main_loop_quit (main_loop); } else { seconds = (service_quit_at - now) / G_TIME_SPAN_SECOND; service_timeout_id = g_timeout_add_seconds (seconds + 1, on_service_timeout, NULL); } return FALSE; } void realm_daemon_poke (void) { if (g_hash_table_size (service_holds) > 0) return; service_quit_at = g_get_monotonic_time () + (TIMEOUT * G_TIME_SPAN_SECOND); if (service_timeout_id == 0) on_service_timeout (NULL); } static void on_name_acquired (GDBusConnection *connection, const gchar *name, gpointer unused) { service_bus_name_claimed = TRUE; g_debug ("claimed name on bus: %s", name); realm_daemon_poke (); } static void on_name_lost (GDBusConnection *connection, const gchar *name, gpointer unused) { if (!service_bus_name_claimed) g_message ("couldn't claim service name on DBus bus: %s", name); else g_warning ("lost service name on DBus bus: %s", name); } void realm_daemon_export_object (GDBusObjectSkeleton *object) { g_return_if_fail (G_IS_DBUS_OBJECT_MANAGER_SERVER (object_server)); g_return_if_fail (G_IS_DBUS_OBJECT_SKELETON (object)); g_dbus_object_manager_server_export (object_server, object); } static void initialize_service (GDBusConnection *connection) { RealmProvider *all_provider; RealmProvider *provider; realm_invocation_initialize (connection); realm_diagnostics_initialize (connection); object_server = g_dbus_object_manager_server_new (REALM_DBUS_SERVICE_PATH); all_provider = realm_all_provider_new_and_export (connection); if (realm_settings_boolean ("providers", REALM_DBUS_IDENTIFIER_SSSD, TRUE)) { provider = realm_sssd_provider_new (); g_dbus_object_manager_server_export (object_server, G_DBUS_OBJECT_SKELETON (provider)); realm_all_provider_register (all_provider, provider); g_object_unref (provider); } if (realm_settings_boolean ("providers", REALM_DBUS_IDENTIFIER_SAMBA, TRUE)) { provider = realm_samba_provider_new (); g_dbus_object_manager_server_export (object_server, G_DBUS_OBJECT_SKELETON (provider)); realm_all_provider_register (all_provider, provider); g_object_unref (provider); } /* * Some callers rely on realmd to be able to resolve kerberos realm names. * This is a core part of realmd functionality, and this provider is not optional. */ provider = realm_kerberos_provider_new (); g_dbus_object_manager_server_export (object_server, G_DBUS_OBJECT_SKELETON (provider)); realm_all_provider_register (all_provider, provider); g_object_unref (provider); if (realm_settings_boolean ("providers", REALM_DBUS_IDENTIFIER_EXAMPLE, FALSE)) { provider = realm_example_provider_new (); g_dbus_object_manager_server_export (object_server, G_DBUS_OBJECT_SKELETON (provider)); realm_all_provider_register (all_provider, provider); g_object_unref (provider); } g_dbus_object_manager_server_set_connection (object_server, connection); /* Use this to control the life time of the providers */ g_object_set_data_full (G_OBJECT (object_server), "the-provider", all_provider, g_object_unref); /* Matches the hold() in main() */ if (!realm_daemon_release ("startup")) g_warn_if_reached (); g_dbus_connection_start_message_processing (connection); } static void on_bus_get_connection (GObject *source, GAsyncResult *result, gpointer unused) { GBusNameOwnerFlags flags = G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT; GError *error = NULL; GDBusConnection *connection; guint owner_id; connection = g_bus_get_finish (result, &error); if (error != NULL) { g_warning ("couldn't connect to bus: %s", error->message); g_main_loop_quit (main_loop); g_error_free (error); } else { g_debug ("connected to bus"); initialize_service (connection); if (service_replace) flags |= G_BUS_NAME_OWNER_FLAGS_REPLACE; owner_id = g_bus_own_name_on_connection (connection, REALM_DBUS_BUS_NAME, flags, on_name_acquired, on_name_lost, NULL, NULL); service_bus_name_owner_id = owner_id; g_object_unref (connection); } } static void on_peer_connection_new (GObject *source, GAsyncResult *result, gpointer unused) { GDBusConnection *connection; GError *error = NULL; connection = g_dbus_connection_new_finish (result, &error); if (error != NULL) { g_warning ("Couldn't connect to peer: %s", error->message); g_main_loop_quit (main_loop); g_error_free (error); } else { g_debug ("connected to peer"); initialize_service (connection); g_object_unref (connection); } } static gboolean connect_to_bus_or_peer (void) { GSocketConnection *stream; GSocket *socket; GError *error = NULL; gchar *guid; if (service_dbus_fd == -1) { g_bus_get (G_BUS_TYPE_SYSTEM, NULL, on_bus_get_connection, NULL); return TRUE; } socket = g_socket_new_from_fd (service_dbus_fd, &error); if (error != NULL) { g_warning ("Couldn't create socket: %s", error->message); g_error_free (error); return FALSE; } stream = g_socket_connection_factory_create_connection (socket); g_return_val_if_fail (stream != NULL, FALSE); g_object_unref (socket); guid = g_dbus_generate_guid (); g_dbus_connection_new (G_IO_STREAM (stream), guid, G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER | G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS | G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING, NULL, NULL, on_peer_connection_new, NULL); g_free (guid); g_object_unref (stream); return TRUE; } static void on_realm_log_debug (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data) { GString *string; const gchar *progname; int ret; string = g_string_new (NULL); progname = g_get_prgname (); g_string_append_printf (string, "(%s:%lu): %s%sDEBUG: %s\n", progname ? progname : "process", (gulong)getpid (), log_domain ? log_domain : "", log_domain ? "-" : "", message ? message : "(NULL) message"); ret = write (1, string->str, string->len); /* Yes this is dumb, but gets around compiler warning */ if (ret < 0) fprintf (stderr, "couldn't write debug output"); g_string_free (string, TRUE); } static void on_realm_log_message (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data) { int level; /* Note that crit and err are the other way around in syslog */ switch (G_LOG_LEVEL_MASK & log_level) { case G_LOG_LEVEL_ERROR: level = LOG_CRIT; break; case G_LOG_LEVEL_CRITICAL: level = LOG_ERR; break; case G_LOG_LEVEL_WARNING: level = LOG_WARNING; break; case G_LOG_LEVEL_MESSAGE: level = LOG_NOTICE; break; case G_LOG_LEVEL_INFO: level = LOG_INFO; break; case G_LOG_LEVEL_DEBUG: level = LOG_DEBUG; break; default: level = LOG_ERR; break; } /* Log to syslog first */ if (log_domain) realm_daemon_syslog (NULL, level, "%s: %s", log_domain, message); else realm_daemon_syslog (NULL, level, "%s", message); /* And then to default handler for aborting and stuff like that */ g_log_default_handler (log_domain, log_level, message, user_data); } static void prepare_syslog (void) { GLogLevelFlags flags = G_LOG_FLAG_FATAL | G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING | G_LOG_LEVEL_MESSAGE | G_LOG_LEVEL_INFO; #ifndef WITH_JOURNAL openlog ("realmd", 0, LOG_AUTH); #endif g_log_set_handler (NULL, flags, on_realm_log_message, NULL); g_log_set_handler ("Glib", flags, on_realm_log_message, NULL); g_log_set_default_handler (on_realm_log_message, NULL); } #ifdef WITH_JOURNAL void realm_daemon_syslog (const gchar *operation, int prio, const gchar *format, ...) { va_list ap; gchar *message; va_start (ap, format); message = g_strdup_vprintf (format, ap); va_end (ap); sd_journal_send ("MESSAGE=%s", message, "REALMD_OPERATION=%s", operation, "PRIORITY=%i", prio, "SYSLOG_FACILITY=%i", LOG_FAC (LOG_AUTH), "SYSLOG_IDENTIFIER=realmd", NULL); g_free (message); } #else /* !WITH_JOURNAL */ void realm_daemon_syslog (const gchar *operation, int prio, const gchar *format, ...) { va_list ap; va_start (ap, format); vsyslog (prio, format, ap); va_end (ap); } #endif /* !WITH_JOURNAL */ static gboolean on_signal_quit (gpointer data) { g_main_loop_quit (data); return FALSE; } int main (int argc, char *argv[]) { GOptionContext *context; GError *error = NULL; const gchar *env; gchar *path; GOptionEntry option_entries[] = { { "debug", 'd', 0, G_OPTION_ARG_NONE, &service_debug, "Turn on debug output, prevent timeout exit", NULL }, { "install", 0, 0, G_OPTION_ARG_STRING, &service_install, "Turn on installer mode, install to this prefix", NULL }, { "dbus-peer", 0, 0, G_OPTION_ARG_INT, &service_dbus_fd, "Use a peer to peer dbus connection on this fd", NULL }, { "replace", 0, 0, G_OPTION_ARG_NONE, &service_replace, "Replace a running realmd searvice", NULL }, { NULL } }; #ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); #endif prepare_syslog (); #if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init (); #endif /* * Add /sbin to path as a around for problems with authconfig. * See bug: */ env = g_getenv ("PATH"); path = g_strdup_printf ("%s:/usr/sbin:/sbin", env ? env : "/usr/bin:/bin"); g_setenv ("PATH", path, TRUE); g_free (path); /* Setup our TMPDIR to our own cache directory */ if (g_file_test (CACHEDIR, G_FILE_TEST_IS_DIR)) g_setenv ("TMPDIR", CACHEDIR, TRUE); /* Load the default and platform specific data */ realm_settings_init (); service_debug = realm_settings_boolean ("service", "debug", FALSE); context = g_option_context_new ("realmd"); g_option_context_add_main_entries (context, option_entries, NULL); if (!g_option_context_parse (context, &argc, &argv, &error)) { g_message ("%s", error->message); g_option_context_free (context); g_error_free (error); return 2; } g_option_context_free (context); if (service_install) { if (chdir (service_install) < 0) { g_message ("Couldn't use install prefix: %s: %s", service_install, g_strerror (errno)); return 1; } if (chroot (service_install) < 0) { g_message ("Couldn't chroot into install prefix: %s: %s", service_install, g_strerror (errno)); return 1; } } service_holds = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); if (g_getenv ("REALM_DEBUG")) service_debug = TRUE; if (g_getenv ("REALM_PERSIST") || service_debug || service_install) realm_daemon_hold ("persist-daemon"); if (service_debug) { g_log_set_handler (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, on_realm_log_debug, NULL); g_log_set_always_fatal (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING); } realm_error = realm_error_quark (); realm_daemon_hold ("startup"); g_debug ("starting service"); connect_to_bus_or_peer (); main_loop = g_main_loop_new (NULL, FALSE); g_unix_signal_add (SIGINT, on_signal_quit, main_loop); g_unix_signal_add (SIGTERM, on_signal_quit, main_loop); g_main_loop_run (main_loop); if (service_bus_name_owner_id != 0) g_bus_unown_name (service_bus_name_owner_id); if (object_server != NULL) { g_dbus_object_manager_server_set_connection (object_server, NULL); g_object_unref (object_server); } g_debug ("stopping service"); realm_settings_uninit (); realm_invocation_cleanup (); g_main_loop_unref (main_loop); g_hash_table_unref (service_holds); g_free (service_install); return 0; } realmd-0.15.0/service/realm-disco-mscldap.h0000664000175000017500000000314512147353540020467 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #ifndef __REALM_DISCO_MSCLDAP_H__ #define __REALM_DISCO_MSCLDAP_H__ #include "realm-disco.h" #include #include void realm_disco_mscldap_async (GSocketAddress *address, GSocketProtocol protocol, const gchar *explicit_server, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); RealmDisco * realm_disco_mscldap_finish (GAsyncResult *result, GError **error); gboolean realm_disco_mscldap_result (LDAP *ldap, LDAPMessage *message, RealmDisco *disco, GError **error); gboolean realm_disco_mscldap_request (LDAP *ldap, int *msgidp, GError **error); #endif /* __REALM_DISCO_MSCLDAP_H__ */ realmd-0.15.0/service/realm-example.h0000664000175000017500000000225212140455744017400 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_EXAMPLE_H__ #define __REALM_EXAMPLE_H__ #include #include "realm-kerberos.h" #include "realm-provider.h" G_BEGIN_DECLS #define REALM_TYPE_EXAMPLE (realm_example_get_type ()) #define REALM_EXAMPLE(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_EXAMPLE, RealmExample)) #define REALM_IS_EXAMPLE(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_EXAMPLE)) typedef struct _RealmExample RealmExample; GType realm_example_get_type (void) G_GNUC_CONST; RealmKerberos * realm_example_new (const gchar *name, RealmProvider *provider); G_END_DECLS #endif /* __REALM_EXAMPLE_H__ */ realmd-0.15.0/service/realm-kerberos.h0000664000175000017500000001433312172260403017553 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_KERBEROS_H__ #define __REALM_KERBEROS_H__ #include #include #include "realm-dbus-generated.h" #include "realm-disco.h" G_BEGIN_DECLS typedef enum { REALM_KERBEROS_POLICY_NOT_SET = 0, REALM_KERBEROS_ALLOW_ANY_LOGIN = 1, REALM_KERBEROS_ALLOW_REALM_LOGINS, REALM_KERBEROS_ALLOW_PERMITTED_LOGINS, REALM_KERBEROS_DENY_ANY_LOGIN, } RealmKerberosLoginPolicy; #define REALM_TYPE_KERBEROS (realm_kerberos_get_type ()) #define REALM_KERBEROS(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_KERBEROS, RealmKerberos)) #define REALM_IS_KERBEROS(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_KERBEROS)) #define REALM_KERBEROS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), REALM_TYPE_KERBEROS, RealmKerberosClass)) #define REALM_IS_KERBEROS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), REALM_TYPE_KERBEROS)) #define REALM_KERBEROS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), REALM_TYPE_KERBEROS, RealmKerberosClass)) typedef struct _RealmKerberos RealmKerberos; typedef struct _RealmKerberosClass RealmKerberosClass; typedef struct _RealmKerberosPrivate RealmKerberosPrivate; struct _RealmKerberos { GDBusObjectSkeleton parent; RealmKerberosPrivate *pv; }; struct _RealmKerberosClass { GDBusObjectSkeletonClass parent_class; void (* logins_async) (RealmKerberos *realm, GDBusMethodInvocation *invocation, RealmKerberosLoginPolicy login_policy, const gchar **permitted_add, const gchar **permitted_remove, GVariant *options, GAsyncReadyCallback callback, gpointer user_data); gboolean (* logins_finish) (RealmKerberos *realm, GAsyncResult *result, GError **error); void (* discover_myself) (RealmKerberos *realm, RealmDisco *disco); }; GType realm_kerberos_get_type (void) G_GNUC_CONST; void realm_kerberos_set_disco (RealmKerberos *self, RealmDisco *disco); RealmDisco * realm_kerberos_get_disco (RealmKerberos *self); gchar ** realm_kerberos_parse_logins (RealmKerberos *self, gboolean lower, const gchar **logins, GError **error); gchar * realm_kerberos_format_login (RealmKerberos *self, const gchar *user); gboolean realm_kerberos_flush_keytab (const gchar *realm_name, GError **error); const gchar * realm_kerberos_get_name (RealmKerberos *self); const gchar * realm_kerberos_get_realm_name (RealmKerberos *self); void realm_kerberos_set_realm_name (RealmKerberos *self, const gchar *value); const gchar * realm_kerberos_get_domain_name (RealmKerberos *self); void realm_kerberos_set_domain_name (RealmKerberos *self, const gchar *value); gboolean realm_kerberos_get_manages_system (RealmKerberos *self); void realm_kerberos_set_manages_system (RealmKerberos *self, gboolean manages); RealmKerberos * realm_kerberos_which_manages_system (void); void realm_kerberos_set_suggested_admin (RealmKerberos *self, const gchar *value); void realm_kerberos_set_permitted_logins (RealmKerberos *self, const gchar **value); void realm_kerberos_set_permitted_groups (RealmKerberos *self, const gchar **value); void realm_kerberos_set_login_policy (RealmKerberos *self, RealmKerberosLoginPolicy value); const gchar * realm_kerberos_login_policy_to_string (RealmKerberosLoginPolicy value); void realm_kerberos_set_login_formats (RealmKerberos *self, const gchar **value); void realm_kerberos_set_details (RealmKerberos *self, ...) G_GNUC_NULL_TERMINATED; gboolean realm_kerberos_is_configured (RealmKerberos *self); void realm_kerberos_set_configured (RealmKerberos *self, gboolean configured); void realm_kerberos_set_required_package_sets (RealmKerberos *self, const gchar **package_sets); gboolean realm_kerberos_matches (RealmKerberos *self, const gchar *string); G_END_DECLS #endif /* __REALM_KERBEROS_H__ */ realmd-0.15.0/service/safe-printf.h0000664000175000017500000000251312263005666017065 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __SAFE_PRINTF_H__ #define __SAFE_PRINTF_H__ #include #ifndef GNUC_NULL_TERMINATED #if __GNUC__ >= 4 #define GNUC_NULL_TERMINATED __attribute__((__sentinel__)) #else #define GNUC_NULL_TERMINATED #endif #endif int safe_asprintf (char **strp, const char *format, ...) GNUC_NULL_TERMINATED; int safe_snprintf (char *str, size_t len, const char *format, ...) GNUC_NULL_TERMINATED; int safe_printf_cb (void (* callback) (void *data, const char *piece, size_t len), void *data, const char *format, const char * const args[], int num_args); #endif /* __SAFE_PRINTF_H__ */ realmd-0.15.0/service/realm-example-provider.c0000664000175000017500000001670612263030675021232 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-diagnostics.h" #include "realm-disco.h" #include "realm-errors.h" #include "realm-example.h" #include "realm-example-provider.h" #include "realm-ini-config.h" #include "realm-settings.h" #include "realm-kerberos.h" #include "realm-usleep-async.h" #include "realm-invocation.h" #include struct _RealmExampleProvider { RealmProvider parent; RealmIniConfig *config; }; typedef struct { RealmProviderClass parent_class; } RealmExampleProviderClass; enum { PROP_0, PROP_EXAMPLE_CONFIG, }; #define REALM_EXAMPLE_CONFIG STATE_DIR "/example.conf" #define REALM_DBUS_EXAMPLE_PATH "/org/freedesktop/realmd/Example" #define ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyz012346789-." G_DEFINE_TYPE (RealmExampleProvider, realm_example_provider, REALM_TYPE_PROVIDER); static void realm_example_provider_init (RealmExampleProvider *self) { self->config = realm_ini_config_new (REALM_INI_NONE); } static void realm_example_provider_constructed (GObject *obj) { RealmExampleProvider *self; GError *error = NULL; gchar **sections; gint i; G_OBJECT_CLASS (realm_example_provider_parent_class)->constructed (obj); self = REALM_EXAMPLE_PROVIDER (obj); realm_ini_config_read_file (self->config, REALM_EXAMPLE_CONFIG, &error); if (error != NULL) { g_warning ("Couldn't load config file: %s: %s", REALM_EXAMPLE_CONFIG, error->message); g_error_free (error); } realm_provider_set_name (REALM_PROVIDER (self), "Example"); sections = realm_ini_config_get_sections (self->config); for (i = 0; sections != NULL && sections[i] != NULL; i++) { realm_provider_lookup_or_register_realm (REALM_PROVIDER (self), REALM_TYPE_EXAMPLE, sections[i], NULL); } g_strfreev (sections); } static void on_discover_sleep_done (GObject *source, GAsyncResult *res, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; if (!realm_usleep_finish (res, &error)) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static gchar * parse_example_name (const char *string) { gchar *domain; gsize length; domain = g_ascii_strdown (string, -1); g_strstrip (domain); length = strlen (domain); if (!length || strspn (domain, ALLOWED_CHARS) != length || strstr (domain, "..") != NULL || domain[0] == '.') { g_free (domain); return NULL; } if (g_str_has_suffix (domain, ".")) { domain[length] = '\0'; length--; } /* No, I don't care */ if (!g_str_has_suffix (domain, "example.org") && !g_str_has_suffix (domain, "example.com") && !g_str_has_suffix (domain, "example.net")) { g_free (domain); return NULL; } if (length > 11) { if (domain[length - 12] != '.') { g_free (domain); return NULL; } } return domain; } static void realm_example_provider_discover_async (RealmProvider *provider, const gchar *string, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; task = g_task_new (provider, NULL, callback, user_data); if (!realm_provider_match_software (options, REALM_DBUS_IDENTIFIER_EXAMPLE, REALM_DBUS_IDENTIFIER_EXAMPLE, REALM_DBUS_IDENTIFIER_EXAMPLE)) { g_task_return_boolean (task, TRUE); /* A valid example domain name */ } else { gchar *domain; gdouble delay; if (string == NULL || strlen (string) == 0) domain = g_strdup (realm_settings_value ("example", "default")); else domain = parse_example_name (string); if (domain && realm_settings_section(domain)) delay = realm_settings_double (domain, "example-discovery-delay", 0.0); else { delay = realm_settings_double ("example", "non-discovery-delay", 0.0); g_free (domain); domain = NULL; } g_object_set_data_full (G_OBJECT (task), "the-domain", domain, g_free); realm_usleep_async (delay * G_USEC_PER_SEC, realm_invocation_get_cancellable (invocation), on_discover_sleep_done, g_object_ref (task)); } g_object_unref (task); } static GList * realm_example_provider_discover_finish (RealmProvider *provider, GAsyncResult *result, gint *relevance, GError **error) { RealmKerberos *realm = NULL; gchar *domain; g_return_val_if_fail (g_task_is_valid (result, provider), NULL); if (!g_task_propagate_boolean (G_TASK (result), error)) return NULL; domain = g_object_get_data (G_OBJECT (result), "the-domain"); if (domain == NULL || realm_settings_section (domain) == NULL) return NULL; realm = realm_provider_lookup_or_register_realm (provider, REALM_TYPE_EXAMPLE, domain, NULL); if (realm == NULL) return NULL; *relevance = 10; return g_list_append (NULL, g_object_ref (realm)); } static void realm_example_provider_get_property (GObject *obj, guint prop_id, GValue *value, GParamSpec *pspec) { RealmExampleProvider *self = REALM_EXAMPLE_PROVIDER (obj); switch (prop_id) { case PROP_EXAMPLE_CONFIG: g_value_set_object (value, self->config); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec); break; } } static void realm_example_provider_finalize (GObject *obj) { RealmExampleProvider *self = REALM_EXAMPLE_PROVIDER (obj); g_object_unref (self->config); G_OBJECT_CLASS (realm_example_provider_parent_class)->finalize (obj); } void realm_example_provider_class_init (RealmExampleProviderClass *klass) { RealmProviderClass *provider_class = REALM_PROVIDER_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass); provider_class->discover_async = realm_example_provider_discover_async; provider_class->discover_finish = realm_example_provider_discover_finish; object_class->constructed = realm_example_provider_constructed; object_class->get_property = realm_example_provider_get_property; object_class->finalize = realm_example_provider_finalize; g_object_class_install_property (object_class, PROP_EXAMPLE_CONFIG, g_param_spec_object ("example-config", "Example Config", "Example Config", REALM_TYPE_INI_CONFIG, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); } RealmProvider * realm_example_provider_new (void) { return g_object_new (REALM_TYPE_EXAMPLE_PROVIDER, "g-object-path", REALM_DBUS_EXAMPLE_PATH, NULL); } realmd-0.15.0/service/realm-service.c0000664000175000017500000001734712263031136017402 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-command.h" #include "realm-daemon.h" #include "realm-service.h" #include "realm-settings.h" #include static void begin_service_command (const gchar *command, gboolean skip_in_install_mode, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; /* If install mode, don't do certain service stuff */ if (skip_in_install_mode && realm_daemon_is_install_mode ()) { g_debug ("skipping %s command in install mode", command); task = g_task_new (NULL, NULL, callback, user_data); g_task_set_source_tag (task, begin_service_command); g_task_return_boolean (task, TRUE); g_object_unref (task); } else { realm_command_run_known_async (command, NULL, invocation, callback, user_data); } } static gboolean finish_service_command (GAsyncResult *result, GError **error) { if (g_task_is_valid (result, NULL) && g_task_get_source_tag (G_TASK (result)) == begin_service_command) { return g_task_propagate_boolean (G_TASK (result), error); } return realm_command_run_finish (result, NULL, error) != -1; } void realm_service_enable (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { gchar *command; command = g_strdup_printf ("%s-enable-service", service_name); begin_service_command (command, FALSE, invocation, callback, user_data); g_free (command); } gboolean realm_service_enable_finish (GAsyncResult *result, GError **error) { return finish_service_command (result, error); } void realm_service_disable (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { gchar *command; command = g_strdup_printf ("%s-disable-service", service_name); begin_service_command (command, FALSE, invocation, callback, user_data); g_free (command); } gboolean realm_service_disable_finish (GAsyncResult *result, GError **error) { return finish_service_command (result, error); } void realm_service_restart (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { gchar *command; command = g_strdup_printf ("%s-restart-service", service_name); begin_service_command (command, TRUE, invocation, callback, user_data); g_free (command); } gboolean realm_service_restart_finish (GAsyncResult *result, GError **error) { return finish_service_command (result, error); } void realm_service_stop (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { gchar *command; command = g_strdup_printf ("%s-stop-service", service_name); begin_service_command (command, TRUE, invocation, callback, user_data); g_free (command); } gboolean realm_service_stop_finish (GAsyncResult *result, GError **error) { return finish_service_command (result, error); } typedef struct { gchar *service_name; GDBusMethodInvocation *invocation; } CallClosure; static void call_closure_free (gpointer data) { CallClosure *call = data; g_free (call->service_name); g_clear_object (&call->invocation); g_free (call); } static void on_enable_restarted (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; realm_service_restart_finish (result, &error); if (error != NULL) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static void on_enable_enabled (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); CallClosure *call = g_task_get_task_data (task); GError *error = NULL; realm_service_enable_finish (result, &error); if (error == NULL) { realm_service_restart (call->service_name, call->invocation, on_enable_restarted, g_object_ref (task)); } else { g_task_return_error (task, error); } g_object_unref (task); } void realm_service_enable_and_restart (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; CallClosure *call; task = g_task_new (NULL, NULL, callback, user_data); call = g_new0 (CallClosure, 1); call->service_name = g_strdup (service_name); call->invocation = invocation ? g_object_ref (invocation) : invocation; g_task_set_task_data (task, call, call_closure_free); realm_service_enable (call->service_name, call->invocation, on_enable_enabled, g_object_ref (task)); g_object_unref (task); } gboolean realm_service_enable_and_restart_finish (GAsyncResult *result, GError **error) { g_return_val_if_fail (g_task_is_valid (result, NULL), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); return g_task_propagate_boolean (G_TASK (result), error); } static void on_disable_stopped (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; realm_service_stop_finish (result, &error); if (error != NULL) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static void on_disable_disabled (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); CallClosure *call = g_task_get_task_data (task); GError *error = NULL; realm_service_disable_finish (result, &error); if (error == NULL) { realm_service_stop (call->service_name, call->invocation, on_disable_stopped, g_object_ref (task)); } else { g_task_return_error (task, error); } g_object_unref (task); } void realm_service_disable_and_stop (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; CallClosure *call; task = g_task_new (NULL, NULL, callback, user_data); call = g_new0 (CallClosure, 1); call->service_name = g_strdup (service_name); call->invocation = invocation ? g_object_ref (invocation) : invocation; g_task_set_task_data (task, call, call_closure_free); realm_service_disable (call->service_name, call->invocation, on_disable_disabled, g_object_ref (task)); g_object_unref (task); } gboolean realm_service_disable_and_stop_finish (GAsyncResult *result, GError **error) { g_return_val_if_fail (g_task_is_valid (result, NULL), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); return g_task_propagate_boolean (G_TASK (result), error); } realmd-0.15.0/service/realm-sssd-ipa.c0000664000175000017500000003707112263031417017463 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-command.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-diagnostics.h" #include "realm-errors.h" #include "realm-kerberos.h" #include "realm-kerberos-membership.h" #include "realm-options.h" #include "realm-packages.h" #include "realm-provider.h" #include "realm-service.h" #include "realm-settings.h" #include "realm-sssd.h" #include "realm-sssd-ipa.h" #include "realm-sssd-config.h" #include #include #include #include struct _RealmSssdIpa { RealmSssd parent; }; typedef struct { RealmSssdClass parent_class; } RealmSssdIpaClass; static const gchar *IPA_PACKAGES[] = { REALM_DBUS_IDENTIFIER_IPA, REALM_DBUS_IDENTIFIER_SSSD, NULL }; static void realm_sssd_ipa_kerberos_membership_iface (RealmKerberosMembershipIface *iface); G_DEFINE_TYPE_WITH_CODE (RealmSssdIpa, realm_sssd_ipa, REALM_TYPE_SSSD, G_IMPLEMENT_INTERFACE (REALM_TYPE_KERBEROS_MEMBERSHIP, realm_sssd_ipa_kerberos_membership_iface); ); static void realm_sssd_ipa_init (RealmSssdIpa *self) { } static void realm_sssd_ipa_constructed (GObject *obj) { RealmKerberos *kerberos = REALM_KERBEROS (obj); G_OBJECT_CLASS (realm_sssd_ipa_parent_class)->constructed (obj); realm_kerberos_set_details (kerberos, REALM_DBUS_OPTION_SERVER_SOFTWARE, REALM_DBUS_IDENTIFIER_IPA, REALM_DBUS_OPTION_CLIENT_SOFTWARE, REALM_DBUS_IDENTIFIER_SSSD, NULL); realm_kerberos_set_suggested_admin (kerberos, "admin"); realm_kerberos_set_required_package_sets (kerberos, IPA_PACKAGES); } void realm_sssd_ipa_class_init (RealmSssdIpaClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); RealmSssdClass *sssd_class = REALM_SSSD_CLASS (klass); object_class->constructed = realm_sssd_ipa_constructed; /* The provider in sssd.conf relevant to this realm type */ sssd_class->sssd_conf_provider_name = "ipa"; } typedef struct { GDBusMethodInvocation *invocation; GPtrArray *argv; GVariant *options; GBytes *input; } EnrollClosure; static void enroll_closure_free (gpointer data) { EnrollClosure *enroll = data; g_object_unref (enroll->invocation); if (enroll->argv) g_ptr_array_unref (enroll->argv); g_variant_unref (enroll->options); g_bytes_unref (enroll->input); g_free (enroll); } static void on_enable_nss_done (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; gint status; status = realm_command_run_finish (result, NULL, &error); if (error == NULL && status != 0) g_set_error (&error, REALM_ERROR, REALM_ERROR_INTERNAL, _("Enabling SSSD in nsswitch.conf and PAM failed.")); if (error != NULL) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static void on_restart_done (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); EnrollClosure *enroll = g_task_get_task_data (task); RealmSssd *sssd = g_task_get_source_object (task); GError *error = NULL; realm_service_enable_and_restart_finish (result, &error); if (error == NULL) { realm_sssd_update_properties (sssd); realm_command_run_known_async ("sssd-enable-logins", NULL, enroll->invocation, on_enable_nss_done, g_object_ref (task)); } else { g_task_return_error (task, error); } g_object_unref (task); } static void on_ipa_client_do_restart (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); EnrollClosure *enroll = g_task_get_task_data (task); RealmSssd *sssd = g_task_get_source_object (task); RealmKerberos *realm = REALM_KERBEROS (sssd); const gchar *access_provider; const gchar *realmd_tags; GError *error = NULL; GString *output = NULL; RealmIniConfig *config; const gchar *domain; const gchar *shell; gchar *section; gchar *home; gint status; status = realm_command_run_finish (result, &output, &error); if (error == NULL && status != 0) { /* * TODO: We need to update ipa-client-install to accept a * ccache so we can get better feedback on invalid passwords. * We run the process with LC_ALL=C so at least we know these * messages will be in english. */ if (g_pattern_match_simple ("*kinit: Password incorrect*", output->str)) { g_set_error (&error, REALM_ERROR, REALM_ERROR_AUTH_FAILED, "Password is incorrect"); } else { g_set_error (&error, REALM_ERROR, REALM_ERROR_INTERNAL, "Running ipa-client-install failed"); } } domain = realm_kerberos_get_name (realm); config = realm_sssd_get_config (sssd); shell = realm_settings_string ("users", "default-shell"); if (error == NULL) { home = realm_sssd_build_default_home (realm_settings_string ("users", "default-home")); realmd_tags = realm_options_manage_system (enroll->options, domain) ? "manages-system" : ""; realm_sssd_config_update_domain (config, domain, &error, "cache_credentials", "True", "use_fully_qualified_names", realm_options_qualify_names (domain) ? "True" : "False", "krb5_store_password_if_offline", "True", "default_shell", shell, "fallback_homedir", home, "realmd_tags", realmd_tags, NULL); g_free (home); } if (error == NULL) { if (realm_options_manage_system (enroll->options, domain)) access_provider = "ipa"; else access_provider = "simple"; section = realm_sssd_config_domain_to_section (domain); realm_sssd_set_login_policy (config, section, access_provider, NULL, NULL, FALSE, &error); free (section); } if (error == NULL) { realm_service_enable_and_restart ("sssd", enroll->invocation, on_restart_done, g_object_ref (task)); } else { g_task_return_error (task, error); } g_object_unref (task); } static void on_install_do_join (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); EnrollClosure *enroll = g_task_get_task_data (task); GError *error = NULL; const gchar *env[] = { "LANG=C", NULL, }; realm_packages_install_finish (result, &error); if (error == NULL) { realm_command_runv_async ((gchar **)enroll->argv->pdata, (gchar **)env, enroll->input, enroll->invocation, on_ipa_client_do_restart, g_object_ref (task)); } else { g_task_return_error (task, error); } g_object_unref (task); } static char * secret_to_password (GBytes *secret) { gconstpointer data; gsize length; /* * In theory the password could be binary with embedded nulls. * We don't support that. And we assume that we don't need to * check for that here, because such a password will be wrong, * and ipa-client-install will simply fail to join the domain. */ data = g_bytes_get_data (secret, &length); return g_strndup (data, length); } static void push_arg (GPtrArray *argv, const gchar *value) { g_ptr_array_add (argv, strdup (value)); } static void realm_sssd_ipa_join_async (RealmKerberosMembership *membership, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmKerberos *realm = REALM_KERBEROS (membership); RealmSssd *sssd = REALM_SSSD (realm); GTask *task; EnrollClosure *enroll; RealmDisco *disco; const gchar *domain_name; const gchar *computer_ou; const gchar *software; GPtrArray *argv; domain_name = realm_kerberos_get_name (realm); task = g_task_new (realm, NULL, callback, user_data); enroll = g_new0 (EnrollClosure, 1); enroll->invocation = g_object_ref (invocation); enroll->options = g_variant_ref (options); g_task_set_task_data (task, enroll, enroll_closure_free); if (g_variant_lookup (options, REALM_DBUS_OPTION_COMPUTER_OU, "&s", &computer_ou)) { g_task_return_new_error (task, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, _("The computer-ou argument is not supported when joining an IPA domain.")); } else if (g_variant_lookup (options, REALM_DBUS_OPTION_MEMBERSHIP_SOFTWARE, "&s", &software) && !g_str_equal (software, REALM_DBUS_IDENTIFIER_FREEIPA) && !g_str_equal (software, REALM_DBUS_IDENTIFIER_IPA)) { g_task_return_new_error (task, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, _("Unsupported or unknown membership software '%s'"), software); } else if (realm_sssd_get_config_section (sssd) != NULL) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_ALREADY_CONFIGURED, _("Already joined to this domain")); } else if (realm_sssd_config_have_domain (realm_sssd_get_config (sssd), domain_name)) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_ALREADY_CONFIGURED, _("A domain with this name is already configured")); } else { disco = realm_kerberos_get_disco (realm); g_return_if_fail (disco != NULL); argv = g_ptr_array_new (); push_arg (argv, realm_settings_string ("paths", "ipa-client-install")); push_arg (argv, "--domain"); push_arg (argv, disco->domain_name); push_arg (argv, "--realm"); push_arg (argv, disco->kerberos_realm); push_arg (argv, "--mkhomedir"); push_arg (argv, "--enable-dns-updates"); push_arg (argv, "--unattended"); push_arg (argv, "--force-join"); /* If the caller specified a server directly */ if (disco->explicit_server) { push_arg (argv, "--server"); push_arg (argv, disco->explicit_server); push_arg (argv, "--fixed-primary"); } switch (cred->type) { case REALM_CREDENTIAL_SECRET: /* * TODO: Allow passing the password other than command line. * * ipa-client-install won't let us pass a password into a prompt * when used with --unattended. We need --unattended since we can't * handle arbitrary prompts. So pass the one time password on * the command line. It's just a one time password, so in the short * term this should be okay. */ push_arg (argv, "--password"); g_ptr_array_add (argv, secret_to_password (cred->x.secret.value)); break; case REALM_CREDENTIAL_PASSWORD: enroll->input = realm_command_build_password_line (cred->x.password.value); push_arg (argv, "--principal"); push_arg (argv, cred->x.password.name); push_arg (argv, "-W"); break; default: g_return_if_reached (); } if (realm_options_manage_system (options, domain_name)) { push_arg (argv, "--force-ntpd"); } else { push_arg (argv, "--no-ssh"); push_arg (argv, "--no-sshd"); push_arg (argv, "--no-ntp"); } g_ptr_array_add (argv, NULL); enroll->argv = argv; realm_packages_install_async (IPA_PACKAGES, invocation, options, on_install_do_join, g_object_ref (task)); } g_object_unref (task); } static void on_ipa_client_do_disable (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); EnrollClosure *enroll = g_task_get_task_data (task); RealmSssd *sssd = g_task_get_source_object (task); GError *error = NULL; gint status; status = realm_command_run_finish (result, NULL, &error); if (error == NULL && status != 0) { g_set_error (&error, REALM_ERROR, REALM_ERROR_INTERNAL, "Running ipa-client-install failed"); } if (error == NULL) realm_sssd_deconfigure_domain_tail (sssd, task, enroll->invocation); else g_task_return_error (task, error); g_object_unref (task); } static void realm_sssd_ipa_leave_async (RealmKerberosMembership *membership, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmKerberos *realm = REALM_KERBEROS (membership); RealmSssd *sssd = REALM_SSSD (realm); GTask *task; EnrollClosure *enroll; const gchar *computer_ou; GBytes *input = NULL; const gchar **argv; const gchar *env[] = { "LANG=C", NULL, }; const gchar *automatic_args[] = { realm_settings_string ("paths", "ipa-client-install"), "--uninstall", "--unattended", NULL }; const gchar *password_args[] = { realm_settings_string ("paths", "ipa-client-install"), "--uninstall", "--principal", cred->x.password.name, "-W", "--unattended", NULL }; task = g_task_new (realm, NULL, callback, user_data); enroll = g_new0 (EnrollClosure, 1); enroll->invocation = g_object_ref (invocation); enroll->options = g_variant_ref (options); g_task_set_task_data (task, enroll, enroll_closure_free); if (realm_sssd_get_config_section (sssd) == NULL) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_NOT_CONFIGURED, _("Not currently joined to this realm")); } else if (g_variant_lookup (options, REALM_DBUS_OPTION_COMPUTER_OU, "&s", &computer_ou)) { g_task_return_new_error (task, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "The computer-ou argument is not supported when leaving an IPA domain."); } else { switch (cred->type) { case REALM_CREDENTIAL_AUTOMATIC: argv = automatic_args; break; case REALM_CREDENTIAL_PASSWORD: input = realm_command_build_password_line (cred->x.password.value); argv = password_args; break; default: g_return_if_reached (); } realm_command_runv_async ((gchar **)argv, (gchar **)env, input, invocation, on_ipa_client_do_disable, g_object_ref (task)); if (input) g_bytes_unref (input); } g_object_unref (task); } static gboolean realm_sssd_ipa_generic_finish (RealmKerberosMembership *realm, GAsyncResult *result, GError **error) { return g_task_propagate_boolean (G_TASK (result), error); } static void realm_sssd_ipa_kerberos_membership_iface (RealmKerberosMembershipIface *iface) { /* * NOTE: The ipa-client-install service requires that we pass a password directly * to the process, and not a ccache. It also accepts a one time password. */ static const RealmCredential join_supported[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN }, { REALM_CREDENTIAL_SECRET, REALM_CREDENTIAL_OWNER_NONE, }, { 0, } }; static const RealmCredential leave_supported[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN, }, { REALM_CREDENTIAL_AUTOMATIC, REALM_CREDENTIAL_OWNER_NONE, }, { 0, } }; iface->join_async = realm_sssd_ipa_join_async; iface->join_finish = realm_sssd_ipa_generic_finish; iface->join_creds_supported = join_supported; iface->leave_async = realm_sssd_ipa_leave_async; iface->leave_finish = realm_sssd_ipa_generic_finish; iface->leave_creds_supported = leave_supported; } realmd-0.15.0/service/realm-samba-winbind.c0000664000175000017500000001544212263031055020447 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-command.h" #include "realm-daemon.h" #include "realm-diagnostics.h" #include "realm-errors.h" #include "realm-options.h" #include "realm-samba-config.h" #include "realm-samba-winbind.h" #include "realm-settings.h" #include "realm-service.h" #include #include static void on_nss_complete (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; gint status; status = realm_command_run_finish (result, NULL, &error); if (error == NULL && status != 0) g_set_error (&error, REALM_ERROR, REALM_ERROR_INTERNAL, "Enabling winbind in nsswitch.conf and pam failed"); if (error != NULL) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static void on_enable_do_nss (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GDBusMethodInvocation *invocation = g_task_get_task_data (task); GError *error = NULL; realm_service_enable_and_restart_finish (result, &error); if (error == NULL) { realm_command_run_known_async ("winbind-enable-logins", NULL, invocation, on_nss_complete, g_object_ref (task)); } else { g_task_return_error (task, error); } g_object_unref (task); } void realm_samba_winbind_configure_async (RealmIniConfig *config, const gchar *domain_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmIniConfig *pwc; GTask *task; GError *error = NULL; g_return_if_fail (config != NULL); g_return_if_fail (invocation != NULL || G_IS_DBUS_METHOD_INVOCATION (invocation)); task = g_task_new (NULL, NULL, callback, user_data); if (invocation != NULL) g_task_set_task_data (task, g_object_ref (invocation), g_object_unref); /* TODO: need to use autorid mapping */ if (realm_ini_config_begin_change(config, &error)) { realm_ini_config_set (config, REALM_SAMBA_CONFIG_GLOBAL, "winbind enum users", "no", "winbind enum groups", "no", "winbind offline logon", "yes", "winbind refresh tickets", "yes", "winbind use default domain", realm_options_qualify_names (domain_name )? "no" : "yes", "template shell", realm_settings_string ("users", "default-shell"), NULL); if (realm_options_automatic_mapping (domain_name)) { realm_ini_config_set (config, REALM_SAMBA_CONFIG_GLOBAL, "idmap uid", "10000-2000000", "idmap gid", "10000-2000000", "idmap backend", "tdb", "idmap schema", NULL, NULL); } else { realm_ini_config_set (config, REALM_SAMBA_CONFIG_GLOBAL, "idmap uid", "500-4294967296", "idmap gid", "500-4294967296", "idmap backend", "ad", "idmap schema", "rfc2307", NULL); } realm_ini_config_finish_change (config, &error); } /* Setup pam_winbind.conf with decent defaults matching our expectations */ if (error == NULL) { pwc = realm_ini_config_new (REALM_INI_NO_WATCH); realm_ini_config_set_filename (pwc, realm_settings_path ("pam_winbind.conf")); realm_ini_config_change (pwc, "global", &error, "krb5_auth", "yes", "krb5_ccache_type", "FILE", "cached_login", "yes", NULL); g_object_unref (pwc); } if (error == NULL) { realm_service_enable_and_restart ("winbind", invocation, on_enable_do_nss, g_object_ref (task)); } else { g_task_return_error (task, error); } g_object_unref (task); } gboolean realm_samba_winbind_configure_finish (GAsyncResult *result, GError **error) { g_return_val_if_fail (g_task_is_valid (result, NULL), FALSE); return g_task_propagate_boolean (G_TASK (result), error); } static void on_disable_complete (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; realm_service_disable_and_stop_finish (result, &error); if (error != NULL) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static void on_nss_do_disable (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GDBusMethodInvocation *invocation = g_task_get_task_data (task); GError *error = NULL; gint status; status = realm_command_run_finish (result, NULL, &error); if (error == NULL && status != 0) g_set_error (&error, REALM_ERROR, REALM_ERROR_INTERNAL, "Disabling winbind in /etc/nsswitch.conf failed"); if (error == NULL) { realm_service_disable_and_stop ("winbind", invocation, on_disable_complete, g_object_ref (task)); } else { g_task_return_error (task, error); } g_object_unref (task); } void realm_samba_winbind_deconfigure_async (RealmIniConfig *config, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; g_return_if_fail (config != NULL); g_return_if_fail (invocation != NULL || G_IS_DBUS_METHOD_INVOCATION (invocation)); task = g_task_new (NULL, NULL, callback, user_data); if (invocation != NULL) g_task_set_task_data (task, g_object_ref (invocation), g_object_unref); realm_command_run_known_async ("winbind-disable-logins", NULL, invocation, on_nss_do_disable, g_object_ref (task)); g_object_unref (task); } gboolean realm_samba_winbind_deconfigure_finish (GAsyncResult *result, GError **error) { g_return_val_if_fail (g_task_is_valid (result, NULL), FALSE); return g_task_propagate_boolean (G_TASK (result), error); } realmd-0.15.0/service/realm-errors.h0000664000175000017500000000213112150404750017245 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_ERRORS_H__ #define __REALM_ERRORS_H__ #include G_BEGIN_DECLS #define REALM_ERROR (realm_error_quark ()) GQuark realm_error_quark (void) G_GNUC_CONST; typedef enum { REALM_ERROR_INTERNAL, REALM_ERROR_FAILED, REALM_ERROR_BUSY, REALM_ERROR_ALREADY_CONFIGURED, REALM_ERROR_NOT_CONFIGURED, REALM_ERROR_AUTH_FAILED, REALM_ERROR_BAD_HOSTNAME, REALM_ERROR_CANCELLED, _NUM_REALM_ERRORS } RealmErrorCodes; #define REALM_KRB5_ERROR (realm_krb5_error_quark ()) GQuark realm_krb5_error_quark (void) G_GNUC_CONST; G_END_DECLS #endif /* __REALM_ERRORS_H__ */ realmd-0.15.0/service/realm-samba-enroll.c0000664000175000017500000003477612263031055020323 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-command.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-diagnostics.h" #include "realm-errors.h" #include "realm-options.h" #include "realm-samba-config.h" #include "realm-samba-enroll.h" #include "realm-samba-provider.h" #include "realm-samba-util.h" #include "realm-settings.h" #include #include #include #include #include typedef struct { GDBusMethodInvocation *invocation; gchar *join_args[8]; RealmDisco *disco; gchar *user_name; GBytes *password_input; RealmIniConfig *config; gchar *custom_smb_conf; gchar *envvar; } JoinClosure; static void join_closure_free (gpointer data) { JoinClosure *join = data; int i; g_bytes_unref (join->password_input); g_free (join->user_name); for (i = 0; i < G_N_ELEMENTS (join->join_args); i++) g_free (join->join_args[i]); realm_disco_unref (join->disco); g_free (join->envvar); g_clear_object (&join->invocation); g_clear_object (&join->config); if (join->custom_smb_conf) { if (!realm_daemon_has_debug_flag ()) g_unlink (join->custom_smb_conf); g_free (join->custom_smb_conf); } g_free (join); } static gchar * fallback_workgroup (const gchar *realm) { const gchar *pos; pos = strchr (realm, '.'); if (pos == NULL) return g_utf8_strup (realm, -1); else return g_utf8_strup (realm, pos - realm); } static JoinClosure * join_closure_init (GTask *task, RealmDisco *disco, GDBusMethodInvocation *invocation) { JoinClosure *join; gchar *workgroup; GError *error = NULL; int temp_fd; join = g_new0 (JoinClosure, 1); join->disco = realm_disco_ref (disco); join->invocation = invocation ? g_object_ref (invocation) : NULL; g_task_set_task_data (task, join, join_closure_free); join->config = realm_ini_config_new (REALM_INI_NO_WATCH | REALM_INI_PRIVATE); realm_ini_config_set (join->config, REALM_SAMBA_CONFIG_GLOBAL, "security", "ads", "kerberos method", "system keytab", "realm", disco->kerberos_realm, "netbios name", disco->explicit_netbios, NULL); /* * Samba complains if we don't set a 'workgroup' setting for the realm we're * going to join. If we didn't yet manage to lookup the workgroup, then go ahead * and assume that the first domain component is the workgroup name. */ if (disco && disco->workgroup) { realm_ini_config_set (join->config, REALM_SAMBA_CONFIG_GLOBAL, "workgroup", disco->workgroup, NULL); } else { workgroup = fallback_workgroup (disco->domain_name); realm_ini_config_set (join->config, REALM_SAMBA_CONFIG_GLOBAL, "workgroup", workgroup, NULL); if (disco) disco->workgroup = workgroup; else g_free (workgroup); } /* Write out the config file for use by various net commands */ join->custom_smb_conf = g_build_filename (g_get_tmp_dir (), "realmd-smb-conf.XXXXXX", NULL); temp_fd = g_mkstemp_full (join->custom_smb_conf, O_WRONLY, S_IRUSR | S_IWUSR); if (temp_fd != -1) { if (realm_ini_config_write_fd (join->config, temp_fd, &error)) { realm_ini_config_set_filename (join->config, join->custom_smb_conf); } else { g_warning ("couldn't write to a temp file: %s: %s", join->custom_smb_conf, error->message); g_error_free (error); } close (temp_fd); } else { g_warning ("Couldn't create temp file in: %s", g_get_tmp_dir ()); } return join; } static void begin_net_process (JoinClosure *join, GBytes *input, GAsyncReadyCallback callback, gpointer user_data, ...) G_GNUC_NULL_TERMINATED; static void begin_net_process (JoinClosure *join, GBytes *input, GAsyncReadyCallback callback, gpointer user_data, ...) { char *env[8]; GPtrArray *args; gchar *logenv = NULL; gchar *arg; va_list va; int at = 0; env[at++] = "LANG=C"; /* * HACK: Samba's 'net ads -k join' requires that LOGNAME is set or * otherwise it fails to authenticate. */ if (!g_getenv ("LOGNAME")) env[at++] = logenv = g_strdup_printf ("LOGNAME=%s", g_get_user_name ()); if (join->envvar) env[at++] = join->envvar; env[at++] = NULL; g_assert (at < G_N_ELEMENTS (env)); args = g_ptr_array_new (); /* Use our custom smb.conf */ g_ptr_array_add (args, (gpointer)realm_settings_path ("net")); if (join->custom_smb_conf) { g_ptr_array_add (args, "-s"); g_ptr_array_add (args, join->custom_smb_conf); } if (join->disco->explicit_server) { g_ptr_array_add (args, "-S"); g_ptr_array_add (args, join->disco->explicit_server); } va_start (va, user_data); do { arg = va_arg (va, gchar *); g_ptr_array_add (args, arg); } while (arg != NULL); va_end (va); realm_command_runv_async ((gchar **)args->pdata, env, input, join->invocation, callback, user_data); g_free (logenv); g_ptr_array_free (args, TRUE); } static void on_keytab_do_finish (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; gint status; status = realm_command_run_finish (result, NULL, &error); if (error == NULL && status != 0) g_set_error (&error, REALM_ERROR, REALM_ERROR_INTERNAL, "Extracting host keytab failed"); if (error != NULL) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static void on_join_do_keytab (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); JoinClosure *join = g_task_get_task_data (task); GError *error = NULL; GString *output = NULL; gint status; status = realm_command_run_finish (result, &output, &error); if (error == NULL && status != 0) { /* * This is bad and ugly. We run the process with LC_ALL=C so * at least we know these messages will be in english. * * At first I thought this was a deficiency in samba's 'net' * command. It's true that 'net' could be better at returning * different error codes for different types of failures. * * But in the end this is a deficiency in Windows. When you use * LDAP to do enrollment, and the permissions aren't correct * it often returns stupid errors such as 'Constraint violation' * or 'Object class invalid' instead of 'Insufficient access'. */ if (g_pattern_match_simple ("*NT_STATUS_ACCESS_DENIED*", output->str) || g_pattern_match_simple ("*failed*: Constraint violation*", output->str) || g_pattern_match_simple ("*failed*: Object class violation*", output->str) || g_pattern_match_simple ("*failed*: Insufficient access*", output->str) || g_pattern_match_simple ("*: Access denied*", output->str) || g_pattern_match_simple ("*not have administrator privileges*", output->str) || g_pattern_match_simple ("*failure*: *not been granted the requested logon type*", output->str) || g_pattern_match_simple ("*failure*: User not allowed to log on to this computer*", output->str) || g_pattern_match_simple ("*failure*: *specified account is not allowed to authenticate to the machine*", output->str)) { g_set_error (&error, REALM_ERROR, REALM_ERROR_AUTH_FAILED, "Insufficient permissions to join the domain %s", join->disco->domain_name); } else if (g_pattern_match_simple ("*: Logon failure*", output->str) || g_pattern_match_simple ("*: Password expired*", output->str)) { g_set_error (&error, REALM_ERROR, REALM_ERROR_AUTH_FAILED, "The %s account, password, or credentials are invalid", join->user_name); } else { g_set_error (&error, REALM_ERROR, REALM_ERROR_INTERNAL, "Joining the domain %s failed", join->disco->domain_name); } } if (output) g_string_free (output, TRUE); if (error != NULL) { g_task_return_error (task, error); /* Do keytab with a user name */ } else if (join->user_name != NULL) { begin_net_process (join, join->password_input, on_keytab_do_finish, g_object_ref (task), "-U", join->user_name, "ads", "keytab", "create", NULL); /* Do keytab with a ccache file */ } else { begin_net_process (join, NULL, on_keytab_do_finish, g_object_ref (task), "-k", "ads", "keytab", "create", NULL); } g_object_unref (task); } static void begin_join (GTask *task, JoinClosure *join, GVariant *options) { const gchar *computer_ou; gchar *strange_ou; GError *error = NULL; const gchar *upn; const gchar *os; int at = 0; computer_ou = realm_options_computer_ou (options, join->disco->domain_name); if (computer_ou != NULL) { strange_ou = realm_samba_util_build_strange_ou (computer_ou, join->disco->domain_name); if (strange_ou) { if (!g_str_equal (strange_ou, "")) join->join_args[at++] = g_strdup_printf ("createcomputer=%s", strange_ou); g_free (strange_ou); } else { g_set_error (&error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "The computer-ou argument must be a valid LDAP DN and contain only OU=xxx RDN values."); } } os = realm_settings_value ("active-directory", "os-name"); if (os != NULL && !g_str_equal (os, "")) join->join_args[at++] = g_strdup_printf ("osName=%s", os); os = realm_settings_value ("active-directory", "os-version"); if (os != NULL && !g_str_equal (os, "")) join->join_args[at++] = g_strdup_printf ("osVer=%s", os); upn = realm_options_user_principal (options, join->disco->domain_name); if (upn) { if (g_str_equal (upn, "")) upn = NULL; join->join_args[at++] = g_strdup_printf ("createupn%s%s", upn ? "=" : "", upn ? upn : ""); } g_assert (at < G_N_ELEMENTS (join->join_args)); if (error != NULL) { g_task_return_error (task, error); /* Do join with a user name */ } else if (join->user_name) { begin_net_process (join, join->password_input, on_join_do_keytab, g_object_ref (task), "-U", join->user_name, "ads", "join", join->disco->domain_name, join->join_args[0], join->join_args[1], join->join_args[2], join->join_args[3], join->join_args[4], NULL); /* Do join with a ccache */ } else { begin_net_process (join, NULL, on_join_do_keytab, g_object_ref (task), "-k", "ads", "join", join->disco->domain_name, join->join_args[0], join->join_args[1], join->join_args[2], join->join_args[3], join->join_args[4], NULL); } } void realm_samba_enroll_join_async (RealmDisco *disco, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; JoinClosure *join; g_return_if_fail (disco != NULL); g_return_if_fail (cred != NULL); task = g_task_new (NULL, NULL, callback, user_data); join = join_closure_init (task, disco, invocation); if (disco->explicit_netbios) { realm_diagnostics_info (invocation, "Joining using a truncated netbios name: %s", disco->explicit_netbios); } switch (cred->type) { case REALM_CREDENTIAL_PASSWORD: join->password_input = realm_command_build_password_line (cred->x.password.value); join->user_name = g_strdup (cred->x.password.name); break; case REALM_CREDENTIAL_CCACHE: join->envvar = g_strdup_printf ("KRB5CCNAME=%s", cred->x.ccache.file); break; default: g_return_if_reached (); } begin_join (task, join, options); g_object_unref (task); } gboolean realm_samba_enroll_join_finish (GAsyncResult *result, GError **error) { g_return_val_if_fail (g_task_is_valid (result, NULL), FALSE); return g_task_propagate_boolean (G_TASK (result), error); } static void on_leave_complete (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); JoinClosure *join = g_task_get_task_data (task); GError *error = NULL; gint status; status = realm_command_run_finish (result, NULL, &error); if (error == NULL && status != 0) g_set_error (&error, REALM_ERROR, REALM_ERROR_INTERNAL, "Leaving the domain %s failed", join->disco->domain_name); if (error != NULL) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } void realm_samba_enroll_leave_async (RealmDisco *disco, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; JoinClosure *join; task = g_task_new (NULL, NULL, callback, user_data); join = join_closure_init (task, disco, invocation); switch (cred->type) { case REALM_CREDENTIAL_PASSWORD: join->password_input = realm_command_build_password_line (cred->x.password.value); join->user_name = g_strdup (cred->x.password.name); begin_net_process (join, join->password_input, on_leave_complete, g_object_ref (task), "-U", join->user_name, "ads", "leave", NULL); break; case REALM_CREDENTIAL_CCACHE: join->envvar = g_strdup_printf ("KRB5CCNAME=%s", cred->x.ccache.file); begin_net_process (join, NULL, on_leave_complete, g_object_ref (task), "-k", "ads", "leave", NULL); break; default: g_return_if_reached (); } g_object_unref (task); } gboolean realm_samba_enroll_leave_finish (GAsyncResult *result, GError **error) { g_return_val_if_fail (g_task_is_valid (result, NULL), FALSE); return g_task_propagate_boolean (G_TASK (result), error); } realmd-0.15.0/service/realmd-debian.conf0000664000175000017500000000311012140455744020023 0ustar00stefstef00000000000000# Distro specific overrides for debian [paths] smb.conf = /etc/samba/smb.conf # # Normally in these packages sections we can specify a file # to quickly check if the package is installed. However # different archictectures put the pam and nss plugins in # different directories, so no really great way to check them. # # On the other hand package-kit + apt doesn't suck as much # as package-kit + yum, so lets just leave these blank and # check that they are installed through the package manager. # [samba-packages] samba-common-bin = /usr/bin/net [winbind-packages] winbind = /usr/sbin/winbindd libpam-winbind = [sssd-packages] sssd = /usr/sbin/sssd sssd-tools = /usr/sbin/sss_cache libnss-sss = libpam-sss = [adcli-packages] adcli = /usr/sbin/adcli [commands] # Various pam and nss plugins are automatically configured when # installed on debian. So just stub them out. winbind-enable-logins = winbind-disable-logins = sssd-enable-logins = sssd-disable-logins = winbind-enable-service = /usr/sbin/update-rc.d winbind enable winbind-disable-service = /usr/sbin/update-rc.d winbind disable winbind-restart-service = /usr/sbin/service winbind restart winbind-stop-service = /usr/sbin/service winbind stop sssd-enable-service = /usr/sbin/update-rc.d sssd enable sssd-disable-service = /usr/sbin/update-rc.d sssd disable sssd-restart-service = /usr/sbin/service sssd restart sssd-stop-service = /usr/sbin/service sssd restart sssd-caches-flush = /usr/sbin/sss_cache --users --groups --netgroups --services --autofs-maps # Not sure if this is needed on debian, or if even possible name-caches-flush = realmd-0.15.0/service/realm-service.h0000664000175000017500000000711512053433306017401 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SERVICE_H__ #define __REALM_SERVICE_H__ #include G_BEGIN_DECLS void realm_service_enable (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_service_enable_finish (GAsyncResult *result, GError **error); void realm_service_disable (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_service_disable_finish (GAsyncResult *result, GError **error); void realm_service_stop (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_service_stop_finish (GAsyncResult *result, GError **error); void realm_service_restart (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_service_restart_finish (GAsyncResult *result, GError **error); void realm_service_enable_and_restart (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_service_enable_and_restart_finish (GAsyncResult *result, GError **error); void realm_service_disable_and_stop (const gchar *service_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_service_disable_and_stop_finish (GAsyncResult *result, GError **error); G_END_DECLS #endif /* __REALM_KERBEROS_SERVICE_H__ */ realmd-0.15.0/service/realm-example-provider.h0000664000175000017500000000230112140455744021223 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_EXAMPLE_PROVIDER_H__ #define __REALM_EXAMPLE_PROVIDER_H__ #include #include "realm-provider.h" G_BEGIN_DECLS #define REALM_TYPE_EXAMPLE_PROVIDER (realm_example_provider_get_type ()) #define REALM_EXAMPLE_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_EXAMPLE_PROVIDER, RealmExampleProvider)) #define REALM_IS_EXAMPLE_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_EXAMPLE_PROVIDER)) typedef struct _RealmExampleProvider RealmExampleProvider; GType realm_example_provider_get_type (void) G_GNUC_CONST; RealmProvider * realm_example_provider_new (void); G_END_DECLS #endif /* __REALM_EXAMPLE_PROVIDER_H__ */ realmd-0.15.0/service/realm-ini-config.c0000664000175000017500000007770612174154466020006 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-settings.h" #include "realm-ini-config.h" #include #include #include #include #include #define REALM_INI_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), REALM_TYPE_INI_CONFIG, RealmIniConfigClass)) #define REALM_IS_INI_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), REALM_TYPE_INI_CONFIG)) #define REALM_INI_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), REALM_TYPE_INI_CONFIG, RealmIniConfigClass)) typedef struct _ConfigLine { gchar *name; GBytes *bytes; struct _ConfigLine *prev; struct _ConfigLine *next; } ConfigLine; typedef struct { GHashTable *parameters; ConfigLine *head; ConfigLine *tail; } ConfigSection; struct _RealmIniConfig { GObject parent; gint flags; GHashTable *sections; ConfigLine *head; ConfigLine *tail; gboolean changing; gchar *filename; GFileMonitor *monitor; gulong monitor_sig; guint reload_scheduled; }; typedef struct { GObjectClass parent_class; } RealmIniConfigClass; enum { PROP_0, PROP_FLAGS }; enum { CHANGED, NUM_SIGNALS }; static guint signals[NUM_SIGNALS] = { 0, }; G_DEFINE_TYPE (RealmIniConfig, realm_ini_config, G_TYPE_OBJECT); static guint conf_str_hash (gconstpointer v) { const signed char *p; guint32 h = 5381; /* Case insensitive for ascii */ for (p = v; *p != '\0'; p++) h = (h << 5) + h + g_ascii_tolower (*p); return h; } static gboolean conf_str_equal (gconstpointer v1, gconstpointer v2) { const gchar *string1 = v1; const gchar *string2 = v2; /* Case insensitive for ascii */ return g_ascii_strcasecmp (string1, string2) == 0; } static void config_section_free (gpointer data) { ConfigSection *sect = data; g_hash_table_destroy (sect->parameters); g_free (sect); } static void config_line_free (gpointer data) { ConfigLine *line = data; g_free (line->name); g_bytes_unref (line->bytes); g_free (line); } static void realm_ini_config_init (RealmIniConfig *self) { self->sections = g_hash_table_new_full (conf_str_hash, conf_str_equal, NULL, config_section_free); } static void realm_ini_config_set_property (GObject *obj, guint prop_id, const GValue *value, GParamSpec *pspec) { RealmIniConfig *self = REALM_INI_CONFIG (obj); switch (prop_id) { case PROP_FLAGS: self->flags = g_value_get_int (value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec); break; } } static gboolean on_changes_reload_file (gpointer user_data) { RealmIniConfig *self = REALM_INI_CONFIG (user_data); realm_ini_config_reload (self); return FALSE; /* don't call this timeout again */ } static void on_directory_changed (GFileMonitor *monitor, GFile *file, GFile *other_file, GFileMonitorEvent event_type, gpointer user_data) { RealmIniConfig *self = REALM_INI_CONFIG (user_data); gchar *event_base; gchar *our_base; switch (event_type) { case G_FILE_MONITOR_EVENT_CHANGED: case G_FILE_MONITOR_EVENT_CREATED: case G_FILE_MONITOR_EVENT_DELETED: break; default: return; } if (!self->filename) return; event_base = g_file_get_basename (file); our_base = g_path_get_basename (self->filename); /* If it's our file, then schedule a reload */ if (g_strcmp0 (event_base, our_base) == 0) { if (self->reload_scheduled == 0) self->reload_scheduled = g_timeout_add (1, on_changes_reload_file, self); } g_free (event_base); g_free (our_base); } const gchar * realm_ini_config_get_filename (RealmIniConfig *self) { return self->filename; } void realm_ini_config_set_filename (RealmIniConfig *self, const gchar *filename) { GError *error = NULL; GFile *directory; GFile *file; /* Already connected to this filename */ if (g_strcmp0 (self->filename, filename) == 0) return; if (self->monitor) { g_signal_handler_disconnect (self->monitor, self->monitor_sig); g_object_unref (self->monitor); self->monitor = NULL; self->monitor_sig = 0; } if (self->reload_scheduled) g_source_remove (self->reload_scheduled); self->reload_scheduled = 0; g_free (self->filename); self->filename = NULL; if (!filename) return; self->filename = g_strdup (filename); /* * Setup a file monitor. Have to monitor directory, since the file * could theoretically not exist yet. */ if (!(self->flags & REALM_INI_NO_WATCH)) { file = g_file_new_for_path (self->filename); directory = g_file_get_parent (file); self->monitor = g_file_monitor_directory (directory, G_FILE_MONITOR_NONE, NULL, &error); if (error == NULL) { self->monitor_sig = g_signal_connect (self->monitor, "changed", G_CALLBACK (on_directory_changed), self); } else { g_warning ("Couldn't monitor directory: %s", error->message); g_error_free (error); } g_object_unref (directory); g_object_unref (file); } } static void reset_config_data (RealmIniConfig *self) { ConfigLine *line, *next; g_hash_table_remove_all (self->sections); for (line = self->head; line != NULL; line = next) { next = line->next; config_line_free (line); } self->head = NULL; self->tail = NULL; } static void realm_ini_config_finalize (GObject *obj) { RealmIniConfig *self = REALM_INI_CONFIG (obj); /* Should free filename and clear up monitors */ realm_ini_config_set_filename (self, NULL); reset_config_data (self); g_hash_table_destroy (self->sections); G_OBJECT_CLASS (realm_ini_config_parent_class)->finalize (obj); } static void realm_ini_config_class_init (RealmIniConfigClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->set_property = realm_ini_config_set_property; object_class->finalize = realm_ini_config_finalize; g_object_class_install_property (object_class, PROP_FLAGS, g_param_spec_int ("flags", "Flags", "Ini file flags", 0, G_MAXINT, 0, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); signals[CHANGED] = g_signal_new ("changed", REALM_TYPE_INI_CONFIG, G_SIGNAL_RUN_FIRST, 0, NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 0); } enum { NONE, COMMENT, SECTION, PARAMETER, INVALID }; static gint parse_config_line_type_and_name (GBytes *bytes, gchar **name) { const gchar *from; const gchar *end; const gchar *at; gsize len; *name = NULL; at = g_bytes_get_data (bytes, &len); end = at + len; /* Skip initial spaces */ while (at < end && g_ascii_isspace (*at)) at++; if (at == end) return NONE; /* A comment? */ if (*at == '#' || *at == ';') return COMMENT; /* A section? */ if (*at == '[') { at++; from = at; while (at < end && *at != ']' && *at != '\n') at++; if (at < end && *at == ']' && at > from) { *name = g_strndup (from, at - from); return SECTION; } return NONE; } /* A parameter? */ from = at; at = memchr (from, '=', end - from); if (at != NULL && at > from) { while (at - 1 > from && g_ascii_isspace (*(at - 1))) at--; if (at > from) { *name = g_strndup (from, at - from); return PARAMETER; } } return INVALID; } static void remove_new_lines (RealmIniConfig *self, GString *value) { gsize offset = 0; /* Remove all \r charaters from DOS style endings */ for (;;) { gchar *at = strchr (value->str + offset, '\r'); if (at == NULL) break; g_string_erase (value, at - value->str, 1); } offset = 0; /* Remove all \n characters, including escaped newlines */ for (;;) { gchar *at = strchr (value->str + offset, '\n'); if (at == NULL) break; if ((self->flags & REALM_INI_LINE_CONTINUATIONS) && (at > value->str && *(at - 1) == '\\')) g_string_erase (value, (at - 1) - value->str, 2); else g_string_erase (value, at - value->str, 1); } } static gchar * parse_config_line_value (RealmIniConfig *self, GBytes *bytes) { GString *value; const gchar *end; const gchar *at; gsize len; at = g_bytes_get_data (bytes, &len); end = at + len; /* Should always have an = when parsed */ at = memchr (at, '=', end - at); g_return_val_if_fail (at != NULL, NULL); at++; /* Skip spaces after equal */ while (at < end && g_ascii_isspace (*at)) at++; value = g_string_new_len (at, end - at); /* Remove any continuations and line endings */ remove_new_lines (self, value); return g_strstrip (g_string_free (value, FALSE)); } static void append_config_line (RealmIniConfig *self, ConfigLine *line) { if (self->tail == NULL) { self->head = line; self->tail = line; } else { self->tail->next = line; line->prev = self->tail; self->tail = line; } } static void insert_config_line (RealmIniConfig *self, ConfigLine *after, ConfigLine *line) { g_assert (after != NULL); g_assert (line != NULL); line->next = after->next; line->prev = after; if (after->next) after->next->prev = line; after->next = line; if (after == self->tail) self->tail = line; } static void remove_config_line (RealmIniConfig *self, ConfigLine *line) { g_assert (line != NULL); /* We only get called for parameters in sections */ g_assert (line->prev != NULL); g_assert (self->head != line); if (line->next) line->next->prev = line->prev; line->prev->next = line->next; } static void parse_config_line (RealmIniConfig *self, GBytes *bytes, ConfigSection **current) { ConfigSection *sect; ConfigLine *line; gchar *name = NULL; gint type; line = g_new0 (ConfigLine, 1); line->bytes = g_bytes_ref (bytes); /* What kind of line is this? */ type = parse_config_line_type_and_name (bytes, &name); switch (type) { case SECTION: sect = g_hash_table_lookup (self->sections, name); if (sect == NULL) { sect = g_new0 (ConfigSection, 1); sect->parameters = g_hash_table_new (conf_str_hash, conf_str_equal); g_hash_table_replace (self->sections, name, sect); sect->head = line; sect->tail = line; } *current = sect; break; case PARAMETER: if (*current != NULL) g_hash_table_insert ((*current)->parameters, name, line); break; } line->name = name; append_config_line (self, line); /* Add this line as the end of the current section */ if (type != NONE && type != COMMENT && *current != NULL) (*current)->tail = line; } static void parse_config_bytes (RealmIniConfig *self, GBytes *bytes) { ConfigSection *current; GBytes *line; const gchar *beg; const gchar *end; const gchar *at; const gchar *from; gsize len; /* Clear the current data */ reset_config_data (self); current = NULL; beg = from = at = g_bytes_get_data (bytes, &len); end = at + len; for (;;) { const gchar *search = at; at = memchr (search, '\n', end - search); if (at == NULL) { line = g_bytes_new_from_bytes (bytes, from - beg, end - from); } else { const gchar *last = at > search ? at - 1 : NULL; at++; /* Line continuation */ if ((self->flags & REALM_INI_LINE_CONTINUATIONS) && (last != NULL && *last == '\\')) continue; line = g_bytes_new_from_bytes (bytes, from - beg, at - from); } parse_config_line (self, line, ¤t); g_bytes_unref (line); if (at == NULL) break; from = at; } if (!self->changing) g_signal_emit (self, signals[CHANGED], 0); } void realm_ini_config_read_string (RealmIniConfig *self, const gchar *data) { GBytes *bytes; g_return_if_fail (REALM_IS_INI_CONFIG (self)); g_return_if_fail (data != NULL); bytes = g_bytes_new (data, strlen (data)); realm_ini_config_read_bytes (self, bytes); g_bytes_unref (bytes); } void realm_ini_config_read_bytes (RealmIniConfig *self, GBytes *bytes) { g_return_if_fail (REALM_IS_INI_CONFIG (self)); g_return_if_fail (bytes != NULL); realm_ini_config_set_filename (self, NULL); parse_config_bytes (self, bytes); } static GString * write_to_string (RealmIniConfig *self) { ConfigLine *line; GString *result; const gchar *data; gsize len; result = g_string_sized_new (4096); for (line = self->head; line != NULL; line = line->next) { /* * Add \n between lines if not already present. This happens * if the file was parsed without a trailing \n, and then * stuff was added to the end. */ if (result->len > 0 && result->str[result->len - 1] != '\n') g_string_append_c (result, '\n'); data = g_bytes_get_data (line->bytes, &len); g_string_append_len (result, data, len); } return result; } gchar * realm_ini_config_write_string (RealmIniConfig *self) { GString *result; g_return_val_if_fail (REALM_IS_INI_CONFIG (self), NULL); result = write_to_string (self); return g_string_free (result, FALSE); } GBytes * realm_ini_config_write_bytes (RealmIniConfig *self) { GString *result; gsize len; g_return_val_if_fail (REALM_IS_INI_CONFIG (self), NULL); result = write_to_string (self); len = result->len; return g_bytes_new_take (g_string_free (result, FALSE), len); } gboolean realm_ini_config_read_file (RealmIniConfig *self, const gchar *filename, GError **error) { GError *err = NULL; GBytes *bytes; gchar *contents; gsize length; g_return_val_if_fail (REALM_IS_INI_CONFIG (self), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); if (filename == NULL) { g_return_val_if_fail (self->filename != NULL, FALSE); filename = self->filename; } g_file_get_contents (filename, &contents, &length, &err); /* Ignore errors of the file not existing */ if (g_error_matches (err, G_FILE_ERROR, G_FILE_ERROR_NOENT)) g_clear_error (&err); if (err != NULL) { g_propagate_error (error, err); return FALSE; } bytes = g_bytes_new_take (contents, length); parse_config_bytes (self, bytes); g_bytes_unref (bytes); realm_ini_config_set_filename (self, filename); return TRUE; } gboolean realm_ini_config_write_file (RealmIniConfig *self, const gchar *filename, GError **error) { GBytes *bytes; gboolean ret = TRUE; const gchar *contents; mode_t mask = 0; gsize length; g_return_val_if_fail (REALM_IS_INI_CONFIG (self), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); if (filename == NULL) { g_return_val_if_fail (self->filename != NULL, FALSE); filename = self->filename; } bytes = realm_ini_config_write_bytes (self); g_return_val_if_fail (bytes != NULL, FALSE); contents = g_bytes_get_data (bytes, &length); /* * If not writing any data, and no file is present, don't * write an empty file. */ if (length > 0 || g_file_test (filename, G_FILE_TEST_EXISTS)) { if (self->flags & REALM_INI_PRIVATE) mask = umask (S_IRWXG | S_IRWXO); ret = g_file_set_contents (filename, contents, length, error); if (self->flags & REALM_INI_PRIVATE) umask (mask); } g_bytes_unref (bytes); if (ret) realm_ini_config_set_filename (self, filename); return ret; } gboolean realm_ini_config_write_fd (RealmIniConfig *self, gint fd, GError **error) { GBytes *bytes; gboolean ret = TRUE; const gchar *contents; gint result; gsize length; gint errn; g_return_val_if_fail (REALM_IS_INI_CONFIG (self), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); bytes = realm_ini_config_write_bytes (self); g_return_val_if_fail (bytes != NULL, FALSE); contents = g_bytes_get_data (bytes, &length); while (length > 0) { result = write (fd, contents, length); if (result < 0) { if (errno != EINTR && errno != EAGAIN) { errn = errno; g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errn), _("Couldn't write out config: %s"), g_strerror (errn)); ret = FALSE; break; } result = 0; } g_return_val_if_fail (result <= length, FALSE); contents += result; length -= result; } g_bytes_unref (bytes); if (ret) realm_ini_config_set_filename (self, NULL); return ret; } static void config_set_value (RealmIniConfig *self, const gchar *section, const gchar *name, const gchar *value) { ConfigSection *sect; ConfigLine *line; gchar *data; g_return_if_fail (strchr (section, ']') == NULL); g_return_if_fail (strchr (section, '[') == NULL); g_return_if_fail (name != NULL); g_return_if_fail (strchr (name, '=') == NULL); g_return_if_fail (strchr (name, '\n') == NULL); g_return_if_fail (value == NULL || strchr (value ? value : NULL, '\n') == NULL); sect = g_hash_table_lookup (self->sections, section); if (sect == NULL) { /* No such section, and removing */ if (value == NULL) return; /* A blank line */ line = g_new0 (ConfigLine, 1); line->bytes = g_bytes_new ("\n", 1); line->name = NULL; append_config_line (self, line); /* The actual section header */ data = g_strdup_printf ("[%s]\n", section); line = g_new0 (ConfigLine, 1); line->bytes = g_bytes_new_take (data, strlen (data)); line->name = g_strdup (section); append_config_line (self, line); /* Register it */ sect = g_new0 (ConfigSection, 1); sect->parameters = g_hash_table_new (conf_str_hash, conf_str_equal); sect->head = sect->tail = line; g_hash_table_replace (self->sections, line->name, sect); } line = g_hash_table_lookup (sect->parameters, name); /* Removing this parameter? */ if (value == NULL) { if (line != NULL) { if (sect->tail == line) sect->tail = line->prev; /* head points to [section] line, not parameter */ g_assert (sect->head != line); remove_config_line (self, line); if (!g_hash_table_remove (sect->parameters, line->name)) g_assert_not_reached (); config_line_free (line); } return; } data = g_strdup_printf ("%s = %s\n", name, value); /* Don't have this line, add to section */ if (line == NULL) { line = g_new0 (ConfigLine, 1); line->bytes = g_bytes_new_take (data, strlen (data)); line->name = g_strdup (name); insert_config_line (self, sect->tail, line); g_hash_table_insert (sect->parameters, line->name, line); /* Already have this line, replace the data */ } else { g_bytes_unref (line->bytes); line->bytes = g_bytes_new_take (data, strlen (data)); } } void realm_ini_config_set (RealmIniConfig *self, const gchar *section, const gchar *name, const gchar *value, ...) { va_list va; g_return_if_fail (REALM_IS_INI_CONFIG (self)); g_return_if_fail (section != NULL); va_start (va, value); while (name != NULL) { config_set_value (self, section, name, value); name = va_arg (va, const gchar *); if (name != NULL) value = va_arg (va, const gchar *); } va_end (va); if (!self->changing) g_signal_emit (self, signals[CHANGED], 0); } gchar * realm_ini_config_get (RealmIniConfig *self, const gchar *section, const gchar *name) { ConfigSection *sect; ConfigLine *line; g_return_val_if_fail (REALM_IS_INI_CONFIG (self), NULL); g_return_val_if_fail (section != NULL, NULL); g_return_val_if_fail (name != NULL, NULL); sect = g_hash_table_lookup (self->sections, section); if (sect == NULL) return NULL; line = g_hash_table_lookup (sect->parameters, name); if (line == NULL) return NULL; return parse_config_line_value (self, line->bytes); } gboolean realm_ini_config_have (RealmIniConfig *self, const gchar *section, const gchar *name) { ConfigSection *sect; ConfigLine *line; g_return_val_if_fail (REALM_IS_INI_CONFIG (self), FALSE); g_return_val_if_fail (section != NULL, FALSE); g_return_val_if_fail (name != NULL, FALSE); sect = g_hash_table_lookup (self->sections, section); if (sect == NULL) return FALSE; line = g_hash_table_lookup (sect->parameters, name); if (line == NULL) return FALSE; return TRUE; } GHashTable * realm_ini_config_get_all (RealmIniConfig *self, const gchar *section) { GHashTableIter iter; ConfigSection *sect; GHashTable *result; const gchar *name; ConfigLine *line; g_return_val_if_fail (REALM_IS_INI_CONFIG (self), NULL); g_return_val_if_fail (section != NULL, NULL); sect = g_hash_table_lookup (self->sections, section); if (sect == NULL) return NULL; result = g_hash_table_new_full (conf_str_hash, conf_str_equal, g_free, g_free); g_hash_table_iter_init (&iter, sect->parameters); while (g_hash_table_iter_next (&iter, (gpointer *)&name, (gpointer *)&line)) g_hash_table_replace (result, g_strdup (name), parse_config_line_value (self, line->bytes)); return result; } void realm_ini_config_set_all (RealmIniConfig *self, const gchar *section, GHashTable *parameters) { GHashTableIter iter; const gchar *name; const gchar *value; g_return_if_fail (REALM_IS_INI_CONFIG (self)); g_return_if_fail (section != NULL); g_return_if_fail (parameters != NULL); g_hash_table_iter_init (&iter, parameters); while (g_hash_table_iter_next (&iter, (gpointer *)&name, (gpointer *)&value)) config_set_value (self, section, name, value); if (!self->changing) g_signal_emit (self, signals[CHANGED], 0); } gchar ** realm_ini_config_get_list (RealmIniConfig *self, const gchar *section, const gchar *name, const gchar *delimiters) { gchar **values; gchar *value; gint i; g_return_val_if_fail (REALM_IS_INI_CONFIG (self), NULL); g_return_val_if_fail (section != NULL, NULL); g_return_val_if_fail (name != NULL, NULL); g_return_val_if_fail (delimiters != NULL, NULL); value = realm_ini_config_get (self, section, name); if (value == NULL) return NULL; values = g_strsplit_set (value, delimiters, -1); for (i = 0; values[i] != NULL; i++) values[i] = g_strstrip (values[i]); g_free (value); return values; } void realm_ini_config_set_list (RealmIniConfig *self, const gchar *section, const gchar *name, const gchar *delimiter, const gchar **values) { gchar *value; g_return_if_fail (REALM_IS_INI_CONFIG (self)); g_return_if_fail (section != NULL); g_return_if_fail (name != NULL); g_return_if_fail (delimiter != NULL); value = g_strjoinv (delimiter, (gchar **)values); realm_ini_config_set (self, section, name, value, NULL); g_free (value); } void realm_ini_config_set_list_diff (RealmIniConfig *self, const gchar *section, const gchar *name, const gchar *delimiter, const gchar **add, const gchar **remove) { GPtrArray *changed; gchar *value; gint i, j; gchar **original; gchar *delim; g_return_if_fail (REALM_IS_INI_CONFIG (self)); g_return_if_fail (section != NULL); g_return_if_fail (name != NULL); original = realm_ini_config_get_list (self, section, name, delimiter); changed = g_ptr_array_new (); /* Filter the remove values */ for (i = 0; original != NULL && original[i] != NULL; i++) { value = g_strstrip (g_strdup (original[i])); for (j = 0; remove != NULL && remove[j] != NULL; j++) { if (g_ascii_strcasecmp (remove[j], value) == 0) break; } if ((remove == NULL || remove[j] == NULL) && !g_str_equal (value, "")) g_ptr_array_add (changed, value); else g_free (value); } /* Add new values */ for (j = 0; add != NULL && add[j] != NULL; j++) { for (i = 0; original != NULL && original[i] != NULL; i++) { if (g_ascii_strcasecmp (add[j], original[i]) == 0) break; } if (original == NULL || original[i] == NULL) g_ptr_array_add (changed, g_strdup (add[j])); } g_ptr_array_add (changed, NULL); g_strfreev (original); delim = g_strdup_printf ("%c ", delimiter[0]); realm_ini_config_set_list (self, section, name, delim, (const gchar **)changed->pdata); g_ptr_array_free (changed, TRUE); g_free (delim); } gchar ** realm_ini_config_get_sections (RealmIniConfig *self) { GHashTableIter iter; gpointer section; gchar **sections; gint i = 0; g_return_val_if_fail (REALM_IS_INI_CONFIG (self), NULL); sections = g_new0 (gchar *, g_hash_table_size (self->sections) + 1); g_hash_table_iter_init (&iter, self->sections); while (g_hash_table_iter_next (&iter, §ion, NULL)) sections[i++] = g_strdup (section); return sections; } gboolean realm_ini_config_get_boolean (RealmIniConfig *config, const gchar *section, const gchar *name, gboolean defahlt) { gboolean ret; gchar *value; g_return_val_if_fail (REALM_IS_INI_CONFIG (config), FALSE); g_return_val_if_fail (section != NULL, FALSE); g_return_val_if_fail (name != NULL, FALSE); value = realm_ini_config_get (config, section, name); if (value == NULL) { ret = defahlt; } else if (g_ascii_strcasecmp (value, "true") == 0) { ret = TRUE; } else if (g_ascii_strcasecmp (value, "false") == 0) { ret = FALSE; } else if (config->flags & REALM_INI_STRICT_BOOLEAN) { g_warning ("Invalid %s boolean value for %s field: %s", value, config->filename ? config->filename : "", name); ret = defahlt; } else if (g_ascii_strcasecmp (value, "1") == 0 || g_ascii_strcasecmp (value, "yes") == 0) { ret = TRUE; } else if (g_ascii_strcasecmp (value, "0") == 0 || g_ascii_strcasecmp (value, "no") == 0) { ret = FALSE; } else { g_warning ("Invalid %s boolean value for %s field: %s", value, config->filename ? config->filename : "", name); ret = defahlt; } g_free (value); return ret; } gboolean realm_ini_config_have_section (RealmIniConfig *self, const gchar *section) { g_return_val_if_fail (REALM_IS_INI_CONFIG (self), FALSE); g_return_val_if_fail (section != NULL, FALSE); return g_hash_table_lookup (self->sections, section) != NULL; } static gboolean is_blank_line (GBytes *bytes) { const gchar *data; gsize length; data = g_bytes_get_data (bytes, &length); return (length == 1 && data[0] == '\n'); } void realm_ini_config_remove_section (RealmIniConfig *self, const gchar *section) { ConfigSection *sect; ConfigLine *head, *tail, *line, *next; g_return_if_fail (REALM_IS_INI_CONFIG (self)); g_return_if_fail (section != NULL); sect = g_hash_table_lookup (self->sections, section); if (sect == NULL) return; g_assert (sect->head != NULL); g_assert (sect->tail != NULL); head = sect->head; tail = sect->tail; /* * If the prior line is a blank line, remove that too. * This matches the behavior of config_set_value() so that * when we add/remove sections we don't get a file full of * empty lines. */ if (head->prev != NULL) { if (is_blank_line (head->prev->bytes)) head = head->prev; } /* Remove this section from the config file */ if (head->prev) head->prev->next = tail->next; if (sect->tail->next) tail->next->prev = head->prev; if (self->head == head) self->head = tail->next; if (self->tail == tail) self->tail = head->prev; head->prev = NULL; tail->next = NULL; g_hash_table_remove (self->sections, section); for (line = head; line != NULL; line = next) { next = line->next; config_line_free (line); } if (!self->changing) g_signal_emit (self, signals[CHANGED], 0); } gboolean realm_ini_config_change (RealmIniConfig *self, const gchar *section, GError **error, ...) { GHashTable *parameters; const gchar *name; const gchar *value; gboolean ret; va_list va; g_return_val_if_fail (section != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); parameters = g_hash_table_new (g_str_hash, g_str_equal); va_start (va, error); while ((name = va_arg (va, const gchar *)) != NULL) { value = va_arg (va, const gchar *); g_hash_table_insert (parameters, (gpointer)name, (gpointer)value); } va_end (va); ret = realm_ini_config_changev (self, section, parameters, error); g_hash_table_unref (parameters); return ret; } gboolean realm_ini_config_changev (RealmIniConfig *self, const gchar *section, GHashTable *parameters, GError **error) { g_return_val_if_fail (REALM_IS_INI_CONFIG (self), FALSE); g_return_val_if_fail (section != NULL, FALSE); g_return_val_if_fail (parameters != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); if (!realm_ini_config_begin_change (self, error)) return FALSE; realm_ini_config_set_all (self, section, parameters); return realm_ini_config_finish_change (self, error); } gboolean realm_ini_config_change_list (RealmIniConfig *self, const gchar *section, const gchar *name, const gchar *delimiters, const gchar **add, const gchar **remove, GError **error) { g_return_val_if_fail (REALM_IS_INI_CONFIG (self), FALSE); g_return_val_if_fail (section != NULL, FALSE); g_return_val_if_fail (name != NULL, FALSE); g_return_val_if_fail (delimiters != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); if (!realm_ini_config_begin_change (self, error)) return FALSE; realm_ini_config_set_list_diff (self, section, name, delimiters, add, remove); return realm_ini_config_finish_change (self, error); } void realm_ini_config_reset (RealmIniConfig *self) { g_return_if_fail (REALM_IS_INI_CONFIG (self)); reset_config_data (self); if (!self->changing) g_signal_emit (self, signals[CHANGED], 0); } void realm_ini_config_reload (RealmIniConfig *self) { GError *error = NULL; g_return_if_fail (self->filename != NULL); self->reload_scheduled = 0; realm_ini_config_read_file (self, NULL, &error); if (error != NULL) { g_warning ("Couldn't reload config file: %s: %s", self->filename, error->message); g_clear_error (&error); } } RealmIniConfig * realm_ini_config_new (RealmIniFlags flags) { return g_object_new (REALM_TYPE_INI_CONFIG, "flags", flags, NULL); } gboolean realm_ini_config_begin_change (RealmIniConfig *self, GError **error) { g_return_val_if_fail (REALM_IS_INI_CONFIG (self), FALSE); g_return_val_if_fail (self->changing == FALSE, FALSE); self->changing = TRUE; if (!realm_ini_config_read_file (self, NULL, error)) { self->changing = FALSE; return FALSE; } return TRUE; } void realm_ini_config_abort_change (RealmIniConfig *self) { if (!self->changing) { g_warning ("A realm_ini_config_begin_change() was not matched " "correctly with realm_ini_config_abort_change()"); return; } self->changing = FALSE; g_signal_emit (self, signals[CHANGED], 0); } gboolean realm_ini_config_finish_change (RealmIniConfig *self, GError **error) { gboolean ret; g_return_val_if_fail (REALM_IS_INI_CONFIG (self), FALSE); if (!self->changing) { g_warning ("A realm_ini_config_begin_change() was not matched " "correctly with realm_ini_config_finish_change()"); return FALSE; } self->changing = FALSE; ret = realm_ini_config_write_file (self, NULL, error); g_signal_emit (self, signals[CHANGED], 0); return ret; } realmd-0.15.0/service/realm-errors.c0000664000175000017500000000350312150405061017240 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-dbus-constants.h" #include "realm-errors.h" #include static const GDBusErrorEntry realm_error_entries[] = { { REALM_ERROR_INTERNAL, REALM_DBUS_ERROR_INTERNAL }, { REALM_ERROR_FAILED, REALM_DBUS_ERROR_FAILED }, { REALM_ERROR_BUSY, REALM_DBUS_ERROR_BUSY }, { REALM_ERROR_ALREADY_CONFIGURED, REALM_DBUS_ERROR_ALREADY_CONFIGURED }, { REALM_ERROR_NOT_CONFIGURED, REALM_DBUS_ERROR_NOT_CONFIGURED }, { REALM_ERROR_AUTH_FAILED, REALM_DBUS_ERROR_AUTH_FAILED }, { REALM_ERROR_BAD_HOSTNAME, REALM_DBUS_ERROR_BAD_HOSTNAME }, { REALM_ERROR_CANCELLED, REALM_DBUS_ERROR_CANCELLED }, }; /* * If there's a compilation error here, then the realm_error_entries * array above is not synced with the RealmErrorCodes enum in realm-errors.h. */ G_STATIC_ASSERT (G_N_ELEMENTS (realm_error_entries) == _NUM_REALM_ERRORS); GQuark realm_error_quark (void) { static volatile gsize quark_volatile = 0; g_dbus_error_register_error_domain ("realmd-error", &quark_volatile, realm_error_entries, G_N_ELEMENTS (realm_error_entries)); return (GQuark)quark_volatile; } GQuark realm_krb5_error_quark (void) { static volatile gsize quark_volatile = 0; if (quark_volatile == 0) quark_volatile = g_quark_from_static_string ("krb5-error"); return (GQuark)quark_volatile; } realmd-0.15.0/service/realm-settings.c0000664000175000017500000001300412212313222017555 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-settings.h" #include static GHashTable *realm_conf = NULL; void realm_settings_add (const gchar *section, const gchar *key, const gchar *value) { GHashTable *sect; sect = g_hash_table_lookup (realm_conf, section); if (sect == NULL) { sect = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); g_hash_table_insert (realm_conf, g_strdup (section), sect); } g_hash_table_insert (sect, g_strdup (key), g_strdup (value)); } gboolean realm_settings_load (const gchar *file_path, GError **error) { GKeyFile *key_file = NULL; GHashTable *section; GError *err = NULL; gchar **groups; gchar **keys; gchar *value; gint i; gint j; key_file = g_key_file_new (); if (!g_key_file_load_from_file (key_file, file_path, G_KEY_FILE_NONE, error)) { g_key_file_free (key_file); return FALSE; } /* Build into a table of strings, simplifies memory handling */ groups = g_key_file_get_groups (key_file, NULL); for (i = 0; groups[i] != NULL; i++) { section = g_hash_table_lookup (realm_conf, groups[i]); if (section == NULL) { section = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); g_hash_table_insert (realm_conf, g_strdup (groups[i]), section); } keys = g_key_file_get_keys (key_file, groups[i], NULL, &err); g_return_val_if_fail (err == NULL, FALSE); for (j = 0; keys[j] != NULL; j++) { value = g_key_file_get_value (key_file, groups[i], keys[j], &err); g_return_val_if_fail (err == NULL, FALSE); g_hash_table_insert (section, g_strdup (keys[j]), value); } g_strfreev (keys); } g_strfreev (groups); g_key_file_free (key_file); return TRUE; } void realm_settings_init (void) { const gchar *default_conf = PRIVATE_DIR "/realmd-defaults.conf"; const gchar *distro_conf = PRIVATE_DIR "/realmd-distro.conf"; const gchar *admin_conf = SYSCONF_DIR "/realmd.conf"; GError *error = NULL; realm_conf = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, (GDestroyNotify)g_hash_table_unref); /* * These are treated like 'linker error' in that we cannot proceed without * this data. The reason it is not compiled into the daemon itself, is * for easier modification by packagers and distros */ realm_settings_load (default_conf, &error); if (error != NULL) { g_error ("couldn't load package configuration file: %s: %s", default_conf, error->message); g_clear_error (&error); } realm_settings_load (distro_conf, &error); if (error != NULL) { g_error ("couldn't load distro configuration file: %s: %s", distro_conf, error->message); g_clear_error (&error); } /* We allow failure of loading or parsing this data, it's only overrides */ realm_settings_load (admin_conf, &error); if (error != NULL) { if (!g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NOENT)) { g_message ("couldn't load admin configuration file: %s: %s", admin_conf, error->message); } admin_conf = NULL; g_clear_error (&error); } g_debug ("Loaded settings from: %s %s %s", default_conf, distro_conf, admin_conf ? admin_conf : ""); } void realm_settings_uninit (void) { g_assert (realm_conf != NULL); g_hash_table_destroy (realm_conf); realm_conf = NULL; } const gchar * realm_settings_path (const gchar *name) { const gchar *path; path = realm_settings_value ("paths", name); if (path == NULL) { g_warning ("no path found for '%s' in realmd config", name); return "/invalid/or/misconfigured"; } return path; } GHashTable * realm_settings_section (const gchar *section) { return g_hash_table_lookup (realm_conf, section); } const gchar * realm_settings_value (const gchar *section, const gchar *key) { GHashTable *settings; settings = realm_settings_section (section); if (settings == NULL) return NULL; return g_hash_table_lookup (settings, key); } const gchar * realm_settings_string (const gchar *section, const gchar *key) { const gchar *string; string = realm_settings_value (section, key); if (string == NULL) { g_warning ("no value found for '%s/%s' in realmd config", section, key); return ""; } return string; } gdouble realm_settings_double (const gchar *section, const gchar *key, gdouble def) { const gchar *string; gchar *end_ptr = NULL; gdouble val; string = realm_settings_value (section, key); if (string == NULL) return def; val = g_ascii_strtod (string, &end_ptr); if (!end_ptr || *end_ptr != '\0') { g_critical ("invalid %s/%s floating point value '%s' in realmd config", section, key, string); return def; } return val; } gboolean realm_settings_boolean (const gchar *section, const gchar *key, gboolean def) { const gchar *string; string = realm_settings_value (section, key); if (string == NULL) return def; return g_ascii_strcasecmp (string, "true") == 0 || g_ascii_strcasecmp (string, "1") == 0 || g_ascii_strcasecmp (string, "yes") == 0; } realmd-0.15.0/service/realm-samba-enroll.h0000664000175000017500000000375512140455744020332 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SAMBA_ENROLL_H__ #define __REALM_SAMBA_ENROLL_H__ #include "realm-credential.h" #include "realm-disco.h" #include #include G_BEGIN_DECLS void realm_samba_enroll_join_async (RealmDisco *disco, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_samba_enroll_join_finish (GAsyncResult *result, GError **error); void realm_samba_enroll_leave_async (RealmDisco *disco, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_samba_enroll_leave_finish (GAsyncResult *result, GError **error); G_END_DECLS #endif /* __REALM_SAMBA_ENROLL_H__ */ realmd-0.15.0/service/realm-credential.h0000664000175000017500000000370212140455744020060 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_CREDENTIAL_H__ #define __REALM_CREDENTIAL_H__ #include #include G_BEGIN_DECLS typedef enum { REALM_CREDENTIAL_OWNER_NONE = 0, REALM_CREDENTIAL_OWNER_ADMIN = 1, REALM_CREDENTIAL_OWNER_USER, REALM_CREDENTIAL_OWNER_COMPUTER } RealmCredentialOwner; typedef enum { REALM_CREDENTIAL_CCACHE = 1, REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_SECRET, REALM_CREDENTIAL_AUTOMATIC } RealmCredentialType; typedef struct { RealmCredentialType type; RealmCredentialOwner owner; /* * Sometimes these structures are allocated statically. The following * fields should not be used in that case, nor should the structure * be passed to the realm_credential_ref() or unref() function. */ int refs; union { struct { gchar *file; } ccache; struct { gchar *name; GBytes *value; } password; struct { GBytes *value; } secret; struct { int unused; } automatic; } x; } RealmCredential; RealmCredential * realm_credential_parse (GVariant *variant, GError **error); RealmCredential * realm_credential_ref (RealmCredential *cred); void realm_credential_unref (RealmCredential *cred); void realm_credential_ccache_delete_and_free (gchar *ccache_file); GVariant * realm_credential_build_supported (const RealmCredential *creds); G_END_DECLS #endif /* __REALM_CREDENTIAL_H__ */ realmd-0.15.0/service/realm-sssd.c0000664000175000017500000004764312263031417016722 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-command.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-diagnostics.h" #include "realm-errors.h" #include "realm-packages.h" #include "realm-provider.h" #include "realm-service.h" #include "realm-sssd.h" #include "realm-sssd-config.h" #include "safe-printf.h" #include #include #include struct _RealmSssdPrivate { gchar *domain; gchar *section; RealmIniConfig *config; gulong config_sig; }; enum { PROP_0, PROP_PROVIDER, }; G_DEFINE_TYPE (RealmSssd, realm_sssd, REALM_TYPE_KERBEROS); static void realm_sssd_init (RealmSssd *self) { self->pv = G_TYPE_INSTANCE_GET_PRIVATE (self, REALM_TYPE_SSSD, RealmSssdPrivate); } static void on_logins_restarted (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); RealmSssd *self = g_task_get_source_object (task); GError *error = NULL; realm_service_restart_finish (result, &error); if (error != NULL) { g_task_return_error (task, error); } else { realm_sssd_update_properties (self); g_task_return_boolean (task, TRUE); } g_object_unref (task); } gboolean realm_sssd_set_login_policy (RealmIniConfig *config, const gchar *section, const gchar *access_provider, const gchar **add_names, const gchar **remove_names, gboolean names_are_groups, GError **error) { const gchar *field = names_are_groups ? "simple_allow_groups" : "simple_allow_users"; gchar *allow = NULL; if (!realm_ini_config_begin_change (config, error)) return FALSE; if (access_provider) realm_ini_config_set (config, section, "access_provider", access_provider, NULL); if (!access_provider || g_str_equal (access_provider, "simple")) { realm_ini_config_set_list_diff (config, section, field, ",", add_names, remove_names); /* * HACK: Work around for sssd problem where it allows users if * simple_allow_users is empty. Set it to a dollar in this case. */ allow = realm_ini_config_get (config, section, field); if (allow != NULL) { g_strstrip (allow); if (g_str_equal (allow, "") || g_str_equal (allow, "$") || g_str_equal (allow, ",")) { g_free (allow); allow = NULL; } } if (allow == NULL) realm_ini_config_set (config, section, field, "$", NULL); } else { realm_ini_config_set (config, section, "simple_allow_users", NULL, NULL); realm_ini_config_set (config, section, "simple_allow_groups", NULL, NULL); } g_free (allow); return realm_ini_config_finish_change (config, error); } static gboolean sssd_config_check_login_list (const gchar **logins, GError **error) { #define INVALID_CHARS ",$" gint i; for (i = 0; logins != NULL && logins[i] != NULL; i++) { if (strcspn (logins[i], INVALID_CHARS) != strlen (logins[i])) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, _("Invalid login argument '%s' contains unsupported characters."), logins[i]); return FALSE; } } return TRUE; } static void realm_sssd_logins_async (RealmKerberos *realm, GDBusMethodInvocation *invocation, RealmKerberosLoginPolicy login_policy, const gchar **add, const gchar **remove, GVariant *options, GAsyncReadyCallback callback, gpointer user_data) { RealmSssdClass *sssd_class = REALM_SSSD_GET_CLASS (realm); RealmSssd *self = REALM_SSSD (realm); gboolean names_are_groups = FALSE; GTask *task; gchar **remove_names = NULL; gchar **add_names = NULL; GError *error = NULL; const gchar *access_provider; task = g_task_new (realm, NULL, callback, user_data); if (!self->pv->section) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_NOT_CONFIGURED, "Not joined to this domain"); g_object_unref (task); return; } switch (login_policy) { case REALM_KERBEROS_POLICY_NOT_SET: access_provider = NULL; break; case REALM_KERBEROS_ALLOW_ANY_LOGIN: access_provider = "permit"; break; case REALM_KERBEROS_ALLOW_REALM_LOGINS: access_provider = sssd_class->sssd_conf_provider_name; break; case REALM_KERBEROS_ALLOW_PERMITTED_LOGINS: access_provider = "simple"; break; case REALM_KERBEROS_DENY_ANY_LOGIN: access_provider = "deny"; break; default: g_return_if_reached (); } if (!g_variant_lookup (options, "groups", "b", &names_are_groups)) names_are_groups = FALSE; if (!names_are_groups) { add_names = realm_kerberos_parse_logins (realm, TRUE, add, &error); if (add_names != NULL) remove_names = realm_kerberos_parse_logins (realm, TRUE, remove, &error); add = (const gchar **)add_names; remove = (const gchar **)remove_names; } if (error == NULL) sssd_config_check_login_list (add, &error); if (error == NULL) sssd_config_check_login_list (remove, &error); if (error == NULL) { realm_sssd_set_login_policy (self->pv->config, self->pv->section, access_provider, add, remove, names_are_groups, &error); } if (error == NULL) { realm_service_restart ("sssd", invocation, on_logins_restarted, g_object_ref (task)); } else { g_task_return_error (task, error); } g_strfreev (remove_names); g_strfreev (add_names); g_object_unref (task); } static gboolean realm_sssd_generic_finish (RealmKerberos *realm, GAsyncResult *result, GError **error) { return g_task_propagate_boolean (G_TASK (result), error); } static void update_configured (RealmSssd *self) { gboolean manages_system; gchar *value; realm_kerberos_set_configured (REALM_KERBEROS (self), self->pv->section ? TRUE : FALSE); manages_system = FALSE; if (self->pv->section) { value = realm_ini_config_get (self->pv->config, self->pv->section, "realmd_tags"); if (value && strstr (value, "manages-system")) manages_system = TRUE; g_free (value); } realm_kerberos_set_manages_system (REALM_KERBEROS (self), manages_system); } static gchar * calc_realm_name (RealmSssd *self) { RealmKerberos *kerberos = REALM_KERBEROS (self); const char *name; RealmDisco *disco; gchar *realm = NULL; if (self->pv->section == NULL) { disco = realm_kerberos_get_disco (kerberos); if (disco != NULL) realm = g_strdup (disco->kerberos_realm); } else { realm = realm_ini_config_get (self->pv->config, self->pv->section, "krb5_realm"); } if (realm == NULL) { name = realm_kerberos_get_name (kerberos); realm = name ? g_ascii_strup (name, -1) : NULL; } return realm; } static void update_realm_name (RealmSssd *self) { gchar *realm = calc_realm_name (self); realm_kerberos_set_realm_name (REALM_KERBEROS (self), realm); g_free (realm); } static gchar * calc_domain (RealmSssd *self) { RealmKerberos *kerberos = REALM_KERBEROS (self); const char *name; RealmDisco *disco; gchar *domain = NULL; if (self->pv->section == NULL) { disco = realm_kerberos_get_disco (kerberos); if (disco != NULL) domain = g_strdup (disco->domain_name); } else { domain = realm_ini_config_get (self->pv->config, self->pv->section, "dns_discovery_domain"); } if (domain == NULL) { name = realm_kerberos_get_name (kerberos); domain = name ? g_ascii_strdown (name, -1) : NULL; } return domain; } static void update_domain (RealmSssd *self) { gchar *domain = calc_domain (self); realm_kerberos_set_domain_name (REALM_KERBEROS (self), domain); g_free (domain); } static void update_login_formats (RealmSssd *self) { RealmKerberos *kerberos = REALM_KERBEROS (self); gchar *login_formats[2] = { NULL, NULL }; gchar *format = NULL; gchar *domain_name; gboolean qualify; if (self->pv->section == NULL) { realm_kerberos_set_login_formats (kerberos, (const gchar **)login_formats); return; } qualify = realm_ini_config_get_boolean (self->pv->config, self->pv->section, "use_fully_qualified_names", FALSE); if (!qualify) { login_formats[0] = "%U"; realm_kerberos_set_login_formats (kerberos, (const gchar **)login_formats); return; } /* Setup the login formats */ format = realm_ini_config_get (self->pv->config, self->pv->section, "full_name_format"); /* The full domain name */ domain_name = calc_domain (self); /* * In theory we should be discovering the short name or flat name as sssd * calls it. We configured it as the sssd.conf 'domains' name, so we just * use that. Eventually we want to have a way to query sssd for that. */ /* * Here we place a '%U' in the place of the user in the format, and * fill in the domain appropriately. sssd uses snprintf for this, which * is risky and very compex to do right with positional arguments. * * We only replace the arguments documented in sssd.conf, as well as * other non-field printf replacements. */ if (safe_asprintf (login_formats, format, "%U", domain_name ? domain_name : "", self->pv->domain, NULL) >= 0) realm_kerberos_set_login_formats (kerberos, (const gchar **)login_formats); g_free (login_formats[0]); g_free (domain_name); g_free (format); } #pragma GCC diagnostic pop static void update_login_policy (RealmSssd *self) { RealmSssdClass *sssd_class = REALM_SSSD_GET_CLASS (self); RealmKerberosLoginPolicy policy = REALM_KERBEROS_POLICY_NOT_SET; RealmKerberos *kerberos = REALM_KERBEROS (self); GPtrArray *permitted_logins; GPtrArray *permitted_groups; gchar *access = NULL; gchar **values; gint i; permitted_logins = g_ptr_array_new_full (0, g_free); permitted_groups = g_ptr_array_new_full (0, g_free); if (self->pv->section != NULL) access = realm_ini_config_get (self->pv->config, self->pv->section, "access_provider"); if (g_strcmp0 (access, "simple") == 0) { values = realm_ini_config_get_list (self->pv->config, self->pv->section, "simple_allow_users", ","); for (i = 0; values != NULL && values[i] != NULL; i++) { if (!g_str_equal (values[i], "") && !g_str_equal (values[i], "$")) g_ptr_array_add (permitted_logins, realm_kerberos_format_login (kerberos, values[i])); } g_strfreev (values); values = realm_ini_config_get_list (self->pv->config, self->pv->section, "simple_allow_groups", ","); for (i = 0; values != NULL && values[i] != NULL; i++) { if (!g_str_equal (values[i], "") && !g_str_equal (values[i], "$")) g_ptr_array_add (permitted_groups, g_strdup (values[i])); } g_strfreev (values); policy = REALM_KERBEROS_ALLOW_PERMITTED_LOGINS; } else if (g_strcmp0 (access, sssd_class->sssd_conf_provider_name) == 0) { policy = REALM_KERBEROS_ALLOW_REALM_LOGINS; } else if (g_strcmp0 (access, "permit") == 0) { policy = REALM_KERBEROS_ALLOW_ANY_LOGIN; } else if (g_strcmp0 (access, "deny") == 0) { policy = REALM_KERBEROS_DENY_ANY_LOGIN; } else { policy = REALM_KERBEROS_POLICY_NOT_SET; } g_ptr_array_add (permitted_logins, NULL); g_ptr_array_add (permitted_groups, NULL); realm_kerberos_set_login_policy (kerberos, policy); realm_kerberos_set_permitted_logins (kerberos, (const gchar **)permitted_logins->pdata); realm_kerberos_set_permitted_groups (kerberos, (const gchar **)permitted_groups->pdata); g_ptr_array_free (permitted_logins, TRUE); g_ptr_array_free (permitted_groups, TRUE); g_free (access); } void realm_sssd_update_properties (RealmSssd *self) { GObject *obj = G_OBJECT (self); const gchar *my_name; gchar *name = NULL; gchar *section = NULL; gchar **domains; gint i; g_object_freeze_notify (obj); g_free (self->pv->section); self->pv->section = NULL; g_free (self->pv->domain); self->pv->domain = NULL; /* Find the config domain with our realm */ domains = realm_sssd_config_get_domains (self->pv->config); my_name = realm_kerberos_get_name (REALM_KERBEROS (self)); for (i = 0; self->pv->section == NULL && domains && domains[i]; i++) { if (realm_sssd_config_load_domain (self->pv->config, domains[i], §ion, NULL, &name)) { if (my_name && name && g_ascii_strcasecmp (my_name, name) == 0) { self->pv->domain = g_strdup (domains[i]); self->pv->section = section; section = NULL; } g_free (section); g_free (name); } } g_strfreev (domains); /* Update all the other properties */ update_configured (self); update_realm_name (self); update_domain (self); update_login_formats (self); update_login_policy (self); g_object_thaw_notify (obj); } static void on_config_changed (RealmIniConfig *config, gpointer user_data) { realm_sssd_update_properties (REALM_SSSD (user_data)); } static void realm_sssd_set_property (GObject *obj, guint prop_id, const GValue *value, GParamSpec *pspec) { RealmSssd *self = REALM_SSSD (obj); RealmProvider *provider; switch (prop_id) { case PROP_PROVIDER: provider = g_value_get_object (value); g_object_get (provider, "sssd-config", &self->pv->config, NULL); self->pv->config_sig = g_signal_connect (self->pv->config, "changed", G_CALLBACK (on_config_changed), self); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec); break; } } static void realm_sssd_notify (GObject *obj, GParamSpec *spec) { if (g_str_equal (spec->name, "name")) realm_sssd_update_properties (REALM_SSSD (obj)); if (G_OBJECT_CLASS (realm_sssd_parent_class)->notify) G_OBJECT_CLASS (realm_sssd_parent_class)->notify (obj, spec); } static void realm_sssd_finalize (GObject *obj) { RealmSssd *self = REALM_SSSD (obj); g_free (self->pv->section); if (self->pv->config) g_object_unref (self->pv->config); G_OBJECT_CLASS (realm_sssd_parent_class)->finalize (obj); } void realm_sssd_class_init (RealmSssdClass *klass) { RealmKerberosClass *kerberos_class = REALM_KERBEROS_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass); kerberos_class->logins_async = realm_sssd_logins_async; kerberos_class->logins_finish = realm_sssd_generic_finish; object_class->set_property = realm_sssd_set_property; object_class->notify = realm_sssd_notify; object_class->finalize = realm_sssd_finalize; g_object_class_override_property (object_class, PROP_PROVIDER, "provider"); g_type_class_add_private (klass, sizeof (RealmSssdPrivate)); } RealmIniConfig * realm_sssd_get_config (RealmSssd *self) { g_return_val_if_fail (REALM_IS_SSSD (self), NULL); return self->pv->config; } const gchar * realm_sssd_get_config_section (RealmSssd *self) { g_return_val_if_fail (REALM_IS_SSSD (self), NULL); return self->pv->section; } const gchar * realm_sssd_get_config_domain (RealmSssd *self) { g_return_val_if_fail (REALM_IS_SSSD (self), NULL); return self->pv->domain; } gchar * realm_sssd_build_default_home (const gchar *value) { gchar *home; char *pos; /* Change from our format to the sssd format place-holders */ home = g_strdup (value); pos = strstr (home, "%U"); if (pos) pos[1] = 'u'; pos = strstr (home, "%D"); if (pos) pos[1] = 'd'; return home; } typedef struct { GTask *task; GDBusMethodInvocation *invocation; RealmIniConfig *config; gchar *domain; } DeconfClosure; static void deconfigure_closure_free (gpointer data) { DeconfClosure *deconf = data; g_object_unref (deconf->task); g_object_unref (deconf->invocation); g_object_unref (deconf->config); g_free (deconf->domain); g_free (deconf); } static void on_service_disable_done (GObject *source, GAsyncResult *result, gpointer user_data) { DeconfClosure *deconf = user_data; GError *error = NULL; realm_service_disable_and_stop_finish (result, &error); if (error != NULL) { realm_diagnostics_error (deconf->invocation, error, NULL); g_error_free (error); } g_task_return_boolean (deconf->task, TRUE); deconfigure_closure_free (deconf); } static void on_service_restart_done (GObject *source, GAsyncResult *result, gpointer user_data) { DeconfClosure *deconf = user_data; GError *error = NULL; realm_service_restart_finish (result, &error); if (error != NULL) { realm_diagnostics_error (deconf->invocation, error, NULL); g_error_free (error); } g_task_return_boolean (deconf->task, TRUE); deconfigure_closure_free (deconf); } static void on_disable_nss_service (GObject *source, GAsyncResult *result, gpointer user_data) { DeconfClosure *deconf = user_data; GError *error = NULL; gint status; status = realm_command_run_finish (result, NULL, &error); if (error == NULL && status != 0) { realm_diagnostics_error (deconf->invocation, error, "Disabling sssd in PAM failed."); g_clear_error (&error); } realm_service_disable_and_stop ("sssd", deconf->invocation, on_service_disable_done, deconf); } static void on_sssd_clear_cache (GObject *source, GAsyncResult *result, gpointer user_data) { DeconfClosure *deconf = user_data; GError *error = NULL; gchar **domains; gint status; status = realm_command_run_finish (result, NULL, &error); if (status != 0) { realm_diagnostics_error (deconf->invocation, error, "Flushing the sssd cache failed"); g_clear_error (&error); } /* Deconfigure sssd.conf, may have already been done, if so NULL */ if (deconf->domain) { realm_diagnostics_info (deconf->invocation, "Removing domain configuration from sssd.conf"); if (!realm_sssd_config_remove_domain (deconf->config, deconf->domain, &error)) { g_task_return_error (deconf->task, error); deconfigure_closure_free (deconf); return; } } /* If no domains, then disable sssd */ domains = realm_sssd_config_get_domains (deconf->config); if (domains == NULL || g_strv_length (domains) == 0) { realm_command_run_known_async ("sssd-disable-logins", NULL, deconf->invocation, on_disable_nss_service, deconf); /* If any domains left, then restart sssd */ } else { realm_service_restart ("sssd", deconf->invocation, on_service_restart_done, deconf); } g_strfreev (domains); } void realm_sssd_deconfigure_domain_tail (RealmSssd *self, GTask *task, GDBusMethodInvocation *invocation) { DeconfClosure *deconf; GError *error = NULL; const gchar *realm_name; realm_name = realm_kerberos_get_realm_name (REALM_KERBEROS (self)); /* Flush the keytab of all the entries for this realm */ realm_diagnostics_info (invocation, "Removing entries from keytab for realm"); if (!realm_kerberos_flush_keytab (realm_name, &error)) { g_task_return_error (task, error); return; } deconf = g_new0 (DeconfClosure, 1); deconf->task = g_object_ref (task); deconf->invocation = g_object_ref (invocation); deconf->config = g_object_ref (self->pv->config); deconf->domain = g_strdup (self->pv->domain); /* * TODO: We would really like to do this after removing the domain, to prevent races * but we can't because otherwise sss_cache doesn't clear that domain :S */ realm_command_run_known_async ("sssd-caches-flush", NULL, deconf->invocation, on_sssd_clear_cache, deconf); } realmd-0.15.0/service/realm-disco-rootdse.h0000664000175000017500000000222012147351723020515 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #ifndef __REALM_DISCO_ROOTDSE_H__ #define __REALM_DISCO_ROOTDSE_H__ #include #include "realm-disco.h" void realm_disco_rootdse_async (GSocketAddress *address, const gchar *explicit_server, GDBusMethodInvocation *invocation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); RealmDisco * realm_disco_rootdse_finish (GAsyncResult *result, GError **error); #endif /* __REALM_DISCO_ROOTDSE_H__ */ realmd-0.15.0/service/realm-invocation.h0000664000175000017500000000253112140455744020116 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_INVOCATION_H__ #define __REALM_INVOCATION_H__ #include G_BEGIN_DECLS void realm_invocation_initialize (GDBusConnection *connection); void realm_invocation_cleanup (void); gboolean realm_invocation_authorize (GDBusMethodInvocation *invocation); GCancellable * realm_invocation_get_cancellable (GDBusMethodInvocation *invocation); const gchar * realm_invocation_get_operation (GDBusMethodInvocation *invocation); const gchar * realm_invocation_get_key (GDBusMethodInvocation *invocation); gboolean realm_invocation_lock_daemon (GDBusMethodInvocation *invocation); void realm_invocation_unlock_daemon (GDBusMethodInvocation *invocation); G_END_DECLS #endif /* __REALM_INVOCATION_H__ */ realmd-0.15.0/service/realm-sssd-provider.c0000664000175000017500000001670412263031055020542 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-command.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-diagnostics.h" #include "realm-disco-domain.h" #include "realm-errors.h" #include "realm-kerberos.h" #include "realm-packages.h" #include "realm-sssd-ad.h" #include "realm-sssd-ipa.h" #include "realm-sssd-provider.h" #include "realm-sssd-config.h" #include #include struct _RealmSssdProvider { RealmProvider parent; RealmIniConfig *config; }; typedef struct { RealmProviderClass parent_class; } RealmSssdProviderClass; enum { PROP_0, PROP_SSSD_CONFIG, }; #define REALM_DBUS_SSSD_PATH "/org/freedesktop/realmd/Sssd" G_DEFINE_TYPE (RealmSssdProvider, realm_sssd_provider, REALM_TYPE_PROVIDER); static void realm_sssd_provider_init (RealmSssdProvider *self) { self->config = realm_sssd_config_new (NULL); } static void realm_sssd_provider_constructed (GObject *obj) { RealmSssdProvider *self; GType realm_type; gchar **domains; gchar *type; gchar *name; gint i; G_OBJECT_CLASS (realm_sssd_provider_parent_class)->constructed (obj); self = REALM_SSSD_PROVIDER (obj); realm_provider_set_name (REALM_PROVIDER (self), "Sssd"); domains = realm_sssd_config_get_domains (self->config); for (i = 0; domains && domains[i] != 0; i++) { if (realm_sssd_config_load_domain (self->config, domains[i], NULL, &type, &name)) { if (g_strcmp0 (type, "ad") == 0) realm_type = REALM_TYPE_SSSD_AD; else if (g_strcmp0 (type, "ipa") == 0) realm_type = REALM_TYPE_SSSD_IPA; else realm_type = 0; if (realm_type) realm_provider_lookup_or_register_realm (REALM_PROVIDER (self), realm_type, name, NULL); g_free (name); g_free (type); } } g_strfreev (domains); } static void on_kerberos_discover (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); RealmDisco *disco; GError *error = NULL; disco = realm_disco_domain_finish (result, &error); if (error) g_task_return_error (task, error); else g_task_return_pointer (task, disco, realm_disco_unref); g_object_unref (task); } static void realm_sssd_provider_discover_async (RealmProvider *provider, const gchar *string, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; task = g_task_new (provider, NULL, callback, user_data); g_task_set_task_data (task, g_variant_ref (options), (GDestroyNotify)g_variant_unref); if (!realm_provider_match_software (options, REALM_DBUS_IDENTIFIER_ACTIVE_DIRECTORY, REALM_DBUS_IDENTIFIER_SSSD, REALM_DBUS_IDENTIFIER_SAMBA) && !realm_provider_match_software (options, REALM_DBUS_IDENTIFIER_ACTIVE_DIRECTORY, REALM_DBUS_IDENTIFIER_SSSD, REALM_DBUS_IDENTIFIER_ADCLI) && !realm_provider_match_software (options, REALM_DBUS_IDENTIFIER_FREEIPA, REALM_DBUS_IDENTIFIER_SSSD, REALM_DBUS_IDENTIFIER_FREEIPA) && !realm_provider_match_software (options, REALM_DBUS_IDENTIFIER_IPA, REALM_DBUS_IDENTIFIER_SSSD, REALM_DBUS_IDENTIFIER_IPA)) { g_task_return_pointer (task, NULL, NULL); } else { realm_disco_domain_async (string, invocation, on_kerberos_discover, g_object_ref (task)); } g_object_unref (task); } static GList * realm_sssd_provider_discover_finish (RealmProvider *provider, GAsyncResult *result, gint *relevance, GError **error) { RealmKerberos *realm = NULL; RealmDisco *disco; GVariant *options; gint priority; disco = g_task_propagate_pointer (G_TASK (result), error); if (disco == NULL) return NULL; options = g_task_get_task_data (G_TASK (result)); if (disco->server_software == NULL || !realm_provider_match_software (options, disco->server_software, REALM_DBUS_IDENTIFIER_SSSD, NULL)) { realm = NULL; } else if (g_str_equal (disco->server_software, REALM_DBUS_IDENTIFIER_ACTIVE_DIRECTORY)) { realm = realm_provider_lookup_or_register_realm (provider, REALM_TYPE_SSSD_AD, disco->domain_name, disco); priority = realm_provider_is_default (REALM_DBUS_IDENTIFIER_ACTIVE_DIRECTORY, REALM_DBUS_IDENTIFIER_SSSD) ? 100 : 50; } else if (g_str_equal (disco->server_software, REALM_DBUS_IDENTIFIER_IPA)) { realm = realm_provider_lookup_or_register_realm (provider, REALM_TYPE_SSSD_IPA, disco->domain_name, disco); priority = 100; } realm_disco_unref (disco); if (realm == NULL) return NULL; /* Return a higher priority if we're the default */ *relevance = priority; return g_list_append (NULL, g_object_ref (realm)); } static void realm_sssd_provider_get_property (GObject *obj, guint prop_id, GValue *value, GParamSpec *pspec) { RealmSssdProvider *self = REALM_SSSD_PROVIDER (obj); switch (prop_id) { case PROP_SSSD_CONFIG: g_value_set_object (value, self->config); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec); break; } } static void realm_sssd_provider_finalize (GObject *obj) { RealmSssdProvider *self = REALM_SSSD_PROVIDER (obj); g_object_unref (self->config); G_OBJECT_CLASS (realm_sssd_provider_parent_class)->finalize (obj); } void realm_sssd_provider_class_init (RealmSssdProviderClass *klass) { RealmProviderClass *provider_class = REALM_PROVIDER_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass); provider_class->discover_async = realm_sssd_provider_discover_async; provider_class->discover_finish = realm_sssd_provider_discover_finish; object_class->constructed = realm_sssd_provider_constructed; object_class->get_property = realm_sssd_provider_get_property; object_class->finalize = realm_sssd_provider_finalize; g_object_class_install_property (object_class, PROP_SSSD_CONFIG, g_param_spec_object ("sssd-config", "Sssd Config", "Sssd Config", REALM_TYPE_INI_CONFIG, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); } RealmProvider * realm_sssd_provider_new (void) { return g_object_new (REALM_TYPE_SSSD_PROVIDER, "g-object-path", REALM_DBUS_SSSD_PATH, NULL); } realmd-0.15.0/service/realm-kerberos-membership.h0000664000175000017500000000545012140455744021715 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_KERBEROS_MEMBERSHIP_H__ #define __REALM_KERBEROS_MEMBERSHIP_H__ #include #include #include "realm-credential.h" #include "realm-dbus-generated.h" G_BEGIN_DECLS #define REALM_TYPE_KERBEROS_MEMBERSHIP (realm_kerberos_membership_get_type ()) #define REALM_KERBEROS_MEMBERSHIP(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_KERBEROS_MEMBERSHIP, RealmKerberosMembership)) #define REALM_IS_KERBEROS_MEMBERSHIP(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_KERBEROS_MEMBERSHIP)) #define REALM_KERBEROS_MEMBERSHIP_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), REALM_TYPE_KERBEROS_MEMBERSHIP, RealmKerberosMembershipIface)) typedef struct _RealmKerberosMembership RealmKerberosMembership; typedef struct _RealmKerberosMembershipIface RealmKerberosMembershipIface; struct _RealmKerberosMembershipIface { GTypeInterface parent_iface; void (* join_async) (RealmKerberosMembership *realm, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean (* join_finish) (RealmKerberosMembership *realm, GAsyncResult *result, GError **error); const RealmCredential *join_creds_supported; void (* leave_async) (RealmKerberosMembership *realm, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean (* leave_finish) (RealmKerberosMembership *realm, GAsyncResult *result, GError **error); const RealmCredential *leave_creds_supported; }; GType realm_kerberos_membership_get_type (void) G_GNUC_CONST; G_END_DECLS #endif /* __REALM_KERBEROS_MEMBERSHIP_H__ */ realmd-0.15.0/service/realm-samba-provider.h0000664000175000017500000000225112041772674020663 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SAMBA_PROVIDER_H__ #define __REALM_SAMBA_PROVIDER_H__ #include #include "realm-provider.h" G_BEGIN_DECLS #define REALM_TYPE_SAMBA_PROVIDER (realm_samba_provider_get_type ()) #define REALM_SAMBA_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_SAMBA_PROVIDER, RealmSambaProvider)) #define REALM_IS_SAMBA_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_SAMBA_PROVIDER)) typedef struct _RealmSambaProvider RealmSambaProvider; GType realm_samba_provider_get_type (void) G_GNUC_CONST; RealmProvider * realm_samba_provider_new (void); G_END_DECLS #endif /* __REALM_SAMBA_PROVIDER_H__ */ realmd-0.15.0/service/realm-disco-domain.h0000664000175000017500000000203312140455744020310 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_DISCO_DOMAIN_H__ #define __REALM_DICSO_DOMAIN_H__ #include "realm-disco.h" #include G_BEGIN_DECLS void realm_disco_domain_async (const gchar *string, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); RealmDisco * realm_disco_domain_finish (GAsyncResult *result, GError **error); G_END_DECLS #endif /* __REALM_DISCO_DOMAIN_H__ */ realmd-0.15.0/service/realm-samba-config.h0000664000175000017500000000237412140455744020300 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SAMBA_CONFIG_H__ #define __REALM_SAMBA_CONFIG_H__ #include #include "realm-ini-config.h" #define REALM_SAMBA_CONFIG_GLOBAL "global" RealmIniConfig * realm_samba_config_new (GError **error); RealmIniConfig * realm_samba_config_new_with_flags (RealmIniFlags flags, GError **error); gboolean realm_samba_config_get_boolean (RealmIniConfig *config, const gchar *section, const gchar *key, gboolean defalt); G_END_DECLS #endif /* __REALM_SAMBA_CONFIG_H__ */ realmd-0.15.0/service/realm-all-provider.h0000664000175000017500000000253612041772673020355 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) all later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_ALL_PROVIDER_H__ #define __REALM_ALL_PROVIDER_H__ #include #include "realm-provider.h" G_BEGIN_DECLS #define REALM_TYPE_ALL_PROVIDER (realm_all_provider_get_type ()) #define REALM_ALL_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_ALL_PROVIDER, RealmAllProvider)) #define REALM_IS_ALL_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_ALL_PROVIDER)) typedef struct _RealmAllProvider RealmAllProvider; GType realm_all_provider_get_type (void) G_GNUC_CONST; RealmProvider * realm_all_provider_new_and_export (GDBusConnection *connection); void realm_all_provider_register (RealmProvider *all_provider, RealmProvider *provider); G_END_DECLS #endif /* __REALM_ALL_PROVIDER_H__ */ realmd-0.15.0/service/Makefile.in0000664000175000017500000033553012263030367016547 0ustar00stefstef00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(top_srcdir)/Makefile.decl $(srcdir)/Makefile.in \ $(srcdir)/Makefile.am $(top_srcdir)/depcomp private_PROGRAMS = realmd$(EXEEXT) subdir = service ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/build/m4/intltool.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(privatedir)" \ "$(DESTDIR)$(polkit_policydir)" "$(DESTDIR)$(privatedir)" PROGRAMS = $(private_PROGRAMS) am__objects_1 = am_realmd_OBJECTS = realmd-realm-adcli-enroll.$(OBJEXT) \ realmd-realm-all-provider.$(OBJEXT) \ realmd-realm-command.$(OBJEXT) \ realmd-realm-credential.$(OBJEXT) \ realmd-realm-daemon.$(OBJEXT) \ realmd-realm-diagnostics.$(OBJEXT) \ realmd-realm-disco.$(OBJEXT) realmd-realm-disco-dns.$(OBJEXT) \ realmd-realm-disco-domain.$(OBJEXT) \ realmd-realm-disco-mscldap.$(OBJEXT) \ realmd-realm-disco-rootdse.$(OBJEXT) \ realmd-realm-errors.$(OBJEXT) realmd-realm-example.$(OBJEXT) \ realmd-realm-example-provider.$(OBJEXT) \ realmd-realm-ini-config.$(OBJEXT) \ realmd-realm-invocation.$(OBJEXT) \ realmd-realm-kerberos.$(OBJEXT) \ realmd-realm-kerberos-membership.$(OBJEXT) \ realmd-realm-kerberos-provider.$(OBJEXT) \ realmd-realm-ldap.$(OBJEXT) realmd-realm-login-name.$(OBJEXT) \ realmd-realm-network.$(OBJEXT) realmd-realm-options.$(OBJEXT) \ realmd-realm-packages.$(OBJEXT) \ realmd-realm-provider.$(OBJEXT) realmd-realm-samba.$(OBJEXT) \ realmd-realm-samba-config.$(OBJEXT) \ realmd-realm-samba-enroll.$(OBJEXT) \ realmd-realm-samba-provider.$(OBJEXT) \ realmd-realm-samba-util.$(OBJEXT) \ realmd-realm-samba-winbind.$(OBJEXT) \ realmd-realm-service.$(OBJEXT) realmd-realm-settings.$(OBJEXT) \ realmd-realm-sssd.$(OBJEXT) realmd-realm-sssd-ad.$(OBJEXT) \ realmd-realm-sssd-provider.$(OBJEXT) \ realmd-realm-sssd-config.$(OBJEXT) \ realmd-realm-sssd-ipa.$(OBJEXT) \ realmd-realm-usleep-async.$(OBJEXT) \ realmd-safe-printf.$(OBJEXT) $(am__objects_1) realmd_OBJECTS = $(am_realmd_OBJECTS) am__DEPENDENCIES_1 = realmd_DEPENDENCIES = $(top_builddir)/dbus/librealm-dbus.a \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) realmd_LINK = $(CCLD) $(realmd_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(realmd_SOURCES) DIST_SOURCES = $(realmd_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } DATA = $(polkit_policy_DATA) $(private_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_POLICY_DIR = @DBUS_POLICY_DIR@ DBUS_SERVICES_DIR = @DBUS_SERVICES_DIR@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTRO = @DISTRO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCOV = @GCOV@ GENHTML = @GENHTML@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ KRB5_CFLAGS = @KRB5_CFLAGS@ KRB5_CONFIG = @KRB5_CONFIG@ KRB5_LIBS = @KRB5_LIBS@ LCOV = @LCOV@ LDAP_CFLAGS = @LDAP_CFLAGS@ LDAP_LIBS = @LDAP_LIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGEKIT_CFLAGS = @PACKAGEKIT_CFLAGS@ PACKAGEKIT_LIBS = @PACKAGEKIT_LIBS@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POLKIT_ACTION_DIR = @POLKIT_ACTION_DIR@ POLKIT_CFLAGS = @POLKIT_CFLAGS@ POLKIT_LIBS = @POLKIT_LIBS@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ SYSTEMD_JOURNAL_CFLAGS = @SYSTEMD_JOURNAL_CFLAGS@ SYSTEMD_JOURNAL_LIBS = @SYSTEMD_JOURNAL_LIBS@ SYSTEMD_UNIT_DIR = @SYSTEMD_UNIT_DIR@ TEST_MODE = @TEST_MODE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XMLTO = @XMLTO@ XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ cachedir = @cachedir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ privatedir = @privatedir@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ NULL = TEST_SUPPRESSIONS = $(top_builddir)/build/valgrind-suppressions V_SED = $(V_SED_$(V)) V_SED_ = $(V_SED_$(AM_DEFAULT_VERBOSITY)) V_SED_0 = @echo " SED " $@; SED_SUBST = sed \ -e 's,[@]datadir[@],$(datadir),g' \ -e 's,[@]libexecdir[@],$(libexecdir),g' \ -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]includedir[@],$(includedir),g' \ -e 's,[@]datarootdir[@],$(datarootdir),g' \ -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ -e 's,[@]bindir[@],$(bindir),g' \ -e 's,[@]exec_prefix[@],$(exec_prefix),g' \ -e 's,[@]prefix[@],$(prefix),g' \ -e 's,[@]abs_srcdir[@],$(abs_srcdir),g' \ -e 's,[@]srcdir[@],$(srcdir),g' \ -e 's,[@]privatedir[@],$(privatedir),g' \ -e 's,[@]PACKAGE[@],$(PACKAGE),g' \ -e 's,[@]VERSION[@],$(VERSION),g' \ $(NULL) SUFFIXES = .conf .conf.in .desktop.in .desktop.in.in .service .service.in REALMD_CONFIGS = \ realmd-defaults.conf \ realmd-redhat.conf \ realmd-debian.conf \ realmd-suse.conf \ $(NULL) private_DATA = \ realmd-defaults.conf polkit_policydir = $(POLKIT_ACTION_DIR) polkit_policy_in_files = org.freedesktop.realmd.policy.in polkit_policy_DATA = $(polkit_policy_in_files:.policy.in=.policy) realmd_SOURCES = \ realm-adcli-enroll.c realm-adcli-enroll.h \ realm-all-provider.c realm-all-provider.h \ realm-command.c realm-command.h \ realm-credential.c realm-credential.h \ realm-daemon.c realm-daemon.h \ realm-diagnostics.c realm-diagnostics.h \ realm-disco.c realm-disco.h \ realm-disco-dns.c realm-disco-dns.h \ realm-disco-domain.c realm-disco-domain.h \ realm-disco-mscldap.c realm-disco-mscldap.h \ realm-disco-rootdse.c realm-disco-rootdse.h \ realm-errors.c realm-errors.h \ realm-example.c realm-example.h \ realm-example-provider.c realm-example-provider.h \ realm-ini-config.c realm-ini-config.h \ realm-invocation.c realm-invocation.h \ realm-kerberos.c realm-kerberos.h \ realm-kerberos-membership.c realm-kerberos-membership.h \ realm-kerberos-provider.c realm-kerberos-provider.h \ realm-ldap.c realm-ldap.h \ realm-login-name.c realm-login-name.h \ realm-network.c realm-network.h \ realm-options.c realm-options.h \ realm-packages.c realm-packages.h \ realm-provider.c realm-provider.h \ realm-samba.c realm-samba.h \ realm-samba-config.c realm-samba-config.h \ realm-samba-enroll.c realm-samba-enroll.h \ realm-samba-provider.c realm-samba-provider.h \ realm-samba-util.c realm-samba-util.h \ realm-samba-winbind.c realm-samba-winbind.h \ realm-service.c realm-service.h \ realm-settings.c realm-settings.h \ realm-sssd.c realm-sssd.h \ realm-sssd-ad.c realm-sssd-ad.h \ realm-sssd-provider.c realm-sssd-provider.h \ realm-sssd-config.c realm-sssd-config.h \ realm-sssd-ipa.c realm-sssd-ipa.h \ realm-usleep-async.c realm-usleep-async.h \ safe-printf.c safe-printf.h \ $(NULL) realmd_CFLAGS = \ -I$(top_srcdir)/dbus \ -I$(top_srcdir)/build \ -I$(top_builddir)/dbus \ -DPRIVATE_DIR="\"$(privatedir)\"" \ -DSYSCONF_DIR="\"$(sysconfdir)\"" \ -DPROVIDER_DIR="\"$(privatedir)/provider.d\"" \ -DLOCALEDIR=\""$(datadir)/locale"\" \ -DSTATE_DIR="\"$(localstatedir)/lib/realmd\"" \ -DCACHEDIR="\"$(cachedir)\"" \ $(PACKAGEKIT_CFLAGS) \ $(POLKIT_CFLAGS) \ $(SYSTEMD_JOURNAL_CFLAGS) \ $(GLIB_CFLAGS) \ $(KRB5_CFLAGS) \ $(LDAP_CFLAGS) \ $(NULL) realmd_LDADD = \ $(top_builddir)/dbus/librealm-dbus.a \ $(PACKAGEKIT_LIBS) \ $(POLKIT_LIBS) \ $(SYSTEMD_JOURNAL_LIBS) \ $(GLIB_LIBS) \ $(KRB5_LIBS) \ $(LDAP_LIBS) \ $(NULL) # ------------------------------------------------------------------ EXTRA_DIST = \ $(polkit_policy_in_files) \ $(REALMD_CONFIGS) \ $(private_DATA) \ $(provider_DATA) \ $(NULL) CLEANFILES = \ $(polkit_policy_DATA) \ *.gcno \ *.gcda \ $(NULL) DISTCLEANFILES = \ $(BUILT_SOURCES) \ $(NULL) all: all-am .SUFFIXES: .SUFFIXES: .conf .conf.in .desktop.in .desktop.in.in .service .service.in .c .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign service/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign service/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.decl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-privatePROGRAMS: $(private_PROGRAMS) @$(NORMAL_INSTALL) @list='$(private_PROGRAMS)'; test -n "$(privatedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(privatedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(privatedir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(privatedir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(privatedir)$$dir" || exit $$?; \ } \ ; done uninstall-privatePROGRAMS: @$(NORMAL_UNINSTALL) @list='$(private_PROGRAMS)'; test -n "$(privatedir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(privatedir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(privatedir)" && rm -f $$files clean-privatePROGRAMS: -test -z "$(private_PROGRAMS)" || rm -f $(private_PROGRAMS) realmd$(EXEEXT): $(realmd_OBJECTS) $(realmd_DEPENDENCIES) $(EXTRA_realmd_DEPENDENCIES) @rm -f realmd$(EXEEXT) $(AM_V_CCLD)$(realmd_LINK) $(realmd_OBJECTS) $(realmd_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-adcli-enroll.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-all-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-command.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-credential.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-daemon.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-diagnostics.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-disco-dns.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-disco-domain.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-disco-mscldap.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-disco-rootdse.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-disco.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-errors.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-example-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-example.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-ini-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-invocation.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-kerberos-membership.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-kerberos-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-kerberos.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-ldap.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-login-name.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-network.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-options.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-packages.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-samba-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-samba-enroll.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-samba-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-samba-util.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-samba-winbind.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-samba.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-service.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-settings.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-sssd-ad.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-sssd-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-sssd-ipa.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-sssd-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-sssd.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-realm-usleep-async.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realmd-safe-printf.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` realmd-realm-adcli-enroll.o: realm-adcli-enroll.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-adcli-enroll.o -MD -MP -MF $(DEPDIR)/realmd-realm-adcli-enroll.Tpo -c -o realmd-realm-adcli-enroll.o `test -f 'realm-adcli-enroll.c' || echo '$(srcdir)/'`realm-adcli-enroll.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-adcli-enroll.Tpo $(DEPDIR)/realmd-realm-adcli-enroll.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-adcli-enroll.c' object='realmd-realm-adcli-enroll.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-adcli-enroll.o `test -f 'realm-adcli-enroll.c' || echo '$(srcdir)/'`realm-adcli-enroll.c realmd-realm-adcli-enroll.obj: realm-adcli-enroll.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-adcli-enroll.obj -MD -MP -MF $(DEPDIR)/realmd-realm-adcli-enroll.Tpo -c -o realmd-realm-adcli-enroll.obj `if test -f 'realm-adcli-enroll.c'; then $(CYGPATH_W) 'realm-adcli-enroll.c'; else $(CYGPATH_W) '$(srcdir)/realm-adcli-enroll.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-adcli-enroll.Tpo $(DEPDIR)/realmd-realm-adcli-enroll.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-adcli-enroll.c' object='realmd-realm-adcli-enroll.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-adcli-enroll.obj `if test -f 'realm-adcli-enroll.c'; then $(CYGPATH_W) 'realm-adcli-enroll.c'; else $(CYGPATH_W) '$(srcdir)/realm-adcli-enroll.c'; fi` realmd-realm-all-provider.o: realm-all-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-all-provider.o -MD -MP -MF $(DEPDIR)/realmd-realm-all-provider.Tpo -c -o realmd-realm-all-provider.o `test -f 'realm-all-provider.c' || echo '$(srcdir)/'`realm-all-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-all-provider.Tpo $(DEPDIR)/realmd-realm-all-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-all-provider.c' object='realmd-realm-all-provider.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-all-provider.o `test -f 'realm-all-provider.c' || echo '$(srcdir)/'`realm-all-provider.c realmd-realm-all-provider.obj: realm-all-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-all-provider.obj -MD -MP -MF $(DEPDIR)/realmd-realm-all-provider.Tpo -c -o realmd-realm-all-provider.obj `if test -f 'realm-all-provider.c'; then $(CYGPATH_W) 'realm-all-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-all-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-all-provider.Tpo $(DEPDIR)/realmd-realm-all-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-all-provider.c' object='realmd-realm-all-provider.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-all-provider.obj `if test -f 'realm-all-provider.c'; then $(CYGPATH_W) 'realm-all-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-all-provider.c'; fi` realmd-realm-command.o: realm-command.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-command.o -MD -MP -MF $(DEPDIR)/realmd-realm-command.Tpo -c -o realmd-realm-command.o `test -f 'realm-command.c' || echo '$(srcdir)/'`realm-command.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-command.Tpo $(DEPDIR)/realmd-realm-command.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-command.c' object='realmd-realm-command.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-command.o `test -f 'realm-command.c' || echo '$(srcdir)/'`realm-command.c realmd-realm-command.obj: realm-command.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-command.obj -MD -MP -MF $(DEPDIR)/realmd-realm-command.Tpo -c -o realmd-realm-command.obj `if test -f 'realm-command.c'; then $(CYGPATH_W) 'realm-command.c'; else $(CYGPATH_W) '$(srcdir)/realm-command.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-command.Tpo $(DEPDIR)/realmd-realm-command.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-command.c' object='realmd-realm-command.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-command.obj `if test -f 'realm-command.c'; then $(CYGPATH_W) 'realm-command.c'; else $(CYGPATH_W) '$(srcdir)/realm-command.c'; fi` realmd-realm-credential.o: realm-credential.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-credential.o -MD -MP -MF $(DEPDIR)/realmd-realm-credential.Tpo -c -o realmd-realm-credential.o `test -f 'realm-credential.c' || echo '$(srcdir)/'`realm-credential.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-credential.Tpo $(DEPDIR)/realmd-realm-credential.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-credential.c' object='realmd-realm-credential.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-credential.o `test -f 'realm-credential.c' || echo '$(srcdir)/'`realm-credential.c realmd-realm-credential.obj: realm-credential.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-credential.obj -MD -MP -MF $(DEPDIR)/realmd-realm-credential.Tpo -c -o realmd-realm-credential.obj `if test -f 'realm-credential.c'; then $(CYGPATH_W) 'realm-credential.c'; else $(CYGPATH_W) '$(srcdir)/realm-credential.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-credential.Tpo $(DEPDIR)/realmd-realm-credential.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-credential.c' object='realmd-realm-credential.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-credential.obj `if test -f 'realm-credential.c'; then $(CYGPATH_W) 'realm-credential.c'; else $(CYGPATH_W) '$(srcdir)/realm-credential.c'; fi` realmd-realm-daemon.o: realm-daemon.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-daemon.o -MD -MP -MF $(DEPDIR)/realmd-realm-daemon.Tpo -c -o realmd-realm-daemon.o `test -f 'realm-daemon.c' || echo '$(srcdir)/'`realm-daemon.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-daemon.Tpo $(DEPDIR)/realmd-realm-daemon.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-daemon.c' object='realmd-realm-daemon.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-daemon.o `test -f 'realm-daemon.c' || echo '$(srcdir)/'`realm-daemon.c realmd-realm-daemon.obj: realm-daemon.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-daemon.obj -MD -MP -MF $(DEPDIR)/realmd-realm-daemon.Tpo -c -o realmd-realm-daemon.obj `if test -f 'realm-daemon.c'; then $(CYGPATH_W) 'realm-daemon.c'; else $(CYGPATH_W) '$(srcdir)/realm-daemon.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-daemon.Tpo $(DEPDIR)/realmd-realm-daemon.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-daemon.c' object='realmd-realm-daemon.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-daemon.obj `if test -f 'realm-daemon.c'; then $(CYGPATH_W) 'realm-daemon.c'; else $(CYGPATH_W) '$(srcdir)/realm-daemon.c'; fi` realmd-realm-diagnostics.o: realm-diagnostics.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-diagnostics.o -MD -MP -MF $(DEPDIR)/realmd-realm-diagnostics.Tpo -c -o realmd-realm-diagnostics.o `test -f 'realm-diagnostics.c' || echo '$(srcdir)/'`realm-diagnostics.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-diagnostics.Tpo $(DEPDIR)/realmd-realm-diagnostics.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-diagnostics.c' object='realmd-realm-diagnostics.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-diagnostics.o `test -f 'realm-diagnostics.c' || echo '$(srcdir)/'`realm-diagnostics.c realmd-realm-diagnostics.obj: realm-diagnostics.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-diagnostics.obj -MD -MP -MF $(DEPDIR)/realmd-realm-diagnostics.Tpo -c -o realmd-realm-diagnostics.obj `if test -f 'realm-diagnostics.c'; then $(CYGPATH_W) 'realm-diagnostics.c'; else $(CYGPATH_W) '$(srcdir)/realm-diagnostics.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-diagnostics.Tpo $(DEPDIR)/realmd-realm-diagnostics.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-diagnostics.c' object='realmd-realm-diagnostics.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-diagnostics.obj `if test -f 'realm-diagnostics.c'; then $(CYGPATH_W) 'realm-diagnostics.c'; else $(CYGPATH_W) '$(srcdir)/realm-diagnostics.c'; fi` realmd-realm-disco.o: realm-disco.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-disco.o -MD -MP -MF $(DEPDIR)/realmd-realm-disco.Tpo -c -o realmd-realm-disco.o `test -f 'realm-disco.c' || echo '$(srcdir)/'`realm-disco.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-disco.Tpo $(DEPDIR)/realmd-realm-disco.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-disco.c' object='realmd-realm-disco.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-disco.o `test -f 'realm-disco.c' || echo '$(srcdir)/'`realm-disco.c realmd-realm-disco.obj: realm-disco.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-disco.obj -MD -MP -MF $(DEPDIR)/realmd-realm-disco.Tpo -c -o realmd-realm-disco.obj `if test -f 'realm-disco.c'; then $(CYGPATH_W) 'realm-disco.c'; else $(CYGPATH_W) '$(srcdir)/realm-disco.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-disco.Tpo $(DEPDIR)/realmd-realm-disco.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-disco.c' object='realmd-realm-disco.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-disco.obj `if test -f 'realm-disco.c'; then $(CYGPATH_W) 'realm-disco.c'; else $(CYGPATH_W) '$(srcdir)/realm-disco.c'; fi` realmd-realm-disco-dns.o: realm-disco-dns.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-disco-dns.o -MD -MP -MF $(DEPDIR)/realmd-realm-disco-dns.Tpo -c -o realmd-realm-disco-dns.o `test -f 'realm-disco-dns.c' || echo '$(srcdir)/'`realm-disco-dns.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-disco-dns.Tpo $(DEPDIR)/realmd-realm-disco-dns.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-disco-dns.c' object='realmd-realm-disco-dns.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-disco-dns.o `test -f 'realm-disco-dns.c' || echo '$(srcdir)/'`realm-disco-dns.c realmd-realm-disco-dns.obj: realm-disco-dns.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-disco-dns.obj -MD -MP -MF $(DEPDIR)/realmd-realm-disco-dns.Tpo -c -o realmd-realm-disco-dns.obj `if test -f 'realm-disco-dns.c'; then $(CYGPATH_W) 'realm-disco-dns.c'; else $(CYGPATH_W) '$(srcdir)/realm-disco-dns.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-disco-dns.Tpo $(DEPDIR)/realmd-realm-disco-dns.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-disco-dns.c' object='realmd-realm-disco-dns.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-disco-dns.obj `if test -f 'realm-disco-dns.c'; then $(CYGPATH_W) 'realm-disco-dns.c'; else $(CYGPATH_W) '$(srcdir)/realm-disco-dns.c'; fi` realmd-realm-disco-domain.o: realm-disco-domain.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-disco-domain.o -MD -MP -MF $(DEPDIR)/realmd-realm-disco-domain.Tpo -c -o realmd-realm-disco-domain.o `test -f 'realm-disco-domain.c' || echo '$(srcdir)/'`realm-disco-domain.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-disco-domain.Tpo $(DEPDIR)/realmd-realm-disco-domain.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-disco-domain.c' object='realmd-realm-disco-domain.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-disco-domain.o `test -f 'realm-disco-domain.c' || echo '$(srcdir)/'`realm-disco-domain.c realmd-realm-disco-domain.obj: realm-disco-domain.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-disco-domain.obj -MD -MP -MF $(DEPDIR)/realmd-realm-disco-domain.Tpo -c -o realmd-realm-disco-domain.obj `if test -f 'realm-disco-domain.c'; then $(CYGPATH_W) 'realm-disco-domain.c'; else $(CYGPATH_W) '$(srcdir)/realm-disco-domain.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-disco-domain.Tpo $(DEPDIR)/realmd-realm-disco-domain.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-disco-domain.c' object='realmd-realm-disco-domain.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-disco-domain.obj `if test -f 'realm-disco-domain.c'; then $(CYGPATH_W) 'realm-disco-domain.c'; else $(CYGPATH_W) '$(srcdir)/realm-disco-domain.c'; fi` realmd-realm-disco-mscldap.o: realm-disco-mscldap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-disco-mscldap.o -MD -MP -MF $(DEPDIR)/realmd-realm-disco-mscldap.Tpo -c -o realmd-realm-disco-mscldap.o `test -f 'realm-disco-mscldap.c' || echo '$(srcdir)/'`realm-disco-mscldap.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-disco-mscldap.Tpo $(DEPDIR)/realmd-realm-disco-mscldap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-disco-mscldap.c' object='realmd-realm-disco-mscldap.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-disco-mscldap.o `test -f 'realm-disco-mscldap.c' || echo '$(srcdir)/'`realm-disco-mscldap.c realmd-realm-disco-mscldap.obj: realm-disco-mscldap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-disco-mscldap.obj -MD -MP -MF $(DEPDIR)/realmd-realm-disco-mscldap.Tpo -c -o realmd-realm-disco-mscldap.obj `if test -f 'realm-disco-mscldap.c'; then $(CYGPATH_W) 'realm-disco-mscldap.c'; else $(CYGPATH_W) '$(srcdir)/realm-disco-mscldap.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-disco-mscldap.Tpo $(DEPDIR)/realmd-realm-disco-mscldap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-disco-mscldap.c' object='realmd-realm-disco-mscldap.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-disco-mscldap.obj `if test -f 'realm-disco-mscldap.c'; then $(CYGPATH_W) 'realm-disco-mscldap.c'; else $(CYGPATH_W) '$(srcdir)/realm-disco-mscldap.c'; fi` realmd-realm-disco-rootdse.o: realm-disco-rootdse.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-disco-rootdse.o -MD -MP -MF $(DEPDIR)/realmd-realm-disco-rootdse.Tpo -c -o realmd-realm-disco-rootdse.o `test -f 'realm-disco-rootdse.c' || echo '$(srcdir)/'`realm-disco-rootdse.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-disco-rootdse.Tpo $(DEPDIR)/realmd-realm-disco-rootdse.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-disco-rootdse.c' object='realmd-realm-disco-rootdse.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-disco-rootdse.o `test -f 'realm-disco-rootdse.c' || echo '$(srcdir)/'`realm-disco-rootdse.c realmd-realm-disco-rootdse.obj: realm-disco-rootdse.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-disco-rootdse.obj -MD -MP -MF $(DEPDIR)/realmd-realm-disco-rootdse.Tpo -c -o realmd-realm-disco-rootdse.obj `if test -f 'realm-disco-rootdse.c'; then $(CYGPATH_W) 'realm-disco-rootdse.c'; else $(CYGPATH_W) '$(srcdir)/realm-disco-rootdse.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-disco-rootdse.Tpo $(DEPDIR)/realmd-realm-disco-rootdse.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-disco-rootdse.c' object='realmd-realm-disco-rootdse.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-disco-rootdse.obj `if test -f 'realm-disco-rootdse.c'; then $(CYGPATH_W) 'realm-disco-rootdse.c'; else $(CYGPATH_W) '$(srcdir)/realm-disco-rootdse.c'; fi` realmd-realm-errors.o: realm-errors.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-errors.o -MD -MP -MF $(DEPDIR)/realmd-realm-errors.Tpo -c -o realmd-realm-errors.o `test -f 'realm-errors.c' || echo '$(srcdir)/'`realm-errors.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-errors.Tpo $(DEPDIR)/realmd-realm-errors.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-errors.c' object='realmd-realm-errors.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-errors.o `test -f 'realm-errors.c' || echo '$(srcdir)/'`realm-errors.c realmd-realm-errors.obj: realm-errors.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-errors.obj -MD -MP -MF $(DEPDIR)/realmd-realm-errors.Tpo -c -o realmd-realm-errors.obj `if test -f 'realm-errors.c'; then $(CYGPATH_W) 'realm-errors.c'; else $(CYGPATH_W) '$(srcdir)/realm-errors.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-errors.Tpo $(DEPDIR)/realmd-realm-errors.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-errors.c' object='realmd-realm-errors.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-errors.obj `if test -f 'realm-errors.c'; then $(CYGPATH_W) 'realm-errors.c'; else $(CYGPATH_W) '$(srcdir)/realm-errors.c'; fi` realmd-realm-example.o: realm-example.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-example.o -MD -MP -MF $(DEPDIR)/realmd-realm-example.Tpo -c -o realmd-realm-example.o `test -f 'realm-example.c' || echo '$(srcdir)/'`realm-example.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-example.Tpo $(DEPDIR)/realmd-realm-example.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-example.c' object='realmd-realm-example.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-example.o `test -f 'realm-example.c' || echo '$(srcdir)/'`realm-example.c realmd-realm-example.obj: realm-example.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-example.obj -MD -MP -MF $(DEPDIR)/realmd-realm-example.Tpo -c -o realmd-realm-example.obj `if test -f 'realm-example.c'; then $(CYGPATH_W) 'realm-example.c'; else $(CYGPATH_W) '$(srcdir)/realm-example.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-example.Tpo $(DEPDIR)/realmd-realm-example.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-example.c' object='realmd-realm-example.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-example.obj `if test -f 'realm-example.c'; then $(CYGPATH_W) 'realm-example.c'; else $(CYGPATH_W) '$(srcdir)/realm-example.c'; fi` realmd-realm-example-provider.o: realm-example-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-example-provider.o -MD -MP -MF $(DEPDIR)/realmd-realm-example-provider.Tpo -c -o realmd-realm-example-provider.o `test -f 'realm-example-provider.c' || echo '$(srcdir)/'`realm-example-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-example-provider.Tpo $(DEPDIR)/realmd-realm-example-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-example-provider.c' object='realmd-realm-example-provider.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-example-provider.o `test -f 'realm-example-provider.c' || echo '$(srcdir)/'`realm-example-provider.c realmd-realm-example-provider.obj: realm-example-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-example-provider.obj -MD -MP -MF $(DEPDIR)/realmd-realm-example-provider.Tpo -c -o realmd-realm-example-provider.obj `if test -f 'realm-example-provider.c'; then $(CYGPATH_W) 'realm-example-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-example-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-example-provider.Tpo $(DEPDIR)/realmd-realm-example-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-example-provider.c' object='realmd-realm-example-provider.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-example-provider.obj `if test -f 'realm-example-provider.c'; then $(CYGPATH_W) 'realm-example-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-example-provider.c'; fi` realmd-realm-ini-config.o: realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-ini-config.o -MD -MP -MF $(DEPDIR)/realmd-realm-ini-config.Tpo -c -o realmd-realm-ini-config.o `test -f 'realm-ini-config.c' || echo '$(srcdir)/'`realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-ini-config.Tpo $(DEPDIR)/realmd-realm-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-ini-config.c' object='realmd-realm-ini-config.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-ini-config.o `test -f 'realm-ini-config.c' || echo '$(srcdir)/'`realm-ini-config.c realmd-realm-ini-config.obj: realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-ini-config.obj -MD -MP -MF $(DEPDIR)/realmd-realm-ini-config.Tpo -c -o realmd-realm-ini-config.obj `if test -f 'realm-ini-config.c'; then $(CYGPATH_W) 'realm-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/realm-ini-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-ini-config.Tpo $(DEPDIR)/realmd-realm-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-ini-config.c' object='realmd-realm-ini-config.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-ini-config.obj `if test -f 'realm-ini-config.c'; then $(CYGPATH_W) 'realm-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/realm-ini-config.c'; fi` realmd-realm-invocation.o: realm-invocation.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-invocation.o -MD -MP -MF $(DEPDIR)/realmd-realm-invocation.Tpo -c -o realmd-realm-invocation.o `test -f 'realm-invocation.c' || echo '$(srcdir)/'`realm-invocation.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-invocation.Tpo $(DEPDIR)/realmd-realm-invocation.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-invocation.c' object='realmd-realm-invocation.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-invocation.o `test -f 'realm-invocation.c' || echo '$(srcdir)/'`realm-invocation.c realmd-realm-invocation.obj: realm-invocation.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-invocation.obj -MD -MP -MF $(DEPDIR)/realmd-realm-invocation.Tpo -c -o realmd-realm-invocation.obj `if test -f 'realm-invocation.c'; then $(CYGPATH_W) 'realm-invocation.c'; else $(CYGPATH_W) '$(srcdir)/realm-invocation.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-invocation.Tpo $(DEPDIR)/realmd-realm-invocation.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-invocation.c' object='realmd-realm-invocation.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-invocation.obj `if test -f 'realm-invocation.c'; then $(CYGPATH_W) 'realm-invocation.c'; else $(CYGPATH_W) '$(srcdir)/realm-invocation.c'; fi` realmd-realm-kerberos.o: realm-kerberos.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-kerberos.o -MD -MP -MF $(DEPDIR)/realmd-realm-kerberos.Tpo -c -o realmd-realm-kerberos.o `test -f 'realm-kerberos.c' || echo '$(srcdir)/'`realm-kerberos.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-kerberos.Tpo $(DEPDIR)/realmd-realm-kerberos.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-kerberos.c' object='realmd-realm-kerberos.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-kerberos.o `test -f 'realm-kerberos.c' || echo '$(srcdir)/'`realm-kerberos.c realmd-realm-kerberos.obj: realm-kerberos.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-kerberos.obj -MD -MP -MF $(DEPDIR)/realmd-realm-kerberos.Tpo -c -o realmd-realm-kerberos.obj `if test -f 'realm-kerberos.c'; then $(CYGPATH_W) 'realm-kerberos.c'; else $(CYGPATH_W) '$(srcdir)/realm-kerberos.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-kerberos.Tpo $(DEPDIR)/realmd-realm-kerberos.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-kerberos.c' object='realmd-realm-kerberos.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-kerberos.obj `if test -f 'realm-kerberos.c'; then $(CYGPATH_W) 'realm-kerberos.c'; else $(CYGPATH_W) '$(srcdir)/realm-kerberos.c'; fi` realmd-realm-kerberos-membership.o: realm-kerberos-membership.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-kerberos-membership.o -MD -MP -MF $(DEPDIR)/realmd-realm-kerberos-membership.Tpo -c -o realmd-realm-kerberos-membership.o `test -f 'realm-kerberos-membership.c' || echo '$(srcdir)/'`realm-kerberos-membership.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-kerberos-membership.Tpo $(DEPDIR)/realmd-realm-kerberos-membership.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-kerberos-membership.c' object='realmd-realm-kerberos-membership.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-kerberos-membership.o `test -f 'realm-kerberos-membership.c' || echo '$(srcdir)/'`realm-kerberos-membership.c realmd-realm-kerberos-membership.obj: realm-kerberos-membership.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-kerberos-membership.obj -MD -MP -MF $(DEPDIR)/realmd-realm-kerberos-membership.Tpo -c -o realmd-realm-kerberos-membership.obj `if test -f 'realm-kerberos-membership.c'; then $(CYGPATH_W) 'realm-kerberos-membership.c'; else $(CYGPATH_W) '$(srcdir)/realm-kerberos-membership.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-kerberos-membership.Tpo $(DEPDIR)/realmd-realm-kerberos-membership.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-kerberos-membership.c' object='realmd-realm-kerberos-membership.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-kerberos-membership.obj `if test -f 'realm-kerberos-membership.c'; then $(CYGPATH_W) 'realm-kerberos-membership.c'; else $(CYGPATH_W) '$(srcdir)/realm-kerberos-membership.c'; fi` realmd-realm-kerberos-provider.o: realm-kerberos-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-kerberos-provider.o -MD -MP -MF $(DEPDIR)/realmd-realm-kerberos-provider.Tpo -c -o realmd-realm-kerberos-provider.o `test -f 'realm-kerberos-provider.c' || echo '$(srcdir)/'`realm-kerberos-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-kerberos-provider.Tpo $(DEPDIR)/realmd-realm-kerberos-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-kerberos-provider.c' object='realmd-realm-kerberos-provider.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-kerberos-provider.o `test -f 'realm-kerberos-provider.c' || echo '$(srcdir)/'`realm-kerberos-provider.c realmd-realm-kerberos-provider.obj: realm-kerberos-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-kerberos-provider.obj -MD -MP -MF $(DEPDIR)/realmd-realm-kerberos-provider.Tpo -c -o realmd-realm-kerberos-provider.obj `if test -f 'realm-kerberos-provider.c'; then $(CYGPATH_W) 'realm-kerberos-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-kerberos-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-kerberos-provider.Tpo $(DEPDIR)/realmd-realm-kerberos-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-kerberos-provider.c' object='realmd-realm-kerberos-provider.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-kerberos-provider.obj `if test -f 'realm-kerberos-provider.c'; then $(CYGPATH_W) 'realm-kerberos-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-kerberos-provider.c'; fi` realmd-realm-ldap.o: realm-ldap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-ldap.o -MD -MP -MF $(DEPDIR)/realmd-realm-ldap.Tpo -c -o realmd-realm-ldap.o `test -f 'realm-ldap.c' || echo '$(srcdir)/'`realm-ldap.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-ldap.Tpo $(DEPDIR)/realmd-realm-ldap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-ldap.c' object='realmd-realm-ldap.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-ldap.o `test -f 'realm-ldap.c' || echo '$(srcdir)/'`realm-ldap.c realmd-realm-ldap.obj: realm-ldap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-ldap.obj -MD -MP -MF $(DEPDIR)/realmd-realm-ldap.Tpo -c -o realmd-realm-ldap.obj `if test -f 'realm-ldap.c'; then $(CYGPATH_W) 'realm-ldap.c'; else $(CYGPATH_W) '$(srcdir)/realm-ldap.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-ldap.Tpo $(DEPDIR)/realmd-realm-ldap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-ldap.c' object='realmd-realm-ldap.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-ldap.obj `if test -f 'realm-ldap.c'; then $(CYGPATH_W) 'realm-ldap.c'; else $(CYGPATH_W) '$(srcdir)/realm-ldap.c'; fi` realmd-realm-login-name.o: realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-login-name.o -MD -MP -MF $(DEPDIR)/realmd-realm-login-name.Tpo -c -o realmd-realm-login-name.o `test -f 'realm-login-name.c' || echo '$(srcdir)/'`realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-login-name.Tpo $(DEPDIR)/realmd-realm-login-name.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-login-name.c' object='realmd-realm-login-name.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-login-name.o `test -f 'realm-login-name.c' || echo '$(srcdir)/'`realm-login-name.c realmd-realm-login-name.obj: realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-login-name.obj -MD -MP -MF $(DEPDIR)/realmd-realm-login-name.Tpo -c -o realmd-realm-login-name.obj `if test -f 'realm-login-name.c'; then $(CYGPATH_W) 'realm-login-name.c'; else $(CYGPATH_W) '$(srcdir)/realm-login-name.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-login-name.Tpo $(DEPDIR)/realmd-realm-login-name.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-login-name.c' object='realmd-realm-login-name.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-login-name.obj `if test -f 'realm-login-name.c'; then $(CYGPATH_W) 'realm-login-name.c'; else $(CYGPATH_W) '$(srcdir)/realm-login-name.c'; fi` realmd-realm-network.o: realm-network.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-network.o -MD -MP -MF $(DEPDIR)/realmd-realm-network.Tpo -c -o realmd-realm-network.o `test -f 'realm-network.c' || echo '$(srcdir)/'`realm-network.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-network.Tpo $(DEPDIR)/realmd-realm-network.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-network.c' object='realmd-realm-network.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-network.o `test -f 'realm-network.c' || echo '$(srcdir)/'`realm-network.c realmd-realm-network.obj: realm-network.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-network.obj -MD -MP -MF $(DEPDIR)/realmd-realm-network.Tpo -c -o realmd-realm-network.obj `if test -f 'realm-network.c'; then $(CYGPATH_W) 'realm-network.c'; else $(CYGPATH_W) '$(srcdir)/realm-network.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-network.Tpo $(DEPDIR)/realmd-realm-network.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-network.c' object='realmd-realm-network.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-network.obj `if test -f 'realm-network.c'; then $(CYGPATH_W) 'realm-network.c'; else $(CYGPATH_W) '$(srcdir)/realm-network.c'; fi` realmd-realm-options.o: realm-options.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-options.o -MD -MP -MF $(DEPDIR)/realmd-realm-options.Tpo -c -o realmd-realm-options.o `test -f 'realm-options.c' || echo '$(srcdir)/'`realm-options.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-options.Tpo $(DEPDIR)/realmd-realm-options.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-options.c' object='realmd-realm-options.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-options.o `test -f 'realm-options.c' || echo '$(srcdir)/'`realm-options.c realmd-realm-options.obj: realm-options.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-options.obj -MD -MP -MF $(DEPDIR)/realmd-realm-options.Tpo -c -o realmd-realm-options.obj `if test -f 'realm-options.c'; then $(CYGPATH_W) 'realm-options.c'; else $(CYGPATH_W) '$(srcdir)/realm-options.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-options.Tpo $(DEPDIR)/realmd-realm-options.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-options.c' object='realmd-realm-options.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-options.obj `if test -f 'realm-options.c'; then $(CYGPATH_W) 'realm-options.c'; else $(CYGPATH_W) '$(srcdir)/realm-options.c'; fi` realmd-realm-packages.o: realm-packages.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-packages.o -MD -MP -MF $(DEPDIR)/realmd-realm-packages.Tpo -c -o realmd-realm-packages.o `test -f 'realm-packages.c' || echo '$(srcdir)/'`realm-packages.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-packages.Tpo $(DEPDIR)/realmd-realm-packages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-packages.c' object='realmd-realm-packages.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-packages.o `test -f 'realm-packages.c' || echo '$(srcdir)/'`realm-packages.c realmd-realm-packages.obj: realm-packages.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-packages.obj -MD -MP -MF $(DEPDIR)/realmd-realm-packages.Tpo -c -o realmd-realm-packages.obj `if test -f 'realm-packages.c'; then $(CYGPATH_W) 'realm-packages.c'; else $(CYGPATH_W) '$(srcdir)/realm-packages.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-packages.Tpo $(DEPDIR)/realmd-realm-packages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-packages.c' object='realmd-realm-packages.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-packages.obj `if test -f 'realm-packages.c'; then $(CYGPATH_W) 'realm-packages.c'; else $(CYGPATH_W) '$(srcdir)/realm-packages.c'; fi` realmd-realm-provider.o: realm-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-provider.o -MD -MP -MF $(DEPDIR)/realmd-realm-provider.Tpo -c -o realmd-realm-provider.o `test -f 'realm-provider.c' || echo '$(srcdir)/'`realm-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-provider.Tpo $(DEPDIR)/realmd-realm-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-provider.c' object='realmd-realm-provider.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-provider.o `test -f 'realm-provider.c' || echo '$(srcdir)/'`realm-provider.c realmd-realm-provider.obj: realm-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-provider.obj -MD -MP -MF $(DEPDIR)/realmd-realm-provider.Tpo -c -o realmd-realm-provider.obj `if test -f 'realm-provider.c'; then $(CYGPATH_W) 'realm-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-provider.Tpo $(DEPDIR)/realmd-realm-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-provider.c' object='realmd-realm-provider.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-provider.obj `if test -f 'realm-provider.c'; then $(CYGPATH_W) 'realm-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-provider.c'; fi` realmd-realm-samba.o: realm-samba.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba.o -MD -MP -MF $(DEPDIR)/realmd-realm-samba.Tpo -c -o realmd-realm-samba.o `test -f 'realm-samba.c' || echo '$(srcdir)/'`realm-samba.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba.Tpo $(DEPDIR)/realmd-realm-samba.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba.c' object='realmd-realm-samba.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba.o `test -f 'realm-samba.c' || echo '$(srcdir)/'`realm-samba.c realmd-realm-samba.obj: realm-samba.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba.obj -MD -MP -MF $(DEPDIR)/realmd-realm-samba.Tpo -c -o realmd-realm-samba.obj `if test -f 'realm-samba.c'; then $(CYGPATH_W) 'realm-samba.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba.Tpo $(DEPDIR)/realmd-realm-samba.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba.c' object='realmd-realm-samba.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba.obj `if test -f 'realm-samba.c'; then $(CYGPATH_W) 'realm-samba.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba.c'; fi` realmd-realm-samba-config.o: realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba-config.o -MD -MP -MF $(DEPDIR)/realmd-realm-samba-config.Tpo -c -o realmd-realm-samba-config.o `test -f 'realm-samba-config.c' || echo '$(srcdir)/'`realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba-config.Tpo $(DEPDIR)/realmd-realm-samba-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba-config.c' object='realmd-realm-samba-config.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba-config.o `test -f 'realm-samba-config.c' || echo '$(srcdir)/'`realm-samba-config.c realmd-realm-samba-config.obj: realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba-config.obj -MD -MP -MF $(DEPDIR)/realmd-realm-samba-config.Tpo -c -o realmd-realm-samba-config.obj `if test -f 'realm-samba-config.c'; then $(CYGPATH_W) 'realm-samba-config.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba-config.Tpo $(DEPDIR)/realmd-realm-samba-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba-config.c' object='realmd-realm-samba-config.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba-config.obj `if test -f 'realm-samba-config.c'; then $(CYGPATH_W) 'realm-samba-config.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba-config.c'; fi` realmd-realm-samba-enroll.o: realm-samba-enroll.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba-enroll.o -MD -MP -MF $(DEPDIR)/realmd-realm-samba-enroll.Tpo -c -o realmd-realm-samba-enroll.o `test -f 'realm-samba-enroll.c' || echo '$(srcdir)/'`realm-samba-enroll.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba-enroll.Tpo $(DEPDIR)/realmd-realm-samba-enroll.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba-enroll.c' object='realmd-realm-samba-enroll.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba-enroll.o `test -f 'realm-samba-enroll.c' || echo '$(srcdir)/'`realm-samba-enroll.c realmd-realm-samba-enroll.obj: realm-samba-enroll.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba-enroll.obj -MD -MP -MF $(DEPDIR)/realmd-realm-samba-enroll.Tpo -c -o realmd-realm-samba-enroll.obj `if test -f 'realm-samba-enroll.c'; then $(CYGPATH_W) 'realm-samba-enroll.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba-enroll.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba-enroll.Tpo $(DEPDIR)/realmd-realm-samba-enroll.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba-enroll.c' object='realmd-realm-samba-enroll.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba-enroll.obj `if test -f 'realm-samba-enroll.c'; then $(CYGPATH_W) 'realm-samba-enroll.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba-enroll.c'; fi` realmd-realm-samba-provider.o: realm-samba-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba-provider.o -MD -MP -MF $(DEPDIR)/realmd-realm-samba-provider.Tpo -c -o realmd-realm-samba-provider.o `test -f 'realm-samba-provider.c' || echo '$(srcdir)/'`realm-samba-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba-provider.Tpo $(DEPDIR)/realmd-realm-samba-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba-provider.c' object='realmd-realm-samba-provider.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba-provider.o `test -f 'realm-samba-provider.c' || echo '$(srcdir)/'`realm-samba-provider.c realmd-realm-samba-provider.obj: realm-samba-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba-provider.obj -MD -MP -MF $(DEPDIR)/realmd-realm-samba-provider.Tpo -c -o realmd-realm-samba-provider.obj `if test -f 'realm-samba-provider.c'; then $(CYGPATH_W) 'realm-samba-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba-provider.Tpo $(DEPDIR)/realmd-realm-samba-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba-provider.c' object='realmd-realm-samba-provider.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba-provider.obj `if test -f 'realm-samba-provider.c'; then $(CYGPATH_W) 'realm-samba-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba-provider.c'; fi` realmd-realm-samba-util.o: realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba-util.o -MD -MP -MF $(DEPDIR)/realmd-realm-samba-util.Tpo -c -o realmd-realm-samba-util.o `test -f 'realm-samba-util.c' || echo '$(srcdir)/'`realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba-util.Tpo $(DEPDIR)/realmd-realm-samba-util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba-util.c' object='realmd-realm-samba-util.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba-util.o `test -f 'realm-samba-util.c' || echo '$(srcdir)/'`realm-samba-util.c realmd-realm-samba-util.obj: realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba-util.obj -MD -MP -MF $(DEPDIR)/realmd-realm-samba-util.Tpo -c -o realmd-realm-samba-util.obj `if test -f 'realm-samba-util.c'; then $(CYGPATH_W) 'realm-samba-util.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba-util.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba-util.Tpo $(DEPDIR)/realmd-realm-samba-util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba-util.c' object='realmd-realm-samba-util.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba-util.obj `if test -f 'realm-samba-util.c'; then $(CYGPATH_W) 'realm-samba-util.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba-util.c'; fi` realmd-realm-samba-winbind.o: realm-samba-winbind.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba-winbind.o -MD -MP -MF $(DEPDIR)/realmd-realm-samba-winbind.Tpo -c -o realmd-realm-samba-winbind.o `test -f 'realm-samba-winbind.c' || echo '$(srcdir)/'`realm-samba-winbind.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba-winbind.Tpo $(DEPDIR)/realmd-realm-samba-winbind.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba-winbind.c' object='realmd-realm-samba-winbind.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba-winbind.o `test -f 'realm-samba-winbind.c' || echo '$(srcdir)/'`realm-samba-winbind.c realmd-realm-samba-winbind.obj: realm-samba-winbind.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-samba-winbind.obj -MD -MP -MF $(DEPDIR)/realmd-realm-samba-winbind.Tpo -c -o realmd-realm-samba-winbind.obj `if test -f 'realm-samba-winbind.c'; then $(CYGPATH_W) 'realm-samba-winbind.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba-winbind.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-samba-winbind.Tpo $(DEPDIR)/realmd-realm-samba-winbind.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-samba-winbind.c' object='realmd-realm-samba-winbind.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-samba-winbind.obj `if test -f 'realm-samba-winbind.c'; then $(CYGPATH_W) 'realm-samba-winbind.c'; else $(CYGPATH_W) '$(srcdir)/realm-samba-winbind.c'; fi` realmd-realm-service.o: realm-service.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-service.o -MD -MP -MF $(DEPDIR)/realmd-realm-service.Tpo -c -o realmd-realm-service.o `test -f 'realm-service.c' || echo '$(srcdir)/'`realm-service.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-service.Tpo $(DEPDIR)/realmd-realm-service.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-service.c' object='realmd-realm-service.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-service.o `test -f 'realm-service.c' || echo '$(srcdir)/'`realm-service.c realmd-realm-service.obj: realm-service.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-service.obj -MD -MP -MF $(DEPDIR)/realmd-realm-service.Tpo -c -o realmd-realm-service.obj `if test -f 'realm-service.c'; then $(CYGPATH_W) 'realm-service.c'; else $(CYGPATH_W) '$(srcdir)/realm-service.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-service.Tpo $(DEPDIR)/realmd-realm-service.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-service.c' object='realmd-realm-service.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-service.obj `if test -f 'realm-service.c'; then $(CYGPATH_W) 'realm-service.c'; else $(CYGPATH_W) '$(srcdir)/realm-service.c'; fi` realmd-realm-settings.o: realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-settings.o -MD -MP -MF $(DEPDIR)/realmd-realm-settings.Tpo -c -o realmd-realm-settings.o `test -f 'realm-settings.c' || echo '$(srcdir)/'`realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-settings.Tpo $(DEPDIR)/realmd-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-settings.c' object='realmd-realm-settings.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-settings.o `test -f 'realm-settings.c' || echo '$(srcdir)/'`realm-settings.c realmd-realm-settings.obj: realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-settings.obj -MD -MP -MF $(DEPDIR)/realmd-realm-settings.Tpo -c -o realmd-realm-settings.obj `if test -f 'realm-settings.c'; then $(CYGPATH_W) 'realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/realm-settings.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-settings.Tpo $(DEPDIR)/realmd-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-settings.c' object='realmd-realm-settings.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-settings.obj `if test -f 'realm-settings.c'; then $(CYGPATH_W) 'realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/realm-settings.c'; fi` realmd-realm-sssd.o: realm-sssd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-sssd.o -MD -MP -MF $(DEPDIR)/realmd-realm-sssd.Tpo -c -o realmd-realm-sssd.o `test -f 'realm-sssd.c' || echo '$(srcdir)/'`realm-sssd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-sssd.Tpo $(DEPDIR)/realmd-realm-sssd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-sssd.c' object='realmd-realm-sssd.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-sssd.o `test -f 'realm-sssd.c' || echo '$(srcdir)/'`realm-sssd.c realmd-realm-sssd.obj: realm-sssd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-sssd.obj -MD -MP -MF $(DEPDIR)/realmd-realm-sssd.Tpo -c -o realmd-realm-sssd.obj `if test -f 'realm-sssd.c'; then $(CYGPATH_W) 'realm-sssd.c'; else $(CYGPATH_W) '$(srcdir)/realm-sssd.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-sssd.Tpo $(DEPDIR)/realmd-realm-sssd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-sssd.c' object='realmd-realm-sssd.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-sssd.obj `if test -f 'realm-sssd.c'; then $(CYGPATH_W) 'realm-sssd.c'; else $(CYGPATH_W) '$(srcdir)/realm-sssd.c'; fi` realmd-realm-sssd-ad.o: realm-sssd-ad.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-sssd-ad.o -MD -MP -MF $(DEPDIR)/realmd-realm-sssd-ad.Tpo -c -o realmd-realm-sssd-ad.o `test -f 'realm-sssd-ad.c' || echo '$(srcdir)/'`realm-sssd-ad.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-sssd-ad.Tpo $(DEPDIR)/realmd-realm-sssd-ad.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-sssd-ad.c' object='realmd-realm-sssd-ad.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-sssd-ad.o `test -f 'realm-sssd-ad.c' || echo '$(srcdir)/'`realm-sssd-ad.c realmd-realm-sssd-ad.obj: realm-sssd-ad.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-sssd-ad.obj -MD -MP -MF $(DEPDIR)/realmd-realm-sssd-ad.Tpo -c -o realmd-realm-sssd-ad.obj `if test -f 'realm-sssd-ad.c'; then $(CYGPATH_W) 'realm-sssd-ad.c'; else $(CYGPATH_W) '$(srcdir)/realm-sssd-ad.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-sssd-ad.Tpo $(DEPDIR)/realmd-realm-sssd-ad.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-sssd-ad.c' object='realmd-realm-sssd-ad.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-sssd-ad.obj `if test -f 'realm-sssd-ad.c'; then $(CYGPATH_W) 'realm-sssd-ad.c'; else $(CYGPATH_W) '$(srcdir)/realm-sssd-ad.c'; fi` realmd-realm-sssd-provider.o: realm-sssd-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-sssd-provider.o -MD -MP -MF $(DEPDIR)/realmd-realm-sssd-provider.Tpo -c -o realmd-realm-sssd-provider.o `test -f 'realm-sssd-provider.c' || echo '$(srcdir)/'`realm-sssd-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-sssd-provider.Tpo $(DEPDIR)/realmd-realm-sssd-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-sssd-provider.c' object='realmd-realm-sssd-provider.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-sssd-provider.o `test -f 'realm-sssd-provider.c' || echo '$(srcdir)/'`realm-sssd-provider.c realmd-realm-sssd-provider.obj: realm-sssd-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-sssd-provider.obj -MD -MP -MF $(DEPDIR)/realmd-realm-sssd-provider.Tpo -c -o realmd-realm-sssd-provider.obj `if test -f 'realm-sssd-provider.c'; then $(CYGPATH_W) 'realm-sssd-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-sssd-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-sssd-provider.Tpo $(DEPDIR)/realmd-realm-sssd-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-sssd-provider.c' object='realmd-realm-sssd-provider.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-sssd-provider.obj `if test -f 'realm-sssd-provider.c'; then $(CYGPATH_W) 'realm-sssd-provider.c'; else $(CYGPATH_W) '$(srcdir)/realm-sssd-provider.c'; fi` realmd-realm-sssd-config.o: realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-sssd-config.o -MD -MP -MF $(DEPDIR)/realmd-realm-sssd-config.Tpo -c -o realmd-realm-sssd-config.o `test -f 'realm-sssd-config.c' || echo '$(srcdir)/'`realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-sssd-config.Tpo $(DEPDIR)/realmd-realm-sssd-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-sssd-config.c' object='realmd-realm-sssd-config.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-sssd-config.o `test -f 'realm-sssd-config.c' || echo '$(srcdir)/'`realm-sssd-config.c realmd-realm-sssd-config.obj: realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-sssd-config.obj -MD -MP -MF $(DEPDIR)/realmd-realm-sssd-config.Tpo -c -o realmd-realm-sssd-config.obj `if test -f 'realm-sssd-config.c'; then $(CYGPATH_W) 'realm-sssd-config.c'; else $(CYGPATH_W) '$(srcdir)/realm-sssd-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-sssd-config.Tpo $(DEPDIR)/realmd-realm-sssd-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-sssd-config.c' object='realmd-realm-sssd-config.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-sssd-config.obj `if test -f 'realm-sssd-config.c'; then $(CYGPATH_W) 'realm-sssd-config.c'; else $(CYGPATH_W) '$(srcdir)/realm-sssd-config.c'; fi` realmd-realm-sssd-ipa.o: realm-sssd-ipa.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-sssd-ipa.o -MD -MP -MF $(DEPDIR)/realmd-realm-sssd-ipa.Tpo -c -o realmd-realm-sssd-ipa.o `test -f 'realm-sssd-ipa.c' || echo '$(srcdir)/'`realm-sssd-ipa.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-sssd-ipa.Tpo $(DEPDIR)/realmd-realm-sssd-ipa.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-sssd-ipa.c' object='realmd-realm-sssd-ipa.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-sssd-ipa.o `test -f 'realm-sssd-ipa.c' || echo '$(srcdir)/'`realm-sssd-ipa.c realmd-realm-sssd-ipa.obj: realm-sssd-ipa.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-sssd-ipa.obj -MD -MP -MF $(DEPDIR)/realmd-realm-sssd-ipa.Tpo -c -o realmd-realm-sssd-ipa.obj `if test -f 'realm-sssd-ipa.c'; then $(CYGPATH_W) 'realm-sssd-ipa.c'; else $(CYGPATH_W) '$(srcdir)/realm-sssd-ipa.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-sssd-ipa.Tpo $(DEPDIR)/realmd-realm-sssd-ipa.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-sssd-ipa.c' object='realmd-realm-sssd-ipa.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-sssd-ipa.obj `if test -f 'realm-sssd-ipa.c'; then $(CYGPATH_W) 'realm-sssd-ipa.c'; else $(CYGPATH_W) '$(srcdir)/realm-sssd-ipa.c'; fi` realmd-realm-usleep-async.o: realm-usleep-async.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-usleep-async.o -MD -MP -MF $(DEPDIR)/realmd-realm-usleep-async.Tpo -c -o realmd-realm-usleep-async.o `test -f 'realm-usleep-async.c' || echo '$(srcdir)/'`realm-usleep-async.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-usleep-async.Tpo $(DEPDIR)/realmd-realm-usleep-async.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-usleep-async.c' object='realmd-realm-usleep-async.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-usleep-async.o `test -f 'realm-usleep-async.c' || echo '$(srcdir)/'`realm-usleep-async.c realmd-realm-usleep-async.obj: realm-usleep-async.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-realm-usleep-async.obj -MD -MP -MF $(DEPDIR)/realmd-realm-usleep-async.Tpo -c -o realmd-realm-usleep-async.obj `if test -f 'realm-usleep-async.c'; then $(CYGPATH_W) 'realm-usleep-async.c'; else $(CYGPATH_W) '$(srcdir)/realm-usleep-async.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-realm-usleep-async.Tpo $(DEPDIR)/realmd-realm-usleep-async.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='realm-usleep-async.c' object='realmd-realm-usleep-async.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-realm-usleep-async.obj `if test -f 'realm-usleep-async.c'; then $(CYGPATH_W) 'realm-usleep-async.c'; else $(CYGPATH_W) '$(srcdir)/realm-usleep-async.c'; fi` realmd-safe-printf.o: safe-printf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-safe-printf.o -MD -MP -MF $(DEPDIR)/realmd-safe-printf.Tpo -c -o realmd-safe-printf.o `test -f 'safe-printf.c' || echo '$(srcdir)/'`safe-printf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-safe-printf.Tpo $(DEPDIR)/realmd-safe-printf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='safe-printf.c' object='realmd-safe-printf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-safe-printf.o `test -f 'safe-printf.c' || echo '$(srcdir)/'`safe-printf.c realmd-safe-printf.obj: safe-printf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT realmd-safe-printf.obj -MD -MP -MF $(DEPDIR)/realmd-safe-printf.Tpo -c -o realmd-safe-printf.obj `if test -f 'safe-printf.c'; then $(CYGPATH_W) 'safe-printf.c'; else $(CYGPATH_W) '$(srcdir)/safe-printf.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/realmd-safe-printf.Tpo $(DEPDIR)/realmd-safe-printf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='safe-printf.c' object='realmd-safe-printf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -c -o realmd-safe-printf.obj `if test -f 'safe-printf.c'; then $(CYGPATH_W) 'safe-printf.c'; else $(CYGPATH_W) '$(srcdir)/safe-printf.c'; fi` install-polkit_policyDATA: $(polkit_policy_DATA) @$(NORMAL_INSTALL) @list='$(polkit_policy_DATA)'; test -n "$(polkit_policydir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(polkit_policydir)'"; \ $(MKDIR_P) "$(DESTDIR)$(polkit_policydir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(polkit_policydir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(polkit_policydir)" || exit $$?; \ done uninstall-polkit_policyDATA: @$(NORMAL_UNINSTALL) @list='$(polkit_policy_DATA)'; test -n "$(polkit_policydir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(polkit_policydir)'; $(am__uninstall_files_from_dir) install-privateDATA: $(private_DATA) @$(NORMAL_INSTALL) @list='$(private_DATA)'; test -n "$(privatedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(privatedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(privatedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(privatedir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(privatedir)" || exit $$?; \ done uninstall-privateDATA: @$(NORMAL_UNINSTALL) @list='$(private_DATA)'; test -n "$(privatedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(privatedir)'; $(am__uninstall_files_from_dir) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) $(DATA) installdirs: for dir in "$(DESTDIR)$(privatedir)" "$(DESTDIR)$(polkit_policydir)" "$(DESTDIR)$(privatedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-privatePROGRAMS mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-data-local install-polkit_policyDATA \ install-privateDATA install-privatePROGRAMS install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-local uninstall-polkit_policyDATA \ uninstall-privateDATA uninstall-privatePROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-privatePROGRAMS cscopelist-am ctags ctags-am distclean \ distclean-compile distclean-generic distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-data-local install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-polkit_policyDATA \ install-privateDATA install-privatePROGRAMS install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am uninstall-local \ uninstall-polkit_policyDATA uninstall-privateDATA \ uninstall-privatePROGRAMS perform-memcheck: $(TEST_PROGS) $(TEST_SUPPRESSIONS) @make -C $(top_builddir)/build all @for test in $(TEST_PROGS); do \ G_SLICE=always-malloc libtool --mode=execute \ valgrind --trace-children=no --gen-suppressions=all \ --suppressions=$(TEST_SUPPRESSIONS) \ --leak-check=full --show-reachable=yes --num-callers=16 \ --quiet --error-exitcode=33 \ $(builddir)/$$test; \ done @WITH_COVERAGE_TRUE@coverage: @WITH_COVERAGE_TRUE@ mkdir -p $(top_builddir)/build/coverage @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --capture --output-file $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(GENHTML) --output-directory $(top_builddir)/build/coverage $(top_builddir)/build/coverage.info @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters @WITH_COVERAGE_TRUE@ @echo "file://$(abs_top_builddir)/build/coverage/index.html" @WITH_COVERAGE_TRUE@clear-coverage: @WITH_COVERAGE_TRUE@ $(LCOV) --directory . --zerocounters .desktop.in.in.desktop.in: $(V_SED) $(SED_SUBST) $< > $@ @INTLTOOL_DESKTOP_RULE@ .service.in.service: $(V_SED) $(SED_SUBST) $< > $@ .conf.in.conf: $(V_SED) $(SED_SUBST) $< > $@ @INTLTOOL_POLICY_RULE@ # Install and uninstall the config for this distro install-data-local: $(INSTALL_PROGRAM) -d $(DESTDIR)$(privatedir) $(INSTALL_PROGRAM) -d $(DESTDIR)$(localstatedir)/lib/realmd $(INSTALL_PROGRAM) -d $(DESTDIR)$(cachedir) $(INSTALL_DATA) $(srcdir)/realmd-$(DISTRO).conf $(DESTDIR)$(privatedir)/realmd-distro.conf uninstall-local: rm -f $(DESTDIR)$(privatedir)/realmd-distro.conf # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: realmd-0.15.0/service/realm-usleep-async.h0000664000175000017500000000201112140455744020346 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Marius Vollmer */ #include "config.h" #ifndef __REALM_USLEEP_ASYNC_H__ #define __REALM_USLEEP_ASYNC_H__ #include #include G_BEGIN_DECLS /* A cancellable delay */ void realm_usleep_async (gulong microseconds, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_usleep_finish (GAsyncResult *result, GError **error); G_END_DECLS #endif /* __REALM_USLEEP_ASYNC_H__ */ realmd-0.15.0/service/realm-samba-util.h0000664000175000017500000000140212136506636020001 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SAMBA_UTIL_H__ #define __REALM_SAMBA_UTIL_H__ #include G_BEGIN_DECLS gchar * realm_samba_util_build_strange_ou (const gchar *ldap_dn, const gchar *suffix_dn); G_END_DECLS #endif /* __REALM_SAMBA_UTIL_H__ */ realmd-0.15.0/service/realm-sssd-config.c0000664000175000017500000001626412174154466020173 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-errors.h" #include "realm-ini-config.h" #include "realm-sssd-config.h" #include "realm-settings.h" #include #include RealmIniConfig * realm_sssd_config_new_with_flags (RealmIniFlags flags, GError **error) { RealmIniConfig *config; const gchar *filename; GError *err = NULL; config = realm_ini_config_new (flags | REALM_INI_PRIVATE | REALM_INI_STRICT_BOOLEAN); filename = realm_settings_path ("sssd.conf"); realm_ini_config_read_file (config, filename, &err); if (err != NULL) { /* If the caller wants errors, then don't return an invalid samba config */ if (error) { g_propagate_error (error, err); g_object_unref (config); config = NULL; /* If the caller doesn't care, then warn but continue */ } else { g_warning ("Couldn't load config file: %s: %s", filename, err->message); g_error_free (err); } } return config; } RealmIniConfig * realm_sssd_config_new (GError **error) { return realm_sssd_config_new_with_flags (REALM_INI_NONE, error); } gchar ** realm_sssd_config_get_domains (RealmIniConfig *config) { g_return_val_if_fail (REALM_IS_INI_CONFIG (config), NULL); return realm_ini_config_get_list (config, "sssd", "domains", ","); } gchar * realm_sssd_config_domain_to_section (const gchar *domain) { g_return_val_if_fail (domain != NULL, NULL); return g_strdup_printf ("domain/%s", domain); } gboolean realm_sssd_config_have_domain (RealmIniConfig *config, const gchar *domain) { gchar **domains; gboolean have = FALSE; gint i; g_return_val_if_fail (REALM_IS_INI_CONFIG (config), FALSE); g_return_val_if_fail (domain != NULL, FALSE); domains = realm_sssd_config_get_domains (config); for (i = 0; domains && domains[i] != NULL; i++) { if (g_str_equal (domain, domains[i])) { have = TRUE; break; } } g_strfreev (domains); return have; } static gboolean update_domain (RealmIniConfig *config, const char *section, va_list va, GError **error) { GHashTable *parameters; const gchar *name; const gchar *value; parameters = g_hash_table_new (g_str_hash, g_str_equal); while ((name = va_arg (va, const gchar *)) != NULL) { value = va_arg (va, const gchar *); g_hash_table_insert (parameters, (gpointer)name, (gpointer)value); } realm_ini_config_set_all (config, section, parameters); g_hash_table_unref (parameters); return realm_ini_config_finish_change (config, error); } gboolean realm_sssd_config_add_domain (RealmIniConfig *config, const gchar *domain, GError **error, ...) { const gchar *domains[2]; gboolean ret; gchar *section; va_list va; g_return_val_if_fail (REALM_IS_INI_CONFIG (config), FALSE); g_return_val_if_fail (domain != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); if (!realm_ini_config_begin_change (config, error)) return FALSE; section = realm_sssd_config_domain_to_section (domain); if (realm_ini_config_have_section (config, section)) { realm_ini_config_abort_change (config); g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_EXIST, _("Already have domain %s in sssd.conf config file"), domain); g_free (section); return FALSE; } /* Setup a default sssd section */ if (!realm_ini_config_have (config, "section", "services")) realm_ini_config_set (config, "sssd", "services", "nss, pam", NULL); if (!realm_ini_config_have (config, "sssd", "config_file_version")) realm_ini_config_set (config, "sssd", "config_file_version", "2", NULL); domains[0] = domain; domains[1] = NULL; realm_ini_config_set_list_diff (config, "sssd", "domains", ", ", domains, NULL); va_start (va, error); ret = update_domain (config, section, va, error); va_end (va); g_free (section); return ret; } gboolean realm_sssd_config_update_domain (RealmIniConfig *config, const gchar *domain, GError **error, ...) { gchar *section; gboolean ret; va_list va; g_return_val_if_fail (REALM_IS_INI_CONFIG (config), FALSE); g_return_val_if_fail (domain != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); if (!realm_ini_config_begin_change (config, error)) return FALSE; section = realm_sssd_config_domain_to_section (domain); if (!realm_ini_config_have_section (config, section)) { realm_ini_config_abort_change (config); g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_NOENT, _("Don't have domain %s in sssd.conf config file"), domain); g_free (section); return FALSE; } va_start (va, error); ret = update_domain (config, section, va, error); va_end (va); g_free (section); return ret; } gboolean realm_sssd_config_remove_domain (RealmIniConfig *config, const gchar *domain, GError **error) { const gchar *domains[2]; gchar *section; g_return_val_if_fail (REALM_IS_INI_CONFIG (config), FALSE); g_return_val_if_fail (domain != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); if (!realm_ini_config_begin_change (config, error)) return FALSE; section = realm_sssd_config_domain_to_section (domain); domains[0] = domain; domains[1] = NULL; realm_ini_config_set_list_diff (config, "sssd", "domains", ", ", NULL, domains); realm_ini_config_remove_section (config, section); g_free (section); return realm_ini_config_finish_change (config, error); } gboolean realm_sssd_config_load_domain (RealmIniConfig *config, const gchar *domain, gchar **out_section, gchar **id_provider, gchar **realm_name) { const gchar *field_name; gchar *section; gchar *type; gchar *name; g_return_val_if_fail (REALM_IS_INI_CONFIG (config), FALSE); g_return_val_if_fail (domain != NULL, FALSE); section = realm_sssd_config_domain_to_section (domain); type = realm_ini_config_get (config, section, "id_provider"); if (g_strcmp0 (type, "ad") == 0) { field_name = "ad_domain"; } else if (g_strcmp0 (type, "ipa") == 0) { field_name = "ipa_domain"; } else { g_free (section); g_free (type); return FALSE; } name = realm_ini_config_get (config, section, field_name); if (name == NULL) name = realm_ini_config_get (config, section, "krb5_realm"); if (name == NULL) name = g_strdup (domain); if (realm_name) { *realm_name = name; name = NULL; } if (id_provider) { *id_provider = type; type = NULL; } if (out_section) { *out_section = section; section = NULL; } g_free (type); g_free (section); g_free (name); return TRUE; } realmd-0.15.0/service/realm-usleep-async.c0000664000175000017500000000643612140455744020360 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Marius Vollmer */ #include "config.h" #include "realm-usleep-async.h" typedef struct { gboolean completed; guint timeout_id; GCancellable *cancellable; guint cancel_id; } SleepAsyncData; static void complete_sleep_async (GSimpleAsyncResult *async) { SleepAsyncData *data = g_simple_async_result_get_op_res_gpointer (async); g_object_ref (async); if (!data->completed) { if (data->timeout_id > 0) g_source_remove (data->timeout_id); if (data->cancel_id > 0) { g_signal_handler_disconnect (data->cancellable, data->cancel_id); g_object_unref (data->cancellable); } data->completed = TRUE; g_simple_async_result_complete (async); } g_object_unref (async); } static gboolean on_sleep_async_done (gpointer user_data) { GSimpleAsyncResult *async = user_data; SleepAsyncData *data = g_simple_async_result_get_op_res_gpointer (async); data->timeout_id = 0; complete_sleep_async (async); return FALSE; } static void on_sleep_async_cancelled (GCancellable *cancellable, gpointer user_data) { GSimpleAsyncResult *async = user_data; complete_sleep_async (async); } void realm_usleep_async (gulong microseconds, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { GSimpleAsyncResult *async = g_simple_async_result_new (NULL, callback, user_data, realm_usleep_async); SleepAsyncData *data = g_new0 (SleepAsyncData, 1); g_simple_async_result_set_op_res_gpointer (async, data, g_free); if (cancellable) { g_simple_async_result_set_check_cancellable (async, cancellable); if (g_cancellable_is_cancelled (cancellable)) { g_simple_async_result_complete_in_idle (async); g_object_unref (async); return; } data->cancellable = g_object_ref (cancellable); data->cancel_id = g_cancellable_connect (cancellable, G_CALLBACK (on_sleep_async_cancelled), g_object_ref (async), g_object_unref); } data->timeout_id = g_timeout_add_full (G_PRIORITY_DEFAULT, microseconds / 1000, on_sleep_async_done, g_object_ref (async), g_object_unref); g_object_unref (async); } gboolean realm_usleep_finish (GAsyncResult *result, GError **error) { GSimpleAsyncResult *async; g_return_val_if_fail (g_simple_async_result_is_valid (result, NULL, realm_usleep_async), FALSE); async = G_SIMPLE_ASYNC_RESULT (result); if (g_simple_async_result_propagate_error (async, error)) return FALSE; return TRUE; } realmd-0.15.0/service/realm-packages.h0000664000175000017500000000265012140455744017525 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_PACKAGES_H__ #define __REALM_PACKAGES_H__ #include G_BEGIN_DECLS gchar ** realm_packages_expand_sets (const gchar **package_sets); gboolean realm_packages_check_paths (const gchar **paths, GDBusMethodInvocation *invocation); void realm_packages_install_async (const gchar **package_sets, GDBusMethodInvocation *invocation, GVariant *options, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_packages_install_finish (GAsyncResult *result, GError **error); G_END_DECLS #endif /* __REALM_PACKAGES_H__ */ realmd-0.15.0/service/realm-options.c0000664000175000017500000000525112140455744017435 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-dbus-constants.h" #include "realm-options.h" #include "realm-settings.h" gboolean realm_options_automatic_install (GVariant *options) { return realm_settings_boolean ("service", "automatic-install", TRUE); } gboolean realm_options_manage_system (GVariant *options, const gchar *realm_name) { gboolean manage; gchar *section; section = g_utf8_casefold (realm_name, -1); if (realm_settings_value (section, REALM_DBUS_OPTION_MANAGE_SYSTEM)) manage = realm_settings_boolean (section, REALM_DBUS_OPTION_MANAGE_SYSTEM, TRUE); else if (!g_variant_lookup (options, REALM_DBUS_OPTION_MANAGE_SYSTEM, "b", &manage)) manage = TRUE; g_free (section); return manage; } const gchar * realm_options_user_principal (GVariant *options, const gchar *realm_name) { const gchar *principal; gchar *section; if (!g_variant_lookup (options, REALM_DBUS_OPTION_USER_PRINCIPAL, "&s", &principal)) principal = NULL; if (!principal) { section = g_utf8_casefold (realm_name, -1); if (realm_settings_boolean (section, REALM_DBUS_OPTION_USER_PRINCIPAL, FALSE)) principal = ""; /* auto-generate */ g_free (section); } return principal; } const gchar * realm_options_computer_ou (GVariant *options, const gchar *realm_name) { const gchar *computer_ou = NULL; gchar *section; if (options) { if (!g_variant_lookup (options, REALM_DBUS_OPTION_COMPUTER_OU, "&s", &computer_ou)) computer_ou = NULL; } if (realm_name && !computer_ou) { section = g_utf8_casefold (realm_name, -1); computer_ou = realm_settings_value (section, REALM_DBUS_OPTION_COMPUTER_OU); g_free (section); } return g_strdup (computer_ou); } gboolean realm_options_automatic_mapping (const gchar *realm_name) { gchar *section; gboolean mapping; section = g_utf8_casefold (realm_name, -1); mapping = realm_settings_boolean (realm_name, "automatic-id-mapping", TRUE); g_free (section); return mapping; } gboolean realm_options_qualify_names (const gchar *realm_name) { gchar *section; gboolean qualify; section = g_utf8_casefold (realm_name, -1); qualify = realm_settings_boolean (realm_name, "fully-qualified-names", TRUE); g_free (section); return qualify; } realmd-0.15.0/service/Makefile.am0000664000175000017500000000650612263030362016527 0ustar00stefstef00000000000000include $(top_srcdir)/Makefile.decl private_PROGRAMS = \ realmd REALMD_CONFIGS = \ realmd-defaults.conf \ realmd-redhat.conf \ realmd-debian.conf \ realmd-suse.conf \ $(NULL) private_DATA = \ realmd-defaults.conf polkit_policydir = $(POLKIT_ACTION_DIR) polkit_policy_in_files = org.freedesktop.realmd.policy.in polkit_policy_DATA = $(polkit_policy_in_files:.policy.in=.policy) @INTLTOOL_POLICY_RULE@ realmd_SOURCES = \ realm-adcli-enroll.c realm-adcli-enroll.h \ realm-all-provider.c realm-all-provider.h \ realm-command.c realm-command.h \ realm-credential.c realm-credential.h \ realm-daemon.c realm-daemon.h \ realm-diagnostics.c realm-diagnostics.h \ realm-disco.c realm-disco.h \ realm-disco-dns.c realm-disco-dns.h \ realm-disco-domain.c realm-disco-domain.h \ realm-disco-mscldap.c realm-disco-mscldap.h \ realm-disco-rootdse.c realm-disco-rootdse.h \ realm-errors.c realm-errors.h \ realm-example.c realm-example.h \ realm-example-provider.c realm-example-provider.h \ realm-ini-config.c realm-ini-config.h \ realm-invocation.c realm-invocation.h \ realm-kerberos.c realm-kerberos.h \ realm-kerberos-membership.c realm-kerberos-membership.h \ realm-kerberos-provider.c realm-kerberos-provider.h \ realm-ldap.c realm-ldap.h \ realm-login-name.c realm-login-name.h \ realm-network.c realm-network.h \ realm-options.c realm-options.h \ realm-packages.c realm-packages.h \ realm-provider.c realm-provider.h \ realm-samba.c realm-samba.h \ realm-samba-config.c realm-samba-config.h \ realm-samba-enroll.c realm-samba-enroll.h \ realm-samba-provider.c realm-samba-provider.h \ realm-samba-util.c realm-samba-util.h \ realm-samba-winbind.c realm-samba-winbind.h \ realm-service.c realm-service.h \ realm-settings.c realm-settings.h \ realm-sssd.c realm-sssd.h \ realm-sssd-ad.c realm-sssd-ad.h \ realm-sssd-provider.c realm-sssd-provider.h \ realm-sssd-config.c realm-sssd-config.h \ realm-sssd-ipa.c realm-sssd-ipa.h \ realm-usleep-async.c realm-usleep-async.h \ safe-printf.c safe-printf.h \ $(NULL) realmd_CFLAGS = \ -I$(top_srcdir)/dbus \ -I$(top_srcdir)/build \ -I$(top_builddir)/dbus \ -DPRIVATE_DIR="\"$(privatedir)\"" \ -DSYSCONF_DIR="\"$(sysconfdir)\"" \ -DPROVIDER_DIR="\"$(privatedir)/provider.d\"" \ -DLOCALEDIR=\""$(datadir)/locale"\" \ -DSTATE_DIR="\"$(localstatedir)/lib/realmd\"" \ -DCACHEDIR="\"$(cachedir)\"" \ $(PACKAGEKIT_CFLAGS) \ $(POLKIT_CFLAGS) \ $(SYSTEMD_JOURNAL_CFLAGS) \ $(GLIB_CFLAGS) \ $(KRB5_CFLAGS) \ $(LDAP_CFLAGS) \ $(NULL) realmd_LDADD = \ $(top_builddir)/dbus/librealm-dbus.a \ $(PACKAGEKIT_LIBS) \ $(POLKIT_LIBS) \ $(SYSTEMD_JOURNAL_LIBS) \ $(GLIB_LIBS) \ $(KRB5_LIBS) \ $(LDAP_LIBS) \ $(NULL) # Install and uninstall the config for this distro install-data-local: $(INSTALL_PROGRAM) -d $(DESTDIR)$(privatedir) $(INSTALL_PROGRAM) -d $(DESTDIR)$(localstatedir)/lib/realmd $(INSTALL_PROGRAM) -d $(DESTDIR)$(cachedir) $(INSTALL_DATA) $(srcdir)/realmd-$(DISTRO).conf $(DESTDIR)$(privatedir)/realmd-distro.conf uninstall-local: rm -f $(DESTDIR)$(privatedir)/realmd-distro.conf # ------------------------------------------------------------------ EXTRA_DIST = \ $(polkit_policy_in_files) \ $(REALMD_CONFIGS) \ $(private_DATA) \ $(provider_DATA) \ $(NULL) CLEANFILES = \ $(polkit_policy_DATA) \ *.gcno \ *.gcda \ $(NULL) DISTCLEANFILES = \ $(BUILT_SOURCES) \ $(NULL) realmd-0.15.0/service/realm-provider.c0000664000175000017500000003545712261474502017604 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-dbus-generated.h" #include "realm-diagnostics.h" #include "realm-errors.h" #include "realm-invocation.h" #include "realm-kerberos.h" #include "realm-network.h" #include "realm-provider.h" #include "realm-settings.h" #include #include #define TIMEOUT_SECONDS 15 G_DEFINE_TYPE (RealmProvider, realm_provider, G_TYPE_DBUS_OBJECT_SKELETON); struct _RealmProviderPrivate { GHashTable *realms; RealmDbusProvider *provider_iface; }; typedef struct { RealmProvider *self; GDBusMethodInvocation *invocation; GVariant *options; gchar *string; guint timeout_id; } MethodClosure; static MethodClosure * method_closure_new (RealmProvider *self, GDBusMethodInvocation *invocation, GVariant *options) { MethodClosure *closure = g_new0 (MethodClosure, 1); closure->self = g_object_ref (self); closure->invocation = g_object_ref (invocation); closure->options = g_variant_ref (options); return closure; } static void method_closure_free (MethodClosure *closure) { g_object_unref (closure->self); g_object_unref (closure->invocation); g_variant_unref (closure->options); g_free (closure->string); g_assert (closure->timeout_id == 0); g_free (closure); } static gint sort_configured_first (gconstpointer a, gconstpointer b) { gint a_val = realm_kerberos_is_configured (REALM_KERBEROS (a)) ? 0 : 1; gint b_val = realm_kerberos_is_configured (REALM_KERBEROS (b)) ? 0 : 1; return a_val - b_val; } static GList * discover_configured (RealmProvider *self, const gchar *string) { GList *matched = NULL; GList *realms; GList *l; realms = realm_provider_get_realms (self); for (l = realms; l != NULL; l = g_list_next (l)) { if (realm_kerberos_is_configured (l->data) && realm_kerberos_matches (l->data, string)) matched = g_list_prepend (matched, g_object_ref (l->data)); } g_list_free (realms); return matched; } static void return_discover_result (MethodClosure *closure, GList *realms, gint relevance, GError *error) { GCancellable *cancellable; GVariant *retval; GPtrArray *results; const gchar *path; GList *l; /* Timeout was fired, cancel means timed out */ if (closure->timeout_id == 0) { if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) g_clear_error (&error); } else { g_source_remove (closure->timeout_id); closure->timeout_id = 0; if (error == NULL) { cancellable = realm_invocation_get_cancellable (closure->invocation); g_cancellable_set_error_if_cancelled (cancellable, &error); } } /* If no realms were discovered, try matching configured realms */ if (error == NULL && realms == NULL && closure->string) { realms = discover_configured (closure->self, closure->string); relevance = 20; } if (error == NULL) { realms = g_list_sort (realms, sort_configured_first); results = g_ptr_array_new (); for (l = realms; l != NULL; l = g_list_next (l)) { path = g_dbus_object_get_object_path (l->data); g_ptr_array_add (results, g_variant_new_object_path (path)); } retval = g_variant_new ("(i@ao)", relevance, g_variant_new_array (G_VARIANT_TYPE ("o"), (GVariant *const *)results->pdata, results->len)); g_ptr_array_free (results, TRUE); g_dbus_method_invocation_return_value (closure->invocation, retval); } else { if (error->domain == REALM_ERROR || error->domain == G_DBUS_ERROR) { g_dbus_error_strip_remote_error (error); realm_diagnostics_error (closure->invocation, error, NULL); g_dbus_method_invocation_return_gerror (closure->invocation, error); } else if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) { realm_diagnostics_error (closure->invocation, error, "Cancelled"); g_dbus_method_invocation_return_error (closure->invocation, REALM_ERROR, REALM_ERROR_CANCELLED, _("Operation was cancelled.")); } else { realm_diagnostics_error (closure->invocation, error, "Failed to discover realm"); g_dbus_method_invocation_return_error (closure->invocation, REALM_ERROR, REALM_ERROR_FAILED, _("Failed to discover realm. See diagnostics.")); } g_error_free (error); } g_list_free_full (realms, g_object_unref); method_closure_free (closure); } static void on_discover_complete (GObject *source, GAsyncResult *result, gpointer user_data) { MethodClosure *method = user_data; GError *error = NULL; gint relevance; GList *realms; realms = realm_provider_discover_finish (method->self, result, &relevance, &error); return_discover_result (method, realms, relevance, error); } static void on_discover_default (GObject *source, GAsyncResult *result, gpointer user_data) { MethodClosure *method = user_data; GError *error = NULL; method->string = realm_network_get_dhcp_domain_finish (result, &error); if (error != NULL) { realm_diagnostics_error (method->invocation, error, "Couldn't get default domain from DHCP"); g_clear_error (&error); } if (method->string) { g_strstrip (method->string); if (g_str_equal (method->string, "")) { g_free (method->string); method->string = NULL; } } /* Yay we have a default domain from DHCP, use it */ if (method->string) { realm_provider_discover (method->self, method->string, method->options, method->invocation, on_discover_complete, method); } else { realm_diagnostics_info (method->invocation, "No default domain received via DHCP"); return_discover_result (method, NULL, 0, NULL); } } static gboolean on_discover_timeout (gpointer user_data) { MethodClosure *method = user_data; method->timeout_id = 0; realm_diagnostics_error (method->invocation, NULL, "Discovery timed out after %d seconds", TIMEOUT_SECONDS); g_cancellable_cancel (realm_invocation_get_cancellable (method->invocation)); return FALSE; } static gboolean realm_provider_handle_discover (RealmDbusProvider *provider, GDBusMethodInvocation *invocation, const gchar *string, GVariant *options, gpointer user_data) { RealmProvider *self = REALM_PROVIDER (user_data); GDBusConnection *connection; MethodClosure *method; method = method_closure_new (self, invocation, options); method->timeout_id = g_timeout_add_seconds (TIMEOUT_SECONDS, on_discover_timeout, method); method->string = g_strdup (string); g_strstrip (method->string); if (g_str_equal (string, "")) { connection = g_dbus_method_invocation_get_connection (invocation); realm_network_get_dhcp_domain_async (connection, on_discover_default, method); } else { realm_provider_discover (self, method->string, options, invocation, on_discover_complete, method); } return TRUE; } static gboolean realm_provider_authorize_method (GDBusObjectSkeleton *skeleton, GDBusInterfaceSkeleton *iface, GDBusMethodInvocation *invocation) { return realm_invocation_authorize (invocation); } static GList * realm_provider_real_get_realms (RealmProvider *self) { GHashTableIter iter; GList *realms = NULL; RealmKerberos *realm; g_hash_table_iter_init (&iter, self->pv->realms); while (g_hash_table_iter_next (&iter, NULL, (gpointer *)&realm)) realms = g_list_prepend (realms, realm); return realms; } static void realm_provider_init (RealmProvider *self) { self->pv = G_TYPE_INSTANCE_GET_PRIVATE (self, REALM_TYPE_PROVIDER, RealmProviderPrivate); self->pv->realms = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref); self->pv->provider_iface = realm_dbus_provider_skeleton_new (); g_signal_connect (self->pv->provider_iface, "handle-discover", G_CALLBACK (realm_provider_handle_discover), self); g_dbus_object_skeleton_add_interface (G_DBUS_OBJECT_SKELETON (self), G_DBUS_INTERFACE_SKELETON (self->pv->provider_iface)); } static void realm_provider_constructed (GObject *obj) { RealmProvider *self = REALM_PROVIDER (obj); G_OBJECT_CLASS (realm_provider_parent_class)->constructed (obj); /* The dbus version property of the provider */ realm_dbus_provider_set_version (self->pv->provider_iface, VERSION); } static void update_realms_property (RealmProvider *self) { GHashTableIter iter; GDBusObject *realm; GVariantBuilder builder; GPtrArray *realms; g_variant_builder_init (&builder, G_VARIANT_TYPE ("ao")); realms = g_ptr_array_new (); g_hash_table_iter_init (&iter, self->pv->realms); while (g_hash_table_iter_next (&iter, NULL, (gpointer)&realm)) g_ptr_array_add (realms, (gpointer)g_dbus_object_get_object_path (realm)); g_ptr_array_add (realms, NULL); realm_provider_set_realm_paths (self, (const gchar **)realms->pdata); g_ptr_array_free (realms, TRUE); } static void realm_provider_finalize (GObject *obj) { RealmProvider *self = REALM_PROVIDER (obj); g_hash_table_unref (self->pv->realms); G_OBJECT_CLASS (realm_provider_parent_class)->finalize (obj); } static void realm_provider_class_init (RealmProviderClass *klass) { GDBusObjectSkeletonClass *skeleton_class = G_DBUS_OBJECT_SKELETON_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->constructed = realm_provider_constructed; object_class->finalize = realm_provider_finalize; skeleton_class->authorize_method = realm_provider_authorize_method; klass->get_realms = realm_provider_real_get_realms; g_type_class_add_private (klass, sizeof (RealmProviderPrivate)); } RealmKerberos * realm_provider_lookup_or_register_realm (RealmProvider *self, GType realm_type, const gchar *realm_name, RealmDisco *disco) { RealmKerberos *realm; static gint unique_number = 0; const gchar *provider_path; gchar *escaped; gchar *path; realm = g_hash_table_lookup (self->pv->realms, realm_name); if (realm != NULL) { if (disco != NULL) realm_kerberos_set_disco (realm, disco); return realm; } escaped = g_strdup (realm_name); g_strcanon (escaped, REALM_DBUS_NAME_CHARS, '_'); provider_path = g_dbus_object_get_object_path (G_DBUS_OBJECT (self)); path = g_strdup_printf ("%s/%s_%d", provider_path, escaped, ++unique_number); g_free (escaped); realm = g_object_new (realm_type, "name", realm_name, "disco", disco, "provider", self, "g-object-path", path, NULL); realm_daemon_export_object (G_DBUS_OBJECT_SKELETON (realm)); g_hash_table_insert (self->pv->realms, g_strdup (realm_name), realm); g_free (path); update_realms_property (self); g_signal_emit_by_name (self, "notify", NULL); return realm; } gboolean realm_provider_is_default (const gchar *type, const gchar *name) { gboolean result; gchar *client; client = g_ascii_strdown (realm_settings_string (type, "default-client"), -1); result = client != NULL && strstr (client, name); g_free (client); return result; } void realm_provider_set_name (RealmProvider *self, const gchar *value) { g_return_if_fail (REALM_IS_PROVIDER (self)); g_return_if_fail (value != NULL); realm_dbus_provider_set_name (self->pv->provider_iface, value); } GList * realm_provider_get_realms (RealmProvider *self) { RealmProviderClass *klass; g_return_val_if_fail (REALM_IS_PROVIDER (self), NULL); klass = REALM_PROVIDER_GET_CLASS (self); g_return_val_if_fail (klass->get_realms != NULL, NULL); return (klass->get_realms) (self); } void realm_provider_set_realm_paths (RealmProvider *self, const gchar **value) { g_return_if_fail (REALM_IS_PROVIDER (self)); g_return_if_fail (value != NULL); realm_dbus_provider_set_realms (self->pv->provider_iface, value); } void realm_provider_discover (RealmProvider *self, const gchar *string, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmProviderClass *klass; klass = REALM_PROVIDER_GET_CLASS (self); g_return_if_fail (klass->discover_async != NULL); (klass->discover_async) (self, string, options, invocation, callback, user_data); } GList * realm_provider_discover_finish (RealmProvider *self, GAsyncResult *result, gint *relevance, GError **error) { RealmProviderClass *klass; GError *sub_error = NULL; GList *realms; klass = REALM_PROVIDER_GET_CLASS (self); g_return_val_if_fail (klass->discover_finish != NULL, NULL); realms = (klass->discover_finish) (self, result, relevance, &sub_error); if (sub_error == NULL) { if (realms == NULL) *relevance = 0; } else { g_propagate_error (error, sub_error); } return realms; } gboolean realm_provider_match_software (GVariant *options, const gchar *server_software, const gchar *client_software, const gchar *membership_software) { const gchar *string; g_return_val_if_fail (server_software != NULL, FALSE); g_return_val_if_fail (client_software != NULL, FALSE); if (g_variant_lookup (options, REALM_DBUS_OPTION_SERVER_SOFTWARE, "&s", &string)) { if (g_str_equal (string, REALM_DBUS_IDENTIFIER_FREEIPA)) string = REALM_DBUS_IDENTIFIER_IPA; if (!g_str_equal (server_software, string)) return FALSE; } if (g_variant_lookup (options, REALM_DBUS_OPTION_CLIENT_SOFTWARE, "&s", &string)) { if (!g_str_equal (client_software, string)) return FALSE; } if (membership_software && g_variant_lookup (options, REALM_DBUS_OPTION_MEMBERSHIP_SOFTWARE, "&s", &string)) { if (!g_str_equal (membership_software, string)) return FALSE; } return TRUE; } realmd-0.15.0/service/realm-kerberos-provider.h0000664000175000017500000000232312041772674021414 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_KERBEROS_PROVIDER_H__ #define __REALM_KERBEROS_PROVIDER_H__ #include #include "realm-provider.h" G_BEGIN_DECLS #define REALM_TYPE_KERBEROS_PROVIDER (realm_kerberos_provider_get_type ()) #define REALM_KERBEROS_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_KERBEROS_PROVIDER, RealmKerberosProvider)) #define REALM_IS_KERBEROS_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_KERBEROS_PROVIDER)) typedef struct _RealmKerberosProvider RealmKerberosProvider; GType realm_kerberos_provider_get_type (void) G_GNUC_CONST; RealmProvider * realm_kerberos_provider_new (void); G_END_DECLS #endif /* __REALM_KERBEROS_PROVIDER_H__ */ realmd-0.15.0/service/realm-provider.h0000664000175000017500000001136012261474502017574 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_PROVIDER_H__ #define __REALM_PROVIDER_H__ #include #include "realm-dbus-generated.h" #include "realm-disco.h" #include "realm-kerberos.h" G_BEGIN_DECLS #define REALM_TYPE_PROVIDER (realm_provider_get_type ()) #define REALM_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_PROVIDER, RealmProvider)) #define REALM_IS_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_PROVIDER)) #define REALM_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), REALM_TYPE_PROVIDER, RealmProviderClass)) #define REALM_IS_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), REALM_TYPE_PROVIDER)) #define REALM_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), REALM_TYPE_PROVIDER, RealmProviderClass)) typedef struct _RealmProvider RealmProvider; typedef struct _RealmProviderClass RealmProviderClass; typedef struct _RealmProviderPrivate RealmProviderPrivate; struct _RealmProvider { RealmDbusProviderSkeleton parent; RealmProviderPrivate *pv; }; struct _RealmProviderClass { RealmDbusProviderSkeletonClass parent_class; void (* discover_async) (RealmProvider *provider, const gchar *string, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); GList * (* discover_finish) (RealmProvider *provider, GAsyncResult *result, gint *relevance, GError **error); GList * (* get_realms) (RealmProvider *provider); }; GType realm_provider_get_type (void) G_GNUC_CONST; RealmProvider * realm_provider_start (GDBusConnection *connection, GType type); void realm_provider_stop_all (void); RealmKerberos * realm_provider_lookup_or_register_realm (RealmProvider *self, GType realm_type, const gchar *realm_name, RealmDisco *disco); gboolean realm_provider_is_default (const gchar *type, const gchar *name); void realm_provider_discover (RealmProvider *self, const gchar *string, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); GList * realm_provider_discover_finish (RealmProvider *self, GAsyncResult *result, gint *relevance, GError **error); void realm_provider_set_name (RealmProvider *self, const gchar *value); GList * realm_provider_get_realms (RealmProvider *self); void realm_provider_set_realm_paths (RealmProvider *self, const gchar **value); gboolean realm_provider_match_software (GVariant *options, const gchar *server_software, const gchar *client_software, const gchar *membership_software); G_END_DECLS #endif /* __REALM_KERBEROS_PROVIDER_H__ */ realmd-0.15.0/service/realm-disco-domain.c0000664000175000017500000002057212147352001020300 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-command.h" #include "realm-dbus-constants.h" #include "realm-diagnostics.h" #include "realm-disco.h" #include "realm-disco-dns.h" #include "realm-disco-domain.h" #include "realm-disco-mscldap.h" #include "realm-disco-rootdse.h" #include "realm-errors.h" #include "realm-invocation.h" #include "realm-network.h" #include typedef struct _Callback { GAsyncReadyCallback function; gpointer user_data; struct _Callback *next; } Callback; typedef struct { GObject parent; gchar *input; GCancellable *cancellable; GDBusMethodInvocation *invocation; GSocketAddressEnumerator *enumerator; gint outstanding; gboolean completed; RealmDisco *disco; Callback *callback; } RealmDiscoDomain; typedef struct { GObjectClass parent; } RealmDiscoDomainClass; #define REALM_TYPE_DISCO_DOMAIN (realm_disco_domain_get_type ()) #define REALM_DISCO_DOMAIN(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_DISCO_DOMAIN, RealmDiscoDomain)) #define REALM_IS_DISCO_DOMAIN(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_DISCO_DOMAIN)) static GHashTable *discover_cache = NULL; static void step_discover (RealmDiscoDomain *self, RealmDisco *disco); GType realm_disco_domain_get_type (void) G_GNUC_CONST; void realm_disco_domain_async_result_init (GAsyncResultIface *iface); G_DEFINE_TYPE_WITH_CODE (RealmDiscoDomain, realm_disco_domain, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE (G_TYPE_ASYNC_RESULT, realm_disco_domain_async_result_init); ); static void realm_disco_domain_init (RealmDiscoDomain *self) { self->cancellable = g_cancellable_new (); } static void realm_disco_domain_finalize (GObject *obj) { RealmDiscoDomain *self = REALM_DISCO_DOMAIN (obj); g_free (self->input); g_object_unref (self->cancellable); g_object_unref (self->invocation); g_clear_object (&self->enumerator); realm_disco_unref (self->disco); g_assert (self->callback == NULL); G_OBJECT_CLASS (realm_disco_domain_parent_class)->finalize (obj); } static void realm_disco_domain_class_init (RealmDiscoDomainClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->finalize = realm_disco_domain_finalize; } static GObject * realm_disco_domain_get_source_object (GAsyncResult *result) { return g_object_ref (result); } static gpointer realm_disco_domain_get_user_data (GAsyncResult *result) { /* What is this useful for? */ g_return_val_if_reached (NULL); } void realm_disco_domain_async_result_init (GAsyncResultIface *iface) { iface->get_source_object = realm_disco_domain_get_source_object; iface->get_user_data = realm_disco_domain_get_user_data; } static void complete_discover (RealmDiscoDomain *self) { Callback *call, *next; g_assert (!self->completed); self->completed = TRUE; /* No longer in the concurrency cache */ g_hash_table_remove (discover_cache, self->input); if (g_hash_table_size (discover_cache) == 0) g_hash_table_destroy (discover_cache); discover_cache = NULL; /* Stop all other results */ g_cancellable_cancel (self->cancellable); call = self->callback; self->callback = NULL; if (self->disco) realm_diagnostics_info (self->invocation, "Successfully discovered: %s", self->disco->domain_name); while (call != NULL) { next = call->next; if (call->function) (call->function) (NULL, G_ASYNC_RESULT (self), call->user_data); g_free (call); call = next; } } static void on_discover_rootdse (GObject *source, GAsyncResult *result, gpointer user_data) { RealmDiscoDomain *self = REALM_DISCO_DOMAIN (user_data); GError *error = NULL; RealmDisco *disco; self->outstanding--; disco = realm_disco_rootdse_finish (result, &error); if (error && !self->completed) realm_diagnostics_error (self->invocation, error, NULL); g_clear_error (&error); step_discover (self, disco); g_object_unref (self); } static void on_discover_next_address (GObject *source, GAsyncResult *result, gpointer user_data) { RealmDiscoDomain *self = REALM_DISCO_DOMAIN (user_data); GSocketAddressEnumerator *enumerator = G_SOCKET_ADDRESS_ENUMERATOR (source); GError *error = NULL; GSocketAddress *address; GInetSocketAddress *inet; const gchar *explicit_host; RealmDiscoDnsHint hint; gchar *string; if (self->completed) { g_object_unref (self); return; } address = g_socket_address_enumerator_next_finish (enumerator, result, &error); if (error != NULL || address == NULL) { if (error && !self->completed && !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) realm_diagnostics_error (self->invocation, error, "Couldn't lookup realm DNS records"); g_clear_error (&error); g_clear_object (&self->enumerator); } else { inet = G_INET_SOCKET_ADDRESS (address); string = g_inet_address_to_string (g_inet_socket_address_get_address (inet)); hint = realm_disco_dns_get_hint (enumerator); if (hint & REALM_DISCO_IS_SERVER) explicit_host = realm_disco_dns_get_name (enumerator); else explicit_host = NULL; realm_diagnostics_info (self->invocation, "Performing LDAP DSE lookup on: %s", string); realm_disco_rootdse_async (address, explicit_host, self->invocation, self->cancellable, on_discover_rootdse, g_object_ref (self)); self->outstanding++; g_free (string); } step_discover (self, NULL); g_clear_object (&address); g_object_unref (self); } static void step_discover (RealmDiscoDomain *self, RealmDisco *disco) { /* Already done, just skip these results */ if (self->completed) { realm_disco_unref (disco); /* Either have a result, or finished searching: done */ } else if (disco || (self->enumerator == NULL && self->outstanding == 0)) { self->disco = disco; complete_discover (self); /* Otherwise try up to three servers at once */ } else if (self->enumerator && self->outstanding < 3) { g_socket_address_enumerator_next_async (self->enumerator, self->cancellable, on_discover_next_address, g_object_ref (self)); } } static void on_cancel_propagate (GCancellable *source, gpointer dest) { g_cancellable_cancel (dest); } void realm_disco_domain_async (const gchar *string, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmDiscoDomain *self; GCancellable *cancellable; Callback *call; g_return_if_fail (string != NULL); g_return_if_fail (invocation == NULL || G_IS_DBUS_METHOD_INVOCATION (invocation)); if (!discover_cache) discover_cache = g_hash_table_new (g_str_hash, g_str_equal); self = g_hash_table_lookup (discover_cache, string); if (self == NULL) { self = g_object_new (REALM_TYPE_DISCO_DOMAIN, NULL); self->input = g_strdup (string); self->invocation = g_object_ref (invocation); self->enumerator = realm_disco_dns_enumerate_servers (string, invocation); g_hash_table_insert (discover_cache, self->input, self); g_assert (!self->completed); cancellable = realm_invocation_get_cancellable (invocation); if (cancellable) { g_cancellable_connect (cancellable, (GCallback)on_cancel_propagate, g_object_ref (self->cancellable), g_object_unref); } step_discover (self, NULL); } else { g_assert (!self->completed); g_object_ref (self); } call = g_new0 (Callback, 1); call->function = callback; call->user_data = user_data; call->next = self->callback; self->callback = call; g_object_unref (self); } RealmDisco * realm_disco_domain_finish (GAsyncResult *result, GError **error) { RealmDiscoDomain *self; g_return_val_if_fail (error == NULL || *error == NULL, NULL); self = REALM_DISCO_DOMAIN (result); /* Didn't find a valid domain */ if (!self->disco) return NULL; return realm_disco_ref (self->disco); } realmd-0.15.0/service/realmd-redhat.conf0000664000175000017500000000350012220322576020046 0ustar00stefstef00000000000000# Distro specific overrides for redhat [paths] smb.conf = /etc/samba/smb.conf [samba-packages] samba-common = /usr/bin/net [winbind-packages] samba-winbind = /usr/sbin/winbindd samba-winbind-clients = /usr/bin/wbinfo oddjob = /usr/sbin/oddjobd oddjob-mkhomedir = /usr/libexec/oddjob/mkhomedir [sssd-packages] sssd = /usr/sbin/sssd oddjob = /usr/sbin/oddjobd oddjob-mkhomedir = /usr/libexec/oddjob/mkhomedir [adcli-packages] adcli = /usr/sbin/adcli [ipa-packages] freeipa-client = /usr/sbin/ipa-client-install [commands] winbind-enable-logins = /usr/bin/sh -c "/usr/sbin/authconfig --update --enablewinbind --enablewinbindauth --enablemkhomedir --nostart && /usr/bin/systemctl enable oddjobd.service && /usr/bin/systemctl start oddjobd.service" winbind-disable-logins = /usr/sbin/authconfig --update --disablewinbind --disablewinbindauth --nostart winbind-enable-service = /usr/bin/systemctl enable winbind.service winbind-disable-service = /usr/bin/systemctl disable winbind.service winbind-restart-service = /usr/bin/systemctl restart winbind.service winbind-stop-service = /usr/bin/systemctl stop winbind.service sssd-enable-logins = /usr/bin/sh -c "/usr/sbin/authconfig --update --enablesssd --enablesssdauth --enablemkhomedir --nostart && /usr/bin/systemctl enable oddjobd.service && /usr/bin/systemctl start oddjobd.service" sssd-disable-logins = /usr/sbin/authconfig --update --disablesssdauth --nostart sssd-enable-service = /usr/bin/systemctl enable sssd.service sssd-disable-service = /usr/bin/systemctl disable sssd.service sssd-restart-service = /usr/bin/systemctl restart sssd.service sssd-stop-service = /usr/bin/systemctl stop sssd.service sssd-caches-flush = /usr/sbin/sss_cache --users --groups --netgroups --services --autofs-maps # Fedora and RHEL have libnss_sss in place by default, this is no longer needed name-caches-flush = realmd-0.15.0/service/realm-example.c0000664000175000017500000003744312263031417017376 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-dbus-constants.h" #include "realm-dbus-generated.h" #include "realm-errors.h" #include "realm-example.h" #include "realm-ini-config.h" #include "realm-invocation.h" #include "realm-kerberos-membership.h" #include "realm-settings.h" #include "realm-usleep-async.h" #include struct _RealmExample { RealmKerberos parent; RealmIniConfig *config; gulong config_sig; }; typedef struct { RealmKerberosClass parent_class; } RealmExampleClass; enum { PROP_0, PROP_PROVIDER, }; static void realm_example_kerberos_membership_iface (RealmKerberosMembershipIface *iface); G_DEFINE_TYPE_WITH_CODE (RealmExample, realm_example, REALM_TYPE_KERBEROS, G_IMPLEMENT_INTERFACE (REALM_TYPE_KERBEROS_MEMBERSHIP, realm_example_kerberos_membership_iface); ); static void realm_example_init (RealmExample *self) { } static void realm_example_constructed (GObject *obj) { RealmKerberos *kerberos = REALM_KERBEROS (obj); G_OBJECT_CLASS (realm_example_parent_class)->constructed (obj); realm_kerberos_set_details (kerberos, REALM_DBUS_OPTION_SERVER_SOFTWARE, REALM_DBUS_IDENTIFIER_EXAMPLE, REALM_DBUS_OPTION_CLIENT_SOFTWARE, REALM_DBUS_IDENTIFIER_EXAMPLE, NULL); realm_kerberos_set_login_policy (kerberos, REALM_KERBEROS_ALLOW_ANY_LOGIN); } static gboolean validate_membership_options (GVariant *options, GError **error) { const gchar *software; /* Figure out the method that we're going to use to enroll */ if (g_variant_lookup (options, REALM_DBUS_OPTION_MEMBERSHIP_SOFTWARE, "&s", &software)) { if (!g_str_equal (software, REALM_DBUS_IDENTIFIER_EXAMPLE)) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, _("Unsupported or unknown membership software '%s'"), software); return FALSE; } } return TRUE; } static gboolean match_admin_and_password (RealmIniConfig *config, const gchar *realm_name, const gchar *admin_name, GBytes *password) { const gchar *admin; const gchar *pass; gconstpointer data; gsize size; admin = realm_settings_value (realm_name, "example-administrator"); if (admin == NULL) return FALSE; if (!g_str_equal (admin_name, admin)) return FALSE; pass = realm_settings_value (realm_name, "example-password"); if (pass == NULL) return FALSE; data = g_bytes_get_data (password, &size); if (strlen (pass) != size) return FALSE; return (memcmp (data, pass, size) == 0); } static gdouble settings_delay (const gchar *realm_name, const gchar *key) { return realm_settings_double (realm_name, key, 0.0) * G_USEC_PER_SEC; } static void on_join_sleep_done (GObject *source, GAsyncResult *res, gpointer user_data) { GTask *task = G_TASK (user_data); RealmExample *self = g_task_get_source_object (task); GError *error = NULL; const gchar *realm_name; if (realm_usleep_finish (res, &error)) { realm_name = realm_kerberos_get_name (REALM_KERBEROS (self)); realm_ini_config_change (self->config, realm_name, &error, "login-formats", "%U@%D", "login-permitted", "", "login-policy", REALM_DBUS_LOGIN_POLICY_PERMITTED, NULL); } if (error) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static void realm_example_join_async (RealmKerberosMembership *membership, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmExample *self = REALM_EXAMPLE (membership); RealmKerberos *kerberos = REALM_KERBEROS (self); GTask *task; GError *error = NULL; const gchar *realm_name; g_return_if_fail (cred->type == REALM_CREDENTIAL_PASSWORD); realm_name = realm_kerberos_get_name (kerberos); task = g_task_new (self, NULL, callback, user_data); /* Make sure not already enrolled in a realm */ if (realm_ini_config_have_section (self->config, realm_name)) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_ALREADY_CONFIGURED, _("Already joined to a domain")); } else if (!validate_membership_options (options, &error)) { g_task_return_error (task, error); } else if (!match_admin_and_password (self->config, realm_name, cred->x.password.name, cred->x.password.value)) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_AUTH_FAILED, _("Admin name or password is not valid")); } else { realm_usleep_async (settings_delay (realm_name, "example-join-delay"), realm_invocation_get_cancellable (invocation), on_join_sleep_done, g_object_ref (task)); } g_object_unref (task); } static void on_leave_sleep_done (GObject *source, GAsyncResult *res, gpointer user_data) { GTask *task = G_TASK (user_data); RealmExample *self = g_task_get_source_object (task); GError *error = NULL; const gchar *realm_name; if (realm_usleep_finish (res, &error)) { realm_name = realm_kerberos_get_name (REALM_KERBEROS (self)); if (realm_ini_config_begin_change (self->config, &error)) { realm_ini_config_remove_section (self->config, realm_name); realm_ini_config_finish_change (self->config, &error); } } if (error) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (self); } static GTask * setup_leave (RealmExample *self, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; const gchar *realm_name; realm_name = realm_kerberos_get_name (REALM_KERBEROS (self)); task = g_task_new (self, NULL, callback, user_data); /* Check that enrolled in this realm */ if (!realm_ini_config_have_section (self->config, realm_name)) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_NOT_CONFIGURED, _("Not currently joined to this domain")); g_object_unref (task); return NULL; } return task; } static void realm_example_leave_password_async (RealmKerberosMembership *membership, const gchar *name, GBytes *password, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmExample *self = REALM_EXAMPLE (membership); GTask *task; const gchar *realm_name; task = setup_leave (self, options, invocation, callback, user_data); if (task == NULL) return; realm_name = realm_kerberos_get_name (REALM_KERBEROS (self)); if (!match_admin_and_password (self->config, realm_name, name, password)) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_AUTH_FAILED, _("Admin name or password is not valid")); } else { realm_usleep_async (settings_delay (realm_name, "example-leave-delay"), realm_invocation_get_cancellable (invocation), on_leave_sleep_done, g_object_ref (task)); } g_object_unref (task); } static void realm_example_leave_automatic_async (RealmKerberosMembership *membership, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmExample *self = REALM_EXAMPLE (membership); GTask *task; const gchar *realm_name; task = setup_leave (self, options, invocation, callback, user_data); if (task == NULL) return; realm_name = realm_kerberos_get_name (REALM_KERBEROS (self)); if (realm_settings_boolean (realm_name, "example-no-auto-leave", FALSE) == TRUE) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_AUTH_FAILED, _("Need credentials for leaving this domain")); } else { realm_usleep_async (settings_delay (realm_name, "example-leave-delay"), realm_invocation_get_cancellable (invocation), on_leave_sleep_done, g_object_ref (task)); } g_object_unref (task); } static void realm_example_leave_async (RealmKerberosMembership *membership, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { switch (cred->type) { case REALM_CREDENTIAL_AUTOMATIC: realm_example_leave_automatic_async (membership, options, invocation, callback, user_data); break; case REALM_CREDENTIAL_PASSWORD: realm_example_leave_password_async (membership, cred->x.password.name, cred->x.password.value, options, invocation, callback, user_data); break; default: g_return_if_reached (); } } static void realm_example_logins_async (RealmKerberos *realm, GDBusMethodInvocation *invocation, RealmKerberosLoginPolicy login_policy, const gchar **add, const gchar **remove, GVariant *options, GAsyncReadyCallback callback, gpointer user_data) { RealmExample *self = REALM_EXAMPLE (realm); GTask *task; GError *error = NULL; const gchar *name; task = g_task_new (realm, NULL, callback, user_data); name = realm_kerberos_get_name (realm); if (realm_ini_config_begin_change (self->config, &error)) { realm_ini_config_set (self->config, name, "login-policy", realm_kerberos_login_policy_to_string (login_policy), NULL); realm_ini_config_set_list_diff (self->config, name, "login-permitted", ", ", add, remove); realm_ini_config_finish_change (self->config, &error); } if (error != NULL) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static void update_properties (RealmExample *self) { RealmKerberos *kerberos = REALM_KERBEROS (self); GDBusInterface *iface; const gchar *name; gchar *domain; gchar *realm; gchar **formats; gchar **permitted; gchar *policy; const gchar *admin; gboolean configured; g_object_freeze_notify (G_OBJECT (self)); name = realm_kerberos_get_name (kerberos); domain = name ? g_ascii_strdown (name, -1) : NULL; realm_kerberos_set_domain_name (kerberos, domain); g_free (domain); realm = name ? g_ascii_strup (name, -1) : NULL; realm_kerberos_set_realm_name (kerberos, realm); g_free (realm); /* Setup the workgroup property */ formats = realm_ini_config_get_list (self->config, name, "login-formats", ", "); realm_kerberos_set_login_formats (kerberos, (const gchar **)formats); g_strfreev (formats); permitted = realm_ini_config_get_list (self->config, name, "login-permitted", ", "); realm_kerberos_set_permitted_logins (kerberos, (const gchar **)permitted); g_strfreev (permitted); policy = realm_ini_config_get (self->config, name, "login-policy"); iface = g_dbus_object_get_interface (G_DBUS_OBJECT (self), REALM_DBUS_REALM_INTERFACE); g_object_set (iface, "login-policy", policy, NULL); g_free (policy); admin = realm_settings_value (name, "example-administrator"); realm_kerberos_set_suggested_admin (kerberos, admin ? admin : ""); configured = realm_ini_config_have_section (self->config, name); realm_kerberos_set_configured (kerberos, configured); } static void on_config_changed (RealmIniConfig *config, gpointer user_data) { update_properties (REALM_EXAMPLE (user_data)); } static gboolean realm_example_membership_generic_finish (RealmKerberosMembership *realm, GAsyncResult *result, GError **error) { if (g_task_propagate_boolean (G_TASK (result), error)) return FALSE; update_properties (REALM_EXAMPLE (realm)); return TRUE; } static gboolean realm_example_generic_finish (RealmKerberos *realm, GAsyncResult *result, GError **error) { if (g_task_propagate_boolean (G_TASK (result), error)) return FALSE; update_properties (REALM_EXAMPLE (realm)); return TRUE; } static void realm_example_set_property (GObject *obj, guint prop_id, const GValue *value, GParamSpec *pspec) { RealmExample *self = REALM_EXAMPLE (obj); RealmProvider *provider; switch (prop_id) { case PROP_PROVIDER: provider = g_value_get_object (value); g_object_get (provider, "example-config", &self->config, NULL); self->config_sig = g_signal_connect (self->config, "changed", G_CALLBACK (on_config_changed), self); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec); break; } } static void realm_example_notify (GObject *obj, GParamSpec *spec) { if (g_str_equal (spec->name, "name")) update_properties (REALM_EXAMPLE (obj)); if (G_OBJECT_CLASS (realm_example_parent_class)->notify) G_OBJECT_CLASS (realm_example_parent_class)->notify (obj, spec); } static void realm_example_finalize (GObject *obj) { RealmExample *self = REALM_EXAMPLE (obj); if (self->config) g_object_unref (self->config); G_OBJECT_CLASS (realm_example_parent_class)->finalize (obj); } void realm_example_class_init (RealmExampleClass *klass) { RealmKerberosClass *kerberos_class = REALM_KERBEROS_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass); kerberos_class->logins_async = realm_example_logins_async; kerberos_class->logins_finish = realm_example_generic_finish; object_class->constructed = realm_example_constructed; object_class->set_property = realm_example_set_property; object_class->notify = realm_example_notify; object_class->finalize = realm_example_finalize; g_object_class_override_property (object_class, PROP_PROVIDER, "provider"); } static void realm_example_kerberos_membership_iface (RealmKerberosMembershipIface *iface) { static const RealmCredential join_creds[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN }, { 0, } }; static const RealmCredential leave_creds[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN }, { REALM_CREDENTIAL_AUTOMATIC, REALM_CREDENTIAL_OWNER_NONE }, { 0, } }; iface->join_async = realm_example_join_async; iface->join_finish = realm_example_membership_generic_finish; iface->join_creds_supported = join_creds; iface->leave_async = realm_example_leave_async; iface->leave_finish = realm_example_membership_generic_finish; iface->leave_creds_supported = leave_creds; } RealmKerberos * realm_example_new (const gchar *name, RealmProvider *provider) { return g_object_new (REALM_TYPE_EXAMPLE, "name", name, "provider", provider, NULL); } realmd-0.15.0/service/realm-ldap.h0000664000175000017500000000276412140455744016675 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_LDAP_H__ #define __REALM_LDAP_H__ #include #include #define REALM_IO_CANCELLED 1 << 10 #define REALM_LDAP_ERROR (realm_ldap_error_get_quark ()) GQuark realm_ldap_error_get_quark (void) G_GNUC_CONST; void realm_ldap_set_error (GError **error, LDAP *ldap, int code); typedef GIOCondition (* RealmLdapCallback) (LDAP *ldap, GIOCondition cond, gpointer data); GSource * realm_ldap_connect_anonymous (GSocketAddress *address, GSocketProtocol protocol, GCancellable *cancellable); void realm_ldap_set_condition (GSource *source, GIOCondition cond); #endif /* __REALM_LDAP_H__ */ realmd-0.15.0/service/realm-network.c0000644000175000017500000002031712144212171017416 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-dbus-constants.h" #include "realm-network.h" typedef struct { gint outstanding; GList *values; } LookupClosure; static void lookup_closure_free (gpointer data) { LookupClosure *lookup = data; g_assert (lookup->outstanding == 0); g_list_free_full (lookup->values, (GDestroyNotify)g_variant_unref); g_free (lookup); } static GVariant * lookup_get_property_finish (GDBusConnection *connection, GAsyncResult *result, const GVariantType *variant_type, GError **error) { GVariant *value = NULL; GVariant *retval; retval = g_dbus_connection_call_finish (connection, result, error); if (retval == NULL) return NULL; g_return_val_if_fail (g_variant_is_of_type (retval, G_VARIANT_TYPE ("(v)")), NULL); g_variant_get (retval, "(v)", &value); if (!g_variant_is_of_type (value, variant_type)) { g_variant_unref (value); return NULL; } return value; } static void lookup_get_property_async (GDBusConnection *connection, const gchar *object_path, const gchar *interface_name, const gchar *prop_name, GAsyncReadyCallback callback, gpointer user_data) { g_dbus_connection_call (connection, "org.freedesktop.NetworkManager", object_path, DBUS_PROPERTIES_INTERFACE, "Get", g_variant_new ("(ss)", interface_name, prop_name), G_VARIANT_TYPE ("(v)"), G_DBUS_CALL_FLAGS_NONE, -1, NULL, callback, user_data); } static void on_options (GObject *object, GAsyncResult *result, gpointer user_data) { GDBusConnection *connection = G_DBUS_CONNECTION (object); GSimpleAsyncResult *res = G_SIMPLE_ASYNC_RESULT (user_data); LookupClosure *lookup = g_simple_async_result_get_op_res_gpointer (res); GError *error = NULL; GVariant *value; value = lookup_get_property_finish (connection, result, G_VARIANT_TYPE ("a{sv}"), &error); if (error != NULL) g_simple_async_result_take_error (res, error); if (value != NULL) lookup->values = g_list_prepend (lookup->values, value); if (lookup->outstanding-- == 1) g_simple_async_result_complete (res); g_object_unref (res); } static void on_dhcp_config (GObject *object, GAsyncResult *result, const char *interface_name, gpointer user_data) { GDBusConnection *connection = G_DBUS_CONNECTION (object); GSimpleAsyncResult *res = G_SIMPLE_ASYNC_RESULT (user_data); LookupClosure *lookup = g_simple_async_result_get_op_res_gpointer (res); GError *error = NULL; GVariant *value; const gchar *path; value = lookup_get_property_finish (connection, result, G_VARIANT_TYPE_OBJECT_PATH, &error); if (error != NULL) g_simple_async_result_take_error (res, error); if (value != NULL) { path = g_variant_get_string (value, NULL); if (path && !g_str_equal (path, "") && !g_str_equal (path, "/")) { lookup_get_property_async (connection, path, interface_name, "Options", on_options, g_object_ref (res)); lookup->outstanding++; } g_variant_unref (value); } if (lookup->outstanding-- == 1) g_simple_async_result_complete (res); g_object_unref (res); } static void on_dhcp4_config (GObject *object, GAsyncResult *result, gpointer user_data) { on_dhcp_config (object, result, "org.freedesktop.NetworkManager.DHCP4Config", user_data); } static void on_dhcp6_config (GObject *object, GAsyncResult *result, gpointer user_data) { on_dhcp_config (object, result, "org.freedesktop.NetworkManager.DHCP6Config", user_data); } static void on_devices (GObject *object, GAsyncResult *result, gpointer user_data) { GDBusConnection *connection = G_DBUS_CONNECTION (object); GSimpleAsyncResult *res = G_SIMPLE_ASYNC_RESULT (user_data); LookupClosure *lookup = g_simple_async_result_get_op_res_gpointer (res); GError *error = NULL; const gchar **paths; GVariant *value; gint i = 0; value = lookup_get_property_finish (connection, result, G_VARIANT_TYPE_OBJECT_PATH_ARRAY, &error); if (error != NULL) g_simple_async_result_take_error (res, error); if (value != NULL) { paths = g_variant_get_objv (value, NULL); for (i = 0; paths[i] != NULL; i++) { lookup_get_property_async (connection, paths[i], "org.freedesktop.NetworkManager.Device", "Dhcp4Config", on_dhcp4_config, g_object_ref (res)); lookup->outstanding++; lookup_get_property_async (connection, paths[i], "org.freedesktop.NetworkManager.Device", "Dhcp6Config", on_dhcp6_config, g_object_ref (res)); lookup->outstanding++; } g_variant_unref (value); } if (lookup->outstanding-- == 1) g_simple_async_result_complete (res); g_object_unref (res); } static void on_active_connections (GObject *object, GAsyncResult *result, gpointer user_data) { GDBusConnection *connection = G_DBUS_CONNECTION (object); GSimpleAsyncResult *res = G_SIMPLE_ASYNC_RESULT (user_data); LookupClosure *lookup = g_simple_async_result_get_op_res_gpointer (res); GError *error = NULL; const gchar **paths; GVariant *value; gint i; value = lookup_get_property_finish (connection, result, G_VARIANT_TYPE_OBJECT_PATH_ARRAY, &error); if (error != NULL) g_simple_async_result_take_error (res, error); if (value != NULL) { paths = g_variant_get_objv (value, NULL); for (i = 0; paths[i] != NULL; i++) { lookup_get_property_async (connection, paths[i], "org.freedesktop.NetworkManager.Connection.Active", "Devices", on_devices, g_object_ref (res)); lookup->outstanding++; } g_variant_unref (value); } if (lookup->outstanding-- == 1) g_simple_async_result_complete (res); g_object_unref (res); } void realm_network_get_dhcp_domain_async (GDBusConnection *connection, GAsyncReadyCallback callback, gpointer user_data) { GSimpleAsyncResult *res; LookupClosure *lookup; g_return_if_fail (G_IS_DBUS_CONNECTION (connection)); res = g_simple_async_result_new (NULL, callback, user_data, realm_network_get_dhcp_domain_async); lookup = g_new0 (LookupClosure, 1); g_simple_async_result_set_op_res_gpointer (res, lookup, lookup_closure_free); lookup_get_property_async (connection, "/org/freedesktop/NetworkManager", "org.freedesktop.NetworkManager", "ActiveConnections", on_active_connections, g_object_ref (res)); lookup->outstanding++; g_object_unref (res); } gchar * realm_network_get_dhcp_domain_finish (GAsyncResult *result, GError **error) { GSimpleAsyncResult *res; LookupClosure *lookup; gchar *domain; GList *l; g_return_val_if_fail (g_simple_async_result_is_valid (result, NULL, realm_network_get_dhcp_domain_async), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); res = G_SIMPLE_ASYNC_RESULT (result); lookup = g_simple_async_result_get_op_res_gpointer (res); for (l = lookup->values; l != NULL; l = g_list_next (l)) { if (g_variant_lookup (l->data, "domain_name", "s", &domain)) { if (domain && domain[0]) return domain; g_free (domain); } } /* Only report errors if no domain was found */ g_simple_async_result_propagate_error (res, error); return NULL; } realmd-0.15.0/service/realm-adcli-enroll.h0000664000175000017500000000343512172260403020305 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_ADCLI_ENROLL_H__ #define __REALM_ADCLI_ENROLL_H__ #include "realm-credential.h" #include "realm-disco.h" #include #include G_BEGIN_DECLS void realm_adcli_enroll_join_async (RealmDisco *disco, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_adcli_enroll_join_finish (GAsyncResult *result, GError **error); void realm_adcli_enroll_delete_async (RealmDisco *disco, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_adcli_enroll_delete_finish (GAsyncResult *result, GError **error); G_END_DECLS #endif /* __REALM_ADCLI_ENROLL_H__ */ realmd-0.15.0/service/realm-disco-rootdse.c0000664000175000017500000002750412263031256020517 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-dbus-constants.h" #include "realm-diagnostics.h" #include "realm-disco-mscldap.h" #include "realm-disco-rootdse.h" #include "realm-ldap.h" #include #include typedef struct _Closure Closure; struct _Closure { RealmDisco *disco; GSource *source; GDBusMethodInvocation *invocation; gchar *default_naming_context; gint msgid; gboolean (* request) (GTask *task, Closure *clo, LDAP *ldap); gboolean (* result) (GTask *task, Closure *clo, LDAP *ldap, LDAPMessage *msg); }; static void closure_free (gpointer data) { Closure *clo = data; ldap_memfree (clo->default_naming_context); g_source_destroy (clo->source); g_source_unref (clo->source); g_clear_object (&clo->invocation); realm_disco_unref (clo->disco); g_free (clo); } static gboolean entry_has_attribute (LDAP *ldap, LDAPMessage *entry, const gchar *field, const gchar *value) { struct berval **bvs = NULL; gboolean has = FALSE; gsize len; int i; len = strlen (value); if (entry != NULL) bvs = ldap_get_values_len (ldap, entry, field); for (i = 0; bvs && bvs[i]; i++) { if (bvs[i]->bv_len == len && memcmp (bvs[i]->bv_val, value, len) == 0) { has = TRUE; break; } } ldap_value_free_len (bvs); return has; } static gchar * entry_get_attribute (LDAP *ldap, LDAPMessage *entry, const gchar *field) { struct berval **bvs = NULL; gchar *value = NULL; if (entry != NULL) bvs = ldap_get_values_len (ldap, entry, field); if (bvs && bvs[0]) value = g_strndup (bvs[0]->bv_val, bvs[0]->bv_len); ldap_value_free_len (bvs); return value; } static gboolean search_ldap (GTask *task, Closure *clo, LDAP *ldap, const gchar *base, int scope, const char *filter, const char **attrs) { GError *error = NULL; int rc; if (!filter) filter = "(objectClass=*)"; g_debug ("Searching %s for %s", base, filter); rc = ldap_search_ext (ldap, base, scope, filter, (char **)attrs, 0, NULL, NULL, NULL, -1, &clo->msgid); if (rc != 0) { realm_ldap_set_error (&error, ldap, rc); g_task_return_error (task, error); return FALSE; } return TRUE; } static gboolean result_krb_realm (GTask *task, Closure *clo, LDAP *ldap, LDAPMessage *message) { LDAPMessage *entry; entry = ldap_first_entry (ldap, message); g_free (clo->disco->kerberos_realm); clo->disco->kerberos_realm = entry_get_attribute (ldap, entry, "cn"); g_debug ("Found realm: %s", clo->disco->kerberos_realm); /* All done */ g_task_return_boolean (task, TRUE); return FALSE; } static gboolean request_krb_realm (GTask *task, Closure *clo, LDAP *ldap) { const char *attrs[] = { "cn", NULL }; clo->request = NULL; clo->result = result_krb_realm; return search_ldap (task, clo, ldap, clo->default_naming_context, LDAP_SCOPE_SUB, "(objectClass=krbRealmContainer)", attrs); } static gboolean result_domain_info (GTask *task, Closure *clo, LDAP *ldap, LDAPMessage *message) { LDAPMessage *entry; struct berval **bvs; entry = ldap_first_entry (ldap, message); /* If we can't retrieve this, then nothing more to do */ if (entry == NULL) { g_debug ("Couldn't read default naming context"); g_task_return_new_error (task, REALM_LDAP_ERROR, LDAP_NO_SUCH_OBJECT, "Couldn't lookup domain name on LDAP server"); return FALSE; } /* What kind of server is it? */ clo->disco->server_software = NULL; bvs = ldap_get_values_len (ldap, entry, "info"); if (bvs && bvs[0] && bvs[0]->bv_len >= 3) { if (g_ascii_strncasecmp (bvs[0]->bv_val, "IPA", 3) == 0) clo->disco->server_software = REALM_DBUS_IDENTIFIER_IPA; } ldap_value_free_len (bvs); if (clo->disco->server_software) g_debug ("Got server software: %s", clo->disco->server_software); /* What is the domain name? */ g_free (clo->disco->domain_name); clo->disco->domain_name = entry_get_attribute (ldap, entry, "associatedDomain"); g_debug ("Got associatedDomain: %s", clo->disco->domain_name); /* Next search for Kerberos container */ clo->request = request_krb_realm; clo->result = NULL; return TRUE; } static gboolean request_domain_info (GTask *task, Closure *clo, LDAP *ldap) { const char *attrs[] = { "info", "associatedDomain", NULL }; clo->request = NULL; clo->result = result_domain_info; return search_ldap (task, clo, ldap, clo->default_naming_context, LDAP_SCOPE_BASE, NULL, attrs); } static void on_udp_mscldap_complete (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); Closure *clo = g_task_get_task_data (task); GError *error = NULL; realm_disco_unref (clo->disco); clo->disco = realm_disco_mscldap_finish (result, &error); if (error != NULL) { g_debug ("Failed UDP Netlogon response: %s", error->message); g_task_return_error (task, error); } else { g_debug ("Received UDP Netlogon response"); g_task_return_boolean (task, TRUE); } g_object_unref (task); } static gboolean result_netlogon (GTask *task, Closure *clo, LDAP *ldap, LDAPMessage *message) { GError *error = NULL; if (realm_disco_mscldap_result (ldap, message, clo->disco, &error)) { g_debug ("Received TCP Netlogon response"); g_task_return_boolean (task, TRUE); } else { g_debug ("Failed TCP Netlogon response: %s", error->message); g_task_return_error (task, error); } /* All done */ return FALSE; } static gboolean request_netlogon (GTask *task, Closure *clo, LDAP *ldap) { GError *error = NULL; g_debug ("Sending TCP Netlogon request"); if (!realm_disco_mscldap_request (ldap, &clo->msgid, &error)) { g_task_return_error (task, error); return FALSE; } clo->request = NULL; clo->result = result_netlogon; return TRUE; } static gboolean result_root_dse (GTask *task, Closure *clo, LDAP *ldap, LDAPMessage *message) { GInetSocketAddress *inet; LDAPMessage *entry; gchar *string; entry = ldap_first_entry (ldap, message); /* Parse out the default naming context */ clo->default_naming_context = entry_get_attribute (ldap, entry, "defaultNamingContext"); g_debug ("Got defaultNamingContext: %s", clo->default_naming_context); /* This means that this is an Active Directory server */ if (entry_has_attribute (ldap, entry, "supportedCapabilities", "1.2.840.113556.1.4.800")) { /* This means that this is Windows 2003+ */ if (entry_has_attribute (ldap, entry, "supportedCapabilities", "1.2.840.113556.1.4.1670")) { /* * Do a TCP NetLogon request since doing this over * TCP is supported, and we already have a connection */ clo->request = request_netlogon; clo->result = NULL; return TRUE; /* Prior to Windows 2003 we have to use UDP for netlogon lookup */ } else { inet = G_INET_SOCKET_ADDRESS (clo->disco->server_address); string = g_inet_address_to_string (g_inet_socket_address_get_address (inet)); realm_diagnostics_info (clo->invocation, "Sending MS-CLDAP ping to: %s", string); g_free (string); realm_disco_mscldap_async (clo->disco->server_address, G_SOCKET_PROTOCOL_UDP, clo->disco->explicit_server, g_task_get_cancellable (task), on_udp_mscldap_complete, g_object_ref (task)); /* Disconnect from TCP at this point */ return FALSE; } /* Not an Active Directory server, check for IPA */ } else { if (clo->default_naming_context == NULL) { g_task_return_new_error (task, REALM_LDAP_ERROR, LDAP_NO_SUCH_OBJECT, "Couldn't find default naming context on LDAP server"); return FALSE; } /* Next search for IPA field */ clo->request = request_domain_info; clo->result = NULL; return TRUE; } } static gboolean request_root_dse (GTask *task, Closure *clo, LDAP *ldap) { const char *attrs[] = { "defaultNamingContext", "supportedCapabilities", NULL }; clo->request = NULL; clo->result = result_root_dse; return search_ldap (task, clo, ldap, "", LDAP_SCOPE_BASE, NULL, attrs); } static GIOCondition on_ldap_io (LDAP *ldap, GIOCondition cond, gpointer user_data) { GTask *task = G_TASK (user_data); Closure *clo = g_task_get_task_data (task); struct timeval tvpoll = { 0, 0 }; LDAPMessage *message; GError *error = NULL; gboolean ret; /* Some failure */ if (cond & G_IO_ERR) { realm_ldap_set_error (&error, ldap, 0); g_task_return_error (task, error); return G_IO_NVAL; } /* Ready to get a result */ if (cond & G_IO_IN && clo->result != NULL) { switch (ldap_result (ldap, clo->msgid, 0, &tvpoll, &message)) { case LDAP_RES_INTERMEDIATE: case LDAP_RES_SEARCH_REFERENCE: ret = TRUE; break; case -1: realm_ldap_set_error (&error, ldap, -1); g_task_return_error (task, error); ret = FALSE; break; case 0: ret = TRUE; break; default: ret = clo->result (task, clo, ldap, message); ldap_msgfree (message); break; } if (!ret) return G_IO_NVAL; } if (cond & G_IO_OUT && clo->request != NULL) { if (!(clo->request) (task, clo, ldap)) return G_IO_NVAL; } return (clo->request ? G_IO_OUT : 0) | (clo->result ? G_IO_IN : 0); } void realm_disco_rootdse_async (GSocketAddress *address, const gchar *explicit_server, GDBusMethodInvocation *invocation, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; Closure *clo; g_return_if_fail (address != NULL); task = g_task_new (NULL, cancellable, callback, user_data); clo = g_new0 (Closure, 1); clo->disco = realm_disco_new (NULL); clo->disco->explicit_server = g_strdup (explicit_server); clo->disco->server_address = g_object_ref (address); clo->invocation = invocation ? g_object_ref (invocation) : NULL; clo->request = request_root_dse; g_task_set_task_data (task, clo, closure_free); clo->source = realm_ldap_connect_anonymous (address, G_SOCKET_PROTOCOL_TCP, cancellable); g_source_set_callback (clo->source, (GSourceFunc)on_ldap_io, g_object_ref (task), g_object_unref); g_source_attach (clo->source, g_task_get_context (task)); g_object_unref (task); } RealmDisco * realm_disco_rootdse_finish (GAsyncResult *result, GError **error) { Closure *clo; RealmDisco *disco; g_return_val_if_fail (g_task_is_valid (result, NULL), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); if (!g_task_propagate_boolean (G_TASK (result), error)) return FALSE; clo = g_task_get_task_data (G_TASK (result)); disco = clo->disco; clo->disco = NULL; /* Should have been set above */ g_return_val_if_fail (disco->domain_name, NULL); if (!disco->kerberos_realm) disco->kerberos_realm = g_ascii_strup (disco->domain_name, -1); return disco; } realmd-0.15.0/service/realm-diagnostics.h0000664000175000017500000000320712140455744020255 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_DIAGNOSTICS_H__ #define __REALM_DIAGNOSTICS_H__ #include G_BEGIN_DECLS void realm_diagnostics_initialize (GDBusConnection *connection); void realm_diagnostics_info (GDBusMethodInvocation *invocation, const gchar *format, ...) G_GNUC_PRINTF (2, 3); void realm_diagnostics_info_data (GDBusMethodInvocation *invocation, const gchar *data, gssize n_data); void realm_diagnostics_error (GDBusMethodInvocation *invocation, GError *error, const gchar *format, ...) G_GNUC_PRINTF (3, 4); void realm_diagnostics_signal (GDBusMethodInvocation *invocation, const gchar *data); G_END_DECLS #endif /* __REALM_DIAGNOSTICS_H__ */ realmd-0.15.0/service/realm-disco-mscldap.c0000664000175000017500000002146712263031106020457 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2013 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-dbus-constants.h" #include "realm-disco-mscldap.h" #include "realm-ldap.h" #include #include #include #include typedef struct { gchar *explicit_server; GSocketAddress *address; GSource *source; gint count; gint fever_id; gint normal_id; } Closure; /* Number of rapid requets to do */ #define DISCO_FEVER 4 #ifndef HOST_NAME_MAX #define HOST_NAME_MAX 255 #endif static void closure_free (gpointer data) { Closure *clo = data; g_free (clo->explicit_server); g_object_unref (clo->address); if (clo->fever_id) g_source_remove (clo->fever_id); if (clo->normal_id) g_source_remove (clo->normal_id); g_source_destroy (clo->source); g_source_unref (clo->source); g_free (clo); } static gchar * explicit_netbios_name (void) { gchar hostname[HOST_NAME_MAX + 1]; gchar *dot; /* * Only return a explicit truncated host name if the * computer host name cannot be made seamlessly translated * to a netbios name due to it's length. * * We would love to leave this responsibility to our lower level * tools, but unfortunately samba doesn't know how to do this * properly, and expects us to set it properly in smb.conf * * In addition sssd falls over if truncation is done. So we have * to tell sssd about it. */ if (gethostname (hostname, sizeof (hostname)) < 0) { g_warning ("Couldn't get the computer host name: %s", g_strerror (errno)); return NULL; } dot = strchr (hostname, '.'); if (dot != NULL) dot[0] = '\0'; if (strlen (hostname) > 15) { hostname[15] = '\0'; return g_ascii_strup (hostname, -1); } return NULL; } static gchar * get_string (guchar *beg, guchar *end, guchar **at) { gchar buffer[HOST_NAME_MAX]; int n; n = dn_expand (beg, end, *at, buffer, sizeof (buffer)); if (n < 0) return NULL; (*at) += n; return g_strdup (buffer); } static gboolean parse_string (guchar *beg, guchar *end, guchar **at, gchar **result) { gchar *string; g_assert (result); string = get_string (beg, end, at); if (string == NULL) return FALSE; g_free (*result); *result = string; return TRUE; } static gboolean get_32_le (unsigned char **at, unsigned char *end, unsigned int *val) { unsigned char *p = *at; if (p + 4 > end) return FALSE; *val = p[0] | p[1] << 8 | p[2] << 16 | p[3] << 24; (*at) += 4; return TRUE; } static gboolean skip_n (unsigned char **at, unsigned char *end, int n) { if ((*at) + n > end) return FALSE; (*at) += n; return TRUE; } static gboolean parse_netlogon (struct berval **bvs, RealmDisco *disco, GError **error) { guchar *at, *end, *beg; gchar *unused = NULL; guint type, flags; gboolean success = FALSE; if (bvs != NULL && bvs[0] != NULL) { beg = (guchar *)bvs[0]->bv_val; end = beg + bvs[0]->bv_len; at = beg; success = TRUE; } /* domain forest */ if (!success || !get_32_le (&at, end, &type) || type != 23 || !get_32_le (&at, end, &flags) || !skip_n (&at, end, 16) || /* guid */ !parse_string (beg, end, &at, &unused) || /* forest */ !parse_string (beg, end, &at, &disco->domain_name) || !parse_string (beg, end, &at, &unused) || /* hostname */ !parse_string (beg, end, &at, &disco->workgroup) || !parse_string (beg, end, &at, &unused) || /* shorthost */ !parse_string (beg, end, &at, &unused) || /* user */ !parse_string (beg, end, &at, &unused) || /* server site */ !parse_string (beg, end, &at, &unused)) { /* client site */ success = FALSE; } g_free (unused); if (!success) { g_set_error (error, REALM_LDAP_ERROR, LDAP_PROTOCOL_ERROR, _("Received invalid or unsupported Netlogon data from server")); return FALSE; } disco->server_software = REALM_DBUS_IDENTIFIER_ACTIVE_DIRECTORY; disco->explicit_netbios = explicit_netbios_name (); disco->kerberos_realm = g_ascii_strup (disco->domain_name, -1); return TRUE; } gboolean realm_disco_mscldap_result (LDAP *ldap, LDAPMessage *message, RealmDisco *disco, GError **error) { struct berval **bvs = NULL; LDAPMessage *entry; gboolean ret; entry = ldap_first_entry (ldap, message); if (entry != NULL) bvs = ldap_get_values_len (ldap, entry, "NetLogon"); ret = parse_netlogon (bvs, disco, error); ldap_value_free_len (bvs); return ret; } gboolean realm_disco_mscldap_request (LDAP *ldap, int *msgidp, GError **error) { char *attrs[] = { "NetLogon", NULL }; int rc; rc = ldap_search_ext (ldap, "", LDAP_SCOPE_BASE, "(&(NtVer=\\06\\00\\00\\00)(AAC=\\00\\00\\00\\00))", attrs, 0, NULL, NULL, NULL, -1, msgidp); if (rc != LDAP_SUCCESS) { realm_ldap_set_error (error, ldap, rc); return FALSE; } return TRUE; } static gboolean on_resend (gpointer user_data) { realm_ldap_set_condition (user_data, G_IO_OUT | G_IO_IN); return TRUE; } static GIOCondition on_ldap_io (LDAP *ldap, GIOCondition cond, gpointer user_data) { GTask *task = G_TASK (user_data); Closure *clo = g_task_get_task_data (task); struct timeval tvpoll = { 0, 0 }; LDAPMessage *message; GError *error = NULL; RealmDisco *disco; int msgid; /* Cancelled */ if (cond & G_IO_ERR) { realm_ldap_set_error (&error, ldap, 0); g_task_return_error (task, error); return G_IO_NVAL; } /* Ready for input */ if (cond & G_IO_OUT) { g_debug ("Sending NetLogon ping"); if (!realm_disco_mscldap_request (ldap, &msgid, &error)) { g_task_return_error (task, error); return G_IO_NVAL; } /* Remove rapid fire after sending a feverish batch */ if (clo->count++ > DISCO_FEVER && clo->fever_id != 0) { g_source_remove (clo->fever_id); clo->fever_id = 0; } } /* Ready to get a result */ if (cond & G_IO_IN) { switch (ldap_result (ldap, LDAP_RES_ANY, 0, &tvpoll, &message)) { case LDAP_RES_SEARCH_ENTRY: case LDAP_RES_SEARCH_RESULT: g_debug ("Received response"); disco = realm_disco_new (NULL); disco->server_address = g_object_ref (clo->address); if (realm_disco_mscldap_result (ldap, message, disco, &error)) { disco->explicit_server = g_strdup (clo->explicit_server); g_task_return_pointer (task, disco, realm_disco_unref); } else { realm_disco_unref (disco); g_task_return_error (task, error); } ldap_msgfree (message); return G_IO_NVAL; case -1: realm_ldap_set_error (&error, ldap, -1); g_task_return_error (task, error); return G_IO_NVAL; case 0: break; default: /* Ignore and keep waiting */ ldap_msgfree (message); break; } } /* Now wait for a response */ return G_IO_IN; } void realm_disco_mscldap_async (GSocketAddress *address, GSocketProtocol protocol, const gchar *explicit_server, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; Closure *clo; g_return_if_fail (address != NULL); task = g_task_new (NULL, cancellable, callback, user_data); clo = g_new0 (Closure, 1); clo->explicit_server = g_strdup (explicit_server); clo->address = g_object_ref (address); g_task_set_task_data (task, clo, closure_free); if (protocol == G_SOCKET_PROTOCOL_UDP && !ldap_is_ldap_url ("cldap://hostname")) { g_task_return_new_error (task, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, _("LDAP on this system does not support UDP connections")); g_object_unref (task); return; } clo->source = realm_ldap_connect_anonymous (address, protocol, cancellable); g_source_set_callback (clo->source, (GSourceFunc)on_ldap_io, g_object_ref (task), g_object_unref); g_source_attach (clo->source, g_task_get_context (task)); if (protocol == G_SOCKET_PROTOCOL_UDP) { clo->fever_id = g_timeout_add (100, on_resend, clo->source); clo->normal_id = g_timeout_add (1000, on_resend, clo->source); } g_object_unref (task); } RealmDisco * realm_disco_mscldap_finish (GAsyncResult *result, GError **error) { g_return_val_if_fail (g_task_is_valid (result, NULL), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); return g_task_propagate_pointer (G_TASK (result), error); } realmd-0.15.0/service/realm-invocation.c0000664000175000017500000004030712144212143020100 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-daemon.h" #include "realm-dbus-constants.h" #include "realm-dbus-generated.h" #include "realm-invocation.h" #include #include #include #include typedef struct { const gchar *interface; const gchar *method; const gchar *action_id; int options_param; } InvocationMethod; static InvocationMethod invocation_methods[] = { { REALM_DBUS_PROVIDER_INTERFACE, "Discover", "org.freedesktop.realmd.discover-realm", 2 }, { REALM_DBUS_KERBEROS_MEMBERSHIP_INTERFACE, "Join", "org.freedesktop.realmd.configure-realm", 2 }, { REALM_DBUS_KERBEROS_MEMBERSHIP_INTERFACE, "Leave", "org.freedesktop.realmd.deconfigure-realm", 2 }, { REALM_DBUS_REALM_INTERFACE, "Deconfigure", "org.freedesktop.realmd.deconfigure-realm", 1 }, { REALM_DBUS_REALM_INTERFACE, "ChangeLoginPolicy", "org.freedesktop.realmd.login-policy", 4 }, }; typedef struct { GCancellable *cancellable; gchar *identifier; const gchar *operation; const InvocationMethod *method; } InvocationData; typedef struct { guint watch; gchar *locale; } InvocationClient; static const GVariantType *asv_type = NULL; static GObject *current_invocation = NULL; static GQuark invocation_data_quark = 0; /* These are protected by the mutex */ static GHashTable *invocation_clients = NULL; static GHashTable *cancellables = NULL; static PolkitAuthority *polkit_authority = NULL; G_LOCK_DEFINE_STATIC (invocations); #define PEER ":peer" static void on_cancellable_gone (gpointer user_data, GObject *where_the_object_was) { gchar *invocation_id = user_data; G_LOCK (invocations); g_hash_table_remove (cancellables, invocation_id); G_UNLOCK (invocations); } static void invocation_data_free (void *data) { InvocationData *invo = data; if (invo->cancellable) g_object_unref (invo->cancellable); g_free (invo->identifier); g_free (invo); } static void on_client_vanished (GDBusConnection *connection, const gchar *name, gpointer user_data) { g_debug ("client gone away: %s", name); G_LOCK (invocations); realm_daemon_release (name); g_hash_table_remove (invocation_clients, name); G_UNLOCK (invocations); } static InvocationClient * lookup_or_register_client (const gchar *sender) { InvocationClient *client; g_assert (sender != NULL); client = g_hash_table_lookup (invocation_clients, sender); if (!client) { client = g_new0 (InvocationClient, 1); if (!g_str_equal (sender, PEER)) { client->watch = g_bus_watch_name (G_BUS_TYPE_SYSTEM, sender, G_BUS_NAME_WATCHER_FLAGS_NONE, NULL, on_client_vanished, NULL, NULL); g_debug ("client using service: %s", sender); } g_hash_table_insert (invocation_clients, g_strdup (sender), client); realm_daemon_hold (sender); } return client; } static gboolean on_idle_setup_client (gpointer user_data) { gchar *sender = user_data; G_LOCK (invocations); lookup_or_register_client (sender); G_UNLOCK (invocations); return FALSE; /* don't call again */ } static gchar * extract_operation (GDBusMessage *message, const InvocationMethod *method) { gchar *operation = NULL; GVariant *params; GVariant *options; gint idx; if (!method->options_param) return NULL; params = g_dbus_message_get_body (message); idx = method->options_param - 1; if (g_variant_n_children (params) <= idx) return NULL; options = g_variant_get_child_value (params, idx); if (g_variant_is_of_type (options, asv_type)) { if (!g_variant_lookup (options, REALM_DBUS_OPTION_OPERATION, "&s", &operation)) operation = NULL; } g_variant_unref (options); return operation; } static void prepare_method_in_dbus_worker_thread (GDBusMessage *message, const gchar *sender) { const InvocationMethod *invo_method; InvocationData *invo = NULL; const gchar *interface; const gchar *method; gchar *operation; gchar *key; gint i; g_assert (sender != NULL); interface = g_dbus_message_get_interface (message); /* Do no processing these interfaces */ if (g_str_equal (interface, REALM_DBUS_SERVICE_INTERFACE) || g_str_equal (interface, DBUS_PROPERTIES_INTERFACE) || g_str_equal (interface, DBUS_INTROSPECTABLE_INTERFACE) || g_str_equal (interface, DBUS_PEER_INTERFACE)) return; method = g_dbus_message_get_member (message); invo_method = NULL; for (i = 0; i < G_N_ELEMENTS (invocation_methods); i++) { if (g_str_equal (invocation_methods[i].interface, interface) && g_str_equal (invocation_methods[i].method, method)) { invo_method = invocation_methods + i; break; } } /* Find the operation id for this message */ if (invo_method) { invo = g_new0 (InvocationData, 1); invo->method = invo_method; operation = extract_operation (message, invo_method); if (operation) { g_debug ("Using '%s' operation for method '%s' invocation on '%s' interface", operation, method, interface); invo->identifier = g_strdup_printf ("%s %s", sender, operation); invo->operation = strchr (invo->identifier, ' '); g_assert (invo->operation != NULL); invo->operation++; } else { invo->identifier = g_strdup (sender); invo->operation = NULL; } } g_object_set_qdata_full (G_OBJECT (message), invocation_data_quark, invo, invocation_data_free); G_LOCK (invocations); /* Prepare a cancellable if desired */ if (invo && invo->operation) { invo->cancellable = g_hash_table_lookup (cancellables, invo->identifier); if (invo->cancellable == NULL) { invo->cancellable = g_cancellable_new (); key = g_strdup (invo->identifier); g_hash_table_insert (cancellables, key, invo->cancellable); g_debug ("Registered cancellable for operation '%s'", operation); g_object_weak_ref (G_OBJECT (invo->cancellable), on_cancellable_gone, key); } else { g_object_ref (invo->cancellable); } } /* Setup a client later if necessary */ if (g_hash_table_lookup (invocation_clients, sender) == NULL) g_idle_add_full (G_PRIORITY_DEFAULT, on_idle_setup_client, g_strdup (sender), g_free); G_UNLOCK (invocations); } static GDBusMessage * on_connection_filter (GDBusConnection *connection, GDBusMessage *message, gboolean incoming, gpointer user_data) { const gchar *own_name = user_data; GDBusMessageType type; const gchar *sender; /* Each time we see an incoming function call, keep the service alive */ if (incoming) { type = g_dbus_message_get_message_type (message); if (type == G_DBUS_MESSAGE_TYPE_METHOD_CALL) { sender = g_dbus_message_get_sender (message); g_return_val_if_fail (sender != NULL || realm_daemon_is_dbus_peer (), message); if (sender == NULL) sender = PEER; if (!own_name || g_strcmp0 (own_name, sender) != 0) prepare_method_in_dbus_worker_thread (message, sender); } } return message; } static gboolean on_service_release (RealmDbusService *object, GDBusMethodInvocation *invocation) { const char *sender; sender = g_dbus_method_invocation_get_sender (invocation); g_return_val_if_fail (sender != NULL || realm_daemon_is_dbus_peer (), FALSE); if (sender == NULL) sender = PEER; g_debug ("explicitly releasing service: %s", sender); G_LOCK (invocations); g_hash_table_remove (invocation_clients, sender); realm_daemon_release (sender); G_UNLOCK (invocations); realm_dbus_service_complete_release (object, invocation); return TRUE; } static gboolean on_service_cancel (RealmDbusService *object, GDBusMethodInvocation *invocation, const gchar *operation) { GCancellable *cancellable; gchar *identifier; const gchar *sender; sender = g_dbus_method_invocation_get_sender (invocation); g_return_val_if_fail (sender != NULL || realm_daemon_is_dbus_peer (), FALSE); if (sender == NULL) sender = PEER; G_LOCK (invocations); identifier = g_strdup_printf ("%s %s", sender, operation); cancellable = g_hash_table_lookup (cancellables, identifier); g_free (identifier); if (cancellable) g_object_ref (cancellable); G_UNLOCK (invocations); realm_dbus_service_complete_cancel (object, invocation); if (cancellable) { g_debug ("Cancelling operation '%s'", operation); g_cancellable_cancel (cancellable); g_object_unref (cancellable); } else { g_debug ("Nothing to cancel for '%s'", operation); } return TRUE; } static gboolean on_service_set_locale (RealmDbusService *object, GDBusMethodInvocation *invocation, const gchar *arg_locale) { InvocationClient *client; const gchar *sender; sender = g_dbus_method_invocation_get_sender (invocation); g_return_val_if_fail (sender != NULL || realm_daemon_is_dbus_peer (), FALSE); if (sender == NULL) sender = PEER; G_LOCK (invocations); client = lookup_or_register_client (sender); g_free (client->locale); client->locale = g_strdup (arg_locale); G_UNLOCK (invocations); realm_dbus_service_complete_set_locale (object, invocation); return TRUE; } static void unwatch_and_free_client (gpointer data) { InvocationClient *client = data; g_assert (data != NULL); if (client->watch) g_bus_unwatch_name (client->watch); g_free (client->locale); g_free (client); realm_daemon_poke (); } void realm_invocation_initialize (GDBusConnection *connection) { RealmDbusService *service; const gchar *self_name; invocation_data_quark = g_quark_from_static_string ("realmd-invocation-data"); asv_type = G_VARIANT_TYPE ("a{sv}"); cancellables = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); invocation_clients = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, unwatch_and_free_client); /* Add a filter which keeps service alive */ self_name = g_dbus_connection_get_unique_name (connection); g_dbus_connection_add_filter (connection, on_connection_filter, g_strdup (self_name), g_free); service = realm_dbus_service_skeleton_new (); g_signal_connect (service, "handle-release", G_CALLBACK (on_service_release), NULL); g_signal_connect (service, "handle-set-locale", G_CALLBACK (on_service_set_locale), NULL); g_signal_connect (service, "handle-cancel", G_CALLBACK (on_service_cancel), NULL); g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (service), connection, REALM_DBUS_SERVICE_PATH, NULL); } void realm_invocation_cleanup (void) { g_hash_table_destroy (cancellables); cancellables = NULL; g_hash_table_destroy (invocation_clients); invocation_clients = NULL; g_clear_object (&polkit_authority); } static InvocationData * lookup_invocation_data (GDBusMethodInvocation *invocation) { InvocationData *invo; GDBusMessage *message; invo = g_object_get_qdata (G_OBJECT (invocation), invocation_data_quark); if (invo == NULL) { message = g_dbus_method_invocation_get_message (invocation); invo = g_object_get_qdata (G_OBJECT (message), invocation_data_quark); if (invo != NULL) g_object_set_qdata (G_OBJECT (invocation), invocation_data_quark, invo); } return invo; } static gboolean check_dbus_action (const gchar *sender, const gchar *action_id) { PolkitAuthorizationResult *result; PolkitAuthority *authority; PolkitSubject *subject; GError *error = NULL; gboolean ret; /* If we're a dbus peer, just allow all calls */ if (realm_daemon_is_dbus_peer ()) return TRUE; g_return_val_if_fail (sender != NULL, FALSE); g_return_val_if_fail (action_id != NULL, FALSE); G_LOCK (invocations); authority = polkit_authority ? g_object_ref (polkit_authority) : NULL; G_UNLOCK (invocations); if (!authority) { authority = polkit_authority_get_sync (NULL, &error); if (authority == NULL) { g_warning ("failure to get polkit authority: %s", error->message); g_error_free (error); return FALSE; } G_LOCK (invocations); if (polkit_authority == NULL) { polkit_authority = g_object_ref (authority); } else { g_object_unref (authority); authority = g_object_ref (polkit_authority); } G_UNLOCK (invocations); } /* do authorization async */ subject = polkit_system_bus_name_new (sender); result = polkit_authority_check_authorization_sync (authority, subject, action_id, NULL, POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION, NULL, &error); g_object_unref (authority); g_object_unref (subject); /* failed */ if (result == NULL) { g_warning ("couldn't check polkit authorization%s%s", error ? ": " : "", error ? error->message : ""); g_error_free (error); return FALSE; } ret = polkit_authorization_result_get_is_authorized (result); g_object_unref (result); return ret; } gboolean realm_invocation_authorize (GDBusMethodInvocation *invocation) { const gchar *action_id = NULL; const gchar *sender; InvocationData *invo; gboolean ret; invo = lookup_invocation_data (invocation); if (invo != NULL && invo->method != NULL) action_id = invo->method->action_id; if (action_id == NULL) { g_warning ("Couldn't authorize unregistered method '%s' on interface '%s'", g_dbus_method_invocation_get_method_name (invocation), g_dbus_method_invocation_get_interface_name (invocation)); ret = FALSE; } else { sender = g_dbus_method_invocation_get_sender (invocation); ret = check_dbus_action (sender, action_id); } if (ret == FALSE) { g_debug ("rejecting access to method '%s' on interface '%s' at %s", g_dbus_method_invocation_get_method_name (invocation), g_dbus_method_invocation_get_interface_name (invocation), g_dbus_method_invocation_get_object_path (invocation)); g_dbus_method_invocation_return_dbus_error (invocation, REALM_DBUS_ERROR_NOT_AUTHORIZED, _("Not authorized to perform this action")); } return ret; } GCancellable * realm_invocation_get_cancellable (GDBusMethodInvocation *invocation) { InvocationData *invo; g_return_val_if_fail (invocation != NULL, NULL); invo = lookup_invocation_data (invocation); return invo ? invo->cancellable : NULL; } const gchar * realm_invocation_get_operation (GDBusMethodInvocation *invocation) { InvocationData *invo; g_return_val_if_fail (invocation != NULL, NULL); invo = lookup_invocation_data (invocation); return invo ? invo->operation : NULL; } const gchar * realm_invocation_get_key (GDBusMethodInvocation *invocation) { InvocationData *invo; g_return_val_if_fail (invocation != NULL, NULL); invo = lookup_invocation_data (invocation); return invo ? invo->identifier : NULL; } static void on_invocation_gone (gpointer unused, GObject *where_the_object_was) { g_warning ("a GDBusMethodInvocation was released but the invocation was " "registered as part of a realm_invocation_lock_daemon()"); g_assert (where_the_object_was == current_invocation); current_invocation = NULL; } gboolean realm_invocation_lock_daemon (GDBusMethodInvocation *invocation) { g_return_val_if_fail (G_IS_DBUS_METHOD_INVOCATION (invocation), FALSE); if (current_invocation) return FALSE; current_invocation = G_OBJECT (invocation); g_object_weak_ref (current_invocation, on_invocation_gone, NULL); /* Hold the daemon up while action */ realm_daemon_hold ("current-invocation"); return TRUE; } void realm_invocation_unlock_daemon (GDBusMethodInvocation *invocation) { g_return_if_fail (G_IS_DBUS_METHOD_INVOCATION (invocation)); if (current_invocation != G_OBJECT (invocation)) { g_warning ("trying to realm_invocation_unlock_daemon() with an invocation " "that is not registered as the current locked action."); return; } g_object_weak_unref (current_invocation, on_invocation_gone, NULL); current_invocation = NULL; /* Matches the hold in realm_invocation_lock_daemon() */ if (!realm_daemon_release ("current-invocation")) g_warn_if_reached (); } realmd-0.15.0/service/realm-options.h0000664000175000017500000000243712212341670017435 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_OPTIONS_H__ #define __REALM_OPTIONS_H__ #include G_BEGIN_DECLS gboolean realm_options_manage_system (GVariant *options, const gchar *realm_name); gboolean realm_options_automatic_install (GVariant *options); const gchar * realm_options_computer_ou (GVariant *options, const gchar *realm_name); const gchar * realm_options_user_principal (GVariant *options, const gchar *realm_name); gboolean realm_options_automatic_mapping (const gchar *realm_name); gboolean realm_options_qualify_names (const gchar *realm_name); G_END_DECLS #endif /* __REALM_OPTIONS_H__ */ realmd-0.15.0/service/realm-samba-winbind.h0000664000175000017500000000314612140455744020463 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SAMBA_WINBIND_H__ #define __REALM_SAMBA_WINBIND_H__ #include G_BEGIN_DECLS void realm_samba_winbind_configure_async (RealmIniConfig *config, const gchar *domain_name, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_samba_winbind_configure_finish (GAsyncResult *result, GError **error); void realm_samba_winbind_deconfigure_async (RealmIniConfig *config, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_samba_winbind_deconfigure_finish (GAsyncResult *result, GError **error); G_END_DECLS #endif /* __REALM_SAMBA_WINBIND_H__ */ realmd-0.15.0/service/realm-sssd-provider.h0000664000175000017500000000222512053433306020542 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #ifndef __REALM_SSSD_PROVIDER_H__ #define __REALM_SSSD_PROVIDER_H__ #include #include "realm-provider.h" G_BEGIN_DECLS #define REALM_TYPE_SSSD_PROVIDER (realm_sssd_provider_get_type ()) #define REALM_SSSD_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_SSSD_PROVIDER, RealmSssdProvider)) #define REALM_IS_SSSD_PROVIDER(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_SSSD_PROVIDER)) typedef struct _RealmSssdProvider RealmSssdProvider; GType realm_sssd_provider_get_type (void) G_GNUC_CONST; RealmProvider * realm_sssd_provider_new (void); G_END_DECLS #endif /* __REALM_SSSD_PROVIDER_H__ */ realmd-0.15.0/service/realm-sssd-ad.c0000664000175000017500000004636312263031417017302 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-adcli-enroll.h" #include "realm-command.h" #include "realm-dbus-constants.h" #include "realm-diagnostics.h" #include "realm-errors.h" #include "realm-kerberos-membership.h" #include "realm-options.h" #include "realm-packages.h" #include "realm-samba-enroll.h" #include "realm-service.h" #include "realm-settings.h" #include "realm-sssd.h" #include "realm-sssd-ad.h" #include "realm-sssd-config.h" #include #include #include #include struct _RealmSssdAd { RealmSssd parent; }; typedef struct { RealmSssdClass parent_class; } RealmSssdAdClass; static const gchar *ADCLI_PACKAGES[] = { REALM_DBUS_IDENTIFIER_SSSD, REALM_DBUS_IDENTIFIER_ADCLI, NULL }; static const gchar *SAMBA_PACKAGES[] = { REALM_DBUS_IDENTIFIER_SSSD, REALM_DBUS_IDENTIFIER_SAMBA, NULL }; static const gchar *ALL_PACKAGES[] = { REALM_DBUS_IDENTIFIER_SSSD, REALM_DBUS_IDENTIFIER_ADCLI, REALM_DBUS_IDENTIFIER_SAMBA, NULL }; static void realm_sssd_ad_kerberos_membership_iface (RealmKerberosMembershipIface *iface); G_DEFINE_TYPE_WITH_CODE (RealmSssdAd, realm_sssd_ad, REALM_TYPE_SSSD, G_IMPLEMENT_INTERFACE (REALM_TYPE_KERBEROS_MEMBERSHIP, realm_sssd_ad_kerberos_membership_iface); ); static void realm_sssd_ad_init (RealmSssdAd *self) { } static void realm_sssd_ad_constructed (GObject *obj) { RealmKerberos *kerberos = REALM_KERBEROS (obj); G_OBJECT_CLASS (realm_sssd_ad_parent_class)->constructed (obj); realm_kerberos_set_details (kerberos, REALM_DBUS_OPTION_SERVER_SOFTWARE, REALM_DBUS_IDENTIFIER_ACTIVE_DIRECTORY, REALM_DBUS_OPTION_CLIENT_SOFTWARE, REALM_DBUS_IDENTIFIER_SSSD, NULL); realm_kerberos_set_suggested_admin (kerberos, "Administrator"); realm_kerberos_set_login_policy (kerberos, REALM_KERBEROS_ALLOW_REALM_LOGINS); realm_kerberos_set_required_package_sets (kerberos, ALL_PACKAGES); } typedef struct { GDBusMethodInvocation *invocation; RealmCredential *cred; GVariant *options; RealmDisco *disco; gboolean use_adcli; const gchar **packages; } JoinClosure; static void join_closure_free (gpointer data) { JoinClosure *join = data; realm_disco_unref (join->disco); g_object_unref (join->invocation); realm_credential_unref (join->cred); g_variant_ref (join->options); g_free (join); } static void on_enable_nss_done (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; gint status; status = realm_command_run_finish (result, NULL, &error); if (error == NULL && status != 0) g_set_error (&error, REALM_ERROR, REALM_ERROR_INTERNAL, _("Enabling SSSD in nsswitch.conf and PAM failed.")); if (error != NULL) g_task_return_error (task, error); else g_task_return_boolean (task, TRUE); g_object_unref (task); } static void on_sssd_enable_nss (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); JoinClosure *join = g_task_get_task_data (task); GError *error = NULL; realm_service_enable_and_restart_finish (result, &error); if (error == NULL) { realm_command_run_known_async ("sssd-enable-logins", NULL, join->invocation, on_enable_nss_done, g_object_ref (task)); } else { g_task_return_error (task, error); } g_object_unref (task); } static gboolean configure_sssd_for_domain (RealmIniConfig *config, RealmDisco *disco, GVariant *options, gboolean use_adcli, GError **error) { GString *realmd_tags; const gchar *access_provider; const gchar *shell; gchar *authid = NULL; gboolean qualify; gboolean ret; gchar *section; gchar *home; home = realm_sssd_build_default_home (realm_settings_string ("users", "default-home")); qualify = realm_options_qualify_names (disco->domain_name); shell = realm_settings_string ("users", "default-shell"); realmd_tags = g_string_new (""); if (realm_options_manage_system (options, disco->domain_name)) g_string_append (realmd_tags, "manages-system "); g_string_append (realmd_tags, use_adcli ? "joined-with-adcli " : "joined-with-samba "); /* * Explicitly set the netbios authid for sssd to use in this case, since * otherwise sssd won't know which kerberos principal to use */ if (disco->explicit_netbios) authid = g_strdup_printf ("%s$", disco->explicit_netbios); ret = realm_sssd_config_add_domain (config, disco->domain_name, error, "cache_credentials", "True", "use_fully_qualified_names", qualify ? "True" : "False", "id_provider", "ad", "ad_domain", disco->domain_name, "krb5_realm", disco->kerberos_realm, "krb5_store_password_if_offline", "True", "ldap_id_mapping", realm_options_automatic_mapping (disco->domain_name) ? "True" : "False", "realmd_tags", realmd_tags->str, "fallback_homedir", home, "default_shell", shell, "ad_server", disco->explicit_server, "ldap_sasl_authid", authid, NULL); g_free (authid); g_string_free (realmd_tags, TRUE); if (ret) { if (realm_options_manage_system (options, disco->domain_name)) access_provider = "ad"; else access_provider = "simple"; section = realm_sssd_config_domain_to_section (disco->domain_name); ret = realm_sssd_set_login_policy (config, section, access_provider, NULL, NULL, FALSE, error); free (section); } g_free (home); return ret; } static void on_join_do_sssd (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); JoinClosure *join = g_task_get_task_data (task); RealmSssd *sssd = g_task_get_source_object (task); GError *error = NULL; if (join->use_adcli) { if (!realm_adcli_enroll_join_finish (result, &error)) { if (join->cred->type == REALM_CREDENTIAL_AUTOMATIC && g_error_matches (error, REALM_ERROR, REALM_ERROR_AUTH_FAILED)) { g_clear_error (&error); g_set_error (&error, REALM_ERROR, REALM_ERROR_AUTH_FAILED, _("Unable to automatically join the domain")); } } } else { realm_samba_enroll_join_finish (result, &error); } if (error == NULL) { configure_sssd_for_domain (realm_sssd_get_config (sssd), join->disco, join->options, join->use_adcli, &error); } if (error == NULL) { realm_service_enable_and_restart ("sssd", join->invocation, on_sssd_enable_nss, g_object_ref (task)); } else { g_task_return_error (task, error); } g_object_unref (task); } static void on_install_do_join (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); JoinClosure *join = g_task_get_task_data (task); GError *error = NULL; realm_packages_install_finish (result, &error); if (error == NULL) { if (join->use_adcli) { realm_adcli_enroll_join_async (join->disco, join->cred, join->options, join->invocation, on_join_do_sssd, g_object_ref (task)); } else { realm_samba_enroll_join_async (join->disco, join->cred, join->options, join->invocation, on_join_do_sssd, g_object_ref (task)); } } else { g_task_return_error (task, error); } g_object_unref (task); } static gboolean parse_join_options (JoinClosure *join, RealmCredential *cred, GVariant *options, GError **error) { const gchar *software; /* Figure out the method that we're going to use to enroll */ if (g_variant_lookup (options, REALM_DBUS_OPTION_MEMBERSHIP_SOFTWARE, "&s", &software)) { if (!g_str_equal (software, REALM_DBUS_IDENTIFIER_ADCLI) && !g_str_equal (software, REALM_DBUS_IDENTIFIER_SAMBA)) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, _("Unsupported or unknown membership software '%s'"), software); return FALSE; } } else { software = NULL; } /* * If we are enrolling with a one time password, or automatically, use * adcli. Samba doesn't support computer passwords or using reset accounts. */ if ((cred->type == REALM_CREDENTIAL_SECRET && cred->owner == REALM_CREDENTIAL_OWNER_NONE) || (cred->type == REALM_CREDENTIAL_AUTOMATIC && cred->owner == REALM_CREDENTIAL_OWNER_NONE)) { if (!software) software = REALM_DBUS_IDENTIFIER_ADCLI; if (!g_str_equal (software, REALM_DBUS_IDENTIFIER_ADCLI)) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_NOT_SUPPORTED, _("Joining a domain with a one time password is only supported with the '%s' membership software"), REALM_DBUS_IDENTIFIER_ADCLI); return FALSE; } /* * If we are enrolling with a user password, then we have to use samba, * adcli only supports admin passwords. */ } else if (cred->type == REALM_CREDENTIAL_PASSWORD && cred->owner == REALM_CREDENTIAL_OWNER_USER) { if (!software) software = REALM_DBUS_IDENTIFIER_SAMBA; if (!g_str_equal (software, REALM_DBUS_IDENTIFIER_SAMBA)) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, _("Joining a domain with a user password is only supported with the '%s' membership software"), REALM_DBUS_IDENTIFIER_SAMBA); return FALSE; } /* * If we are enrolling with a ccache, then prefer to use adcli over samba. * There have been some strange corner case problems when using samba with * a ccache. */ } else if (cred->type == REALM_CREDENTIAL_CCACHE) { if (!software) software = REALM_DBUS_IDENTIFIER_ADCLI; /* * For other supported enrolling credentials, we support either adcli or * samba. But since adcli is pretty immature at this point, we use samba * by default. Samba falls over with hostnames that are not perfectly * specified, so use adcli there. */ } else if (cred->type == REALM_CREDENTIAL_PASSWORD && cred->owner == REALM_CREDENTIAL_OWNER_ADMIN) { if (!software && join->disco->explicit_server) software = REALM_DBUS_IDENTIFIER_ADCLI; else if (!software) software = REALM_DBUS_IDENTIFIER_SAMBA; /* It would be odd to get here */ } else { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, _("Unsupported credentials for joining a domain")); return FALSE; } g_assert (software != NULL); if (g_str_equal (software, REALM_DBUS_IDENTIFIER_ADCLI)) { join->use_adcli = TRUE; join->packages = ADCLI_PACKAGES; } else { join->use_adcli = FALSE; join->packages = SAMBA_PACKAGES; } return TRUE; } static void realm_sssd_ad_join_async (RealmKerberosMembership *membership, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmKerberos *realm = REALM_KERBEROS (membership); RealmSssd *sssd = REALM_SSSD (realm); GTask *task; JoinClosure *join; GError *error = NULL; task = g_task_new (realm, NULL, callback, user_data); join = g_new0 (JoinClosure, 1); join->disco = realm_disco_ref (realm_kerberos_get_disco (realm)); join->invocation = g_object_ref (invocation); join->options = g_variant_ref (options); join->cred = realm_credential_ref (cred); g_task_set_task_data (task, join, join_closure_free); /* Make sure not already enrolled in a realm */ if (realm_sssd_get_config_section (sssd) != NULL) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_ALREADY_CONFIGURED, _("Already joined to this domain")); } else if (realm_sssd_config_have_domain (realm_sssd_get_config (sssd), realm_kerberos_get_realm_name (realm))) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_ALREADY_CONFIGURED, _("A domain with this name is already configured")); } else if (!parse_join_options (join, cred, options, &error)) { g_task_return_error (task, error); /* Prepared successfully without an error */ } else { realm_packages_install_async (join->packages, join->invocation, options, on_install_do_join, g_object_ref (task)); } g_object_unref (task); } typedef struct { GDBusMethodInvocation *invocation; gchar *realm_name; gboolean use_adcli; } LeaveClosure; static void leave_closure_free (gpointer data) { LeaveClosure *leave = data; g_free (leave->realm_name); g_object_unref (leave->invocation); g_free (leave); } static void on_leave_do_deconfigure (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); LeaveClosure *leave = g_task_get_task_data (task); RealmSssd *sssd = g_task_get_source_object (task); GError *error = NULL; /* We don't care if we can leave or not, just continue with other steps */ if (leave->use_adcli) realm_adcli_enroll_delete_finish (result, &error); else realm_samba_enroll_leave_finish (result, &error); if (error != NULL) { realm_diagnostics_error (leave->invocation, error, NULL); g_error_free (error); } realm_sssd_deconfigure_domain_tail (sssd, task, leave->invocation); g_object_unref (task); } static void realm_sssd_ad_leave_async (RealmKerberosMembership *membership, RealmCredential *cred, GVariant *options, GDBusMethodInvocation *invocation, GAsyncReadyCallback callback, gpointer user_data) { RealmSssdAd *self = REALM_SSSD_AD (membership); RealmKerberos *realm = REALM_KERBEROS (self); RealmSssd *sssd = REALM_SSSD (self); RealmDisco *disco; const gchar *section; GTask *task; LeaveClosure *leave; gchar *tags; task = g_task_new (self, NULL, callback, user_data); /* Check that enrolled in this realm */ section = realm_sssd_get_config_section (sssd); if (!section) { g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_NOT_CONFIGURED, _("Not currently joined to this domain")); g_object_unref (task); return; } tags = realm_ini_config_get (realm_sssd_get_config (sssd), section, "realmd_tags"); /* This also has the side-effect of populating the disco info if necessary */ disco = realm_kerberos_get_disco (realm); switch (cred->type) { case REALM_CREDENTIAL_AUTOMATIC: realm_sssd_deconfigure_domain_tail (REALM_SSSD (self), task, invocation); break; case REALM_CREDENTIAL_CCACHE: case REALM_CREDENTIAL_PASSWORD: leave = g_new0 (LeaveClosure, 1); leave->realm_name = g_strdup (realm_kerberos_get_realm_name (realm)); leave->invocation = g_object_ref (invocation); leave->use_adcli = strstr (tags ? tags : "", "joined-with-adcli") ? TRUE : FALSE; g_task_set_task_data (task, leave, leave_closure_free); if (leave->use_adcli) { realm_adcli_enroll_delete_async (disco, cred, options, invocation, on_leave_do_deconfigure, g_object_ref (task)); } else { realm_samba_enroll_leave_async (disco, cred, options, invocation, on_leave_do_deconfigure, g_object_ref (task)); } break; default: g_return_if_reached (); } g_free (tags); g_object_unref (task); } static gboolean realm_sssd_ad_generic_finish (RealmKerberosMembership *realm, GAsyncResult *result, GError **error) { return g_task_propagate_boolean (G_TASK (result), error); } static void realm_sssd_ad_discover_myself (RealmKerberos *realm, RealmDisco *disco) { RealmSssd *sssd = REALM_SSSD (realm); RealmIniConfig *config; const gchar *section; gchar *dollar; gchar *value; config = realm_sssd_get_config (sssd); section = realm_sssd_get_config_section (sssd); if (section == NULL) return; value = realm_ini_config_get (config, section, "ad_server"); g_free (disco->explicit_server); disco->explicit_server = value; /* * If this field has an authid that looks like a samAccountName * (ie: Netbios name with a $ suffix) then it looks like an explicit * netbios server name has been set. */ value = realm_ini_config_get (config, section, "ldap_sasl_authid"); if (value) { dollar = strrchr (value, '$'); if (dollar && dollar[1] == '\0') { dollar[0] = '\0'; } else { g_free (value); value = NULL; } } g_free (disco->explicit_netbios); disco->explicit_netbios = value; } void realm_sssd_ad_class_init (RealmSssdAdClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); RealmKerberosClass *kerberos_class = REALM_KERBEROS_CLASS (klass); RealmSssdClass *sssd_class = REALM_SSSD_CLASS (klass); object_class->constructed = realm_sssd_ad_constructed; /* The provider in sssd.conf relevant to this realm type */ sssd_class->sssd_conf_provider_name = "ad"; kerberos_class->discover_myself = realm_sssd_ad_discover_myself; } static void realm_sssd_ad_kerberos_membership_iface (RealmKerberosMembershipIface *iface) { /* * Each line is a combination of owner and what kind of credentials are supported, * same for enroll/leave. We can't accept a ccache with samba because of certain * corner cases. However we do accept ccache for an admin user, and then we use * adcli with that ccache. */ static const RealmCredential join_supported[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN, }, { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_USER, }, { REALM_CREDENTIAL_CCACHE, REALM_CREDENTIAL_OWNER_ADMIN, }, { REALM_CREDENTIAL_AUTOMATIC, REALM_CREDENTIAL_OWNER_NONE, }, { REALM_CREDENTIAL_SECRET, REALM_CREDENTIAL_OWNER_NONE, }, { 0, }, }; /* For leave, we don't support one-time-password (ie: secret/none) */ static const RealmCredential leave_supported[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN, }, { REALM_CREDENTIAL_CCACHE, REALM_CREDENTIAL_OWNER_ADMIN, }, { REALM_CREDENTIAL_AUTOMATIC, REALM_CREDENTIAL_OWNER_NONE, }, { 0, }, }; iface->join_async = realm_sssd_ad_join_async; iface->join_finish = realm_sssd_ad_generic_finish; iface->join_creds_supported = join_supported; iface->leave_async = realm_sssd_ad_leave_async; iface->leave_finish = realm_sssd_ad_generic_finish; iface->leave_creds_supported = leave_supported; } realmd-0.15.0/service/realm-kerberos-membership.c0000664000175000017500000000135112140455744021704 0ustar00stefstef00000000000000/* realmd -- Realm configuration service * * Copyright 2012 Red Hat Inc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2 of the licence or (at * your option) any later version. * * See the included COPYING file for more information. * * Author: Stef Walter */ #include "config.h" #include "realm-kerberos-membership.h" typedef RealmKerberosMembershipIface RealmKerberosMembershipInterface; G_DEFINE_INTERFACE (RealmKerberosMembership, realm_kerberos_membership, 0); static void realm_kerberos_membership_default_init (RealmKerberosMembershipIface *iface) { } realmd-0.15.0/service/org.freedesktop.realmd.policy.in0000664000175000017500000000377712041772673022710 0ustar00stefstef00000000000000 realmd <_description>Discover realm <_message>Authentication is required to discover a kerberos realm yes yes yes <_description>Join machine to realm <_message>Authentication is required to join this machine to a realm or domain no auth_admin auth_admin_keep org.freedesktop.realmd.discover-realm org.freedesktop.realmd.deconfigure-realm <_description>Remove machine from realm <_message>Authentication is required to remove this computer from a realm or domain. no auth_admin auth_admin_keep <_description>Change login policy <_message>Authentication is required to change the policy of who can log in on this computer. no auth_admin auth_admin_keep realmd-0.15.0/Makefile.decl0000664000175000017500000000343212041772673015410 0ustar00stefstef00000000000000NULL = TEST_SUPPRESSIONS = $(top_builddir)/build/valgrind-suppressions perform-memcheck: $(TEST_PROGS) $(TEST_SUPPRESSIONS) @make -C $(top_builddir)/build all @for test in $(TEST_PROGS); do \ G_SLICE=always-malloc libtool --mode=execute \ valgrind --trace-children=no --gen-suppressions=all \ --suppressions=$(TEST_SUPPRESSIONS) \ --leak-check=full --show-reachable=yes --num-callers=16 \ --quiet --error-exitcode=33 \ $(builddir)/$$test; \ done if WITH_COVERAGE coverage: mkdir -p $(top_builddir)/build/coverage $(LCOV) --directory . --capture --output-file $(top_builddir)/build/coverage.info $(GENHTML) --output-directory $(top_builddir)/build/coverage $(top_builddir)/build/coverage.info $(LCOV) --directory . --zerocounters @echo "file://$(abs_top_builddir)/build/coverage/index.html" clear-coverage: $(LCOV) --directory . --zerocounters endif V_SED = $(V_SED_$(V)) V_SED_ = $(V_SED_$(AM_DEFAULT_VERBOSITY)) V_SED_0 = @echo " SED " $@; SED_SUBST = sed \ -e 's,[@]datadir[@],$(datadir),g' \ -e 's,[@]libexecdir[@],$(libexecdir),g' \ -e 's,[@]libdir[@],$(libdir),g' \ -e 's,[@]includedir[@],$(includedir),g' \ -e 's,[@]datarootdir[@],$(datarootdir),g' \ -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ -e 's,[@]bindir[@],$(bindir),g' \ -e 's,[@]exec_prefix[@],$(exec_prefix),g' \ -e 's,[@]prefix[@],$(prefix),g' \ -e 's,[@]abs_srcdir[@],$(abs_srcdir),g' \ -e 's,[@]srcdir[@],$(srcdir),g' \ -e 's,[@]privatedir[@],$(privatedir),g' \ -e 's,[@]PACKAGE[@],$(PACKAGE),g' \ -e 's,[@]VERSION[@],$(VERSION),g' \ $(NULL) .desktop.in.in.desktop.in: $(V_SED) $(SED_SUBST) $< > $@ @INTLTOOL_DESKTOP_RULE@ .service.in.service: $(V_SED) $(SED_SUBST) $< > $@ .conf.in.conf: $(V_SED) $(SED_SUBST) $< > $@ SUFFIXES = .conf .conf.in .desktop.in .desktop.in.in .service .service.inrealmd-0.15.0/AUTHORS0000644000175000017500000000003611732111507014072 0ustar00stefstef00000000000000Stef Walter realmd-0.15.0/README0000664000175000017500000000056612263026350013715 0ustar00stefstef00000000000000DBus service for configuring kerberos and other online identities. How Active Directory domains are discovered ============================================ AD servers are located using the standard DNS kerberos SRV records and the Microsoft standard subzone for the domain. For example: * A SRV record: _kerberos._udp.example.com * An MSDCS subzone: _msdcs.example.com