realmd-0.16.2/0000775000175000017500000000000012556656347013055 5ustar00stefstef00000000000000realmd-0.16.2/doc/0000775000175000017500000000000012556656347013622 5ustar00stefstef00000000000000realmd-0.16.2/doc/version.xml0000664000175000017500000000000712556656062016020 0ustar00stefstef000000000000000.16.2 realmd-0.16.2/doc/website/0000775000175000017500000000000012556656347015264 5ustar00stefstef00000000000000realmd-0.16.2/doc/website/Makefile.am0000664000175000017500000000016412551260475017305 0ustar00stefstef00000000000000 website: SRCDIR=$(srcdir) BUILDDIR=$(builddir) python $(srcdir)/doc/website/jinja2-build.py CLEANFILES += html/* realmd-0.16.2/doc/version.xml.in0000664000175000017500000000001112410017007016373 0ustar00stefstef00000000000000@VERSION@realmd-0.16.2/doc/manual/0000775000175000017500000000000012556656347015077 5ustar00stefstef00000000000000realmd-0.16.2/doc/manual/realmd-docs.xml0000664000175000017500000000322112410017007017756 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.16.2/doc/manual/static/0000775000175000017500000000000012410017007016333 5ustar00stefstef00000000000000realmd-0.16.2/doc/manual/static/gtk-doc.css0000664000175000017500000001207212410017007020377 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.16.2/doc/manual/static/up.png0000664000175000017500000000062612410017007017471 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.16.2/doc/manual/static/right.png0000664000175000017500000000073012410017007020156 0ustar00stefstef00000000000000PNG  IHDRw=bKGD pHYs  ~tIME2 I%=eIDATx!o@.'**M0$$?1~vIeEuLl&4䝠Bݛ|>$ݶoc 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.16.2/doc/manual/static/left.png0000664000175000017500000000071312410017007017774 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.16.2/doc/manual/static/home.png0000664000175000017500000000121612410017007017771 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.16.2/doc/manual/version-greater-or-equal.xsl0000664000175000017500000000322012410017007022430 0ustar00stefstef00000000000000 1 0 0 1 realmd-0.16.2/doc/manual/realm.xml0000664000175000017500000003244012551252447016710 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. If the domain has been preconfigured, and unless --user is explicitly specified, an automatic join is attempted first. 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: Do not perform UID/GID mapping for users and groups, but expect these identifiers to be present in the domain already. 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.16.2/doc/manual/escape-xml-to-text.xsl0000664000175000017500000000420712410017007021237 0ustar00stefstef00000000000000 < =' ' > </ > <? ?> &amp; &lt; &gt; &quot; &apos; realmd-0.16.2/doc/manual/gtk-doc.xsl0000664000175000017500000010276112410017007017133 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.16.2/doc/manual/gdbus-fix-bugs.xsl0000664000175000017500000000103512410017007020421 0ustar00stefstef00000000000000 realmd-0.16.2/doc/manual/realmd-guide-kerberos.xml0000664000175000017500000000341312410017007021740 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.16.2/doc/manual/realmd-guide-ipa.xml0000664000175000017500000001277412410017007020707 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.16.2/doc/manual/Makefile.am0000664000175000017500000000503212410017007017100 0ustar00stefstef00000000000000 man8_MANS += \ doc/manual/realm.8 man5_MANS += \ doc/manual/realmd.conf.5 MAN_IN_FILES = \ $(man8_MANS:.8=.xml) \ $(man5_MANS:.5=.xml) \ $(NULL) MANUAL_DOCBOOK = doc/manual/realmd-docs.xml MANUAL_INCLUDES = \ doc/manual/realmd-guide-active-directory.xml \ doc/manual/realmd-guide-ipa.xml \ doc/manual/realmd-guide-kerberos.xml \ $(NULL) MANUAL_STATIC = \ doc/manual/static/gtk-doc.css \ doc/manual/static/style.css \ $(NULL) DBUS_INTERFACE = dbus/org.freedesktop.realmd.xml DBUS_ESCAPED = realmd-org.freedesktop.realmd.xml DBUS_DOC_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 MANUAL_XSLT = \ doc/manual/escape-xml-to-text.xsl \ doc/manual/gdbus-fix-bugs.xsl \ doc/manual/gtk-doc.xsl \ doc/manual/version-greater-or-equal.xsl \ $(NULL) EXTRA_DIST += \ $(MANUAL_DOCBOOK) \ $(MANUAL_INCLUDES) \ $(MAN_IN_FILES) \ $(MANUAL_XSLT) \ doc/manual/static \ $(NULL) CLEANFILES += \ realmd-org.freedesktop.realmd.generated \ $(DBUS_DOC_GENERATED) \ $(DBUS_ESCAPED) \ $(man8_MANS) \ $(man5_MANS) \ manual/index.html \ *.tmp \ $(NULL) .xml.8: $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< .xml.5: $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< realmd-org.freedesktop.realmd.generated: $(DBUS_INTERFACE) doc/manual/gdbus-fix-bugs.xsl $(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.realmd. \ --generate-docbook realmd $< && \ (for f in $(DBUS_DOC_GENERATED); do \ $(XSLTPROC) --output $$f.tmp $(srcdir)/doc/manual/gdbus-fix-bugs.xsl $$f && mv $$f.tmp $$f; \ done) && \ touch realmd-org.freedesktop.realmd.generated $(DBUS_DOC_GENERATED): realmd-org.freedesktop.realmd.generated $(DBUS_ESCAPED): $(DBUS_INTERFACE) doc/manual/escape-xml-to-text.xsl $(AM_V_GEN) $(XSLTPROC) --nonet --novalid --output $(DBUS_ESCAPED) \ $(srcdir)/doc/manual/escape-xml-to-text.xsl $< && \ sed -i '/^[ ]*$$/d' $(DBUS_ESCAPED) manual/index.html: $(DBUS_DOC_GENERATED) $(MANUAL_DOCBOOK) $(MANUAL_INCLUDES) $(MAN_IN_FILES) $(DBUS_ESCAPED) $(MANUAL_STATIC) $(AM_V_GEN) mkdir -p manual && cp $(srcdir)/doc/manual/static/* manual/ && \ $(XMLTO) html -m $(srcdir)/doc/manual/gtk-doc.xsl -o manual \ --searchpath $(abs_builddir):$(abs_srcdir):$(abs_builddir)/doc \ $(srcdir)/$(MANUAL_DOCBOOK) realmd-0.16.2/doc/manual/realmd-guide-active-directory.xml0000664000175000017500000002042312513167350023414 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. 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.16.2/doc/manual/realmd.conf.xml0000664000175000017500000003063112547676322020007 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/%U@%D # default-home = /nfs/home/%D-%U # default-home = /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 only applies to Active Directory realms. This option is off by default. In Active Directory domains, a computer account can be preset with a known computer account password. This can be used for automatic joins without authentication. When automatic joins are used there is no mutual authentication between the machine and the domain during the join process. [domain.example.com] automatic-join = 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.16.2/doc/internals/0000775000175000017500000000000012556656347015621 5ustar00stefstef00000000000000realmd-0.16.2/doc/internals/join-method.svg0000664000175000017500000003117112410017007020527 0ustar00stefstef00000000000000 image/svg+xmladcli or samba AD Join(realm, creds, options) adcli join ...” or net ads join ...” Realm Kerberos config file keytab realmd-0.16.2/doc/internals/docbook-params.xsl0000664000175000017500000000033612410017007021221 0ustar00stefstef00000000000000 0 0 realmd-0.16.2/doc/internals/static/0000775000175000017500000000000012410017007017055 5ustar00stefstef00000000000000realmd-0.16.2/doc/internals/static/discover-method.png0000664000175000017500000011314112410017007022660 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.16.2/doc/internals/static/join-method.png0000664000175000017500000007272012410017007022010 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.16.2/doc/internals/realmd-internals.xml0000664000175000017500000004242612410017007021561 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.16.2/doc/internals/discover-method.svg0000664000175000017500000003022212410017007021402 0ustar00stefstef00000000000000 image/svg+xmlDNS Realm Provider lookup_service(domain) Realm Kerberos {domain, kerberos-kdcs} Discover(domain, options) RealmKerberos object paths config file realmd-0.16.2/doc/internals/Makefile.am0000664000175000017500000000160012410017007017617 0ustar00stefstef00000000000000 INTERNAL_DOCBOOK = doc/internals/realmd-internals.xml INTERNAL_PARAMS = doc/internals/docbook-params.xsl INTERNAL_STATIC = \ $(NULL) INTERNAL_INCLUDES = \ $(NULL) SVG_IMAGES = \ doc/internals/discover-method.svg \ doc/internals/join-method.svg \ $(NULL) EXTRA_DIST += \ $(INTERNAL_DOCBOOK) \ $(INTERNAL_PARAMS) \ $(INTERNAL_INCLUDES) \ $(SVG_IMAGES) \ doc/internals/static \ $(NULL) CLEANFILES += \ internals/realmd-internals.html \ $(NULL) internals/realmd-internals.html: $(INTERNAL_DOCBOOK) $(INTERNAL_INCLUDES) $(INTERNAL_STATIC) $(AM_V_GEN) mkdir -p internals && cp $(srcdir)/doc/internals/static/* internals/ && \ $(XMLTO) html-nochunks -m $(srcdir)/$(INTERNAL_PARAMS) -o internals \ --searchpath $(abs_builddir):$(abs_srcdir) $(srcdir)/$(INTERNAL_DOCBOOK) render-images: for i in $(SVG_IMAGES:.svg=); do \ inkscape --export-png=static/$$i.png $$i.svg; \ done realmd-0.16.2/configure0000775000175000017500000110115612556656060014761 0ustar00stefstef00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for realmd 0.16.2. # # 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.16.2' PACKAGE_STRING='realmd 0.16.2' 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 GLIB_LIBS GLIB_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH MKINSTALLDIRS POSUB POFILES PO_IN_DATADIR_FALSE PO_IN_DATADIR_TRUE INTLLIBS INSTOBJEXT GMOFILES DATADIRNAME CATOBJEXT CATALOGS MSGFMT_OPTS GETTEXT_PACKAGE PKG_CONFIG 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 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.16.2 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.16.2:";; 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 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.16.2 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.16.2, 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 # ----------------------------------------------------------------------------- ac_aux_dir= for ac_dir in build "$srcdir"/build; 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 build \"$srcdir\"/build" "$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. am__api_version='1.15' # 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+set}" != 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.16.2' 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 (and possibly the TAP driver). 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; } # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi { $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 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 whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_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. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != 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 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 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 whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_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. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != 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 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 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 # 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" # -------------------------------------------------------------------- # 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\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd") 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" 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\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd") 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" 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" 2>&1` else SYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SYSTEMD_JOURNAL_PKG_ERRORS" >&5 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 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } 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 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='${prefix}/lib/realmd' cachedir='${localstatedir}/cache/realmd' ac_config_files="$ac_config_files Makefile doc/version.xml po/Makefile.in po/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.16.2, 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.16.2 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" ;; "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" ;; "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.16.2/ChangeLog0000664000175000017500000000215412410017007014576 0ustar00stefstef00000000000000=== ChangeLog discontinued === realmd relies on commit messages to provide change history. Please write commit messages in the following format: === begin example commit === Short explanation of the commit Longer explanation explaining exactly what's changed, whether any external or private interfaces changed, what bugs were fixed (with bug tracker reference if applicable) and so forth. Be concise but not too brief. === end example commit === - Always add a brief description of the commit to the _first_ line of the commit and terminate by two newlines. This may be the title of a fixed bug, copied from Bugzilla. - First line (the brief description) must only be one sentence and should start with a capital letter unless it starts with a lowercase symbol or identifier. Don't use a trailing full stop, and don't exceed 72 characters. - The main description (the body) is normal prose and should use normal punctuation and capital letters where appropriate. - When committing code on behalf of others use the --author option, e.g. git commit -a --author "Joe Coder " and --signoff. realmd-0.16.2/config.h.in0000664000175000017500000000620512556656062015075 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 /* 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.16.2/NEWS0000664000175000017500000002327412556655605013560 0ustar00stefstef000000000000000.16.2 * Be more liberal with domain name chars * Increase timeout when calling PackageKit * List package names with spaces between them [#89464] * Install to $prefix/lib instead of $libdir 0.16.1 * libsystemd build fix [#90519] * Change default home directory to /home/%U@%D * Add --automatic-id-mapping=no command line argument 0.16.0 * Disable automatic AD joins by default [#89205] * Validate text we receive from LDAP * Prefer adcli for AD joins * Remove hard dependency on PackageKit * Fix crash when empty password is used with realm client 0.15.2 * Fix PackageKit installation issue * Remove our copy of valgrind.h * Build fixes and tweaks 0.15.1 * Build fixes for PackageKit changes [#76800 * Correct the polkit policy for non-desktop users [#78273] * Don't crash if missing full_name_format in sssd.conf 0.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.16.2/Makefile.in0000664000175000017500000076012112556656060015121 0ustar00stefstef00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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 = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } 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 = : TESTS = $(am__EXEEXT_2) check_PROGRAMS = $(am__EXEEXT_2) noinst_PROGRAMS = frob-install-packages$(EXEEXT) $(am__EXEEXT_1) private_PROGRAMS = realmd$(EXEEXT) sbin_PROGRAMS = realm$(EXEEXT) @ENABLE_DOC_TRUE@am__append_1 = \ @ENABLE_DOC_TRUE@ doc/manual/realm.8 @ENABLE_DOC_TRUE@am__append_2 = \ @ENABLE_DOC_TRUE@ doc/manual/realmd.conf.5 # ------------------------------------------------------------ # Docs # @ENABLE_DOC_TRUE@am__append_3 = $(MANUAL_DOCBOOK) $(MANUAL_INCLUDES) \ @ENABLE_DOC_TRUE@ $(MAN_IN_FILES) $(MANUAL_XSLT) \ @ENABLE_DOC_TRUE@ doc/manual/static $(NULL) $(INTERNAL_DOCBOOK) \ @ENABLE_DOC_TRUE@ $(INTERNAL_PARAMS) $(INTERNAL_INCLUDES) \ @ENABLE_DOC_TRUE@ $(SVG_IMAGES) doc/internals/static $(NULL) \ @ENABLE_DOC_TRUE@ doc/version.xml.in doc/version.xml @ENABLE_DOC_TRUE@am__append_4 = \ @ENABLE_DOC_TRUE@ realmd-org.freedesktop.realmd.generated \ @ENABLE_DOC_TRUE@ $(DBUS_DOC_GENERATED) $(DBUS_ESCAPED) \ @ENABLE_DOC_TRUE@ $(man8_MANS) $(man5_MANS) manual/index.html \ @ENABLE_DOC_TRUE@ *.tmp $(NULL) internals/realmd-internals.html \ @ENABLE_DOC_TRUE@ $(NULL) html/* @ENABLE_DOC_TRUE@am__append_5 = \ @ENABLE_DOC_TRUE@ doc/website/Makefile 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) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) 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 = doc/version.xml 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) \ $(am__objects_1) 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__EXEEXT_1 = am__EXEEXT_2 = test-ini-config$(EXEEXT) test-sssd-config$(EXEEXT) \ test-safe-format$(EXEEXT) test-login-name$(EXEEXT) \ test-samba-ou-format$(EXEEXT) test-settings$(EXEEXT) \ $(am__EXEEXT_1) am__installdirs = "$(DESTDIR)$(privatedir)" "$(DESTDIR)$(sbindir)" \ "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" \ "$(DESTDIR)$(dbusservicedir)" "$(DESTDIR)$(polkit_policydir)" \ "$(DESTDIR)$(privatedir)" "$(DESTDIR)$(servicedir)" \ "$(DESTDIR)$(systemdunitdir)" PROGRAMS = $(noinst_PROGRAMS) $(private_PROGRAMS) $(sbin_PROGRAMS) am__dirstamp = $(am__leading_dot)dirstamp am_frob_install_packages_OBJECTS = \ tests/frob_install_packages-frob-install-packages.$(OBJEXT) \ service/frob_install_packages-realm-packages.$(OBJEXT) \ service/frob_install_packages-realm-settings.$(OBJEXT) \ service/frob_install_packages-realm-errors.$(OBJEXT) \ $(am__objects_1) frob_install_packages_OBJECTS = $(am_frob_install_packages_OBJECTS) am__DEPENDENCIES_1 = am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) frob_install_packages_DEPENDENCIES = $(am__DEPENDENCIES_2) \ $(am__DEPENDENCIES_1) frob_install_packages_LINK = $(CCLD) $(frob_install_packages_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_realm_OBJECTS = tools/realm-realm.$(OBJEXT) \ tools/realm-realm-client.$(OBJEXT) \ tools/realm-realm-discover.$(OBJEXT) \ tools/realm-realm-join.$(OBJEXT) \ tools/realm-realm-leave.$(OBJEXT) \ tools/realm-realm-logins.$(OBJEXT) $(am__objects_1) realm_OBJECTS = $(am_realm_OBJECTS) realm_DEPENDENCIES = librealm-dbus.a $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) realm_LINK = $(CCLD) $(realm_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am_realmd_OBJECTS = service/realmd-realm-adcli-enroll.$(OBJEXT) \ service/realmd-realm-all-provider.$(OBJEXT) \ service/realmd-realm-command.$(OBJEXT) \ service/realmd-realm-credential.$(OBJEXT) \ service/realmd-realm-daemon.$(OBJEXT) \ service/realmd-realm-diagnostics.$(OBJEXT) \ service/realmd-realm-disco.$(OBJEXT) \ service/realmd-realm-disco-dns.$(OBJEXT) \ service/realmd-realm-disco-domain.$(OBJEXT) \ service/realmd-realm-disco-mscldap.$(OBJEXT) \ service/realmd-realm-disco-rootdse.$(OBJEXT) \ service/realmd-realm-errors.$(OBJEXT) \ service/realmd-realm-example.$(OBJEXT) \ service/realmd-realm-example-provider.$(OBJEXT) \ service/realmd-realm-ini-config.$(OBJEXT) \ service/realmd-realm-invocation.$(OBJEXT) \ service/realmd-realm-kerberos.$(OBJEXT) \ service/realmd-realm-kerberos-membership.$(OBJEXT) \ service/realmd-realm-kerberos-provider.$(OBJEXT) \ service/realmd-realm-ldap.$(OBJEXT) \ service/realmd-realm-login-name.$(OBJEXT) \ service/realmd-realm-network.$(OBJEXT) \ service/realmd-realm-options.$(OBJEXT) \ service/realmd-realm-packages.$(OBJEXT) \ service/realmd-realm-provider.$(OBJEXT) \ service/realmd-realm-samba.$(OBJEXT) \ service/realmd-realm-samba-config.$(OBJEXT) \ service/realmd-realm-samba-enroll.$(OBJEXT) \ service/realmd-realm-samba-provider.$(OBJEXT) \ service/realmd-realm-samba-util.$(OBJEXT) \ service/realmd-realm-samba-winbind.$(OBJEXT) \ service/realmd-realm-service.$(OBJEXT) \ service/realmd-realm-settings.$(OBJEXT) \ service/realmd-realm-sssd.$(OBJEXT) \ service/realmd-realm-sssd-ad.$(OBJEXT) \ service/realmd-realm-sssd-provider.$(OBJEXT) \ service/realmd-realm-sssd-config.$(OBJEXT) \ service/realmd-realm-sssd-ipa.$(OBJEXT) \ service/realmd-realm-usleep-async.$(OBJEXT) \ service/realmd-safe-format-string.$(OBJEXT) $(am__objects_1) realmd_OBJECTS = $(am_realmd_OBJECTS) realmd_DEPENDENCIES = librealm-dbus.a $(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_test_ini_config_OBJECTS = \ tests/test_ini_config-test-ini-config.$(OBJEXT) \ service/test_ini_config-realm-ini-config.$(OBJEXT) \ service/test_ini_config-realm-samba-config.$(OBJEXT) \ service/test_ini_config-realm-settings.$(OBJEXT) \ $(am__objects_1) test_ini_config_OBJECTS = $(am_test_ini_config_OBJECTS) test_ini_config_DEPENDENCIES = $(am__DEPENDENCIES_2) test_ini_config_LINK = $(CCLD) $(test_ini_config_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_test_login_name_OBJECTS = \ tests/test_login_name-test-login-name.$(OBJEXT) \ service/test_login_name-realm-login-name.$(OBJEXT) \ $(am__objects_1) test_login_name_OBJECTS = $(am_test_login_name_OBJECTS) test_login_name_DEPENDENCIES = $(am__DEPENDENCIES_2) test_login_name_LINK = $(CCLD) $(test_login_name_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_test_safe_format_OBJECTS = \ tests/test_safe_format-test-safe-format.$(OBJEXT) \ service/test_safe_format-safe-format-string.$(OBJEXT) \ $(am__objects_1) test_safe_format_OBJECTS = $(am_test_safe_format_OBJECTS) test_safe_format_DEPENDENCIES = $(am__DEPENDENCIES_2) test_safe_format_LINK = $(CCLD) $(test_safe_format_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_test_samba_ou_format_OBJECTS = \ tests/test_samba_ou_format-test-samba-ou-format.$(OBJEXT) \ service/test_samba_ou_format-realm-samba-util.$(OBJEXT) \ $(am__objects_1) test_samba_ou_format_OBJECTS = $(am_test_samba_ou_format_OBJECTS) test_samba_ou_format_DEPENDENCIES = $(am__DEPENDENCIES_2) test_samba_ou_format_LINK = $(CCLD) $(test_samba_ou_format_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_test_settings_OBJECTS = \ tests/test_settings-test-settings.$(OBJEXT) \ service/test_settings-realm-settings.$(OBJEXT) \ $(am__objects_1) test_settings_OBJECTS = $(am_test_settings_OBJECTS) test_settings_DEPENDENCIES = $(am__DEPENDENCIES_2) test_settings_LINK = $(CCLD) $(test_settings_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_test_sssd_config_OBJECTS = \ tests/test_sssd_config-test-sssd-config.$(OBJEXT) \ service/test_sssd_config-realm-ini-config.$(OBJEXT) \ service/test_sssd_config-realm-sssd-config.$(OBJEXT) \ service/test_sssd_config-realm-settings.$(OBJEXT) \ $(am__objects_1) test_sssd_config_OBJECTS = $(am_test_sssd_config_OBJECTS) test_sssd_config_DEPENDENCIES = $(am__DEPENDENCIES_2) test_sssd_config_LINK = $(CCLD) $(test_sssd_config_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@ depcomp = $(SHELL) $(top_srcdir)/build/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) \ $(frob_install_packages_SOURCES) $(realm_SOURCES) \ $(realmd_SOURCES) $(test_ini_config_SOURCES) \ $(test_login_name_SOURCES) $(test_safe_format_SOURCES) \ $(test_samba_ou_format_SOURCES) $(test_settings_SOURCES) \ $(test_sssd_config_SOURCES) DIST_SOURCES = $(librealm_dbus_a_SOURCES) \ $(frob_install_packages_SOURCES) $(realm_SOURCES) \ $(realmd_SOURCES) $(test_ini_config_SOURCES) \ $(test_login_name_SOURCES) $(test_safe_format_SOURCES) \ $(test_samba_ou_format_SOURCES) $(test_settings_SOURCES) \ $(test_sssd_config_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 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 man8dir = $(mandir)/man8 NROFF = nroff MANS = $(man5_MANS) $(man8_MANS) DATA = $(dbusservice_DATA) $(polkit_policy_DATA) $(private_DATA) \ $(service_DATA) $(systemdunit_DATA) 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 check recheck 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 am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no am__tty_colors = { \ $(am__tty_colors_dummy); \ if test "X$(AM_COLOR_TESTS)" = Xno; then \ am__color_tests=no; \ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ am__color_tests=yes; \ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ am__color_tests=yes; \ fi; \ if test $$am__color_tests = yes; then \ red=''; \ grn=''; \ lgn=''; \ blu=''; \ mgn=''; \ brg=''; \ std=''; \ fi; \ } am__recheck_rx = ^[ ]*:recheck:[ ]* am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* # A command that, given a newline-separated list of test names on the # standard input, print the name of the tests that are to be re-run # upon "make recheck". am__list_recheck_tests = $(AWK) '{ \ recheck = 1; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ { \ if ((getline line2 < ($$0 ".log")) < 0) \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ { \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ { \ break; \ } \ }; \ if (recheck) \ print $$0; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # A command that, given a newline-separated list of test names on the # standard input, create the global log from their .trs and .log files. am__create_global_log = $(AWK) ' \ function fatal(msg) \ { \ print "fatal: making $@: " msg | "cat >&2"; \ exit 1; \ } \ function rst_section(header) \ { \ print header; \ len = length(header); \ for (i = 1; i <= len; i = i + 1) \ printf "="; \ printf "\n\n"; \ } \ { \ copy_in_global_log = 1; \ global_test_result = "RUN"; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".trs"); \ if (line ~ /$(am__global_test_result_rx)/) \ { \ sub("$(am__global_test_result_rx)", "", line); \ sub("[ ]*$$", "", line); \ global_test_result = line; \ } \ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ copy_in_global_log = 0; \ }; \ if (copy_in_global_log) \ { \ rst_section(global_test_result ": " $$0); \ while ((rc = (getline line < ($$0 ".log"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".log"); \ print line; \ }; \ printf "\n"; \ }; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # Restructured Text title. am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } # Solaris 10 'make', and several other traditional 'make' implementations, # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it # by disabling -e (using the XSI extension "set +e") if it's set. am__sh_e_setup = case $$- in *e*) set +e;; esac # Default flags passed to test drivers. am__common_driver_flags = \ --color-tests "$$am__color_tests" \ --enable-hard-errors "$$am__enable_hard_errors" \ --expect-failure "$$am__expect_failure" # To be inserted before the command running the test. Creates the # directory for the log if needed. Stores in $dir the directory # containing $f, in $tst the test, in $log the log. Executes the # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and # passes TESTS_ENVIRONMENT. Set up options for the wrapper that # will run the test scripts (or their associated LOG_COMPILER, if # thy have one). am__check_pre = \ $(am__sh_e_setup); \ $(am__vpath_adj_setup) $(am__vpath_adj) \ $(am__tty_colors); \ srcdir=$(srcdir); export srcdir; \ case "$@" in \ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ *) am__odir=.;; \ esac; \ test "x$$am__odir" = x"." || test -d "$$am__odir" \ || $(MKDIR_P) "$$am__odir" || exit $$?; \ if test -f "./$$f"; then dir=./; \ elif test -f "$$f"; then dir=; \ else dir="$(srcdir)/"; fi; \ tst=$$dir$$f; log='$@'; \ if test -n '$(DISABLE_HARD_ERRORS)'; then \ am__enable_hard_errors=no; \ else \ am__enable_hard_errors=yes; \ fi; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ am__expect_failure=yes;; \ *) \ am__expect_failure=no;; \ esac; \ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) # A shell command to get the names of the tests scripts with any registered # extension removed (i.e., equivalently, the names of the test logs, with # the '.log' extension removed). The result is saved in the shell variable # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", # since that might cause problem with VPATH rewrites for suffix-less tests. # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. am__set_TESTS_bases = \ bases='$(TEST_LOGS)'; \ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ bases=`echo $$bases` RECHECK_LOGS = $(TEST_LOGS) TEST_SUITE_LOG = test-suite.log TEST_EXTENSIONS = @EXEEXT@ .test LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) am__set_b = \ case '$@' in \ */*) \ case '$*' in \ */*) b='$*';; \ *) b=`echo '$@' | sed 's/\.log$$//'`; \ esac;; \ *) \ b='$*';; \ esac am__test_logs1 = $(TESTS:=.log) am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) TEST_LOGS = $(am__test_logs2:.test.log=.log) TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build/test-driver TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ $(TEST_LOG_FLAGS) DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/dbus/Makefile.am $(srcdir)/doc/internals/Makefile.am \ $(srcdir)/doc/manual/Makefile.am \ $(srcdir)/doc/website/Makefile.am \ $(srcdir)/service/Makefile.am $(srcdir)/tests/Makefile.am \ $(srcdir)/tools/Makefile.am $(top_srcdir)/build/compile \ $(top_srcdir)/build/depcomp $(top_srcdir)/build/install-sh \ $(top_srcdir)/build/missing $(top_srcdir)/build/test-driver \ $(top_srcdir)/doc/version.xml.in AUTHORS COPYING ChangeLog \ INSTALL NEWS README build/compile build/depcomp \ build/install-sh build/missing 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@ 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 = ACLOCAL_AMFLAGS = -I build/m4 ${ACLOCAL_FLAGS} SUBDIRS = po DISTCHECK_CONFIGURE_FLAGS = \ --enable-debug=yes \ --disable-coverage \ --disable-silent-rules \ --with-systemd-unit-dir=$(abs_srcdir)/$(top_distdir)/_inst/ \ --enable-doc 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 BUILT_SOURCES = realm-dbus-generated.c realm-dbus-generated.h $(NULL) DISTCLEANFILES = $(am__append_5) man5_MANS = $(am__append_2) man8_MANS = $(am__append_1) noinst_LIBRARIES = librealm-dbus.a private_DATA = service/realmd-defaults.conf CLEANFILES = $(BUILT_SOURCES) $(DBUS_GENERATED) $(service_DATA) \ $(systemdunit_DATA) $(NULL) $(polkit_policy_DATA) $(NULL) \ $(am__append_4) # ------------------------------------------------------------------ # ------------------------------------------------------------------ EXTRA_DIST = $(DBUS_XML_DEFINITIONS) $(dbusservice_DATA) \ $(provider_DATA) $(service_in_files) $(systemdunit_in_files) \ $(NULL) $(polkit_policy_in_files) $(REALMD_CONFIGS) \ $(private_DATA) $(provider_DATA) $(NULL) tests/files \ $(PY_TESTS) $(NULL) $(am__append_3) $(LOG_DRIVER) \ $(LOG_COMPILER) $(VALGRIND_SUPPRESSIONS) $(NULL) dbusservicedir = $(DBUS_POLICY_DIR) dbusservice_DATA = \ dbus/org.freedesktop.realmd.conf servicedir = $(DBUS_SERVICES_DIR) service_in_files = \ dbus/org.freedesktop.realmd.service.in service_DATA = $(service_in_files:.service.in=.service) librealm_dbus_a_SOURCES = \ dbus/realm-dbus-constants.h \ $(NULL) nodist_librealm_dbus_a_SOURCES = \ $(BUILT_SOURCES) \ $(NULL) librealm_dbus_a_CFLAGS = \ $(GLIB_CFLAGS) \ $(NULL) DBUS_XML_DEFINITIONS = \ dbus/org.freedesktop.realmd.xml DBUS_GENERATED = \ realm-dbus-generated.c \ realm-dbus-generated.h \ $(NULL) systemdunit_in_files = dbus/realmd.service.in @WITH_SYSTEMD_TRUE@systemdunitdir = $(SYSTEMD_UNIT_DIR) @WITH_SYSTEMD_TRUE@systemdunit_DATA = $(systemdunit_in_files:.service.in=.service) REALMD_CONFIGS = \ service/realmd-defaults.conf \ service/realmd-redhat.conf \ service/realmd-debian.conf \ service/realmd-suse.conf \ $(NULL) polkit_policydir = $(POLKIT_ACTION_DIR) polkit_policy_in_files = service/org.freedesktop.realmd.policy.in polkit_policy_DATA = $(polkit_policy_in_files:.policy.in=.policy) realmd_SOURCES = \ service/realm-adcli-enroll.c \ service/realm-adcli-enroll.h \ service/realm-all-provider.c \ service/realm-all-provider.h \ service/realm-command.c \ service/realm-command.h \ service/realm-credential.c \ service/realm-credential.h \ service/realm-daemon.c \ service/realm-daemon.h \ service/realm-diagnostics.c \ service/realm-diagnostics.h \ service/realm-disco.c \ service/realm-disco.h \ service/realm-disco-dns.c \ service/realm-disco-dns.h \ service/realm-disco-domain.c \ service/realm-disco-domain.h \ service/realm-disco-mscldap.c \ service/realm-disco-mscldap.h \ service/realm-disco-rootdse.c \ service/realm-disco-rootdse.h \ service/realm-errors.c \ service/realm-errors.h \ service/realm-example.c \ service/realm-example.h \ service/realm-example-provider.c \ service/realm-example-provider.h \ service/realm-ini-config.c \ service/realm-ini-config.h \ service/realm-invocation.c \ service/realm-invocation.h \ service/realm-kerberos.c \ service/realm-kerberos.h \ service/realm-kerberos-membership.c \ service/realm-kerberos-membership.h \ service/realm-kerberos-provider.c \ service/realm-kerberos-provider.h \ service/realm-ldap.c \ service/realm-ldap.h \ service/realm-login-name.c \ service/realm-login-name.h \ service/realm-network.c \ service/realm-network.h \ service/realm-options.c \ service/realm-options.h \ service/realm-packages.c \ service/realm-packages.h \ service/realm-provider.c \ service/realm-provider.h \ service/realm-samba.c \ service/realm-samba.h \ service/realm-samba-config.c \ service/realm-samba-config.h \ service/realm-samba-enroll.c \ service/realm-samba-enroll.h \ service/realm-samba-provider.c \ service/realm-samba-provider.h \ service/realm-samba-util.c \ service/realm-samba-util.h \ service/realm-samba-winbind.c \ service/realm-samba-winbind.h \ service/realm-service.c \ service/realm-service.h \ service/realm-settings.c \ service/realm-settings.h \ service/realm-sssd.c \ service/realm-sssd.h \ service/realm-sssd-ad.c \ service/realm-sssd-ad.h \ service/realm-sssd-provider.c \ service/realm-sssd-provider.h \ service/realm-sssd-config.c \ service/realm-sssd-config.h \ service/realm-sssd-ipa.c \ service/realm-sssd-ipa.h \ service/realm-usleep-async.c \ service/realm-usleep-async.h \ service/safe-format-string.c \ service/safe-format-string.h \ $(NULL) realmd_CFLAGS = \ -I$(top_srcdir)/dbus \ -I$(top_srcdir)/build \ -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 = \ librealm-dbus.a \ $(PACKAGEKIT_LIBS) \ $(POLKIT_LIBS) \ $(SYSTEMD_JOURNAL_LIBS) \ $(GLIB_LIBS) \ $(KRB5_LIBS) \ $(LDAP_LIBS) \ $(NULL) TEST_CFLAGS = \ -I$(top_srcdir) \ -DTESTFILE_DIR="\"@abs_srcdir@/tests/files\"" \ -DSYSCONF_DIR="\"/tmp/realmd-etc\"" \ -DPRIVATE_DIR="\"@abs_srcdir@/tests/files\"" \ $(GLIB_CFLAGS) \ $(POLKIT_CFLAGS) \ $(NULL) TEST_LIBS = \ $(GLIB_LIBS) TEST_PROGS = \ test-ini-config \ test-sssd-config \ test-safe-format \ test-login-name \ test-samba-ou-format \ test-settings \ $(NULL) test_ini_config_SOURCES = \ tests/test-ini-config.c \ service/realm-ini-config.c \ service/realm-samba-config.c \ service/realm-settings.c \ $(NULL) test_ini_config_LDADD = $(TEST_LIBS) test_ini_config_CFLAGS = $(TEST_CFLAGS) test_sssd_config_SOURCES = \ tests/test-sssd-config.c \ service/realm-ini-config.c \ service/realm-sssd-config.c \ service/realm-settings.c \ $(NULL) test_sssd_config_LDADD = $(TEST_LIBS) test_sssd_config_CFLAGS = $(TEST_CFLAGS) test_safe_format_SOURCES = \ tests/test-safe-format.c \ service/safe-format-string.c \ $(NULL) test_safe_format_LDADD = $(TEST_LIBS) test_safe_format_CFLAGS = $(TEST_CFLAGS) test_login_name_SOURCES = \ tests/test-login-name.c \ service/realm-login-name.c \ $(NULL) test_login_name_LDADD = $(TEST_LIBS) test_login_name_CFLAGS = $(TEST_CFLAGS) test_samba_ou_format_SOURCES = \ tests/test-samba-ou-format.c \ service/realm-samba-util.c \ $(NULL) test_samba_ou_format_LDADD = $(TEST_LIBS) test_samba_ou_format_CFLAGS = $(TEST_CFLAGS) test_settings_SOURCES = \ tests/test-settings.c \ service/realm-settings.c \ $(NULL) test_settings_LDADD = $(TEST_LIBS) test_settings_CFLAGS = $(TEST_CFLAGS) frob_install_packages_SOURCES = \ tests/frob-install-packages.c \ service/realm-packages.c \ service/realm-settings.c \ service/realm-errors.c \ $(NULL) frob_install_packages_CFLAGS = \ -I$(srcdir)/dbus \ $(TEST_CFLAGS) \ $(NULL) frob_install_packages_LDADD = \ $(TEST_LIBS) \ $(NULL) realm_SOURCES = \ tools/realm.c \ tools/realm.h \ tools/realm-client.h \ tools/realm-client.c \ tools/realm-discover.c \ tools/realm-join.c \ tools/realm-leave.c \ tools/realm-logins.c \ $(NULL) realm_CFLAGS = \ -I$(top_srcdir)/dbus \ -I$(top_srcdir)/build \ -DLOCALEDIR=\""$(datadir)/locale"\" \ -DREALMD_EXECUTABLE=\""$(privatedir)/realmd"\" \ $(GLIB_CFLAGS) \ $(KRB5_CFLAGS) \ $(NULL) realm_LDADD = \ librealm-dbus.a \ $(GLIB_LIBS) \ $(KRB5_LIBS) \ $(NULL) @ENABLE_DOC_TRUE@MAN_IN_FILES = \ @ENABLE_DOC_TRUE@ $(man8_MANS:.8=.xml) \ @ENABLE_DOC_TRUE@ $(man5_MANS:.5=.xml) \ @ENABLE_DOC_TRUE@ $(NULL) @ENABLE_DOC_TRUE@MANUAL_DOCBOOK = doc/manual/realmd-docs.xml @ENABLE_DOC_TRUE@MANUAL_INCLUDES = \ @ENABLE_DOC_TRUE@ doc/manual/realmd-guide-active-directory.xml \ @ENABLE_DOC_TRUE@ doc/manual/realmd-guide-ipa.xml \ @ENABLE_DOC_TRUE@ doc/manual/realmd-guide-kerberos.xml \ @ENABLE_DOC_TRUE@ $(NULL) @ENABLE_DOC_TRUE@MANUAL_STATIC = \ @ENABLE_DOC_TRUE@ doc/manual/static/gtk-doc.css \ @ENABLE_DOC_TRUE@ doc/manual/static/style.css \ @ENABLE_DOC_TRUE@ $(NULL) @ENABLE_DOC_TRUE@DBUS_INTERFACE = dbus/org.freedesktop.realmd.xml @ENABLE_DOC_TRUE@DBUS_ESCAPED = realmd-org.freedesktop.realmd.xml @ENABLE_DOC_TRUE@DBUS_DOC_GENERATED = \ @ENABLE_DOC_TRUE@ realmd-org.freedesktop.realmd.Kerberos.xml \ @ENABLE_DOC_TRUE@ realmd-org.freedesktop.realmd.KerberosMembership.xml \ @ENABLE_DOC_TRUE@ realmd-org.freedesktop.realmd.Provider.xml \ @ENABLE_DOC_TRUE@ realmd-org.freedesktop.realmd.Realm.xml \ @ENABLE_DOC_TRUE@ realmd-org.freedesktop.realmd.Service.xml @ENABLE_DOC_TRUE@MANUAL_XSLT = \ @ENABLE_DOC_TRUE@ doc/manual/escape-xml-to-text.xsl \ @ENABLE_DOC_TRUE@ doc/manual/gdbus-fix-bugs.xsl \ @ENABLE_DOC_TRUE@ doc/manual/gtk-doc.xsl \ @ENABLE_DOC_TRUE@ doc/manual/version-greater-or-equal.xsl \ @ENABLE_DOC_TRUE@ $(NULL) @ENABLE_DOC_TRUE@INTERNAL_DOCBOOK = doc/internals/realmd-internals.xml @ENABLE_DOC_TRUE@INTERNAL_PARAMS = doc/internals/docbook-params.xsl @ENABLE_DOC_TRUE@INTERNAL_STATIC = \ @ENABLE_DOC_TRUE@ $(NULL) @ENABLE_DOC_TRUE@INTERNAL_INCLUDES = \ @ENABLE_DOC_TRUE@ $(NULL) @ENABLE_DOC_TRUE@SVG_IMAGES = \ @ENABLE_DOC_TRUE@ doc/internals/discover-method.svg \ @ENABLE_DOC_TRUE@ doc/internals/join-method.svg \ @ENABLE_DOC_TRUE@ $(NULL) # ------------------------------------------------------------ # Testing # LOG_DRIVER = $(top_srcdir)/build/tap-driver LOG_COMPILER = $(top_srcdir)/build/tap-gtester VALGRIND_ARGS = --trace-children=no --quiet --error-exitcode=33 \ --suppressions=valgrind-suppressions --gen-suppressions=all \ --num-callers=16 VALGRIND_SUPPRESSIONS = \ build/glib.supp \ $(NULL) all: $(BUILT_SOURCES) config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: .SUFFIXES: .conf .conf.in .desktop.in .desktop.in.in .service .service.in .5 .8 .c .log .o .obj .test .test$(EXEEXT) .trs .xml am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/dbus/Makefile.am $(srcdir)/service/Makefile.am $(srcdir)/tests/Makefile.am $(srcdir)/tools/Makefile.am $(srcdir)/doc/manual/Makefile.am $(srcdir)/doc/internals/Makefile.am $(srcdir)/doc/website/Makefile.am $(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 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; $(srcdir)/dbus/Makefile.am $(srcdir)/service/Makefile.am $(srcdir)/tests/Makefile.am $(srcdir)/tools/Makefile.am $(srcdir)/doc/manual/Makefile.am $(srcdir)/doc/internals/Makefile.am $(srcdir)/doc/website/Makefile.am $(am__empty): $(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 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 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 doc/version.xml: $(top_builddir)/config.status $(top_srcdir)/doc/version.xml.in cd $(top_builddir) && $(SHELL) ./config.status $@ 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 clean-checkPROGRAMS: -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) clean-noinstPROGRAMS: -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 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) 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) tests/$(am__dirstamp): @$(MKDIR_P) tests @: > tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) tests/$(DEPDIR) @: > tests/$(DEPDIR)/$(am__dirstamp) tests/frob_install_packages-frob-install-packages.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) service/$(am__dirstamp): @$(MKDIR_P) service @: > service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) service/$(DEPDIR) @: > service/$(DEPDIR)/$(am__dirstamp) service/frob_install_packages-realm-packages.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) service/frob_install_packages-realm-settings.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) service/frob_install_packages-realm-errors.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) 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) tools/$(am__dirstamp): @$(MKDIR_P) tools @: > tools/$(am__dirstamp) tools/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) tools/$(DEPDIR) @: > tools/$(DEPDIR)/$(am__dirstamp) tools/realm-realm.$(OBJEXT): tools/$(am__dirstamp) \ tools/$(DEPDIR)/$(am__dirstamp) tools/realm-realm-client.$(OBJEXT): tools/$(am__dirstamp) \ tools/$(DEPDIR)/$(am__dirstamp) tools/realm-realm-discover.$(OBJEXT): tools/$(am__dirstamp) \ tools/$(DEPDIR)/$(am__dirstamp) tools/realm-realm-join.$(OBJEXT): tools/$(am__dirstamp) \ tools/$(DEPDIR)/$(am__dirstamp) tools/realm-realm-leave.$(OBJEXT): tools/$(am__dirstamp) \ tools/$(DEPDIR)/$(am__dirstamp) tools/realm-realm-logins.$(OBJEXT): tools/$(am__dirstamp) \ tools/$(DEPDIR)/$(am__dirstamp) realm$(EXEEXT): $(realm_OBJECTS) $(realm_DEPENDENCIES) $(EXTRA_realm_DEPENDENCIES) @rm -f realm$(EXEEXT) $(AM_V_CCLD)$(realm_LINK) $(realm_OBJECTS) $(realm_LDADD) $(LIBS) service/realmd-realm-adcli-enroll.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-all-provider.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-command.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-credential.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-daemon.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-diagnostics.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-disco.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-disco-dns.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-disco-domain.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-disco-mscldap.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-disco-rootdse.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-errors.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-example.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-example-provider.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-ini-config.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-invocation.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-kerberos.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-kerberos-membership.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-kerberos-provider.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-ldap.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-login-name.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-network.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-options.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-packages.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-provider.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-samba.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-samba-config.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-samba-enroll.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-samba-provider.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-samba-util.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-samba-winbind.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-service.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-settings.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-sssd.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-sssd-ad.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-sssd-provider.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-sssd-config.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-sssd-ipa.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-realm-usleep-async.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) service/realmd-safe-format-string.$(OBJEXT): service/$(am__dirstamp) \ service/$(DEPDIR)/$(am__dirstamp) realmd$(EXEEXT): $(realmd_OBJECTS) $(realmd_DEPENDENCIES) $(EXTRA_realmd_DEPENDENCIES) @rm -f realmd$(EXEEXT) $(AM_V_CCLD)$(realmd_LINK) $(realmd_OBJECTS) $(realmd_LDADD) $(LIBS) tests/test_ini_config-test-ini-config.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) service/test_ini_config-realm-ini-config.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) service/test_ini_config-realm-samba-config.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) service/test_ini_config-realm-settings.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) 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)$(test_ini_config_LINK) $(test_ini_config_OBJECTS) $(test_ini_config_LDADD) $(LIBS) tests/test_login_name-test-login-name.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) service/test_login_name-realm-login-name.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) 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)$(test_login_name_LINK) $(test_login_name_OBJECTS) $(test_login_name_LDADD) $(LIBS) tests/test_safe_format-test-safe-format.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) service/test_safe_format-safe-format-string.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) test-safe-format$(EXEEXT): $(test_safe_format_OBJECTS) $(test_safe_format_DEPENDENCIES) $(EXTRA_test_safe_format_DEPENDENCIES) @rm -f test-safe-format$(EXEEXT) $(AM_V_CCLD)$(test_safe_format_LINK) $(test_safe_format_OBJECTS) $(test_safe_format_LDADD) $(LIBS) tests/test_samba_ou_format-test-samba-ou-format.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) service/test_samba_ou_format-realm-samba-util.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) 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)$(test_samba_ou_format_LINK) $(test_samba_ou_format_OBJECTS) $(test_samba_ou_format_LDADD) $(LIBS) tests/test_settings-test-settings.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) service/test_settings-realm-settings.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) test-settings$(EXEEXT): $(test_settings_OBJECTS) $(test_settings_DEPENDENCIES) $(EXTRA_test_settings_DEPENDENCIES) @rm -f test-settings$(EXEEXT) $(AM_V_CCLD)$(test_settings_LINK) $(test_settings_OBJECTS) $(test_settings_LDADD) $(LIBS) tests/test_sssd_config-test-sssd-config.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) service/test_sssd_config-realm-ini-config.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) service/test_sssd_config-realm-sssd-config.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) service/test_sssd_config-realm-settings.$(OBJEXT): \ service/$(am__dirstamp) service/$(DEPDIR)/$(am__dirstamp) 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)$(test_sssd_config_LINK) $(test_sssd_config_OBJECTS) $(test_sssd_config_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) -rm -f service/*.$(OBJEXT) -rm -f tests/*.$(OBJEXT) -rm -f tools/*.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librealm_dbus_a-realm-dbus-generated.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/frob_install_packages-realm-errors.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/frob_install_packages-realm-packages.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/frob_install_packages-realm-settings.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-adcli-enroll.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-all-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-command.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-credential.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-daemon.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-diagnostics.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-disco-dns.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-disco-domain.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-disco-mscldap.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-disco-rootdse.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-disco.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-errors.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-example-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-example.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-ini-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-invocation.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-kerberos-membership.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-kerberos-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-kerberos.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-ldap.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-login-name.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-network.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-options.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-packages.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-samba-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-samba-enroll.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-samba-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-samba-util.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-samba-winbind.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-samba.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-service.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-settings.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-sssd-ad.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-sssd-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-sssd-ipa.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-sssd-provider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-sssd.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-realm-usleep-async.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/realmd-safe-format-string.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/test_ini_config-realm-ini-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/test_ini_config-realm-samba-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/test_ini_config-realm-settings.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/test_login_name-realm-login-name.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/test_safe_format-safe-format-string.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/test_samba_ou_format-realm-samba-util.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/test_settings-realm-settings.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/test_sssd_config-realm-ini-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/test_sssd_config-realm-settings.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@service/$(DEPDIR)/test_sssd_config-realm-sssd-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/frob_install_packages-frob-install-packages.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_ini_config-test-ini-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_login_name-test-login-name.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_safe_format-test-safe-format.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_samba_ou_format-test-samba-ou-format.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_settings-test-settings.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_sssd_config-test-sssd-config.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/$(DEPDIR)/realm-realm-client.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/$(DEPDIR)/realm-realm-discover.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/$(DEPDIR)/realm-realm-join.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/$(DEPDIR)/realm-realm-leave.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/$(DEPDIR)/realm-realm-logins.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/$(DEPDIR)/realm-realm.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.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 -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.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 -o $@ `$(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` tests/frob_install_packages-frob-install-packages.o: tests/frob-install-packages.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -MT tests/frob_install_packages-frob-install-packages.o -MD -MP -MF tests/$(DEPDIR)/frob_install_packages-frob-install-packages.Tpo -c -o tests/frob_install_packages-frob-install-packages.o `test -f 'tests/frob-install-packages.c' || echo '$(srcdir)/'`tests/frob-install-packages.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/frob_install_packages-frob-install-packages.Tpo tests/$(DEPDIR)/frob_install_packages-frob-install-packages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/frob-install-packages.c' object='tests/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 tests/frob_install_packages-frob-install-packages.o `test -f 'tests/frob-install-packages.c' || echo '$(srcdir)/'`tests/frob-install-packages.c tests/frob_install_packages-frob-install-packages.obj: tests/frob-install-packages.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -MT tests/frob_install_packages-frob-install-packages.obj -MD -MP -MF tests/$(DEPDIR)/frob_install_packages-frob-install-packages.Tpo -c -o tests/frob_install_packages-frob-install-packages.obj `if test -f 'tests/frob-install-packages.c'; then $(CYGPATH_W) 'tests/frob-install-packages.c'; else $(CYGPATH_W) '$(srcdir)/tests/frob-install-packages.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/frob_install_packages-frob-install-packages.Tpo tests/$(DEPDIR)/frob_install_packages-frob-install-packages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/frob-install-packages.c' object='tests/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 tests/frob_install_packages-frob-install-packages.obj `if test -f 'tests/frob-install-packages.c'; then $(CYGPATH_W) 'tests/frob-install-packages.c'; else $(CYGPATH_W) '$(srcdir)/tests/frob-install-packages.c'; fi` service/frob_install_packages-realm-packages.o: service/realm-packages.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -MT service/frob_install_packages-realm-packages.o -MD -MP -MF service/$(DEPDIR)/frob_install_packages-realm-packages.Tpo -c -o service/frob_install_packages-realm-packages.o `test -f 'service/realm-packages.c' || echo '$(srcdir)/'`service/realm-packages.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/frob_install_packages-realm-packages.Tpo service/$(DEPDIR)/frob_install_packages-realm-packages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-packages.c' object='service/frob_install_packages-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) $(frob_install_packages_CFLAGS) $(CFLAGS) -c -o service/frob_install_packages-realm-packages.o `test -f 'service/realm-packages.c' || echo '$(srcdir)/'`service/realm-packages.c service/frob_install_packages-realm-packages.obj: service/realm-packages.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -MT service/frob_install_packages-realm-packages.obj -MD -MP -MF service/$(DEPDIR)/frob_install_packages-realm-packages.Tpo -c -o service/frob_install_packages-realm-packages.obj `if test -f 'service/realm-packages.c'; then $(CYGPATH_W) 'service/realm-packages.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-packages.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/frob_install_packages-realm-packages.Tpo service/$(DEPDIR)/frob_install_packages-realm-packages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-packages.c' object='service/frob_install_packages-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) $(frob_install_packages_CFLAGS) $(CFLAGS) -c -o service/frob_install_packages-realm-packages.obj `if test -f 'service/realm-packages.c'; then $(CYGPATH_W) 'service/realm-packages.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-packages.c'; fi` service/frob_install_packages-realm-settings.o: service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -MT service/frob_install_packages-realm-settings.o -MD -MP -MF service/$(DEPDIR)/frob_install_packages-realm-settings.Tpo -c -o service/frob_install_packages-realm-settings.o `test -f 'service/realm-settings.c' || echo '$(srcdir)/'`service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/frob_install_packages-realm-settings.Tpo service/$(DEPDIR)/frob_install_packages-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-settings.c' object='service/frob_install_packages-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) $(frob_install_packages_CFLAGS) $(CFLAGS) -c -o service/frob_install_packages-realm-settings.o `test -f 'service/realm-settings.c' || echo '$(srcdir)/'`service/realm-settings.c service/frob_install_packages-realm-settings.obj: service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -MT service/frob_install_packages-realm-settings.obj -MD -MP -MF service/$(DEPDIR)/frob_install_packages-realm-settings.Tpo -c -o service/frob_install_packages-realm-settings.obj `if test -f 'service/realm-settings.c'; then $(CYGPATH_W) 'service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-settings.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/frob_install_packages-realm-settings.Tpo service/$(DEPDIR)/frob_install_packages-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-settings.c' object='service/frob_install_packages-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) $(frob_install_packages_CFLAGS) $(CFLAGS) -c -o service/frob_install_packages-realm-settings.obj `if test -f 'service/realm-settings.c'; then $(CYGPATH_W) 'service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-settings.c'; fi` service/frob_install_packages-realm-errors.o: service/realm-errors.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -MT service/frob_install_packages-realm-errors.o -MD -MP -MF service/$(DEPDIR)/frob_install_packages-realm-errors.Tpo -c -o service/frob_install_packages-realm-errors.o `test -f 'service/realm-errors.c' || echo '$(srcdir)/'`service/realm-errors.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/frob_install_packages-realm-errors.Tpo service/$(DEPDIR)/frob_install_packages-realm-errors.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-errors.c' object='service/frob_install_packages-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) $(frob_install_packages_CFLAGS) $(CFLAGS) -c -o service/frob_install_packages-realm-errors.o `test -f 'service/realm-errors.c' || echo '$(srcdir)/'`service/realm-errors.c service/frob_install_packages-realm-errors.obj: service/realm-errors.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(frob_install_packages_CFLAGS) $(CFLAGS) -MT service/frob_install_packages-realm-errors.obj -MD -MP -MF service/$(DEPDIR)/frob_install_packages-realm-errors.Tpo -c -o service/frob_install_packages-realm-errors.obj `if test -f 'service/realm-errors.c'; then $(CYGPATH_W) 'service/realm-errors.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-errors.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/frob_install_packages-realm-errors.Tpo service/$(DEPDIR)/frob_install_packages-realm-errors.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-errors.c' object='service/frob_install_packages-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) $(frob_install_packages_CFLAGS) $(CFLAGS) -c -o service/frob_install_packages-realm-errors.obj `if test -f 'service/realm-errors.c'; then $(CYGPATH_W) 'service/realm-errors.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-errors.c'; fi` tools/realm-realm.o: tools/realm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm.o -MD -MP -MF tools/$(DEPDIR)/realm-realm.Tpo -c -o tools/realm-realm.o `test -f 'tools/realm.c' || echo '$(srcdir)/'`tools/realm.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm.Tpo tools/$(DEPDIR)/realm-realm.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm.c' object='tools/realm-realm.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm.o `test -f 'tools/realm.c' || echo '$(srcdir)/'`tools/realm.c tools/realm-realm.obj: tools/realm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm.obj -MD -MP -MF tools/$(DEPDIR)/realm-realm.Tpo -c -o tools/realm-realm.obj `if test -f 'tools/realm.c'; then $(CYGPATH_W) 'tools/realm.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm.Tpo tools/$(DEPDIR)/realm-realm.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm.c' object='tools/realm-realm.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm.obj `if test -f 'tools/realm.c'; then $(CYGPATH_W) 'tools/realm.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm.c'; fi` tools/realm-realm-client.o: tools/realm-client.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm-client.o -MD -MP -MF tools/$(DEPDIR)/realm-realm-client.Tpo -c -o tools/realm-realm-client.o `test -f 'tools/realm-client.c' || echo '$(srcdir)/'`tools/realm-client.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm-client.Tpo tools/$(DEPDIR)/realm-realm-client.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm-client.c' object='tools/realm-realm-client.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm-client.o `test -f 'tools/realm-client.c' || echo '$(srcdir)/'`tools/realm-client.c tools/realm-realm-client.obj: tools/realm-client.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm-client.obj -MD -MP -MF tools/$(DEPDIR)/realm-realm-client.Tpo -c -o tools/realm-realm-client.obj `if test -f 'tools/realm-client.c'; then $(CYGPATH_W) 'tools/realm-client.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm-client.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm-client.Tpo tools/$(DEPDIR)/realm-realm-client.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm-client.c' object='tools/realm-realm-client.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm-client.obj `if test -f 'tools/realm-client.c'; then $(CYGPATH_W) 'tools/realm-client.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm-client.c'; fi` tools/realm-realm-discover.o: tools/realm-discover.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm-discover.o -MD -MP -MF tools/$(DEPDIR)/realm-realm-discover.Tpo -c -o tools/realm-realm-discover.o `test -f 'tools/realm-discover.c' || echo '$(srcdir)/'`tools/realm-discover.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm-discover.Tpo tools/$(DEPDIR)/realm-realm-discover.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm-discover.c' object='tools/realm-realm-discover.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm-discover.o `test -f 'tools/realm-discover.c' || echo '$(srcdir)/'`tools/realm-discover.c tools/realm-realm-discover.obj: tools/realm-discover.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm-discover.obj -MD -MP -MF tools/$(DEPDIR)/realm-realm-discover.Tpo -c -o tools/realm-realm-discover.obj `if test -f 'tools/realm-discover.c'; then $(CYGPATH_W) 'tools/realm-discover.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm-discover.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm-discover.Tpo tools/$(DEPDIR)/realm-realm-discover.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm-discover.c' object='tools/realm-realm-discover.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm-discover.obj `if test -f 'tools/realm-discover.c'; then $(CYGPATH_W) 'tools/realm-discover.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm-discover.c'; fi` tools/realm-realm-join.o: tools/realm-join.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm-join.o -MD -MP -MF tools/$(DEPDIR)/realm-realm-join.Tpo -c -o tools/realm-realm-join.o `test -f 'tools/realm-join.c' || echo '$(srcdir)/'`tools/realm-join.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm-join.Tpo tools/$(DEPDIR)/realm-realm-join.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm-join.c' object='tools/realm-realm-join.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm-join.o `test -f 'tools/realm-join.c' || echo '$(srcdir)/'`tools/realm-join.c tools/realm-realm-join.obj: tools/realm-join.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm-join.obj -MD -MP -MF tools/$(DEPDIR)/realm-realm-join.Tpo -c -o tools/realm-realm-join.obj `if test -f 'tools/realm-join.c'; then $(CYGPATH_W) 'tools/realm-join.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm-join.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm-join.Tpo tools/$(DEPDIR)/realm-realm-join.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm-join.c' object='tools/realm-realm-join.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm-join.obj `if test -f 'tools/realm-join.c'; then $(CYGPATH_W) 'tools/realm-join.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm-join.c'; fi` tools/realm-realm-leave.o: tools/realm-leave.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm-leave.o -MD -MP -MF tools/$(DEPDIR)/realm-realm-leave.Tpo -c -o tools/realm-realm-leave.o `test -f 'tools/realm-leave.c' || echo '$(srcdir)/'`tools/realm-leave.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm-leave.Tpo tools/$(DEPDIR)/realm-realm-leave.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm-leave.c' object='tools/realm-realm-leave.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm-leave.o `test -f 'tools/realm-leave.c' || echo '$(srcdir)/'`tools/realm-leave.c tools/realm-realm-leave.obj: tools/realm-leave.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm-leave.obj -MD -MP -MF tools/$(DEPDIR)/realm-realm-leave.Tpo -c -o tools/realm-realm-leave.obj `if test -f 'tools/realm-leave.c'; then $(CYGPATH_W) 'tools/realm-leave.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm-leave.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm-leave.Tpo tools/$(DEPDIR)/realm-realm-leave.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm-leave.c' object='tools/realm-realm-leave.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm-leave.obj `if test -f 'tools/realm-leave.c'; then $(CYGPATH_W) 'tools/realm-leave.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm-leave.c'; fi` tools/realm-realm-logins.o: tools/realm-logins.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm-logins.o -MD -MP -MF tools/$(DEPDIR)/realm-realm-logins.Tpo -c -o tools/realm-realm-logins.o `test -f 'tools/realm-logins.c' || echo '$(srcdir)/'`tools/realm-logins.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm-logins.Tpo tools/$(DEPDIR)/realm-realm-logins.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm-logins.c' object='tools/realm-realm-logins.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm-logins.o `test -f 'tools/realm-logins.c' || echo '$(srcdir)/'`tools/realm-logins.c tools/realm-realm-logins.obj: tools/realm-logins.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realm_CFLAGS) $(CFLAGS) -MT tools/realm-realm-logins.obj -MD -MP -MF tools/$(DEPDIR)/realm-realm-logins.Tpo -c -o tools/realm-realm-logins.obj `if test -f 'tools/realm-logins.c'; then $(CYGPATH_W) 'tools/realm-logins.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm-logins.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/$(DEPDIR)/realm-realm-logins.Tpo tools/$(DEPDIR)/realm-realm-logins.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/realm-logins.c' object='tools/realm-realm-logins.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) $(realm_CFLAGS) $(CFLAGS) -c -o tools/realm-realm-logins.obj `if test -f 'tools/realm-logins.c'; then $(CYGPATH_W) 'tools/realm-logins.c'; else $(CYGPATH_W) '$(srcdir)/tools/realm-logins.c'; fi` service/realmd-realm-adcli-enroll.o: service/realm-adcli-enroll.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-adcli-enroll.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-adcli-enroll.Tpo -c -o service/realmd-realm-adcli-enroll.o `test -f 'service/realm-adcli-enroll.c' || echo '$(srcdir)/'`service/realm-adcli-enroll.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-adcli-enroll.Tpo service/$(DEPDIR)/realmd-realm-adcli-enroll.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-adcli-enroll.c' object='service/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 service/realmd-realm-adcli-enroll.o `test -f 'service/realm-adcli-enroll.c' || echo '$(srcdir)/'`service/realm-adcli-enroll.c service/realmd-realm-adcli-enroll.obj: service/realm-adcli-enroll.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-adcli-enroll.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-adcli-enroll.Tpo -c -o service/realmd-realm-adcli-enroll.obj `if test -f 'service/realm-adcli-enroll.c'; then $(CYGPATH_W) 'service/realm-adcli-enroll.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-adcli-enroll.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-adcli-enroll.Tpo service/$(DEPDIR)/realmd-realm-adcli-enroll.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-adcli-enroll.c' object='service/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 service/realmd-realm-adcli-enroll.obj `if test -f 'service/realm-adcli-enroll.c'; then $(CYGPATH_W) 'service/realm-adcli-enroll.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-adcli-enroll.c'; fi` service/realmd-realm-all-provider.o: service/realm-all-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-all-provider.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-all-provider.Tpo -c -o service/realmd-realm-all-provider.o `test -f 'service/realm-all-provider.c' || echo '$(srcdir)/'`service/realm-all-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-all-provider.Tpo service/$(DEPDIR)/realmd-realm-all-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-all-provider.c' object='service/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 service/realmd-realm-all-provider.o `test -f 'service/realm-all-provider.c' || echo '$(srcdir)/'`service/realm-all-provider.c service/realmd-realm-all-provider.obj: service/realm-all-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-all-provider.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-all-provider.Tpo -c -o service/realmd-realm-all-provider.obj `if test -f 'service/realm-all-provider.c'; then $(CYGPATH_W) 'service/realm-all-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-all-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-all-provider.Tpo service/$(DEPDIR)/realmd-realm-all-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-all-provider.c' object='service/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 service/realmd-realm-all-provider.obj `if test -f 'service/realm-all-provider.c'; then $(CYGPATH_W) 'service/realm-all-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-all-provider.c'; fi` service/realmd-realm-command.o: service/realm-command.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-command.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-command.Tpo -c -o service/realmd-realm-command.o `test -f 'service/realm-command.c' || echo '$(srcdir)/'`service/realm-command.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-command.Tpo service/$(DEPDIR)/realmd-realm-command.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-command.c' object='service/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 service/realmd-realm-command.o `test -f 'service/realm-command.c' || echo '$(srcdir)/'`service/realm-command.c service/realmd-realm-command.obj: service/realm-command.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-command.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-command.Tpo -c -o service/realmd-realm-command.obj `if test -f 'service/realm-command.c'; then $(CYGPATH_W) 'service/realm-command.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-command.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-command.Tpo service/$(DEPDIR)/realmd-realm-command.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-command.c' object='service/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 service/realmd-realm-command.obj `if test -f 'service/realm-command.c'; then $(CYGPATH_W) 'service/realm-command.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-command.c'; fi` service/realmd-realm-credential.o: service/realm-credential.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-credential.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-credential.Tpo -c -o service/realmd-realm-credential.o `test -f 'service/realm-credential.c' || echo '$(srcdir)/'`service/realm-credential.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-credential.Tpo service/$(DEPDIR)/realmd-realm-credential.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-credential.c' object='service/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 service/realmd-realm-credential.o `test -f 'service/realm-credential.c' || echo '$(srcdir)/'`service/realm-credential.c service/realmd-realm-credential.obj: service/realm-credential.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-credential.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-credential.Tpo -c -o service/realmd-realm-credential.obj `if test -f 'service/realm-credential.c'; then $(CYGPATH_W) 'service/realm-credential.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-credential.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-credential.Tpo service/$(DEPDIR)/realmd-realm-credential.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-credential.c' object='service/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 service/realmd-realm-credential.obj `if test -f 'service/realm-credential.c'; then $(CYGPATH_W) 'service/realm-credential.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-credential.c'; fi` service/realmd-realm-daemon.o: service/realm-daemon.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-daemon.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-daemon.Tpo -c -o service/realmd-realm-daemon.o `test -f 'service/realm-daemon.c' || echo '$(srcdir)/'`service/realm-daemon.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-daemon.Tpo service/$(DEPDIR)/realmd-realm-daemon.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-daemon.c' object='service/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 service/realmd-realm-daemon.o `test -f 'service/realm-daemon.c' || echo '$(srcdir)/'`service/realm-daemon.c service/realmd-realm-daemon.obj: service/realm-daemon.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-daemon.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-daemon.Tpo -c -o service/realmd-realm-daemon.obj `if test -f 'service/realm-daemon.c'; then $(CYGPATH_W) 'service/realm-daemon.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-daemon.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-daemon.Tpo service/$(DEPDIR)/realmd-realm-daemon.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-daemon.c' object='service/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 service/realmd-realm-daemon.obj `if test -f 'service/realm-daemon.c'; then $(CYGPATH_W) 'service/realm-daemon.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-daemon.c'; fi` service/realmd-realm-diagnostics.o: service/realm-diagnostics.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-diagnostics.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-diagnostics.Tpo -c -o service/realmd-realm-diagnostics.o `test -f 'service/realm-diagnostics.c' || echo '$(srcdir)/'`service/realm-diagnostics.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-diagnostics.Tpo service/$(DEPDIR)/realmd-realm-diagnostics.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-diagnostics.c' object='service/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 service/realmd-realm-diagnostics.o `test -f 'service/realm-diagnostics.c' || echo '$(srcdir)/'`service/realm-diagnostics.c service/realmd-realm-diagnostics.obj: service/realm-diagnostics.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-diagnostics.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-diagnostics.Tpo -c -o service/realmd-realm-diagnostics.obj `if test -f 'service/realm-diagnostics.c'; then $(CYGPATH_W) 'service/realm-diagnostics.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-diagnostics.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-diagnostics.Tpo service/$(DEPDIR)/realmd-realm-diagnostics.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-diagnostics.c' object='service/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 service/realmd-realm-diagnostics.obj `if test -f 'service/realm-diagnostics.c'; then $(CYGPATH_W) 'service/realm-diagnostics.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-diagnostics.c'; fi` service/realmd-realm-disco.o: service/realm-disco.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-disco.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-disco.Tpo -c -o service/realmd-realm-disco.o `test -f 'service/realm-disco.c' || echo '$(srcdir)/'`service/realm-disco.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-disco.Tpo service/$(DEPDIR)/realmd-realm-disco.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-disco.c' object='service/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 service/realmd-realm-disco.o `test -f 'service/realm-disco.c' || echo '$(srcdir)/'`service/realm-disco.c service/realmd-realm-disco.obj: service/realm-disco.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-disco.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-disco.Tpo -c -o service/realmd-realm-disco.obj `if test -f 'service/realm-disco.c'; then $(CYGPATH_W) 'service/realm-disco.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-disco.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-disco.Tpo service/$(DEPDIR)/realmd-realm-disco.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-disco.c' object='service/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 service/realmd-realm-disco.obj `if test -f 'service/realm-disco.c'; then $(CYGPATH_W) 'service/realm-disco.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-disco.c'; fi` service/realmd-realm-disco-dns.o: service/realm-disco-dns.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-disco-dns.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-disco-dns.Tpo -c -o service/realmd-realm-disco-dns.o `test -f 'service/realm-disco-dns.c' || echo '$(srcdir)/'`service/realm-disco-dns.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-disco-dns.Tpo service/$(DEPDIR)/realmd-realm-disco-dns.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-disco-dns.c' object='service/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 service/realmd-realm-disco-dns.o `test -f 'service/realm-disco-dns.c' || echo '$(srcdir)/'`service/realm-disco-dns.c service/realmd-realm-disco-dns.obj: service/realm-disco-dns.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-disco-dns.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-disco-dns.Tpo -c -o service/realmd-realm-disco-dns.obj `if test -f 'service/realm-disco-dns.c'; then $(CYGPATH_W) 'service/realm-disco-dns.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-disco-dns.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-disco-dns.Tpo service/$(DEPDIR)/realmd-realm-disco-dns.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-disco-dns.c' object='service/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 service/realmd-realm-disco-dns.obj `if test -f 'service/realm-disco-dns.c'; then $(CYGPATH_W) 'service/realm-disco-dns.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-disco-dns.c'; fi` service/realmd-realm-disco-domain.o: service/realm-disco-domain.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-disco-domain.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-disco-domain.Tpo -c -o service/realmd-realm-disco-domain.o `test -f 'service/realm-disco-domain.c' || echo '$(srcdir)/'`service/realm-disco-domain.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-disco-domain.Tpo service/$(DEPDIR)/realmd-realm-disco-domain.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-disco-domain.c' object='service/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 service/realmd-realm-disco-domain.o `test -f 'service/realm-disco-domain.c' || echo '$(srcdir)/'`service/realm-disco-domain.c service/realmd-realm-disco-domain.obj: service/realm-disco-domain.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-disco-domain.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-disco-domain.Tpo -c -o service/realmd-realm-disco-domain.obj `if test -f 'service/realm-disco-domain.c'; then $(CYGPATH_W) 'service/realm-disco-domain.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-disco-domain.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-disco-domain.Tpo service/$(DEPDIR)/realmd-realm-disco-domain.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-disco-domain.c' object='service/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 service/realmd-realm-disco-domain.obj `if test -f 'service/realm-disco-domain.c'; then $(CYGPATH_W) 'service/realm-disco-domain.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-disco-domain.c'; fi` service/realmd-realm-disco-mscldap.o: service/realm-disco-mscldap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-disco-mscldap.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-disco-mscldap.Tpo -c -o service/realmd-realm-disco-mscldap.o `test -f 'service/realm-disco-mscldap.c' || echo '$(srcdir)/'`service/realm-disco-mscldap.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-disco-mscldap.Tpo service/$(DEPDIR)/realmd-realm-disco-mscldap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-disco-mscldap.c' object='service/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 service/realmd-realm-disco-mscldap.o `test -f 'service/realm-disco-mscldap.c' || echo '$(srcdir)/'`service/realm-disco-mscldap.c service/realmd-realm-disco-mscldap.obj: service/realm-disco-mscldap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-disco-mscldap.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-disco-mscldap.Tpo -c -o service/realmd-realm-disco-mscldap.obj `if test -f 'service/realm-disco-mscldap.c'; then $(CYGPATH_W) 'service/realm-disco-mscldap.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-disco-mscldap.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-disco-mscldap.Tpo service/$(DEPDIR)/realmd-realm-disco-mscldap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-disco-mscldap.c' object='service/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 service/realmd-realm-disco-mscldap.obj `if test -f 'service/realm-disco-mscldap.c'; then $(CYGPATH_W) 'service/realm-disco-mscldap.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-disco-mscldap.c'; fi` service/realmd-realm-disco-rootdse.o: service/realm-disco-rootdse.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-disco-rootdse.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-disco-rootdse.Tpo -c -o service/realmd-realm-disco-rootdse.o `test -f 'service/realm-disco-rootdse.c' || echo '$(srcdir)/'`service/realm-disco-rootdse.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-disco-rootdse.Tpo service/$(DEPDIR)/realmd-realm-disco-rootdse.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-disco-rootdse.c' object='service/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 service/realmd-realm-disco-rootdse.o `test -f 'service/realm-disco-rootdse.c' || echo '$(srcdir)/'`service/realm-disco-rootdse.c service/realmd-realm-disco-rootdse.obj: service/realm-disco-rootdse.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-disco-rootdse.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-disco-rootdse.Tpo -c -o service/realmd-realm-disco-rootdse.obj `if test -f 'service/realm-disco-rootdse.c'; then $(CYGPATH_W) 'service/realm-disco-rootdse.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-disco-rootdse.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-disco-rootdse.Tpo service/$(DEPDIR)/realmd-realm-disco-rootdse.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-disco-rootdse.c' object='service/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 service/realmd-realm-disco-rootdse.obj `if test -f 'service/realm-disco-rootdse.c'; then $(CYGPATH_W) 'service/realm-disco-rootdse.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-disco-rootdse.c'; fi` service/realmd-realm-errors.o: service/realm-errors.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-errors.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-errors.Tpo -c -o service/realmd-realm-errors.o `test -f 'service/realm-errors.c' || echo '$(srcdir)/'`service/realm-errors.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-errors.Tpo service/$(DEPDIR)/realmd-realm-errors.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-errors.c' object='service/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 service/realmd-realm-errors.o `test -f 'service/realm-errors.c' || echo '$(srcdir)/'`service/realm-errors.c service/realmd-realm-errors.obj: service/realm-errors.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-errors.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-errors.Tpo -c -o service/realmd-realm-errors.obj `if test -f 'service/realm-errors.c'; then $(CYGPATH_W) 'service/realm-errors.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-errors.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-errors.Tpo service/$(DEPDIR)/realmd-realm-errors.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-errors.c' object='service/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 service/realmd-realm-errors.obj `if test -f 'service/realm-errors.c'; then $(CYGPATH_W) 'service/realm-errors.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-errors.c'; fi` service/realmd-realm-example.o: service/realm-example.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-example.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-example.Tpo -c -o service/realmd-realm-example.o `test -f 'service/realm-example.c' || echo '$(srcdir)/'`service/realm-example.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-example.Tpo service/$(DEPDIR)/realmd-realm-example.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-example.c' object='service/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 service/realmd-realm-example.o `test -f 'service/realm-example.c' || echo '$(srcdir)/'`service/realm-example.c service/realmd-realm-example.obj: service/realm-example.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-example.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-example.Tpo -c -o service/realmd-realm-example.obj `if test -f 'service/realm-example.c'; then $(CYGPATH_W) 'service/realm-example.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-example.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-example.Tpo service/$(DEPDIR)/realmd-realm-example.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-example.c' object='service/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 service/realmd-realm-example.obj `if test -f 'service/realm-example.c'; then $(CYGPATH_W) 'service/realm-example.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-example.c'; fi` service/realmd-realm-example-provider.o: service/realm-example-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-example-provider.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-example-provider.Tpo -c -o service/realmd-realm-example-provider.o `test -f 'service/realm-example-provider.c' || echo '$(srcdir)/'`service/realm-example-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-example-provider.Tpo service/$(DEPDIR)/realmd-realm-example-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-example-provider.c' object='service/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 service/realmd-realm-example-provider.o `test -f 'service/realm-example-provider.c' || echo '$(srcdir)/'`service/realm-example-provider.c service/realmd-realm-example-provider.obj: service/realm-example-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-example-provider.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-example-provider.Tpo -c -o service/realmd-realm-example-provider.obj `if test -f 'service/realm-example-provider.c'; then $(CYGPATH_W) 'service/realm-example-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-example-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-example-provider.Tpo service/$(DEPDIR)/realmd-realm-example-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-example-provider.c' object='service/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 service/realmd-realm-example-provider.obj `if test -f 'service/realm-example-provider.c'; then $(CYGPATH_W) 'service/realm-example-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-example-provider.c'; fi` service/realmd-realm-ini-config.o: service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-ini-config.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-ini-config.Tpo -c -o service/realmd-realm-ini-config.o `test -f 'service/realm-ini-config.c' || echo '$(srcdir)/'`service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-ini-config.Tpo service/$(DEPDIR)/realmd-realm-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-ini-config.c' object='service/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 service/realmd-realm-ini-config.o `test -f 'service/realm-ini-config.c' || echo '$(srcdir)/'`service/realm-ini-config.c service/realmd-realm-ini-config.obj: service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-ini-config.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-ini-config.Tpo -c -o service/realmd-realm-ini-config.obj `if test -f 'service/realm-ini-config.c'; then $(CYGPATH_W) 'service/realm-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-ini-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-ini-config.Tpo service/$(DEPDIR)/realmd-realm-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-ini-config.c' object='service/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 service/realmd-realm-ini-config.obj `if test -f 'service/realm-ini-config.c'; then $(CYGPATH_W) 'service/realm-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-ini-config.c'; fi` service/realmd-realm-invocation.o: service/realm-invocation.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-invocation.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-invocation.Tpo -c -o service/realmd-realm-invocation.o `test -f 'service/realm-invocation.c' || echo '$(srcdir)/'`service/realm-invocation.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-invocation.Tpo service/$(DEPDIR)/realmd-realm-invocation.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-invocation.c' object='service/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 service/realmd-realm-invocation.o `test -f 'service/realm-invocation.c' || echo '$(srcdir)/'`service/realm-invocation.c service/realmd-realm-invocation.obj: service/realm-invocation.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-invocation.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-invocation.Tpo -c -o service/realmd-realm-invocation.obj `if test -f 'service/realm-invocation.c'; then $(CYGPATH_W) 'service/realm-invocation.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-invocation.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-invocation.Tpo service/$(DEPDIR)/realmd-realm-invocation.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-invocation.c' object='service/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 service/realmd-realm-invocation.obj `if test -f 'service/realm-invocation.c'; then $(CYGPATH_W) 'service/realm-invocation.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-invocation.c'; fi` service/realmd-realm-kerberos.o: service/realm-kerberos.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-kerberos.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-kerberos.Tpo -c -o service/realmd-realm-kerberos.o `test -f 'service/realm-kerberos.c' || echo '$(srcdir)/'`service/realm-kerberos.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-kerberos.Tpo service/$(DEPDIR)/realmd-realm-kerberos.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-kerberos.c' object='service/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 service/realmd-realm-kerberos.o `test -f 'service/realm-kerberos.c' || echo '$(srcdir)/'`service/realm-kerberos.c service/realmd-realm-kerberos.obj: service/realm-kerberos.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-kerberos.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-kerberos.Tpo -c -o service/realmd-realm-kerberos.obj `if test -f 'service/realm-kerberos.c'; then $(CYGPATH_W) 'service/realm-kerberos.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-kerberos.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-kerberos.Tpo service/$(DEPDIR)/realmd-realm-kerberos.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-kerberos.c' object='service/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 service/realmd-realm-kerberos.obj `if test -f 'service/realm-kerberos.c'; then $(CYGPATH_W) 'service/realm-kerberos.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-kerberos.c'; fi` service/realmd-realm-kerberos-membership.o: service/realm-kerberos-membership.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-kerberos-membership.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-kerberos-membership.Tpo -c -o service/realmd-realm-kerberos-membership.o `test -f 'service/realm-kerberos-membership.c' || echo '$(srcdir)/'`service/realm-kerberos-membership.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-kerberos-membership.Tpo service/$(DEPDIR)/realmd-realm-kerberos-membership.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-kerberos-membership.c' object='service/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 service/realmd-realm-kerberos-membership.o `test -f 'service/realm-kerberos-membership.c' || echo '$(srcdir)/'`service/realm-kerberos-membership.c service/realmd-realm-kerberos-membership.obj: service/realm-kerberos-membership.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-kerberos-membership.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-kerberos-membership.Tpo -c -o service/realmd-realm-kerberos-membership.obj `if test -f 'service/realm-kerberos-membership.c'; then $(CYGPATH_W) 'service/realm-kerberos-membership.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-kerberos-membership.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-kerberos-membership.Tpo service/$(DEPDIR)/realmd-realm-kerberos-membership.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-kerberos-membership.c' object='service/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 service/realmd-realm-kerberos-membership.obj `if test -f 'service/realm-kerberos-membership.c'; then $(CYGPATH_W) 'service/realm-kerberos-membership.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-kerberos-membership.c'; fi` service/realmd-realm-kerberos-provider.o: service/realm-kerberos-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-kerberos-provider.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-kerberos-provider.Tpo -c -o service/realmd-realm-kerberos-provider.o `test -f 'service/realm-kerberos-provider.c' || echo '$(srcdir)/'`service/realm-kerberos-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-kerberos-provider.Tpo service/$(DEPDIR)/realmd-realm-kerberos-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-kerberos-provider.c' object='service/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 service/realmd-realm-kerberos-provider.o `test -f 'service/realm-kerberos-provider.c' || echo '$(srcdir)/'`service/realm-kerberos-provider.c service/realmd-realm-kerberos-provider.obj: service/realm-kerberos-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-kerberos-provider.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-kerberos-provider.Tpo -c -o service/realmd-realm-kerberos-provider.obj `if test -f 'service/realm-kerberos-provider.c'; then $(CYGPATH_W) 'service/realm-kerberos-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-kerberos-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-kerberos-provider.Tpo service/$(DEPDIR)/realmd-realm-kerberos-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-kerberos-provider.c' object='service/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 service/realmd-realm-kerberos-provider.obj `if test -f 'service/realm-kerberos-provider.c'; then $(CYGPATH_W) 'service/realm-kerberos-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-kerberos-provider.c'; fi` service/realmd-realm-ldap.o: service/realm-ldap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-ldap.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-ldap.Tpo -c -o service/realmd-realm-ldap.o `test -f 'service/realm-ldap.c' || echo '$(srcdir)/'`service/realm-ldap.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-ldap.Tpo service/$(DEPDIR)/realmd-realm-ldap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-ldap.c' object='service/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 service/realmd-realm-ldap.o `test -f 'service/realm-ldap.c' || echo '$(srcdir)/'`service/realm-ldap.c service/realmd-realm-ldap.obj: service/realm-ldap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-ldap.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-ldap.Tpo -c -o service/realmd-realm-ldap.obj `if test -f 'service/realm-ldap.c'; then $(CYGPATH_W) 'service/realm-ldap.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-ldap.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-ldap.Tpo service/$(DEPDIR)/realmd-realm-ldap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-ldap.c' object='service/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 service/realmd-realm-ldap.obj `if test -f 'service/realm-ldap.c'; then $(CYGPATH_W) 'service/realm-ldap.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-ldap.c'; fi` service/realmd-realm-login-name.o: service/realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-login-name.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-login-name.Tpo -c -o service/realmd-realm-login-name.o `test -f 'service/realm-login-name.c' || echo '$(srcdir)/'`service/realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-login-name.Tpo service/$(DEPDIR)/realmd-realm-login-name.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-login-name.c' object='service/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 service/realmd-realm-login-name.o `test -f 'service/realm-login-name.c' || echo '$(srcdir)/'`service/realm-login-name.c service/realmd-realm-login-name.obj: service/realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-login-name.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-login-name.Tpo -c -o service/realmd-realm-login-name.obj `if test -f 'service/realm-login-name.c'; then $(CYGPATH_W) 'service/realm-login-name.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-login-name.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-login-name.Tpo service/$(DEPDIR)/realmd-realm-login-name.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-login-name.c' object='service/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 service/realmd-realm-login-name.obj `if test -f 'service/realm-login-name.c'; then $(CYGPATH_W) 'service/realm-login-name.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-login-name.c'; fi` service/realmd-realm-network.o: service/realm-network.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-network.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-network.Tpo -c -o service/realmd-realm-network.o `test -f 'service/realm-network.c' || echo '$(srcdir)/'`service/realm-network.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-network.Tpo service/$(DEPDIR)/realmd-realm-network.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-network.c' object='service/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 service/realmd-realm-network.o `test -f 'service/realm-network.c' || echo '$(srcdir)/'`service/realm-network.c service/realmd-realm-network.obj: service/realm-network.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-network.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-network.Tpo -c -o service/realmd-realm-network.obj `if test -f 'service/realm-network.c'; then $(CYGPATH_W) 'service/realm-network.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-network.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-network.Tpo service/$(DEPDIR)/realmd-realm-network.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-network.c' object='service/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 service/realmd-realm-network.obj `if test -f 'service/realm-network.c'; then $(CYGPATH_W) 'service/realm-network.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-network.c'; fi` service/realmd-realm-options.o: service/realm-options.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-options.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-options.Tpo -c -o service/realmd-realm-options.o `test -f 'service/realm-options.c' || echo '$(srcdir)/'`service/realm-options.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-options.Tpo service/$(DEPDIR)/realmd-realm-options.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-options.c' object='service/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 service/realmd-realm-options.o `test -f 'service/realm-options.c' || echo '$(srcdir)/'`service/realm-options.c service/realmd-realm-options.obj: service/realm-options.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-options.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-options.Tpo -c -o service/realmd-realm-options.obj `if test -f 'service/realm-options.c'; then $(CYGPATH_W) 'service/realm-options.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-options.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-options.Tpo service/$(DEPDIR)/realmd-realm-options.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-options.c' object='service/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 service/realmd-realm-options.obj `if test -f 'service/realm-options.c'; then $(CYGPATH_W) 'service/realm-options.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-options.c'; fi` service/realmd-realm-packages.o: service/realm-packages.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-packages.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-packages.Tpo -c -o service/realmd-realm-packages.o `test -f 'service/realm-packages.c' || echo '$(srcdir)/'`service/realm-packages.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-packages.Tpo service/$(DEPDIR)/realmd-realm-packages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-packages.c' object='service/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 service/realmd-realm-packages.o `test -f 'service/realm-packages.c' || echo '$(srcdir)/'`service/realm-packages.c service/realmd-realm-packages.obj: service/realm-packages.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-packages.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-packages.Tpo -c -o service/realmd-realm-packages.obj `if test -f 'service/realm-packages.c'; then $(CYGPATH_W) 'service/realm-packages.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-packages.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-packages.Tpo service/$(DEPDIR)/realmd-realm-packages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-packages.c' object='service/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 service/realmd-realm-packages.obj `if test -f 'service/realm-packages.c'; then $(CYGPATH_W) 'service/realm-packages.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-packages.c'; fi` service/realmd-realm-provider.o: service/realm-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-provider.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-provider.Tpo -c -o service/realmd-realm-provider.o `test -f 'service/realm-provider.c' || echo '$(srcdir)/'`service/realm-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-provider.Tpo service/$(DEPDIR)/realmd-realm-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-provider.c' object='service/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 service/realmd-realm-provider.o `test -f 'service/realm-provider.c' || echo '$(srcdir)/'`service/realm-provider.c service/realmd-realm-provider.obj: service/realm-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-provider.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-provider.Tpo -c -o service/realmd-realm-provider.obj `if test -f 'service/realm-provider.c'; then $(CYGPATH_W) 'service/realm-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-provider.Tpo service/$(DEPDIR)/realmd-realm-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-provider.c' object='service/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 service/realmd-realm-provider.obj `if test -f 'service/realm-provider.c'; then $(CYGPATH_W) 'service/realm-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-provider.c'; fi` service/realmd-realm-samba.o: service/realm-samba.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba.Tpo -c -o service/realmd-realm-samba.o `test -f 'service/realm-samba.c' || echo '$(srcdir)/'`service/realm-samba.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba.Tpo service/$(DEPDIR)/realmd-realm-samba.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba.c' object='service/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 service/realmd-realm-samba.o `test -f 'service/realm-samba.c' || echo '$(srcdir)/'`service/realm-samba.c service/realmd-realm-samba.obj: service/realm-samba.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba.Tpo -c -o service/realmd-realm-samba.obj `if test -f 'service/realm-samba.c'; then $(CYGPATH_W) 'service/realm-samba.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba.Tpo service/$(DEPDIR)/realmd-realm-samba.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba.c' object='service/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 service/realmd-realm-samba.obj `if test -f 'service/realm-samba.c'; then $(CYGPATH_W) 'service/realm-samba.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba.c'; fi` service/realmd-realm-samba-config.o: service/realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba-config.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba-config.Tpo -c -o service/realmd-realm-samba-config.o `test -f 'service/realm-samba-config.c' || echo '$(srcdir)/'`service/realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba-config.Tpo service/$(DEPDIR)/realmd-realm-samba-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-config.c' object='service/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 service/realmd-realm-samba-config.o `test -f 'service/realm-samba-config.c' || echo '$(srcdir)/'`service/realm-samba-config.c service/realmd-realm-samba-config.obj: service/realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba-config.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba-config.Tpo -c -o service/realmd-realm-samba-config.obj `if test -f 'service/realm-samba-config.c'; then $(CYGPATH_W) 'service/realm-samba-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba-config.Tpo service/$(DEPDIR)/realmd-realm-samba-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-config.c' object='service/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 service/realmd-realm-samba-config.obj `if test -f 'service/realm-samba-config.c'; then $(CYGPATH_W) 'service/realm-samba-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-config.c'; fi` service/realmd-realm-samba-enroll.o: service/realm-samba-enroll.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba-enroll.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba-enroll.Tpo -c -o service/realmd-realm-samba-enroll.o `test -f 'service/realm-samba-enroll.c' || echo '$(srcdir)/'`service/realm-samba-enroll.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba-enroll.Tpo service/$(DEPDIR)/realmd-realm-samba-enroll.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-enroll.c' object='service/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 service/realmd-realm-samba-enroll.o `test -f 'service/realm-samba-enroll.c' || echo '$(srcdir)/'`service/realm-samba-enroll.c service/realmd-realm-samba-enroll.obj: service/realm-samba-enroll.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba-enroll.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba-enroll.Tpo -c -o service/realmd-realm-samba-enroll.obj `if test -f 'service/realm-samba-enroll.c'; then $(CYGPATH_W) 'service/realm-samba-enroll.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-enroll.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba-enroll.Tpo service/$(DEPDIR)/realmd-realm-samba-enroll.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-enroll.c' object='service/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 service/realmd-realm-samba-enroll.obj `if test -f 'service/realm-samba-enroll.c'; then $(CYGPATH_W) 'service/realm-samba-enroll.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-enroll.c'; fi` service/realmd-realm-samba-provider.o: service/realm-samba-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba-provider.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba-provider.Tpo -c -o service/realmd-realm-samba-provider.o `test -f 'service/realm-samba-provider.c' || echo '$(srcdir)/'`service/realm-samba-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba-provider.Tpo service/$(DEPDIR)/realmd-realm-samba-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-provider.c' object='service/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 service/realmd-realm-samba-provider.o `test -f 'service/realm-samba-provider.c' || echo '$(srcdir)/'`service/realm-samba-provider.c service/realmd-realm-samba-provider.obj: service/realm-samba-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba-provider.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba-provider.Tpo -c -o service/realmd-realm-samba-provider.obj `if test -f 'service/realm-samba-provider.c'; then $(CYGPATH_W) 'service/realm-samba-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba-provider.Tpo service/$(DEPDIR)/realmd-realm-samba-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-provider.c' object='service/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 service/realmd-realm-samba-provider.obj `if test -f 'service/realm-samba-provider.c'; then $(CYGPATH_W) 'service/realm-samba-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-provider.c'; fi` service/realmd-realm-samba-util.o: service/realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba-util.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba-util.Tpo -c -o service/realmd-realm-samba-util.o `test -f 'service/realm-samba-util.c' || echo '$(srcdir)/'`service/realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba-util.Tpo service/$(DEPDIR)/realmd-realm-samba-util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-util.c' object='service/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 service/realmd-realm-samba-util.o `test -f 'service/realm-samba-util.c' || echo '$(srcdir)/'`service/realm-samba-util.c service/realmd-realm-samba-util.obj: service/realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba-util.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba-util.Tpo -c -o service/realmd-realm-samba-util.obj `if test -f 'service/realm-samba-util.c'; then $(CYGPATH_W) 'service/realm-samba-util.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-util.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba-util.Tpo service/$(DEPDIR)/realmd-realm-samba-util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-util.c' object='service/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 service/realmd-realm-samba-util.obj `if test -f 'service/realm-samba-util.c'; then $(CYGPATH_W) 'service/realm-samba-util.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-util.c'; fi` service/realmd-realm-samba-winbind.o: service/realm-samba-winbind.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba-winbind.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba-winbind.Tpo -c -o service/realmd-realm-samba-winbind.o `test -f 'service/realm-samba-winbind.c' || echo '$(srcdir)/'`service/realm-samba-winbind.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba-winbind.Tpo service/$(DEPDIR)/realmd-realm-samba-winbind.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-winbind.c' object='service/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 service/realmd-realm-samba-winbind.o `test -f 'service/realm-samba-winbind.c' || echo '$(srcdir)/'`service/realm-samba-winbind.c service/realmd-realm-samba-winbind.obj: service/realm-samba-winbind.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-samba-winbind.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-samba-winbind.Tpo -c -o service/realmd-realm-samba-winbind.obj `if test -f 'service/realm-samba-winbind.c'; then $(CYGPATH_W) 'service/realm-samba-winbind.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-winbind.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-samba-winbind.Tpo service/$(DEPDIR)/realmd-realm-samba-winbind.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-winbind.c' object='service/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 service/realmd-realm-samba-winbind.obj `if test -f 'service/realm-samba-winbind.c'; then $(CYGPATH_W) 'service/realm-samba-winbind.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-winbind.c'; fi` service/realmd-realm-service.o: service/realm-service.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-service.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-service.Tpo -c -o service/realmd-realm-service.o `test -f 'service/realm-service.c' || echo '$(srcdir)/'`service/realm-service.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-service.Tpo service/$(DEPDIR)/realmd-realm-service.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-service.c' object='service/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 service/realmd-realm-service.o `test -f 'service/realm-service.c' || echo '$(srcdir)/'`service/realm-service.c service/realmd-realm-service.obj: service/realm-service.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-service.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-service.Tpo -c -o service/realmd-realm-service.obj `if test -f 'service/realm-service.c'; then $(CYGPATH_W) 'service/realm-service.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-service.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-service.Tpo service/$(DEPDIR)/realmd-realm-service.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-service.c' object='service/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 service/realmd-realm-service.obj `if test -f 'service/realm-service.c'; then $(CYGPATH_W) 'service/realm-service.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-service.c'; fi` service/realmd-realm-settings.o: service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-settings.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-settings.Tpo -c -o service/realmd-realm-settings.o `test -f 'service/realm-settings.c' || echo '$(srcdir)/'`service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-settings.Tpo service/$(DEPDIR)/realmd-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-settings.c' object='service/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 service/realmd-realm-settings.o `test -f 'service/realm-settings.c' || echo '$(srcdir)/'`service/realm-settings.c service/realmd-realm-settings.obj: service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-settings.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-settings.Tpo -c -o service/realmd-realm-settings.obj `if test -f 'service/realm-settings.c'; then $(CYGPATH_W) 'service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-settings.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-settings.Tpo service/$(DEPDIR)/realmd-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-settings.c' object='service/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 service/realmd-realm-settings.obj `if test -f 'service/realm-settings.c'; then $(CYGPATH_W) 'service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-settings.c'; fi` service/realmd-realm-sssd.o: service/realm-sssd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-sssd.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-sssd.Tpo -c -o service/realmd-realm-sssd.o `test -f 'service/realm-sssd.c' || echo '$(srcdir)/'`service/realm-sssd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-sssd.Tpo service/$(DEPDIR)/realmd-realm-sssd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd.c' object='service/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 service/realmd-realm-sssd.o `test -f 'service/realm-sssd.c' || echo '$(srcdir)/'`service/realm-sssd.c service/realmd-realm-sssd.obj: service/realm-sssd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-sssd.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-sssd.Tpo -c -o service/realmd-realm-sssd.obj `if test -f 'service/realm-sssd.c'; then $(CYGPATH_W) 'service/realm-sssd.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-sssd.Tpo service/$(DEPDIR)/realmd-realm-sssd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd.c' object='service/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 service/realmd-realm-sssd.obj `if test -f 'service/realm-sssd.c'; then $(CYGPATH_W) 'service/realm-sssd.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd.c'; fi` service/realmd-realm-sssd-ad.o: service/realm-sssd-ad.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-sssd-ad.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-sssd-ad.Tpo -c -o service/realmd-realm-sssd-ad.o `test -f 'service/realm-sssd-ad.c' || echo '$(srcdir)/'`service/realm-sssd-ad.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-sssd-ad.Tpo service/$(DEPDIR)/realmd-realm-sssd-ad.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd-ad.c' object='service/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 service/realmd-realm-sssd-ad.o `test -f 'service/realm-sssd-ad.c' || echo '$(srcdir)/'`service/realm-sssd-ad.c service/realmd-realm-sssd-ad.obj: service/realm-sssd-ad.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-sssd-ad.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-sssd-ad.Tpo -c -o service/realmd-realm-sssd-ad.obj `if test -f 'service/realm-sssd-ad.c'; then $(CYGPATH_W) 'service/realm-sssd-ad.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd-ad.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-sssd-ad.Tpo service/$(DEPDIR)/realmd-realm-sssd-ad.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd-ad.c' object='service/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 service/realmd-realm-sssd-ad.obj `if test -f 'service/realm-sssd-ad.c'; then $(CYGPATH_W) 'service/realm-sssd-ad.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd-ad.c'; fi` service/realmd-realm-sssd-provider.o: service/realm-sssd-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-sssd-provider.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-sssd-provider.Tpo -c -o service/realmd-realm-sssd-provider.o `test -f 'service/realm-sssd-provider.c' || echo '$(srcdir)/'`service/realm-sssd-provider.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-sssd-provider.Tpo service/$(DEPDIR)/realmd-realm-sssd-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd-provider.c' object='service/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 service/realmd-realm-sssd-provider.o `test -f 'service/realm-sssd-provider.c' || echo '$(srcdir)/'`service/realm-sssd-provider.c service/realmd-realm-sssd-provider.obj: service/realm-sssd-provider.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-sssd-provider.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-sssd-provider.Tpo -c -o service/realmd-realm-sssd-provider.obj `if test -f 'service/realm-sssd-provider.c'; then $(CYGPATH_W) 'service/realm-sssd-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd-provider.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-sssd-provider.Tpo service/$(DEPDIR)/realmd-realm-sssd-provider.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd-provider.c' object='service/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 service/realmd-realm-sssd-provider.obj `if test -f 'service/realm-sssd-provider.c'; then $(CYGPATH_W) 'service/realm-sssd-provider.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd-provider.c'; fi` service/realmd-realm-sssd-config.o: service/realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-sssd-config.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-sssd-config.Tpo -c -o service/realmd-realm-sssd-config.o `test -f 'service/realm-sssd-config.c' || echo '$(srcdir)/'`service/realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-sssd-config.Tpo service/$(DEPDIR)/realmd-realm-sssd-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd-config.c' object='service/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 service/realmd-realm-sssd-config.o `test -f 'service/realm-sssd-config.c' || echo '$(srcdir)/'`service/realm-sssd-config.c service/realmd-realm-sssd-config.obj: service/realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-sssd-config.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-sssd-config.Tpo -c -o service/realmd-realm-sssd-config.obj `if test -f 'service/realm-sssd-config.c'; then $(CYGPATH_W) 'service/realm-sssd-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-sssd-config.Tpo service/$(DEPDIR)/realmd-realm-sssd-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd-config.c' object='service/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 service/realmd-realm-sssd-config.obj `if test -f 'service/realm-sssd-config.c'; then $(CYGPATH_W) 'service/realm-sssd-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd-config.c'; fi` service/realmd-realm-sssd-ipa.o: service/realm-sssd-ipa.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-sssd-ipa.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-sssd-ipa.Tpo -c -o service/realmd-realm-sssd-ipa.o `test -f 'service/realm-sssd-ipa.c' || echo '$(srcdir)/'`service/realm-sssd-ipa.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-sssd-ipa.Tpo service/$(DEPDIR)/realmd-realm-sssd-ipa.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd-ipa.c' object='service/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 service/realmd-realm-sssd-ipa.o `test -f 'service/realm-sssd-ipa.c' || echo '$(srcdir)/'`service/realm-sssd-ipa.c service/realmd-realm-sssd-ipa.obj: service/realm-sssd-ipa.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-sssd-ipa.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-sssd-ipa.Tpo -c -o service/realmd-realm-sssd-ipa.obj `if test -f 'service/realm-sssd-ipa.c'; then $(CYGPATH_W) 'service/realm-sssd-ipa.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd-ipa.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-sssd-ipa.Tpo service/$(DEPDIR)/realmd-realm-sssd-ipa.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd-ipa.c' object='service/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 service/realmd-realm-sssd-ipa.obj `if test -f 'service/realm-sssd-ipa.c'; then $(CYGPATH_W) 'service/realm-sssd-ipa.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd-ipa.c'; fi` service/realmd-realm-usleep-async.o: service/realm-usleep-async.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-usleep-async.o -MD -MP -MF service/$(DEPDIR)/realmd-realm-usleep-async.Tpo -c -o service/realmd-realm-usleep-async.o `test -f 'service/realm-usleep-async.c' || echo '$(srcdir)/'`service/realm-usleep-async.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-usleep-async.Tpo service/$(DEPDIR)/realmd-realm-usleep-async.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-usleep-async.c' object='service/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 service/realmd-realm-usleep-async.o `test -f 'service/realm-usleep-async.c' || echo '$(srcdir)/'`service/realm-usleep-async.c service/realmd-realm-usleep-async.obj: service/realm-usleep-async.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-realm-usleep-async.obj -MD -MP -MF service/$(DEPDIR)/realmd-realm-usleep-async.Tpo -c -o service/realmd-realm-usleep-async.obj `if test -f 'service/realm-usleep-async.c'; then $(CYGPATH_W) 'service/realm-usleep-async.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-usleep-async.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-realm-usleep-async.Tpo service/$(DEPDIR)/realmd-realm-usleep-async.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-usleep-async.c' object='service/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 service/realmd-realm-usleep-async.obj `if test -f 'service/realm-usleep-async.c'; then $(CYGPATH_W) 'service/realm-usleep-async.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-usleep-async.c'; fi` service/realmd-safe-format-string.o: service/safe-format-string.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-safe-format-string.o -MD -MP -MF service/$(DEPDIR)/realmd-safe-format-string.Tpo -c -o service/realmd-safe-format-string.o `test -f 'service/safe-format-string.c' || echo '$(srcdir)/'`service/safe-format-string.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-safe-format-string.Tpo service/$(DEPDIR)/realmd-safe-format-string.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/safe-format-string.c' object='service/realmd-safe-format-string.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 service/realmd-safe-format-string.o `test -f 'service/safe-format-string.c' || echo '$(srcdir)/'`service/safe-format-string.c service/realmd-safe-format-string.obj: service/safe-format-string.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(realmd_CFLAGS) $(CFLAGS) -MT service/realmd-safe-format-string.obj -MD -MP -MF service/$(DEPDIR)/realmd-safe-format-string.Tpo -c -o service/realmd-safe-format-string.obj `if test -f 'service/safe-format-string.c'; then $(CYGPATH_W) 'service/safe-format-string.c'; else $(CYGPATH_W) '$(srcdir)/service/safe-format-string.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/realmd-safe-format-string.Tpo service/$(DEPDIR)/realmd-safe-format-string.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/safe-format-string.c' object='service/realmd-safe-format-string.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 service/realmd-safe-format-string.obj `if test -f 'service/safe-format-string.c'; then $(CYGPATH_W) 'service/safe-format-string.c'; else $(CYGPATH_W) '$(srcdir)/service/safe-format-string.c'; fi` tests/test_ini_config-test-ini-config.o: tests/test-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ini_config_CFLAGS) $(CFLAGS) -MT tests/test_ini_config-test-ini-config.o -MD -MP -MF tests/$(DEPDIR)/test_ini_config-test-ini-config.Tpo -c -o tests/test_ini_config-test-ini-config.o `test -f 'tests/test-ini-config.c' || echo '$(srcdir)/'`tests/test-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_ini_config-test-ini-config.Tpo tests/$(DEPDIR)/test_ini_config-test-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-ini-config.c' object='tests/test_ini_config-test-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) $(test_ini_config_CFLAGS) $(CFLAGS) -c -o tests/test_ini_config-test-ini-config.o `test -f 'tests/test-ini-config.c' || echo '$(srcdir)/'`tests/test-ini-config.c tests/test_ini_config-test-ini-config.obj: tests/test-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ini_config_CFLAGS) $(CFLAGS) -MT tests/test_ini_config-test-ini-config.obj -MD -MP -MF tests/$(DEPDIR)/test_ini_config-test-ini-config.Tpo -c -o tests/test_ini_config-test-ini-config.obj `if test -f 'tests/test-ini-config.c'; then $(CYGPATH_W) 'tests/test-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-ini-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_ini_config-test-ini-config.Tpo tests/$(DEPDIR)/test_ini_config-test-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-ini-config.c' object='tests/test_ini_config-test-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) $(test_ini_config_CFLAGS) $(CFLAGS) -c -o tests/test_ini_config-test-ini-config.obj `if test -f 'tests/test-ini-config.c'; then $(CYGPATH_W) 'tests/test-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-ini-config.c'; fi` service/test_ini_config-realm-ini-config.o: service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ini_config_CFLAGS) $(CFLAGS) -MT service/test_ini_config-realm-ini-config.o -MD -MP -MF service/$(DEPDIR)/test_ini_config-realm-ini-config.Tpo -c -o service/test_ini_config-realm-ini-config.o `test -f 'service/realm-ini-config.c' || echo '$(srcdir)/'`service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_ini_config-realm-ini-config.Tpo service/$(DEPDIR)/test_ini_config-realm-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-ini-config.c' object='service/test_ini_config-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) $(test_ini_config_CFLAGS) $(CFLAGS) -c -o service/test_ini_config-realm-ini-config.o `test -f 'service/realm-ini-config.c' || echo '$(srcdir)/'`service/realm-ini-config.c service/test_ini_config-realm-ini-config.obj: service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ini_config_CFLAGS) $(CFLAGS) -MT service/test_ini_config-realm-ini-config.obj -MD -MP -MF service/$(DEPDIR)/test_ini_config-realm-ini-config.Tpo -c -o service/test_ini_config-realm-ini-config.obj `if test -f 'service/realm-ini-config.c'; then $(CYGPATH_W) 'service/realm-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-ini-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_ini_config-realm-ini-config.Tpo service/$(DEPDIR)/test_ini_config-realm-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-ini-config.c' object='service/test_ini_config-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) $(test_ini_config_CFLAGS) $(CFLAGS) -c -o service/test_ini_config-realm-ini-config.obj `if test -f 'service/realm-ini-config.c'; then $(CYGPATH_W) 'service/realm-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-ini-config.c'; fi` service/test_ini_config-realm-samba-config.o: service/realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ini_config_CFLAGS) $(CFLAGS) -MT service/test_ini_config-realm-samba-config.o -MD -MP -MF service/$(DEPDIR)/test_ini_config-realm-samba-config.Tpo -c -o service/test_ini_config-realm-samba-config.o `test -f 'service/realm-samba-config.c' || echo '$(srcdir)/'`service/realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_ini_config-realm-samba-config.Tpo service/$(DEPDIR)/test_ini_config-realm-samba-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-config.c' object='service/test_ini_config-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) $(test_ini_config_CFLAGS) $(CFLAGS) -c -o service/test_ini_config-realm-samba-config.o `test -f 'service/realm-samba-config.c' || echo '$(srcdir)/'`service/realm-samba-config.c service/test_ini_config-realm-samba-config.obj: service/realm-samba-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ini_config_CFLAGS) $(CFLAGS) -MT service/test_ini_config-realm-samba-config.obj -MD -MP -MF service/$(DEPDIR)/test_ini_config-realm-samba-config.Tpo -c -o service/test_ini_config-realm-samba-config.obj `if test -f 'service/realm-samba-config.c'; then $(CYGPATH_W) 'service/realm-samba-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_ini_config-realm-samba-config.Tpo service/$(DEPDIR)/test_ini_config-realm-samba-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-config.c' object='service/test_ini_config-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) $(test_ini_config_CFLAGS) $(CFLAGS) -c -o service/test_ini_config-realm-samba-config.obj `if test -f 'service/realm-samba-config.c'; then $(CYGPATH_W) 'service/realm-samba-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-config.c'; fi` service/test_ini_config-realm-settings.o: service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ini_config_CFLAGS) $(CFLAGS) -MT service/test_ini_config-realm-settings.o -MD -MP -MF service/$(DEPDIR)/test_ini_config-realm-settings.Tpo -c -o service/test_ini_config-realm-settings.o `test -f 'service/realm-settings.c' || echo '$(srcdir)/'`service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_ini_config-realm-settings.Tpo service/$(DEPDIR)/test_ini_config-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-settings.c' object='service/test_ini_config-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) $(test_ini_config_CFLAGS) $(CFLAGS) -c -o service/test_ini_config-realm-settings.o `test -f 'service/realm-settings.c' || echo '$(srcdir)/'`service/realm-settings.c service/test_ini_config-realm-settings.obj: service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ini_config_CFLAGS) $(CFLAGS) -MT service/test_ini_config-realm-settings.obj -MD -MP -MF service/$(DEPDIR)/test_ini_config-realm-settings.Tpo -c -o service/test_ini_config-realm-settings.obj `if test -f 'service/realm-settings.c'; then $(CYGPATH_W) 'service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-settings.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_ini_config-realm-settings.Tpo service/$(DEPDIR)/test_ini_config-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-settings.c' object='service/test_ini_config-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) $(test_ini_config_CFLAGS) $(CFLAGS) -c -o service/test_ini_config-realm-settings.obj `if test -f 'service/realm-settings.c'; then $(CYGPATH_W) 'service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-settings.c'; fi` tests/test_login_name-test-login-name.o: tests/test-login-name.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_login_name_CFLAGS) $(CFLAGS) -MT tests/test_login_name-test-login-name.o -MD -MP -MF tests/$(DEPDIR)/test_login_name-test-login-name.Tpo -c -o tests/test_login_name-test-login-name.o `test -f 'tests/test-login-name.c' || echo '$(srcdir)/'`tests/test-login-name.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_login_name-test-login-name.Tpo tests/$(DEPDIR)/test_login_name-test-login-name.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-login-name.c' object='tests/test_login_name-test-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) $(test_login_name_CFLAGS) $(CFLAGS) -c -o tests/test_login_name-test-login-name.o `test -f 'tests/test-login-name.c' || echo '$(srcdir)/'`tests/test-login-name.c tests/test_login_name-test-login-name.obj: tests/test-login-name.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_login_name_CFLAGS) $(CFLAGS) -MT tests/test_login_name-test-login-name.obj -MD -MP -MF tests/$(DEPDIR)/test_login_name-test-login-name.Tpo -c -o tests/test_login_name-test-login-name.obj `if test -f 'tests/test-login-name.c'; then $(CYGPATH_W) 'tests/test-login-name.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-login-name.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_login_name-test-login-name.Tpo tests/$(DEPDIR)/test_login_name-test-login-name.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-login-name.c' object='tests/test_login_name-test-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) $(test_login_name_CFLAGS) $(CFLAGS) -c -o tests/test_login_name-test-login-name.obj `if test -f 'tests/test-login-name.c'; then $(CYGPATH_W) 'tests/test-login-name.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-login-name.c'; fi` service/test_login_name-realm-login-name.o: service/realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_login_name_CFLAGS) $(CFLAGS) -MT service/test_login_name-realm-login-name.o -MD -MP -MF service/$(DEPDIR)/test_login_name-realm-login-name.Tpo -c -o service/test_login_name-realm-login-name.o `test -f 'service/realm-login-name.c' || echo '$(srcdir)/'`service/realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_login_name-realm-login-name.Tpo service/$(DEPDIR)/test_login_name-realm-login-name.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-login-name.c' object='service/test_login_name-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) $(test_login_name_CFLAGS) $(CFLAGS) -c -o service/test_login_name-realm-login-name.o `test -f 'service/realm-login-name.c' || echo '$(srcdir)/'`service/realm-login-name.c service/test_login_name-realm-login-name.obj: service/realm-login-name.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_login_name_CFLAGS) $(CFLAGS) -MT service/test_login_name-realm-login-name.obj -MD -MP -MF service/$(DEPDIR)/test_login_name-realm-login-name.Tpo -c -o service/test_login_name-realm-login-name.obj `if test -f 'service/realm-login-name.c'; then $(CYGPATH_W) 'service/realm-login-name.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-login-name.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_login_name-realm-login-name.Tpo service/$(DEPDIR)/test_login_name-realm-login-name.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-login-name.c' object='service/test_login_name-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) $(test_login_name_CFLAGS) $(CFLAGS) -c -o service/test_login_name-realm-login-name.obj `if test -f 'service/realm-login-name.c'; then $(CYGPATH_W) 'service/realm-login-name.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-login-name.c'; fi` tests/test_safe_format-test-safe-format.o: tests/test-safe-format.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_safe_format_CFLAGS) $(CFLAGS) -MT tests/test_safe_format-test-safe-format.o -MD -MP -MF tests/$(DEPDIR)/test_safe_format-test-safe-format.Tpo -c -o tests/test_safe_format-test-safe-format.o `test -f 'tests/test-safe-format.c' || echo '$(srcdir)/'`tests/test-safe-format.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_safe_format-test-safe-format.Tpo tests/$(DEPDIR)/test_safe_format-test-safe-format.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-safe-format.c' object='tests/test_safe_format-test-safe-format.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) $(test_safe_format_CFLAGS) $(CFLAGS) -c -o tests/test_safe_format-test-safe-format.o `test -f 'tests/test-safe-format.c' || echo '$(srcdir)/'`tests/test-safe-format.c tests/test_safe_format-test-safe-format.obj: tests/test-safe-format.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_safe_format_CFLAGS) $(CFLAGS) -MT tests/test_safe_format-test-safe-format.obj -MD -MP -MF tests/$(DEPDIR)/test_safe_format-test-safe-format.Tpo -c -o tests/test_safe_format-test-safe-format.obj `if test -f 'tests/test-safe-format.c'; then $(CYGPATH_W) 'tests/test-safe-format.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-safe-format.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_safe_format-test-safe-format.Tpo tests/$(DEPDIR)/test_safe_format-test-safe-format.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-safe-format.c' object='tests/test_safe_format-test-safe-format.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) $(test_safe_format_CFLAGS) $(CFLAGS) -c -o tests/test_safe_format-test-safe-format.obj `if test -f 'tests/test-safe-format.c'; then $(CYGPATH_W) 'tests/test-safe-format.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-safe-format.c'; fi` service/test_safe_format-safe-format-string.o: service/safe-format-string.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_safe_format_CFLAGS) $(CFLAGS) -MT service/test_safe_format-safe-format-string.o -MD -MP -MF service/$(DEPDIR)/test_safe_format-safe-format-string.Tpo -c -o service/test_safe_format-safe-format-string.o `test -f 'service/safe-format-string.c' || echo '$(srcdir)/'`service/safe-format-string.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_safe_format-safe-format-string.Tpo service/$(DEPDIR)/test_safe_format-safe-format-string.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/safe-format-string.c' object='service/test_safe_format-safe-format-string.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) $(test_safe_format_CFLAGS) $(CFLAGS) -c -o service/test_safe_format-safe-format-string.o `test -f 'service/safe-format-string.c' || echo '$(srcdir)/'`service/safe-format-string.c service/test_safe_format-safe-format-string.obj: service/safe-format-string.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_safe_format_CFLAGS) $(CFLAGS) -MT service/test_safe_format-safe-format-string.obj -MD -MP -MF service/$(DEPDIR)/test_safe_format-safe-format-string.Tpo -c -o service/test_safe_format-safe-format-string.obj `if test -f 'service/safe-format-string.c'; then $(CYGPATH_W) 'service/safe-format-string.c'; else $(CYGPATH_W) '$(srcdir)/service/safe-format-string.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_safe_format-safe-format-string.Tpo service/$(DEPDIR)/test_safe_format-safe-format-string.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/safe-format-string.c' object='service/test_safe_format-safe-format-string.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) $(test_safe_format_CFLAGS) $(CFLAGS) -c -o service/test_safe_format-safe-format-string.obj `if test -f 'service/safe-format-string.c'; then $(CYGPATH_W) 'service/safe-format-string.c'; else $(CYGPATH_W) '$(srcdir)/service/safe-format-string.c'; fi` tests/test_samba_ou_format-test-samba-ou-format.o: tests/test-samba-ou-format.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_samba_ou_format_CFLAGS) $(CFLAGS) -MT tests/test_samba_ou_format-test-samba-ou-format.o -MD -MP -MF tests/$(DEPDIR)/test_samba_ou_format-test-samba-ou-format.Tpo -c -o tests/test_samba_ou_format-test-samba-ou-format.o `test -f 'tests/test-samba-ou-format.c' || echo '$(srcdir)/'`tests/test-samba-ou-format.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_samba_ou_format-test-samba-ou-format.Tpo tests/$(DEPDIR)/test_samba_ou_format-test-samba-ou-format.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-samba-ou-format.c' object='tests/test_samba_ou_format-test-samba-ou-format.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) $(test_samba_ou_format_CFLAGS) $(CFLAGS) -c -o tests/test_samba_ou_format-test-samba-ou-format.o `test -f 'tests/test-samba-ou-format.c' || echo '$(srcdir)/'`tests/test-samba-ou-format.c tests/test_samba_ou_format-test-samba-ou-format.obj: tests/test-samba-ou-format.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_samba_ou_format_CFLAGS) $(CFLAGS) -MT tests/test_samba_ou_format-test-samba-ou-format.obj -MD -MP -MF tests/$(DEPDIR)/test_samba_ou_format-test-samba-ou-format.Tpo -c -o tests/test_samba_ou_format-test-samba-ou-format.obj `if test -f 'tests/test-samba-ou-format.c'; then $(CYGPATH_W) 'tests/test-samba-ou-format.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-samba-ou-format.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_samba_ou_format-test-samba-ou-format.Tpo tests/$(DEPDIR)/test_samba_ou_format-test-samba-ou-format.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-samba-ou-format.c' object='tests/test_samba_ou_format-test-samba-ou-format.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) $(test_samba_ou_format_CFLAGS) $(CFLAGS) -c -o tests/test_samba_ou_format-test-samba-ou-format.obj `if test -f 'tests/test-samba-ou-format.c'; then $(CYGPATH_W) 'tests/test-samba-ou-format.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-samba-ou-format.c'; fi` service/test_samba_ou_format-realm-samba-util.o: service/realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_samba_ou_format_CFLAGS) $(CFLAGS) -MT service/test_samba_ou_format-realm-samba-util.o -MD -MP -MF service/$(DEPDIR)/test_samba_ou_format-realm-samba-util.Tpo -c -o service/test_samba_ou_format-realm-samba-util.o `test -f 'service/realm-samba-util.c' || echo '$(srcdir)/'`service/realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_samba_ou_format-realm-samba-util.Tpo service/$(DEPDIR)/test_samba_ou_format-realm-samba-util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-util.c' object='service/test_samba_ou_format-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) $(test_samba_ou_format_CFLAGS) $(CFLAGS) -c -o service/test_samba_ou_format-realm-samba-util.o `test -f 'service/realm-samba-util.c' || echo '$(srcdir)/'`service/realm-samba-util.c service/test_samba_ou_format-realm-samba-util.obj: service/realm-samba-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_samba_ou_format_CFLAGS) $(CFLAGS) -MT service/test_samba_ou_format-realm-samba-util.obj -MD -MP -MF service/$(DEPDIR)/test_samba_ou_format-realm-samba-util.Tpo -c -o service/test_samba_ou_format-realm-samba-util.obj `if test -f 'service/realm-samba-util.c'; then $(CYGPATH_W) 'service/realm-samba-util.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-util.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_samba_ou_format-realm-samba-util.Tpo service/$(DEPDIR)/test_samba_ou_format-realm-samba-util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-samba-util.c' object='service/test_samba_ou_format-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) $(test_samba_ou_format_CFLAGS) $(CFLAGS) -c -o service/test_samba_ou_format-realm-samba-util.obj `if test -f 'service/realm-samba-util.c'; then $(CYGPATH_W) 'service/realm-samba-util.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-samba-util.c'; fi` tests/test_settings-test-settings.o: tests/test-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_settings_CFLAGS) $(CFLAGS) -MT tests/test_settings-test-settings.o -MD -MP -MF tests/$(DEPDIR)/test_settings-test-settings.Tpo -c -o tests/test_settings-test-settings.o `test -f 'tests/test-settings.c' || echo '$(srcdir)/'`tests/test-settings.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_settings-test-settings.Tpo tests/$(DEPDIR)/test_settings-test-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-settings.c' object='tests/test_settings-test-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) $(test_settings_CFLAGS) $(CFLAGS) -c -o tests/test_settings-test-settings.o `test -f 'tests/test-settings.c' || echo '$(srcdir)/'`tests/test-settings.c tests/test_settings-test-settings.obj: tests/test-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_settings_CFLAGS) $(CFLAGS) -MT tests/test_settings-test-settings.obj -MD -MP -MF tests/$(DEPDIR)/test_settings-test-settings.Tpo -c -o tests/test_settings-test-settings.obj `if test -f 'tests/test-settings.c'; then $(CYGPATH_W) 'tests/test-settings.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-settings.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_settings-test-settings.Tpo tests/$(DEPDIR)/test_settings-test-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-settings.c' object='tests/test_settings-test-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) $(test_settings_CFLAGS) $(CFLAGS) -c -o tests/test_settings-test-settings.obj `if test -f 'tests/test-settings.c'; then $(CYGPATH_W) 'tests/test-settings.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-settings.c'; fi` service/test_settings-realm-settings.o: service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_settings_CFLAGS) $(CFLAGS) -MT service/test_settings-realm-settings.o -MD -MP -MF service/$(DEPDIR)/test_settings-realm-settings.Tpo -c -o service/test_settings-realm-settings.o `test -f 'service/realm-settings.c' || echo '$(srcdir)/'`service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_settings-realm-settings.Tpo service/$(DEPDIR)/test_settings-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-settings.c' object='service/test_settings-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) $(test_settings_CFLAGS) $(CFLAGS) -c -o service/test_settings-realm-settings.o `test -f 'service/realm-settings.c' || echo '$(srcdir)/'`service/realm-settings.c service/test_settings-realm-settings.obj: service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_settings_CFLAGS) $(CFLAGS) -MT service/test_settings-realm-settings.obj -MD -MP -MF service/$(DEPDIR)/test_settings-realm-settings.Tpo -c -o service/test_settings-realm-settings.obj `if test -f 'service/realm-settings.c'; then $(CYGPATH_W) 'service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-settings.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_settings-realm-settings.Tpo service/$(DEPDIR)/test_settings-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-settings.c' object='service/test_settings-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) $(test_settings_CFLAGS) $(CFLAGS) -c -o service/test_settings-realm-settings.obj `if test -f 'service/realm-settings.c'; then $(CYGPATH_W) 'service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-settings.c'; fi` tests/test_sssd_config-test-sssd-config.o: tests/test-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sssd_config_CFLAGS) $(CFLAGS) -MT tests/test_sssd_config-test-sssd-config.o -MD -MP -MF tests/$(DEPDIR)/test_sssd_config-test-sssd-config.Tpo -c -o tests/test_sssd_config-test-sssd-config.o `test -f 'tests/test-sssd-config.c' || echo '$(srcdir)/'`tests/test-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_sssd_config-test-sssd-config.Tpo tests/$(DEPDIR)/test_sssd_config-test-sssd-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-sssd-config.c' object='tests/test_sssd_config-test-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) $(test_sssd_config_CFLAGS) $(CFLAGS) -c -o tests/test_sssd_config-test-sssd-config.o `test -f 'tests/test-sssd-config.c' || echo '$(srcdir)/'`tests/test-sssd-config.c tests/test_sssd_config-test-sssd-config.obj: tests/test-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sssd_config_CFLAGS) $(CFLAGS) -MT tests/test_sssd_config-test-sssd-config.obj -MD -MP -MF tests/$(DEPDIR)/test_sssd_config-test-sssd-config.Tpo -c -o tests/test_sssd_config-test-sssd-config.obj `if test -f 'tests/test-sssd-config.c'; then $(CYGPATH_W) 'tests/test-sssd-config.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-sssd-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_sssd_config-test-sssd-config.Tpo tests/$(DEPDIR)/test_sssd_config-test-sssd-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-sssd-config.c' object='tests/test_sssd_config-test-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) $(test_sssd_config_CFLAGS) $(CFLAGS) -c -o tests/test_sssd_config-test-sssd-config.obj `if test -f 'tests/test-sssd-config.c'; then $(CYGPATH_W) 'tests/test-sssd-config.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-sssd-config.c'; fi` service/test_sssd_config-realm-ini-config.o: service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sssd_config_CFLAGS) $(CFLAGS) -MT service/test_sssd_config-realm-ini-config.o -MD -MP -MF service/$(DEPDIR)/test_sssd_config-realm-ini-config.Tpo -c -o service/test_sssd_config-realm-ini-config.o `test -f 'service/realm-ini-config.c' || echo '$(srcdir)/'`service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_sssd_config-realm-ini-config.Tpo service/$(DEPDIR)/test_sssd_config-realm-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-ini-config.c' object='service/test_sssd_config-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) $(test_sssd_config_CFLAGS) $(CFLAGS) -c -o service/test_sssd_config-realm-ini-config.o `test -f 'service/realm-ini-config.c' || echo '$(srcdir)/'`service/realm-ini-config.c service/test_sssd_config-realm-ini-config.obj: service/realm-ini-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sssd_config_CFLAGS) $(CFLAGS) -MT service/test_sssd_config-realm-ini-config.obj -MD -MP -MF service/$(DEPDIR)/test_sssd_config-realm-ini-config.Tpo -c -o service/test_sssd_config-realm-ini-config.obj `if test -f 'service/realm-ini-config.c'; then $(CYGPATH_W) 'service/realm-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-ini-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_sssd_config-realm-ini-config.Tpo service/$(DEPDIR)/test_sssd_config-realm-ini-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-ini-config.c' object='service/test_sssd_config-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) $(test_sssd_config_CFLAGS) $(CFLAGS) -c -o service/test_sssd_config-realm-ini-config.obj `if test -f 'service/realm-ini-config.c'; then $(CYGPATH_W) 'service/realm-ini-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-ini-config.c'; fi` service/test_sssd_config-realm-sssd-config.o: service/realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sssd_config_CFLAGS) $(CFLAGS) -MT service/test_sssd_config-realm-sssd-config.o -MD -MP -MF service/$(DEPDIR)/test_sssd_config-realm-sssd-config.Tpo -c -o service/test_sssd_config-realm-sssd-config.o `test -f 'service/realm-sssd-config.c' || echo '$(srcdir)/'`service/realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_sssd_config-realm-sssd-config.Tpo service/$(DEPDIR)/test_sssd_config-realm-sssd-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd-config.c' object='service/test_sssd_config-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) $(test_sssd_config_CFLAGS) $(CFLAGS) -c -o service/test_sssd_config-realm-sssd-config.o `test -f 'service/realm-sssd-config.c' || echo '$(srcdir)/'`service/realm-sssd-config.c service/test_sssd_config-realm-sssd-config.obj: service/realm-sssd-config.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sssd_config_CFLAGS) $(CFLAGS) -MT service/test_sssd_config-realm-sssd-config.obj -MD -MP -MF service/$(DEPDIR)/test_sssd_config-realm-sssd-config.Tpo -c -o service/test_sssd_config-realm-sssd-config.obj `if test -f 'service/realm-sssd-config.c'; then $(CYGPATH_W) 'service/realm-sssd-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd-config.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_sssd_config-realm-sssd-config.Tpo service/$(DEPDIR)/test_sssd_config-realm-sssd-config.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-sssd-config.c' object='service/test_sssd_config-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) $(test_sssd_config_CFLAGS) $(CFLAGS) -c -o service/test_sssd_config-realm-sssd-config.obj `if test -f 'service/realm-sssd-config.c'; then $(CYGPATH_W) 'service/realm-sssd-config.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-sssd-config.c'; fi` service/test_sssd_config-realm-settings.o: service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sssd_config_CFLAGS) $(CFLAGS) -MT service/test_sssd_config-realm-settings.o -MD -MP -MF service/$(DEPDIR)/test_sssd_config-realm-settings.Tpo -c -o service/test_sssd_config-realm-settings.o `test -f 'service/realm-settings.c' || echo '$(srcdir)/'`service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_sssd_config-realm-settings.Tpo service/$(DEPDIR)/test_sssd_config-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-settings.c' object='service/test_sssd_config-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) $(test_sssd_config_CFLAGS) $(CFLAGS) -c -o service/test_sssd_config-realm-settings.o `test -f 'service/realm-settings.c' || echo '$(srcdir)/'`service/realm-settings.c service/test_sssd_config-realm-settings.obj: service/realm-settings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sssd_config_CFLAGS) $(CFLAGS) -MT service/test_sssd_config-realm-settings.obj -MD -MP -MF service/$(DEPDIR)/test_sssd_config-realm-settings.Tpo -c -o service/test_sssd_config-realm-settings.obj `if test -f 'service/realm-settings.c'; then $(CYGPATH_W) 'service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-settings.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) service/$(DEPDIR)/test_sssd_config-realm-settings.Tpo service/$(DEPDIR)/test_sssd_config-realm-settings.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='service/realm-settings.c' object='service/test_sssd_config-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) $(test_sssd_config_CFLAGS) $(CFLAGS) -c -o service/test_sssd_config-realm-settings.obj `if test -f 'service/realm-settings.c'; then $(CYGPATH_W) 'service/realm-settings.c'; else $(CYGPATH_W) '$(srcdir)/service/realm-settings.c'; fi` 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) 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-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) 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) # 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 # Recover from deleted '.trs' file; this should ensure that # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells # to avoid problems with "make -n". .log.trs: rm -f $< $@ $(MAKE) $(AM_MAKEFLAGS) $< # Leading 'am--fnord' is there to ensure the list of targets does not # expand to empty, as could happen e.g. with make check TESTS=''. am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) am--force-recheck: @: $(TEST_SUITE_LOG): $(TEST_LOGS) @$(am__set_TESTS_bases); \ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ redo_bases=`for i in $$bases; do \ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ done`; \ if test -n "$$redo_bases"; then \ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ if $(am__make_dryrun); then :; else \ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ fi; \ fi; \ if test -n "$$am__remaking_logs"; then \ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ "recursion detected" >&2; \ elif test -n "$$redo_logs"; then \ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ fi; \ if $(am__make_dryrun); then :; else \ st=0; \ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ for i in $$redo_bases; do \ test -f $$i.trs && test -r $$i.trs \ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ test -f $$i.log && test -r $$i.log \ || { echo "$$errmsg $$i.log" >&2; st=1; }; \ done; \ test $$st -eq 0 || exit 1; \ fi @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ ws='[ ]'; \ results=`for b in $$bases; do echo $$b.trs; done`; \ test -n "$$results" || results=/dev/null; \ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ if test `expr $$fail + $$xpass + $$error` -eq 0; then \ success=true; \ else \ success=false; \ fi; \ br='==================='; br=$$br$$br$$br$$br; \ result_count () \ { \ if test x"$$1" = x"--maybe-color"; then \ maybe_colorize=yes; \ elif test x"$$1" = x"--no-color"; then \ maybe_colorize=no; \ else \ echo "$@: invalid 'result_count' usage" >&2; exit 4; \ fi; \ shift; \ desc=$$1 count=$$2; \ if test $$maybe_colorize = yes && test $$count -gt 0; then \ color_start=$$3 color_end=$$std; \ else \ color_start= color_end=; \ fi; \ echo "$${color_start}# $$desc $$count$${color_end}"; \ }; \ create_testsuite_report () \ { \ result_count $$1 "TOTAL:" $$all "$$brg"; \ result_count $$1 "PASS: " $$pass "$$grn"; \ result_count $$1 "SKIP: " $$skip "$$blu"; \ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ result_count $$1 "FAIL: " $$fail "$$red"; \ result_count $$1 "XPASS:" $$xpass "$$red"; \ result_count $$1 "ERROR:" $$error "$$mgn"; \ }; \ { \ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ $(am__rst_title); \ create_testsuite_report --no-color; \ echo; \ echo ".. contents:: :depth: 2"; \ echo; \ for b in $$bases; do echo $$b; done \ | $(am__create_global_log); \ } >$(TEST_SUITE_LOG).tmp || exit 1; \ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ if $$success; then \ col="$$grn"; \ else \ col="$$red"; \ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ fi; \ echo "$${col}$$br$${std}"; \ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ echo "$${col}$$br$${std}"; \ create_testsuite_report --maybe-color; \ echo "$$col$$br$$std"; \ if $$success; then :; else \ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ if test -n "$(PACKAGE_BUGREPORT)"; then \ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ fi; \ echo "$$col$$br$$std"; \ fi; \ $$success || exit 1 check-TESTS: @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ log_list=`for i in $$bases; do echo $$i.log; done`; \ trs_list=`for i in $$bases; do echo $$i.trs; done`; \ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ exit $$?; recheck: all $(check_PROGRAMS) @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ bases=`for i in $$bases; do echo $$i; done \ | $(am__list_recheck_tests)` || exit 1; \ log_list=`for i in $$bases; do echo $$i.log; done`; \ log_list=`echo $$log_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ am__force_recheck=am--force-recheck \ TEST_LOGS="$$log_list"; \ exit $$? test-ini-config.log: test-ini-config$(EXEEXT) @p='test-ini-config$(EXEEXT)'; \ b='test-ini-config'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-sssd-config.log: test-sssd-config$(EXEEXT) @p='test-sssd-config$(EXEEXT)'; \ b='test-sssd-config'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-safe-format.log: test-safe-format$(EXEEXT) @p='test-safe-format$(EXEEXT)'; \ b='test-safe-format'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-login-name.log: test-login-name$(EXEEXT) @p='test-login-name$(EXEEXT)'; \ b='test-login-name'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-samba-ou-format.log: test-samba-ou-format$(EXEEXT) @p='test-samba-ou-format$(EXEEXT)'; \ b='test-samba-ou-format'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-settings.log: test-settings$(EXEEXT) @p='test-settings$(EXEEXT)'; \ b='test-settings'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) .test.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.test$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) 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 @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 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)/_build/sub $(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-$$$$/" \ && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(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 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive @ENABLE_DOC_FALSE@all-local: all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(MANS) $(DATA) config.h \ all-local installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(privatedir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(dbusservicedir)" "$(DESTDIR)$(polkit_policydir)" "$(DESTDIR)$(privatedir)" "$(DESTDIR)$(servicedir)" "$(DESTDIR)$(systemdunitdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) 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: -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) 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) -rm -f service/$(DEPDIR)/$(am__dirstamp) -rm -f service/$(am__dirstamp) -rm -f tests/$(DEPDIR)/$(am__dirstamp) -rm -f tests/$(am__dirstamp) -rm -f tools/$(DEPDIR)/$(am__dirstamp) -rm -f tools/$(am__dirstamp) -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-recursive clean-am: clean-checkPROGRAMS clean-generic clean-local \ clean-noinstLIBRARIES clean-noinstPROGRAMS \ clean-privatePROGRAMS clean-sbinPROGRAMS mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf ./$(DEPDIR) service/$(DEPDIR) tests/$(DEPDIR) tools/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile 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-data-local install-dbusserviceDATA \ install-man install-polkit_policyDATA install-privateDATA \ install-privatePROGRAMS install-serviceDATA \ install-systemdunitDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-sbinPROGRAMS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-man5 install-man8 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 -rf ./$(DEPDIR) service/$(DEPDIR) tests/$(DEPDIR) tools/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-dbusserviceDATA uninstall-local uninstall-man \ uninstall-polkit_policyDATA uninstall-privateDATA \ uninstall-privatePROGRAMS uninstall-sbinPROGRAMS \ uninstall-serviceDATA uninstall-systemdunitDATA uninstall-man: uninstall-man5 uninstall-man8 .MAKE: $(am__recursive_targets) all check check-am install install-am \ install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \ am--refresh check check-TESTS check-am clean \ clean-checkPROGRAMS clean-cscope clean-generic clean-local \ clean-noinstLIBRARIES clean-noinstPROGRAMS \ clean-privatePROGRAMS clean-sbinPROGRAMS 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-compile 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-data-local \ 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-man5 \ install-man8 install-pdf install-pdf-am \ install-polkit_policyDATA install-privateDATA \ install-privatePROGRAMS install-ps install-ps-am \ install-sbinPROGRAMS install-serviceDATA install-strip \ install-systemdunitDATA installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am recheck tags tags-am \ uninstall uninstall-am uninstall-dbusserviceDATA \ uninstall-local uninstall-man uninstall-man5 uninstall-man8 \ uninstall-polkit_policyDATA uninstall-privateDATA \ uninstall-privatePROGRAMS uninstall-sbinPROGRAMS \ uninstall-serviceDATA uninstall-systemdunitDATA .PRECIOUS: Makefile dist-hook: dist-doc-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 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 .desktop.in.in.desktop.in: $(V_SED) $(MKDIR_P) $(dir $@) && $(SED_SUBST) $< > $@ @INTLTOOL_DESKTOP_RULE@ .service.in.service: $(V_SED) $(MKDIR_P) $(dir $@) && $(SED_SUBST) $< > $@ .conf.in.conf: $(V_SED) $(MKDIR_P) $(dir $@) && $(SED_SUBST) $< > $@ $(DBUS_GENERATED): dbus/org.freedesktop.realmd.xml $(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.realmd. \ --generate-c-code realm-dbus-generated \ --c-namespace RealmDbus $< service/%.policy: service/%.policy.in $(INTLTOOL_V_MERGE) mkdir -p $(builddir)/service && \ LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u \ -c $(builddir)/po/.intltool-merge-cache \ $(srcdir)/po $< $@ # Install and uninstall the config for this distro install-service: $(INSTALL_PROGRAM) -d $(DESTDIR)$(privatedir) $(INSTALL_PROGRAM) -d $(DESTDIR)$(localstatedir)/lib/realmd $(INSTALL_PROGRAM) -d $(DESTDIR)$(cachedir) $(INSTALL_DATA) $(srcdir)/service/realmd-$(DISTRO).conf $(DESTDIR)$(privatedir)/realmd-distro.conf uninstall-service: rm -f $(DESTDIR)$(privatedir)/realmd-distro.conf install-data-local: install-service install-doc @true uninstall-local: uninstall-service uninstall-doc @true clean-local: clean-doc find $(builddir) -name '*.gc??' -delete @ENABLE_DOC_TRUE@.xml.8: @ENABLE_DOC_TRUE@ $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< @ENABLE_DOC_TRUE@.xml.5: @ENABLE_DOC_TRUE@ $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< @ENABLE_DOC_TRUE@realmd-org.freedesktop.realmd.generated: $(DBUS_INTERFACE) doc/manual/gdbus-fix-bugs.xsl @ENABLE_DOC_TRUE@ $(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.realmd. \ @ENABLE_DOC_TRUE@ --generate-docbook realmd $< && \ @ENABLE_DOC_TRUE@ (for f in $(DBUS_DOC_GENERATED); do \ @ENABLE_DOC_TRUE@ $(XSLTPROC) --output $$f.tmp $(srcdir)/doc/manual/gdbus-fix-bugs.xsl $$f && mv $$f.tmp $$f; \ @ENABLE_DOC_TRUE@ done) && \ @ENABLE_DOC_TRUE@ touch realmd-org.freedesktop.realmd.generated @ENABLE_DOC_TRUE@$(DBUS_DOC_GENERATED): realmd-org.freedesktop.realmd.generated @ENABLE_DOC_TRUE@$(DBUS_ESCAPED): $(DBUS_INTERFACE) doc/manual/escape-xml-to-text.xsl @ENABLE_DOC_TRUE@ $(AM_V_GEN) $(XSLTPROC) --nonet --novalid --output $(DBUS_ESCAPED) \ @ENABLE_DOC_TRUE@ $(srcdir)/doc/manual/escape-xml-to-text.xsl $< && \ @ENABLE_DOC_TRUE@ sed -i '/^[ ]*$$/d' $(DBUS_ESCAPED) @ENABLE_DOC_TRUE@manual/index.html: $(DBUS_DOC_GENERATED) $(MANUAL_DOCBOOK) $(MANUAL_INCLUDES) $(MAN_IN_FILES) $(DBUS_ESCAPED) $(MANUAL_STATIC) @ENABLE_DOC_TRUE@ $(AM_V_GEN) mkdir -p manual && cp $(srcdir)/doc/manual/static/* manual/ && \ @ENABLE_DOC_TRUE@ $(XMLTO) html -m $(srcdir)/doc/manual/gtk-doc.xsl -o manual \ @ENABLE_DOC_TRUE@ --searchpath $(abs_builddir):$(abs_srcdir):$(abs_builddir)/doc \ @ENABLE_DOC_TRUE@ $(srcdir)/$(MANUAL_DOCBOOK) @ENABLE_DOC_TRUE@internals/realmd-internals.html: $(INTERNAL_DOCBOOK) $(INTERNAL_INCLUDES) $(INTERNAL_STATIC) @ENABLE_DOC_TRUE@ $(AM_V_GEN) mkdir -p internals && cp $(srcdir)/doc/internals/static/* internals/ && \ @ENABLE_DOC_TRUE@ $(XMLTO) html-nochunks -m $(srcdir)/$(INTERNAL_PARAMS) -o internals \ @ENABLE_DOC_TRUE@ --searchpath $(abs_builddir):$(abs_srcdir) $(srcdir)/$(INTERNAL_DOCBOOK) @ENABLE_DOC_TRUE@render-images: @ENABLE_DOC_TRUE@ for i in $(SVG_IMAGES:.svg=); do \ @ENABLE_DOC_TRUE@ inkscape --export-png=static/$$i.png $$i.svg; \ @ENABLE_DOC_TRUE@ done @ENABLE_DOC_TRUE@website: @ENABLE_DOC_TRUE@ SRCDIR=$(srcdir) BUILDDIR=$(builddir) python $(srcdir)/doc/website/jinja2-build.py @ENABLE_DOC_TRUE@upload-website: website manual/index.html internals/realmd-internals.html @ENABLE_DOC_TRUE@ rsync -Hvax manual/./ anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/docs/./ @ENABLE_DOC_TRUE@ rsync -Hvax internals/./ anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/internals/./ @ENABLE_DOC_TRUE@ rsync -Hvax --exclude docs --exclude internals --exclude releases \ @ENABLE_DOC_TRUE@ html/* anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/ @ENABLE_DOC_TRUE@dist-doc-hook: manual/index.html @ENABLE_DOC_TRUE@ @mkdir $(distdir)/manual @ENABLE_DOC_TRUE@ @cp ./manual/* $(distdir)/manual @ENABLE_DOC_TRUE@all-local: manual/index.html internals/realmd-internals.html @ENABLE_DOC_TRUE@clean-doc: @ENABLE_DOC_TRUE@ @rm -rf *.tmp manual/ internals/ @ENABLE_DOC_TRUE@install-doc: @ENABLE_DOC_TRUE@ $(MKDIR_P) $(DESTDIR)$(htmldir) @ENABLE_DOC_TRUE@ $(INSTALL_DATA) $(builddir)/manual/* $(DESTDIR)$(htmldir) @ENABLE_DOC_TRUE@uninstall-doc: @ENABLE_DOC_TRUE@ rm -rf $(DESTDIR)$(htmldir) @ENABLE_DOC_TRUE@distcheck-hook: @ENABLE_DOC_TRUE@ @true @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 @ENABLE_DOC_FALSE@dist-doc-hook: @ENABLE_DOC_FALSE@ @echo "*** doc must be enabled (and --enable-doc) in order to make dist" @ENABLE_DOC_FALSE@ @false @ENABLE_DOC_FALSE@clean-doc: @ENABLE_DOC_FALSE@ @true @ENABLE_DOC_FALSE@install-doc: @ENABLE_DOC_FALSE@ @true @ENABLE_DOC_FALSE@uninstall-doc: @ENABLE_DOC_FALSE@ @true valgrind-suppressions: $(VALGRIND_SUPPRESSIONS) $(AM_V_GEN) cat $^ > $@ check-memory: valgrind-suppressions $(MAKE) LOG_FLAGS="-- libtool --mode=execute valgrind $(VALGRIND_ARGS)" \ $(AM_MAKEFLAGS) check recheck-memory: valgrind-suppressions $(MAKE) LOG_FLAGS="-- libtool --mode=execute valgrind $(VALGRIND_ARGS)" \ $(AM_MAKEFLAGS) recheck @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 # 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.16.2/Makefile.am0000664000175000017500000001205412556655340015103 0ustar00stefstef00000000000000NULL = ACLOCAL_AMFLAGS = -I build/m4 ${ACLOCAL_FLAGS} SUBDIRS = 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: dist-doc-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 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 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) $(MKDIR_P) $(dir $@) && $(SED_SUBST) $< > $@ @INTLTOOL_DESKTOP_RULE@ .service.in.service: $(V_SED) $(MKDIR_P) $(dir $@) && $(SED_SUBST) $< > $@ .conf.in.conf: $(V_SED) $(MKDIR_P) $(dir $@) && $(SED_SUBST) $< > $@ SUFFIXES = .conf .conf.in .desktop.in .desktop.in.in .service .service.in BUILT_SOURCES = DISTCLEANFILES = TESTS = check_PROGRAMS = man5_MANS = man8_MANS = noinst_LIBRARIES = noinst_PROGRAMS = private_PROGRAMS = private_DATA = sbin_PROGRAMS = CLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = include dbus/Makefile.am include service/Makefile.am include tests/Makefile.am include tools/Makefile.am install-data-local: install-service install-doc @true uninstall-local: uninstall-service uninstall-doc @true clean-local: clean-doc find $(builddir) -name '*.gc??' -delete # ------------------------------------------------------------ # Docs # if ENABLE_DOC include doc/manual/Makefile.am include doc/internals/Makefile.am include doc/website/Makefile.am EXTRA_DIST += \ doc/version.xml.in \ doc/version.xml DISTCLEANFILES += \ doc/website/Makefile upload-website: website manual/index.html internals/realmd-internals.html rsync -Hvax manual/./ anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/docs/./ rsync -Hvax internals/./ anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/internals/./ rsync -Hvax --exclude docs --exclude internals --exclude releases \ html/* anarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/realmd/ dist-doc-hook: manual/index.html @mkdir $(distdir)/manual @cp ./manual/* $(distdir)/manual all-local: manual/index.html internals/realmd-internals.html clean-doc: @rm -rf *.tmp manual/ internals/ install-doc: $(MKDIR_P) $(DESTDIR)$(htmldir) $(INSTALL_DATA) $(builddir)/manual/* $(DESTDIR)$(htmldir) uninstall-doc: rm -rf $(DESTDIR)$(htmldir) distcheck-hook: @true 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 dist-doc-hook: @echo "*** doc must be enabled (and --enable-doc) in order to make dist" @false clean-doc: @true install-doc: @true uninstall-doc: @true endif # ------------------------------------------------------------ # Testing # LOG_DRIVER = $(top_srcdir)/build/tap-driver LOG_COMPILER = $(top_srcdir)/build/tap-gtester VALGRIND_ARGS = --trace-children=no --quiet --error-exitcode=33 \ --suppressions=valgrind-suppressions --gen-suppressions=all \ --num-callers=16 VALGRIND_SUPPRESSIONS = \ build/glib.supp \ $(NULL) valgrind-suppressions: $(VALGRIND_SUPPRESSIONS) $(AM_V_GEN) cat $^ > $@ check-memory: valgrind-suppressions $(MAKE) LOG_FLAGS="-- libtool --mode=execute valgrind $(VALGRIND_ARGS)" \ $(AM_MAKEFLAGS) check recheck-memory: valgrind-suppressions $(MAKE) LOG_FLAGS="-- libtool --mode=execute valgrind $(VALGRIND_ARGS)" \ $(AM_MAKEFLAGS) recheck EXTRA_DIST += \ $(LOG_DRIVER) \ $(LOG_COMPILER) \ $(VALGRIND_SUPPRESSIONS) \ $(NULL) 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 realmd-0.16.2/po/0000775000175000017500000000000012556656347013473 5ustar00stefstef00000000000000realmd-0.16.2/po/ja.po0000664000175000017500000003426412410017007014403 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.16.2/po/ro.po0000664000175000017500000003312012410017007014417 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.16.2/po/es.po0000664000175000017500000004710612410017007014417 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.16.2/po/ca@valencia.po0000664000175000017500000003310412410017007016167 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.16.2/po/pt_BR.po0000664000175000017500000004747212410017007015024 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.16.2/po/sk.po0000664000175000017500000003310012410017007014412 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.16.2/po/cy.po0000664000175000017500000003312112410017007014413 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.16.2/po/gu.po0000664000175000017500000003304712410017007014422 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.16.2/po/vi.po0000664000175000017500000003304212410017007014420 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.16.2/po/eo.po0000664000175000017500000003305012410017007014404 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.16.2/po/de.po0000664000175000017500000003304512410017007014375 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.16.2/po/LINGUAS0000664000175000017500000000036012410017007014464 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.16.2/po/hr.po0000664000175000017500000003315712410017007014422 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.16.2/po/ca.po0000664000175000017500000003304612410017007014371 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.16.2/po/uk.po0000664000175000017500000006202512410017007014424 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.16.2/po/ms.po0000664000175000017500000003303512410017007014423 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.16.2/po/fi.po0000664000175000017500000003304712410017007014405 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.16.2/po/pl.po0000664000175000017500000004733612410017007014430 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.16.2/po/zh_TW.po0000664000175000017500000003305612410017007015042 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.16.2/po/hu.po0000664000175000017500000003305012410017007014415 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.16.2/po/tr.po0000664000175000017500000003304512410017007014432 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.16.2/po/sq.po0000664000175000017500000003304712410017007014432 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.16.2/po/mr.po0000664000175000017500000003304612410017007014424 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.16.2/po/cs.po0000664000175000017500000003307712410017007014417 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.16.2/po/kk.po0000664000175000017500000003303612410017007014412 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.16.2/po/ml.po0000664000175000017500000003305012410017007014411 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.16.2/po/bn_IN.po0000664000175000017500000003306412410017007014773 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.16.2/po/sv.po0000664000175000017500000003304612410017007014436 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.16.2/po/bg.po0000664000175000017500000003305012410017007014371 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.16.2/po/nl.po0000664000175000017500000003304412410017007014415 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.16.2/po/sl.po0000664000175000017500000004570312410017007014427 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.16.2/po/da.po0000664000175000017500000003742012410017007014372 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.16.2/po/fa.po0000664000175000017500000003303712410017007014374 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.16.2/po/ar.po0000664000175000017500000003317012410017007014406 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.16.2/po/zh_CN.po0000664000175000017500000004052112410017007015003 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.16.2/po/th.po0000664000175000017500000003303412410017007014416 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.16.2/po/hi.po0000664000175000017500000003304412410017007014404 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.16.2/po/kn.po0000664000175000017500000003303712410017007014416 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.16.2/po/it_IT.po0000664000175000017500000003306512410017007015017 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.16.2/po/nb.po0000664000175000017500000003306012410017007014401 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.16.2/po/az.po0000664000175000017500000003304312410017007014415 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.16.2/po/te.po0000664000175000017500000003304512410017007014415 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.16.2/po/fr.po0000664000175000017500000003467612410017007014427 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.16.2/po/ta.po0000664000175000017500000003304412410017007014410 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.16.2/po/lv.po0000664000175000017500000003311212410017007014421 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.16.2/po/it.po0000664000175000017500000003304712410017007014423 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.16.2/po/wa.po0000664000175000017500000003304512410017007014414 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.16.2/po/or.po0000664000175000017500000003304412410017007014424 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.16.2/po/as.po0000664000175000017500000003304712410017007014412 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.16.2/po/id.po0000664000175000017500000004555212410017007014407 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.16.2/po/es_CL.po0000664000175000017500000003306512410017007014774 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.16.2/po/en_GB.po0000664000175000017500000004452212410017007014761 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.16.2/po/sr@latin.po0000664000175000017500000003320412410017007015556 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.16.2/po/el.po0000664000175000017500000003304412410017007014404 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.16.2/po/pt.po0000664000175000017500000003305112410017007014425 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.16.2/po/fo.po0000664000175000017500000003304612410017007014412 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.16.2/po/eu.po0000664000175000017500000003304512410017007014416 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.16.2/po/POTFILES.in0000664000175000017500000000077312410017007015224 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.16.2/po/ru.po0000664000175000017500000003316012410017007014431 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.16.2/po/ko.po0000664000175000017500000004153112410017007014415 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.16.2/po/ga.po0000664000175000017500000003311212410017007014367 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.16.2/po/zh_HK.po0000664000175000017500000003306112410017007015006 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.16.2/po/nn.po0000664000175000017500000003306012410017007014415 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.16.2/po/Makefile.in.in0000644000175000017500000001575612556656033016151 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@ localedir = @localedir@ 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)$(localedir)/$$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)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ rm -f $(DESTDIR)$(localedir)/$$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.16.2/po/he.po0000664000175000017500000003304512410017007014401 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.16.2/po/ka.po0000664000175000017500000003304012410017007014373 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.16.2/po/gl.po0000664000175000017500000004614412410017007014413 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.16.2/po/ia.po0000664000175000017500000003305212410017007014374 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.16.2/po/lt.po0000664000175000017500000003315012410017007014421 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.16.2/po/pa.po0000664000175000017500000003306012410017007014402 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.16.2/AUTHORS0000664000175000017500000000003612410017007014071 0ustar00stefstef00000000000000Stef Walter realmd-0.16.2/service/0000775000175000017500000000000012556656347014515 5ustar00stefstef00000000000000realmd-0.16.2/service/realm-network.c0000664000175000017500000002031712410017007017420 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.16.2/service/realm-disco-rootdse.c0000664000175000017500000003016012556650635020527 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 "realm-options.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, gboolean domain_name) { 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); if (domain_name) { if (!realm_options_check_domain_name (value)) { g_free (value); g_message ("Invalid value in LDAP %s field", field); value = NULL; } } } 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", TRUE); 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", TRUE); 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", FALSE); 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.16.2/service/realm-disco.h0000664000175000017500000000223112410017007017030 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.16.2/service/realm-kerberos-membership.c0000664000175000017500000000135112410017007021671 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.16.2/service/realm-credential.c0000664000175000017500000002075312410017007020045 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.16.2/service/realm-samba-provider.c0000664000175000017500000001403312410017007020640 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.16.2/service/realm-credential.h0000664000175000017500000000370212410017007020045 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.16.2/service/realm-all-provider.c0000664000175000017500000002244412410017007020332 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.16.2/service/realm-sssd.h0000664000175000017500000000556312410017007016716 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.16.2/service/realm-disco-mscldap.h0000664000175000017500000000314512410017007020456 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.16.2/service/realm-usleep-async.c0000664000175000017500000000643612410017007020345 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.16.2/service/realm-sssd-ad.h0000664000175000017500000000202712410017007017270 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.16.2/service/realmd-defaults.conf0000664000175000017500000000122112547676425020430 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/%U@%D [example.com] example-administrator = Administrator example-password = bureaucracy realmd-0.16.2/service/realm-disco-mscldap.c0000664000175000017500000002172412556650513020474 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 "realm-options.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; if (!realm_options_check_domain_name (buffer)) { g_message ("received invalid NetLogon string characters"); 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.16.2/service/realm-kerberos-provider.h0000664000175000017500000000232312410017007021375 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.16.2/service/realm-samba-winbind.c0000664000175000017500000001554312547677317020502 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, GVariant *options, 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 (options, 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.16.2/service/realm-sssd-ad.c0000664000175000017500000004672612547677400017325 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 (options, 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; } /* * For other valid types of credentials we prefer adcli. */ } else if (cred->type == REALM_CREDENTIAL_CCACHE || (cred->type == REALM_CREDENTIAL_PASSWORD && cred->owner == REALM_CREDENTIAL_OWNER_ADMIN)) { if (!software) software = REALM_DBUS_IDENTIFIER_ADCLI; /* 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, g_dbus_method_invocation_get_connection (join->invocation), on_install_do_join, g_object_ref (task)); } g_object_unref (task); } static const RealmCredential * realm_sssd_ad_join_creds (RealmKerberosMembership *membership) { /* * 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 creds[] = { { 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, }, }; static const RealmCredential creds_no_auto[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN, }, { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_USER, }, { REALM_CREDENTIAL_CCACHE, REALM_CREDENTIAL_OWNER_ADMIN, }, { REALM_CREDENTIAL_SECRET, REALM_CREDENTIAL_OWNER_NONE, }, { 0, } }; const gchar *name; name = realm_kerberos_get_name (REALM_KERBEROS (membership)); return realm_options_automatic_join (name) ? creds : creds_no_auto; } 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 const RealmCredential * realm_sssd_ad_leave_creds (RealmKerberosMembership *membership) { /* For leave, we don't support one-time-password (ie: secret/none) */ static const RealmCredential creds[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN, }, { REALM_CREDENTIAL_CCACHE, REALM_CREDENTIAL_OWNER_ADMIN, }, { REALM_CREDENTIAL_AUTOMATIC, REALM_CREDENTIAL_OWNER_NONE, }, { 0, }, }; return creds; } 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) { iface->join_async = realm_sssd_ad_join_async; iface->join_finish = realm_sssd_ad_generic_finish; iface->join_creds = realm_sssd_ad_join_creds; iface->leave_async = realm_sssd_ad_leave_async; iface->leave_finish = realm_sssd_ad_generic_finish; iface->leave_creds = realm_sssd_ad_leave_creds; } realmd-0.16.2/service/realm-sssd-ipa.h0000664000175000017500000000204212410017007017452 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.16.2/service/realmd-redhat.conf0000664000175000017500000000350612551253632020062 0ustar00stefstef00000000000000# Distro specific overrides for redhat [paths] smb.conf = /etc/samba/smb.conf [samba-packages] samba-common-tools = /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.16.2/service/realm-daemon.h0000664000175000017500000000271112410017007017175 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.16.2/service/realm-adcli-enroll.h0000664000175000017500000000343512410017007020303 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.16.2/service/realm-disco-dns.c0000664000175000017500000002003412410017007017606 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.16.2/service/realm-packages.c0000664000175000017500000004665612554454330017540 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 CALL_TIMEOUT (24 * 60 * 60 * 1000) static gboolean 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; } static gchar * packages_to_list (gchar **package_ids) { GString *string; gchar **parts; gint i; string = g_string_new (""); for (i = 0; package_ids != NULL && package_ids[i] != NULL; i++) { parts = g_strsplit (package_ids[i], ";", 2); if (string->len) g_string_append (string, " "); g_string_append (string, parts[0]); g_strfreev (parts); } return g_string_free (string, FALSE); } typedef struct { GDBusConnection *connection; guint subscription; gchar *path; /* The method call */ const gchar *method; GVariant *parameters; /* Package IDs seen when resolving */ GHashTable *packages; GVariant *error_code; } PackageTransaction; static void package_transaction_free (gpointer data) { PackageTransaction *transaction = data; g_debug ("packages: freeing transtaction"); if (transaction->subscription) { g_dbus_connection_signal_unsubscribe (transaction->connection, transaction->subscription); } g_object_unref (transaction->connection); g_free (transaction->path); if (transaction->packages) g_hash_table_unref (transaction->packages); if (transaction->parameters) g_variant_unref (transaction->parameters); if (transaction->error_code) g_variant_unref (transaction->error_code); g_free (transaction); } static void on_transaction_signal (GDBusConnection *connection, const gchar *sender_name, const gchar *object_path, const gchar *interface_name, const gchar *signal_name, GVariant *parameters, gpointer user_data) { GTask *task = G_TASK (user_data); PackageTransaction *transaction = g_task_get_task_data (task); const gchar *message; const gchar *id; const gchar *pos; guint code, percent; gboolean installed; gchar *package; gchar *string; g_debug ("packages: signal: %s %s", signal_name, string = g_variant_print (parameters, FALSE)); g_free (string); if (g_str_equal (signal_name, "ErrorCode")) { if (transaction->error_code) g_variant_unref (transaction->error_code); transaction->error_code = g_variant_ref (parameters); } else if (g_str_equal (signal_name, "Finished")) { g_dbus_connection_signal_unsubscribe (connection, transaction->subscription); transaction->subscription = 0; if (!g_task_had_error (task)) { if (transaction->error_code) { g_variant_get (transaction->error_code, "(u&s)", &code, &message); g_task_return_new_error (task, REALM_ERROR, REALM_ERROR_FAILED, "%s", message); } else { g_task_return_boolean (task, TRUE); } } g_object_unref (task); } else if (g_str_equal (signal_name, "Package")) { g_variant_get (parameters, "(u&s&s)", &code, &id, &message); if (!transaction->packages) { transaction->packages = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); } pos = strchr (id, ';'); if (pos == NULL) pos = id + strlen (id); installed = (code == 1 /* PK_INFO_ENUM_INSTALLED */); package = g_strndup (id, pos - id); if (installed) id = ""; if (installed || !g_hash_table_lookup (transaction->packages, package)) { g_hash_table_replace (transaction->packages, package, g_strdup (id)); package = NULL; } g_free (package); } else if (g_str_equal (signal_name, "ItemProgress")) { g_variant_get (parameters, "(&suu)", &id, &code, &percent); g_debug ("packages: progress: %s %u %u", id, code, code); } } static void on_method_done (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); PackageTransaction *transaction = g_task_get_task_data (task); GError *error = NULL; GVariant *retval; retval = g_dbus_connection_call_finish (G_DBUS_CONNECTION (source), result, &error); if (error != NULL) { g_debug ("packages: call %s failed: %s", transaction->method, error->message); g_task_return_error (task, error); } else { g_debug ("packages: call %s completed", transaction->method); g_variant_unref (retval); } /* Not done until Finished signal */ g_object_unref (task); } static void on_set_hints (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); PackageTransaction *transaction; GError *error = NULL; GVariant *retval; gchar *string; transaction = g_task_get_task_data (task); retval = g_dbus_connection_call_finish (transaction->connection, result, &error); if (error != NULL) { g_debug ("packages: call SetHints failed: %s", error->message); g_task_return_error (task, error); } else { g_variant_unref (retval); g_debug ("packages: call %s %s", transaction->method, string = g_variant_print (transaction->parameters, FALSE)); g_dbus_connection_call (transaction->connection, "org.freedesktop.PackageKit", transaction->path, "org.freedesktop.PackageKit.Transaction", transaction->method, transaction->parameters, G_VARIANT_TYPE ("()"), G_DBUS_CALL_FLAGS_NO_AUTO_START, CALL_TIMEOUT, g_task_get_cancellable (task), on_method_done, g_object_ref (task)); } g_object_unref (task); } static void on_create_transaction (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); PackageTransaction *transaction; GError *error = NULL; GVariant *retval; const gchar *hints[] = { "interactive=false", "background=false", NULL }; transaction = g_task_get_task_data (task); retval = g_dbus_connection_call_finish (transaction->connection, result, &error); if (error != NULL) { g_debug ("packages: CreateTransaction failed: %s", error->message); g_task_return_error (task, error); } else { g_variant_get (retval, "(o)", &transaction->path); g_variant_unref (retval); transaction->subscription = g_dbus_connection_signal_subscribe (transaction->connection, "org.freedesktop.PackageKit", "org.freedesktop.PackageKit.Transaction", NULL, transaction->path, NULL, G_DBUS_SIGNAL_FLAGS_NONE, on_transaction_signal, task, NULL); g_debug ("packages: SetHints call"); g_dbus_connection_call (transaction->connection, "org.freedesktop.PackageKit", transaction->path, "org.freedesktop.PackageKit.Transaction", "SetHints", g_variant_new ("(^as)", hints), G_VARIANT_TYPE ("()"), G_DBUS_CALL_FLAGS_NO_AUTO_START, CALL_TIMEOUT, g_task_get_cancellable (task), on_set_hints, g_object_ref (task)); } g_object_unref (task); } static void package_transaction_create (const gchar *method, GVariant *parameters, GDBusConnection *connection, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { PackageTransaction *transaction; GTask *task; task = g_task_new (NULL, cancellable, callback, user_data); transaction = g_new0 (PackageTransaction, 1); transaction->method = method; transaction->parameters = g_variant_ref_sink (parameters); transaction->connection = g_object_ref (connection); g_task_set_task_data (task, transaction, package_transaction_free); g_debug ("packages: CreateTransaction call"); g_dbus_connection_call (connection, "org.freedesktop.PackageKit", "/org/freedesktop/PackageKit", "org.freedesktop.PackageKit", "CreateTransaction", g_variant_new ("()"), G_VARIANT_TYPE ("(o)"), G_DBUS_CALL_FLAGS_NONE, CALL_TIMEOUT, cancellable, on_create_transaction, g_object_ref (task)); } static void packages_install_async (GDBusConnection *connection, const gchar **package_ids, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { guint64 transaction_flags = 1 /* PK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED */; package_transaction_create ("InstallPackages", g_variant_new ("(t^as)", transaction_flags, package_ids), connection, cancellable, callback, user_data); } static gboolean packages_install_finish (GAsyncResult *result, GError **error) { return g_task_propagate_boolean (G_TASK (result), error); } static void packages_resolve_async (GDBusConnection *connection, const gchar **package_names, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { guint64 flags = 1 << 18 /* PK_FILTER_ENUM_ARCH */; package_transaction_create ("Resolve", g_variant_new ("(t^as)", flags, package_names), connection, cancellable, callback, user_data); } static gchar ** packages_resolve_finish (GAsyncResult *result, GError **error) { GTask *task = G_TASK (result); PackageTransaction *transaction; gchar **requested; GPtrArray *packages; GHashTableIter iter; guint64 flags; gchar *missing; gchar *id; gint i; if (!g_task_propagate_boolean (task, error)) return NULL; transaction = g_task_get_task_data (task); g_variant_get (transaction->parameters, "(t^a&s)", &flags, &requested); /* * In an unexpected move, Resolve() 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. */ packages = g_ptr_array_new (); for (i = 0; requested[i] != NULL; i++) { if (!g_hash_table_lookup (transaction->packages, requested[i])) g_ptr_array_add (packages, requested[i]); } missing = NULL; if (packages->len) { g_ptr_array_add (packages, NULL); missing = packages_to_list ((gchar **)packages->pdata); 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 (packages, TRUE); if (missing) { return NULL; } packages = g_ptr_array_new (); g_hash_table_iter_init (&iter, transaction->packages); while (g_hash_table_iter_next (&iter, NULL, (gpointer *)&id)) { if (!g_str_equal (id, "")) { g_hash_table_iter_steal (&iter); g_ptr_array_add (packages, id); } } g_ptr_array_add (packages, NULL); return (gchar **)g_ptr_array_free (packages, FALSE); } typedef struct { GDBusConnection *connection; GDBusMethodInvocation *invocation; gchar **packages; gboolean automatic; } InstallClosure; static void install_closure_free (gpointer data) { InstallClosure *install = data; g_clear_object (&install->invocation); g_clear_object (&install->connection); g_strfreev (install->packages); g_free (install); } static void on_install_installed (GObject *source, GAsyncResult *result, gpointer user_data) { GTask *task = G_TASK (user_data); GError *error = NULL; packages_install_finish (result, &error); if (error == NULL) { 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; gchar *remote; gchar *missing; names = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); package_ids = packages_resolve_finish (result, &error); if (error == NULL) { missing = packages_to_list (package_ids); 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); packages_install_async (install->connection, (const gchar **)package_ids, cancellable, on_install_installed, g_object_ref (task)); if (cancellable) g_object_unref (cancellable); } 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 == G_DBUS_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 = packages_to_list (install->packages); 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, GDBusConnection *connection, GAsyncReadyCallback callback, gpointer user_data) { GTask *task; InstallClosure *install; gboolean unconditional; gchar **required_files; GCancellable *cancellable; gchar *string; gboolean have; g_return_if_fail (package_sets != NULL); g_return_if_fail (G_IS_DBUS_CONNECTION (connection)); task = g_task_new (NULL, NULL, callback, user_data); install = g_new0 (InstallClosure, 1); install->automatic = realm_options_automatic_install (); install->connection = g_object_ref (connection); g_task_set_task_data (task, install, install_closure_free); lookup_required_files_and_packages (package_sets, &install->packages, &required_files, &unconditional); 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 = 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"); cancellable = realm_invocation_get_cancellable (install->invocation); packages_resolve_async (connection, (const gchar **)install->packages, cancellable, on_install_resolved, g_object_ref (task)); g_object_unref (cancellable); } 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; } realmd-0.16.2/service/realm-example.h0000664000175000017500000000225212410017007017365 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.16.2/service/realm-invocation.c0000664000175000017500000004030712410017007020101 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.16.2/service/realm-kerberos.c0000664000175000017500000010525312513167350017561 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, RealmKerberosMembership *membership, RealmCredential *cred, gboolean join, GError **error) { const RealmCredential *supported; const char *message = NULL; gboolean found = FALSE; gint i; g_assert (iface->join_creds != NULL); g_assert (iface->leave_creds != NULL); supported = (join ? iface->join_creds (membership) : iface->leave_creds (membership)); 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); RealmKerberosMembership *membership = REALM_KERBEROS_MEMBERSHIP (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, membership, 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) (membership, cred, options, invocation, on_enroll_complete, method); } else { g_return_if_fail (iface->leave_finish != NULL); (iface->leave_async) (membership, 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; RealmKerberosMembership *membership; 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); membership = REALM_KERBEROS_MEMBERSHIP (self); supported = realm_credential_build_supported (iface->join_creds (membership)); realm_dbus_kerberos_membership_set_supported_join_credentials (self->pv->membership_iface, supported); supported = realm_credential_build_supported (iface->leave_creds (membership)); 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.16.2/service/realm-login-name.c0000664000175000017500000000667312410017007017766 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.16.2/service/realm-samba-util.c0000664000175000017500000001026212410017007017763 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.16.2/service/realm-kerberos-provider.c0000664000175000017500000001036112410017007021371 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.16.2/service/org.freedesktop.realmd.policy.in0000664000175000017500000000402712410017007022657 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 auth_admin 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. auth_admin 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. auth_admin auth_admin auth_admin_keep realmd-0.16.2/service/realm-samba-enroll.h0000664000175000017500000000375512410017007020317 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.16.2/service/realm-provider.c0000664000175000017500000003545712410017007017574 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.16.2/service/realm-settings.h0000664000175000017500000000404312410017007017572 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.16.2/service/realm-invocation.h0000664000175000017500000000253112410017007020103 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.16.2/service/realm-provider.h0000664000175000017500000001136012410017007017564 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.16.2/service/realm-usleep-async.h0000664000175000017500000000201112410017007020333 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.16.2/service/realm-ini-config.h0000664000175000017500000001761612410017007017766 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.16.2/service/realm-sssd-config.c0000664000175000017500000001626412410017007020154 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.16.2/service/realm-samba-winbind.h0000664000175000017500000000325612547677615020506 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, GVariant *options, 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.16.2/service/realm-sssd-provider.c0000664000175000017500000001670412410017007020540 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.16.2/service/realm-disco.c0000664000175000017500000000266612410017007017037 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.16.2/service/realm-service.c0000664000175000017500000001734712410017007017400 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.16.2/service/realm-disco-dns.h0000664000175000017500000000210412410017007017611 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.16.2/service/realm-kerberos-membership.h0000664000175000017500000000554112513167350021716 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) (RealmKerberosMembership *realm); 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) (RealmKerberosMembership *realm); }; GType realm_kerberos_membership_get_type (void) G_GNUC_CONST; G_END_DECLS #endif /* __REALM_KERBEROS_MEMBERSHIP_H__ */ realmd-0.16.2/service/realm-disco-domain.h0000664000175000017500000000203312410017007020275 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.16.2/service/realm-disco-domain.c0000664000175000017500000002057212410017007020300 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.16.2/service/realm-sssd-config.h0000664000175000017500000000502712410017007020154 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.16.2/service/realmd-debian.conf0000664000175000017500000000311012410017007020010 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.16.2/service/realm-errors.c0000664000175000017500000000350312410017007017241 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.16.2/service/realm-samba-util.h0000664000175000017500000000140212410017007017764 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.16.2/service/realm-diagnostics.h0000664000175000017500000000320712410017007020242 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.16.2/service/realm-example-provider.h0000664000175000017500000000230112410017007021210 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.16.2/service/realm-network.h0000664000175000017500000000174212410017007017426 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.16.2/service/realm-daemon.c0000664000175000017500000003504612410017007017177 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 #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.16.2/service/realm-options.h0000664000175000017500000000272712556650425017456 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 (void); gboolean realm_options_automatic_join (const gchar *realm_name); 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 (GVariant *options, const gchar *realm_name); gboolean realm_options_qualify_names (const gchar *realm_name); gboolean realm_options_check_domain_name (const gchar *domain_name); G_END_DECLS #endif /* __REALM_OPTIONS_H__ */ realmd-0.16.2/service/realm-command.c0000664000175000017500000004265312410017007017354 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.16.2/service/realm-login-name.h0000664000175000017500000000225412410017007017762 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.16.2/service/realm-ini-config.c0000664000175000017500000007770612513156762020007 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.16.2/service/realm-example-provider.c0000664000175000017500000001670612410017007021221 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.16.2/service/realm-ldap.h0000664000175000017500000000276412410017007016662 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.16.2/service/realmd-suse.conf0000664000175000017500000000270312410017007017554 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.16.2/service/Makefile.am0000664000175000017500000001027012556655415016544 0ustar00stefstef00000000000000private_PROGRAMS += \ realmd REALMD_CONFIGS = \ service/realmd-defaults.conf \ service/realmd-redhat.conf \ service/realmd-debian.conf \ service/realmd-suse.conf \ $(NULL) private_DATA += \ service/realmd-defaults.conf polkit_policydir = $(POLKIT_ACTION_DIR) polkit_policy_in_files = service/org.freedesktop.realmd.policy.in polkit_policy_DATA = $(polkit_policy_in_files:.policy.in=.policy) service/%.policy: service/%.policy.in $(INTLTOOL_V_MERGE) mkdir -p $(builddir)/service && \ LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u \ -c $(builddir)/po/.intltool-merge-cache \ $(srcdir)/po $< $@ realmd_SOURCES = \ service/realm-adcli-enroll.c \ service/realm-adcli-enroll.h \ service/realm-all-provider.c \ service/realm-all-provider.h \ service/realm-command.c \ service/realm-command.h \ service/realm-credential.c \ service/realm-credential.h \ service/realm-daemon.c \ service/realm-daemon.h \ service/realm-diagnostics.c \ service/realm-diagnostics.h \ service/realm-disco.c \ service/realm-disco.h \ service/realm-disco-dns.c \ service/realm-disco-dns.h \ service/realm-disco-domain.c \ service/realm-disco-domain.h \ service/realm-disco-mscldap.c \ service/realm-disco-mscldap.h \ service/realm-disco-rootdse.c \ service/realm-disco-rootdse.h \ service/realm-errors.c \ service/realm-errors.h \ service/realm-example.c \ service/realm-example.h \ service/realm-example-provider.c \ service/realm-example-provider.h \ service/realm-ini-config.c \ service/realm-ini-config.h \ service/realm-invocation.c \ service/realm-invocation.h \ service/realm-kerberos.c \ service/realm-kerberos.h \ service/realm-kerberos-membership.c \ service/realm-kerberos-membership.h \ service/realm-kerberos-provider.c \ service/realm-kerberos-provider.h \ service/realm-ldap.c \ service/realm-ldap.h \ service/realm-login-name.c \ service/realm-login-name.h \ service/realm-network.c \ service/realm-network.h \ service/realm-options.c \ service/realm-options.h \ service/realm-packages.c \ service/realm-packages.h \ service/realm-provider.c \ service/realm-provider.h \ service/realm-samba.c \ service/realm-samba.h \ service/realm-samba-config.c \ service/realm-samba-config.h \ service/realm-samba-enroll.c \ service/realm-samba-enroll.h \ service/realm-samba-provider.c \ service/realm-samba-provider.h \ service/realm-samba-util.c \ service/realm-samba-util.h \ service/realm-samba-winbind.c \ service/realm-samba-winbind.h \ service/realm-service.c \ service/realm-service.h \ service/realm-settings.c \ service/realm-settings.h \ service/realm-sssd.c \ service/realm-sssd.h \ service/realm-sssd-ad.c \ service/realm-sssd-ad.h \ service/realm-sssd-provider.c \ service/realm-sssd-provider.h \ service/realm-sssd-config.c \ service/realm-sssd-config.h \ service/realm-sssd-ipa.c \ service/realm-sssd-ipa.h \ service/realm-usleep-async.c \ service/realm-usleep-async.h \ service/safe-format-string.c \ service/safe-format-string.h \ $(NULL) realmd_CFLAGS = \ -I$(top_srcdir)/dbus \ -I$(top_srcdir)/build \ -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 = \ 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-service: $(INSTALL_PROGRAM) -d $(DESTDIR)$(privatedir) $(INSTALL_PROGRAM) -d $(DESTDIR)$(localstatedir)/lib/realmd $(INSTALL_PROGRAM) -d $(DESTDIR)$(cachedir) $(INSTALL_DATA) $(srcdir)/service/realmd-$(DISTRO).conf $(DESTDIR)$(privatedir)/realmd-distro.conf uninstall-service: rm -f $(DESTDIR)$(privatedir)/realmd-distro.conf # ------------------------------------------------------------------ EXTRA_DIST += \ $(polkit_policy_in_files) \ $(REALMD_CONFIGS) \ $(private_DATA) \ $(provider_DATA) \ $(NULL) CLEANFILES += \ $(polkit_policy_DATA) \ $(NULL) realmd-0.16.2/service/realm-samba-config.h0000664000175000017500000000237412410017007020265 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.16.2/service/realm-adcli-enroll.c0000664000175000017500000002064112410017007020274 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.16.2/service/realm-command.h0000664000175000017500000000356012410017007017353 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.16.2/service/realm-ldap.c0000664000175000017500000002143412410017007016650 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.16.2/service/realm-options.c0000664000175000017500000000750412556651543017451 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" #include gboolean realm_options_automatic_install (void) { 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 (GVariant *options, const gchar *realm_name) { gboolean mapping = FALSE; gboolean option = FALSE; gchar *section; if (options) { option = g_variant_lookup (options, REALM_DBUS_OPTION_AUTOMATIC_ID_MAPPING, "b", &mapping); } if (realm_name && !option) { section = g_utf8_casefold (realm_name, -1); mapping = realm_settings_boolean (realm_name, REALM_DBUS_OPTION_AUTOMATIC_ID_MAPPING, TRUE); g_free (section); } return mapping; } gboolean realm_options_automatic_join (const gchar *realm_name) { gchar *section; gboolean mapping; section = g_utf8_casefold (realm_name, -1); mapping = realm_settings_boolean (realm_name, "automatic-join", FALSE); 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; } gboolean realm_options_check_domain_name (const gchar *name) { /* * DNS Domain names are pretty liberal (internet domain names * are more restrictive) See RFC 2181 section 11 * * http://www.ietf.org/rfc/rfc2181.txt * * However we cannot consume names with whitespace and problematic * punctuation, due to the various programs that parse the * configuration files we set up. */ gsize i, len; static const gchar *invalid = "=[]:"; g_return_val_if_fail (name != NULL, FALSE); for (i = 0, len = strlen (name); i < len; i++) { if (name[i] <= ' ') return FALSE; if (strchr (invalid, name[i])) return FALSE; } return TRUE; } realmd-0.16.2/service/realm-samba-enroll.c0000664000175000017500000003477612410017007020321 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.16.2/service/realm-all-provider.h0000664000175000017500000000253612410017007020337 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.16.2/service/realm-sssd-ipa.c0000664000175000017500000003753412513177162017500 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, g_dbus_method_invocation_get_connection (invocation), on_install_do_join, g_object_ref (task)); } g_object_unref (task); } static const RealmCredential * realm_sssd_ipa_join_creds (RealmKerberosMembership *membership) { /* * 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 creds[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN }, { REALM_CREDENTIAL_SECRET, REALM_CREDENTIAL_OWNER_NONE, }, { 0, } }; return creds; } 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 const RealmCredential * realm_sssd_ipa_leave_creds (RealmKerberosMembership *membership) { static const RealmCredential creds[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN, }, { REALM_CREDENTIAL_AUTOMATIC, REALM_CREDENTIAL_OWNER_NONE, }, { 0, } }; return creds; } 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) { iface->join_async = realm_sssd_ipa_join_async; iface->join_finish = realm_sssd_ipa_generic_finish; iface->join_creds = realm_sssd_ipa_join_creds; iface->leave_async = realm_sssd_ipa_leave_async; iface->leave_finish = realm_sssd_ipa_generic_finish; iface->leave_creds = realm_sssd_ipa_leave_creds; } realmd-0.16.2/service/realm-example.c0000664000175000017500000004000512513167350017371 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 const RealmCredential * realm_example_join_creds (RealmKerberosMembership *membership) { static const RealmCredential creds[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN }, { 0, } }; return creds; } 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 const RealmCredential * realm_example_leave_creds (RealmKerberosMembership *membership) { static const RealmCredential creds[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN }, { REALM_CREDENTIAL_AUTOMATIC, REALM_CREDENTIAL_OWNER_NONE }, { 0, } }; return creds; } 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) { iface->join_async = realm_example_join_async; iface->join_finish = realm_example_membership_generic_finish; iface->join_creds = realm_example_join_creds; iface->leave_async = realm_example_leave_async; iface->leave_finish = realm_example_membership_generic_finish; iface->leave_creds = realm_example_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.16.2/service/realm-settings.c0000664000175000017500000001300412556655363017612 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.16.2/service/safe-format-string.h0000664000175000017500000000602112410017007020342 0ustar00stefstef00000000000000/* * This file originated in the realmd project * * 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_FORMAT_STRING_H__ #define __SAFE_FORMAT_STRING_H__ #include /* * This is a neutered printf variant that can be used with user-provided * format strings. * * Not only are the normal printf functions not safe to use on user-provided * input (ie: can crash, be abused, etc), they're also very brittle with * regards to positional arguments: one must consume them all or printf will * just abort(). This is because arguments of different sizes are accepted * in the varargs. So obviously the positional code cannot know the offset * of the relevant varargs if some are not consumed (ie: tagged with a * field type). * * Thus the only accepted field type here is 's'. It's all we need. * * In general new code should use a better syntax than printf format strings * for configuration options. This code is here to facilitate robust processing * of the full_name_format syntax we already have, which has been documented as * "printf(3) compatible". * * Features: * - Only string 's' fields are supported * - All the varargs should be strings, followed by a NULL argument * - Both positional '%$1s' and non-positional '%s' are supported * - Field widths '%8s' work as expected * - Precision '%.8s' works, but precision cannot be read from a field * - Left alignment flag is supported '%-8s'. * - The space flag '% 8s' has no effect (it's the default for string fields). * - No more than six digits are supported for widths, precisions, etc. * - Percent signs are to be escaped as usual '%%' * * Use of other flags or field types will cause the relevant printf call to * return -1. Using too many arguments or incorrect positional arguments * will also cause the call to fail. * * Functions return -1 on failure and set errno. Otherwise they return * the full length of the string that would be formatted, with the same * semantics as snprintf(). */ #ifndef GNUC_NULL_TERMINATED #if __GNUC__ >= 4 #define GNUC_NULL_TERMINATED __attribute__((__sentinel__)) #else #define GNUC_NULL_TERMINATED #endif #endif int safe_format_string (char *str, size_t len, const char *format, ...) GNUC_NULL_TERMINATED; int safe_format_string_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_FORMAT_STRING_H__ */ realmd-0.16.2/service/realm-errors.h0000664000175000017500000000213112410017007017242 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.16.2/service/realm-samba-provider.h0000664000175000017500000000225112410017007020644 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.16.2/service/realm-packages.h0000664000175000017500000000224212513177162017524 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); void realm_packages_install_async (const gchar **package_sets, GDBusMethodInvocation *invocation, GDBusConnection *connection, GAsyncReadyCallback callback, gpointer user_data); gboolean realm_packages_install_finish (GAsyncResult *result, GError **error); G_END_DECLS #endif /* __REALM_PACKAGES_H__ */ realmd-0.16.2/service/realm-samba.c0000664000175000017500000005126712547677365017060 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->options, 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, g_dbus_method_invocation_get_connection (enroll->invocation), on_install_do_join, g_object_ref (task)); } g_free (enrolled); g_object_unref (task); } static const RealmCredential * realm_samba_join_creds (RealmKerberosMembership *self) { static const RealmCredential creds[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN }, { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_USER }, { REALM_CREDENTIAL_CCACHE, REALM_CREDENTIAL_OWNER_ADMIN }, { 0, }, }; return creds; } 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 const RealmCredential * realm_samba_leave_creds (RealmKerberosMembership *self) { static const RealmCredential creds[] = { { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_ADMIN }, { REALM_CREDENTIAL_PASSWORD, REALM_CREDENTIAL_OWNER_USER }, { REALM_CREDENTIAL_AUTOMATIC, REALM_CREDENTIAL_OWNER_NONE }, { 0, }, }; return creds; } 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) { iface->join_async = realm_samba_join_async; iface->join_finish = realm_samba_membership_generic_finish; iface->join_creds = realm_samba_join_creds; iface->leave_async = realm_samba_leave_async; iface->leave_finish = realm_samba_membership_generic_finish; iface->leave_creds = realm_samba_leave_creds; } RealmKerberos * realm_samba_new (const gchar *name, RealmProvider *provider) { return g_object_new (REALM_TYPE_SAMBA, "name", name, "provider", provider, NULL); } realmd-0.16.2/service/realm-disco-rootdse.h0000664000175000017500000000222012410017007020503 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.16.2/service/realm-diagnostics.c0000664000175000017500000001227312410017007020240 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.16.2/service/realm-samba-config.c0000664000175000017500000000447412410017007020263 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.16.2/service/realm-samba.h0000664000175000017500000000222212410017007017012 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.16.2/service/realm-sssd-provider.h0000664000175000017500000000222512410017007020536 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.16.2/service/realm-kerberos.h0000664000175000017500000001433312410017007017551 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.16.2/service/safe-format-string.c0000664000175000017500000001634112410017007020343 0ustar00stefstef00000000000000/* * This file originated in the realmd project * * 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 */ /* * Some snippets of code from gnulib, but have since been refactored * to within an inch of their life... * * vsprintf with automatic memory allocation. * Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Library 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 * Library General Public License for more details. */ #include "config.h" #include "safe-format-string.h" #include #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 (* copy_fn) (void *, const char *, size_t), void *data) { char eight[] = " "; int num; while (count > 0) { num = MIN (count, 8); copy_fn (data, eight, num); count -= num; *total += num; } } static void dummy_copy_fn (void *data, const char *piece, size_t len) { } int safe_format_string_cb (void (* copy_fn) (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; int i; if (!copy_fn) copy_fn = dummy_copy_fn; total = 0; cp = format; while (*cp) { /* Piece of raw string */ if (*cp != '%') { len = strcspn (cp, "%"); copy_fn (data, cp, len); total += len; cp += len; continue; } cp++; /* An literal percent sign? */ if (*cp == '%') { copy_fn (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 (i = 0; i < 6 && *cp >= '0' && *cp <= '9'; i++, cp++) { n = 10 * n + (*cp - '0'); } /* Positional argument 0 is invalid. */ if (n == 0) { errno = EINVAL; return -1; } /* Positional argument N too high */ if (n > num_args) { errno = EINVAL; 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 (i = 0; i < 6 && *cp >= '0' && *cp <= '9'; i++, cp++) { width = 10 * width + (*cp - '0'); } } /* Parse the precision. */ if (*cp == '.') { precision = 0; for (i = 0, cp++; i < 6 && *cp >= '0' && *cp <= '9'; cp++, i++) { 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) { errno = EINVAL; return -1; } value = args[at_arg++]; } break; /* No other conversion characters are supported */ default: errno = EINVAL; 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, copy_fn, data); /* The actual data */; copy_fn (data, value, len); total += len; /* Do we need padding? */ safe_padding (left ? width - len : 0, &total, copy_fn, data); } return total; } 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; } struct sprintf_ctx { char *data; size_t length; size_t alloc; }; static void snprintf_copy_fn (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; if (length > 0) memcpy (cx->data + cx->length, piece, length); /* Null termination happens later */ cx->length += length; } int safe_format_string (char *str, size_t len, const char *format, ...) { struct sprintf_ctx cx; int num_args; va_list va; const char **args; int error = 0; 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) { errno = ENOMEM; return -1; } if (len) cx.data[0] = '\0'; ret = safe_format_string_cb (snprintf_copy_fn, &cx, format, args, num_args); if (ret < 0) { error = errno; } else if (len > 0) { cx.data[MIN (cx.length, len - 1)] = '\0'; } free (args); if (error) errno = error; return ret; } realmd-0.16.2/service/realm-service.h0000664000175000017500000000711512410017007017375 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.16.2/service/realm-sssd.c0000664000175000017500000005064512410317600016714 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-format-string.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 format_string_piece (void *data, const char *piece, size_t len) { g_string_append_len (data, piece, len); } static void update_login_formats (RealmSssd *self) { RealmKerberos *kerberos = REALM_KERBEROS (self); gchar *login_formats[2] = { NULL, NULL }; const gchar *args[3]; GString *formatted; 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"); if (format == NULL) format = realm_ini_config_get (self->pv->config, "sssd", "full_name_format"); if (format == NULL) format = g_strdup ("%1$s@%2$s"); /* 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. */ formatted = g_string_new (""); args[0] = "%U"; args[1] = domain_name ? domain_name : ""; args[2] = self->pv->domain; if (safe_format_string_cb (format_string_piece, formatted, format, args, 3) >= 0) { login_formats[0] = formatted->str; realm_kerberos_set_login_formats (kerberos, (const gchar **)login_formats); } g_string_free (formatted, TRUE); 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.16.2/aclocal.m40000664000175000017500000020200712556656057014714 0ustar00stefstef00000000000000# generated automatically by aclocal 1.15 -*- Autoconf -*- # Copyright (C) 1996-2014 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-2014 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-2014 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.15' 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.15], [], [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.15])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-2014 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], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2014 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-2014 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-2014 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-2014 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. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # 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 (and possibly the TAP driver). 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 # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) 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-2014 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+set}" != 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-2014 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-2014 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-2014 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 ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2014 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-2014 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) 1999-2014 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. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != 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 AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2014 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-2014 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-2014 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-2014 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-2014 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-2014 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.16.2/COPYING0000664000175000017500000006364112410017007014067 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.16.2/INSTALL0000664000175000017500000000000012556656032014063 0ustar00stefstef00000000000000realmd-0.16.2/configure.ac0000664000175000017500000002505112556655565015347 0ustar00stefstef00000000000000AC_PREREQ(2.63) AC_INIT([realmd], [0.16.2], [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]) AC_CONFIG_AUX_DIR([build]) AM_INIT_AUTOMAKE([1.11 tar-ustar foreign -Wno-portability subdir-objects]) 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) # -------------------------------------------------------------------- # 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],, [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='${prefix}/lib/realmd' AC_SUBST(privatedir) cachedir='${localstatedir}/cache/realmd' AC_SUBST(cachedir) AC_CONFIG_FILES([ Makefile doc/version.xml po/Makefile.in po/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.16.2/build/0000775000175000017500000000000012556656347014154 5ustar00stefstef00000000000000realmd-0.16.2/build/depcomp0000755000175000017500000005601612453220421015507 0ustar00stefstef00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-2014 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.16.2/build/tap-driver0000775000175000017500000003045512410017007016133 0ustar00stefstef00000000000000#!/usr/bin/python # Copyright (C) 2013 Red Hat, Inc. # # Cockpit 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. # # Cockpit 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 Cockpit; If not, see . # # This is a TAP driver for automake # # In particular it leaves stderr untouched, and is cleaner than the # one implemented in shell that is making the rounds. # # This implements the automake "Custom Test Driver" protocol: # https://www.gnu.org/software/automake/manual/html_node/Custom-Test-Drivers.html # # This consumes the Test Anything Protocol (ie: TAP) # https://metacpan.org/pod/release/PETDANCE/Test-Harness-2.64/lib/Test/Harness/TAP.pod # import argparse import os import select import subprocess import sys class Driver: def __init__(self, args): self.argv = args.command self.test_name = args.test_name self.log = open(args.log_file, "w") self.log.write("# %s\n" % " ".join(sys.argv)) self.trs = open(args.trs_file, "w") self.color_tests = args.color_tests self.expect_failure = args.expect_failure def report(self, code, *args): CODES = { "XPASS": '\x1b[0;31m', # red "FAIL": '\x1b[0;31m', # red "PASS": '\x1b[0;32m', # grn "XFAIL": '\x1b[1;32m', # lgn "SKIP": '\x1b[1;34m', # blu "ERROR": '\x1b[0;35m', # mgn } # Print out to console if self.color_tests: if code in CODES: sys.stdout.write(CODES[code]) sys.stdout.write(code) if self.color_tests: sys.stdout.write('\x1b[m') sys.stdout.write(": ") sys.stdout.write(self.test_name) sys.stdout.write(" ") for arg in args: sys.stdout.write(str(arg)) sys.stdout.write("\n") sys.stdout.flush() # Book keeping if code in CODES: self.trs.write(":test-result: %s\n" % code) def result_pass(self, *args): if self.expect_failure: self.report("XPASS", *args) else: self.report("PASS", *args) def result_fail(self, *args): if self.expect_failure: self.report("XFAIL", *args) else: self.report("FAIL", *args) def result_skip(self, *args): if self.expect_failure: self.report("XFAIL", *args) else: self.report("SKIP", *args) def report_error(self, description=""): self.report("ERROR", "", description) def process(self, output): pass def execute(self): try: proc = subprocess.Popen(self.argv, close_fds=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) except OSError, ex: self.report_error("Couldn't run %s: %s" % (self.argv[0], str(ex))) return outf = proc.stdout.fileno() errf = proc.stderr.fileno() rset = [outf, errf] while len(rset) > 0: ret = select.select(rset, [], [], 10) if outf in ret[0]: data = os.read(outf, 1024) if data == "": rset.remove(outf) self.log.write(data) self.process(data) if errf in ret[0]: data = os.read(errf, 1024) if data == "": rset.remove(errf) self.log.write(data) sys.stderr.write(data) proc.wait() return proc.returncode class TapDriver(Driver): def __init__(self, args): Driver.__init__(self, args) self.output = "" self.reported = { } self.test_plan = None self.late_plan = False self.errored = False self.bail_out = False def report(self, code, num, *args): if num: Driver.report(self, code, num, " ", *args) self.reported[num] = code else: Driver.report(self, code, *args) if code == "ERROR": self.errored = True def consume_test_line(self, ok, data): # It's an error if the caller sends a test plan in the middle of tests if self.late_plan: self.report_error("Got tests after late TAP test plan") self.late_plan = False # Parse out a number and then description (num, unused, description) = data.partition(" ") try: num = int(num) except ValueError: self.report_error("Invalid test number: %s" % data) return description = description.lstrip() # Special case if description starts with this, then skip if description.lower().startswith("# skip"): self.result_skip(num, description) elif ok: self.result_pass(num, description) else: self.result_fail(num, description) def consume_test_plan(self, first, last): # Only one test plan is supported if self.test_plan: self.report_error("Get a second TAP test plan") return try: first = int(first) last = int(last) except ValueError: self.report_error("Invalid test plan: %s..%s" % (first, last)) return self.test_plan = (first, last) self.late_plan = self.reported and True or False def consume_bail_out(self, line): self.bail_out = True self.report("SKIP", 0, line) def process(self, output): if output: self.output += output elif self.output: self.output += "\n" (ready, unused, self.output) = self.output.rpartition("\n") for line in ready.split("\n"): if line.startswith("ok "): self.consume_test_line(True, line[3:]) elif line.startswith("not ok "): self.consume_test_line(False, line[7:]) elif line and line[0].isdigit() and ".." in line: (first, unused, last) = line.partition("..") self.consume_test_plan(first, last) elif line.lower().startswith("bail out!"): self.consume_bail_out(line) def run(self): returncode = self.execute() failed = False skipped = True # Basic collation of results for (num, code) in self.reported.items(): if code == "ERROR": self.errored = True elif code == "FAIL" or code == "XPASS": failed = True if code != "SKIP": skipped = False if not self.errored and returncode: self.report_error("process failed: %d" % returncode) self.errored = True # Check the plan if not self.errored: if not self.test_plan: if not self.bail_out: self.report_error("Didn't receive a TAP test plan") else: for i in range(self.test_plan[0], self.test_plan[1] + 1): if i not in self.reported: if self.bail_out: self.report("SKIP", i, "- bailed out") else: self.report("ERROR", i, "- missing test") skipped = False self.errored = True if self.errored: self.trs.write(":global-test-result: ERROR\n") self.trs.write(":test-global-result: ERROR\n") self.trs.write(":recheck: yes\n") elif failed: self.trs.write(":global-test-result: FAIL\n") self.trs.write(":test-global-result: FAIL\n") self.trs.write(":recheck: yes\n") elif skipped: self.trs.write(":global-test-result: SKIP\n") self.trs.write(":test-global-result: SKIP\n") self.trs.write(":recheck: no\n") else: self.trs.write(":global-test-result: PASS\n") self.trs.write(":test-global-result: PASS\n") self.trs.write(":recheck: no\n") if self.errored or failed: self.trs.write(":copy-in-global-log: yes\n") # Process result code return 0 class SimpleDriver(Driver): def __init__(self, args): Driver.__init__(self, args) def run(self): returncode = self.execute() if returncode == 0: self.result_pass() self.trs.write(":global-test-result: PASS\n") self.trs.write(":test-global-result: PASS\n") self.trs.write(":recheck: no\n") elif returncode == 77: self.result_skip() self.trs.write(":global-test-result: SKIP\n") self.trs.write(":test-global-result: SKIP\n") self.trs.write(":recheck: no\n") elif returncode == 99: self.report_error() self.trs.write(":global-test-result: ERROR\n") self.trs.write(":test-global-result: ERROR\n") self.trs.write(":copy-in-global-log: yes\n") self.trs.write(":recheck: yes\n") else: self.result_fail() self.trs.write(":global-test-result: FAIL\n") self.trs.write(":test-global-result: FAIL\n") self.trs.write(":copy-in-global-log: yes\n") self.trs.write(":recheck: yes\n") # Process result code return 0 class MissingDriver(Driver): def __init__(self, args): Driver.__init__(self, args) self.missing = args.missing def run(self): self.result_skip("skipping due to: ", self.missing) self.trs.write(":global-test-result: SKIP\n") self.trs.write(":test-global-result: SKIP\n") self.trs.write(":recheck: no\n") return 0 class YesNoAction(argparse.Action): def __init__(self, option_strings, dest, **kwargs): argparse.Action.__init__(self, option_strings, dest, **kwargs) self.metavar = "[yes|no]" def __call__(self, parser, namespace, values, option_string=None): if not values or "yes" in values: setattr(namespace, self.dest, True) else: setattr(namespace, self.dest, False) def main(argv): parser = argparse.ArgumentParser(description='Automake TAP driver') parser.add_argument('--format', metavar='FORMAT', choices=[ "simple", "tap" ], default="tap", help='The type of test to drive') parser.add_argument('--missing', metavar="TOOL", nargs='?', help="Force the test to skip due to missing tool") parser.add_argument('--test-name', metavar='NAME', help='The name of the test') parser.add_argument('--log-file', metavar='PATH.log', required=True, help='The .log file the driver creates') parser.add_argument('--trs-file', metavar='PATH.trs', required=True, help='The .trs file the driver creates') parser.add_argument('--color-tests', default=True, action=YesNoAction, help='Whether the console output should be colorized or not') parser.add_argument('--expect-failure', default=False, action=YesNoAction, help="Whether the tested program is expected to fail") parser.add_argument('--enable-hard-errors', default=False, action=YesNoAction, help="Whether hard errors in the tested program are treated differently") parser.add_argument('command', nargs='+', help="A test command line to run") args = parser.parse_args(argv[1:]) if not args.test_name: args.test_name = os.path.basename(args.command[0]) if args.missing: driver = MissingDriver(args) elif args.format == "simple": driver = SimpleDriver(args) elif args.format == "tap": driver = TapDriver(args) return driver.run() if __name__ == "__main__": sys.exit(main(sys.argv)) realmd-0.16.2/build/m4/0000775000175000017500000000000012556656347014474 5ustar00stefstef00000000000000realmd-0.16.2/build/m4/intltool.m40000644000175000017500000002636112556656033016600 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) 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.16.2/build/missing0000755000175000017500000001533012453220421015523 0ustar00stefstef00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2014 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 'autom4te' 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.16.2/build/glib.supp0000664000175000017500000001414712410017007015756 0ustar00stefstef00000000000000{ g_type_register_static_1 Memcheck:Leak ... fun:g_type_register_static } { g_type_register_fundamental Memcheck:Leak ... fun:g_type_register_fundamental } { g_type_init_with_debug_flags Memcheck:Leak ... fun:g_type_init_with_debug_flags } { g_type_class_ref Memcheck:Leak ... fun:g_type_class_ref } { g_type_add_interface_static Memcheck:Leak ... fun:g_type_add_interface_static } { g_param_spec_internal Memcheck:Leak ... fun:g_type_class_ref fun:g_type_create_instance fun:g_param_spec_internal } { g_param_spec_enum Memcheck:Leak ... fun:g_type_class_ref fun:g_param_spec_enum } { g_param_spec_flags Memcheck:Leak ... fun:g_type_class_ref fun:g_param_spec_flags } { g_quark_from_static_string Memcheck:Leak ... fun:g_quark_from_static_string } { g_quark_from_string Memcheck:Leak ... fun:g_quark_from_string } { g_value_register_transform_func Memcheck:Leak ... fun:g_value_register_transform_func } { test_run_seed Memcheck:Leak ... fun:g_rand_new_with_seed_array fun:test_run_seed ... fun:g_test_run_suite } { g_test_init Memcheck:Leak ... fun:g_test_init } { g_intern_static_string Memcheck:Leak ... fun:g_intern_static_string } { g_main_context_push_thread_default Memcheck:Leak ... fun:g_queue_new fun:g_main_context_push_thread_default } { g_dbus_error_register_error Memcheck:Leak ... fun:g_dbus_error_register_error } { g_param_spec_pool_insert Memcheck:Leak ... fun:g_param_spec_pool_insert } { g_main_context_default Memcheck:Leak ... fun:g_main_context_default } { g_main_context_check Memcheck:Leak ... fun:g_ptr_array_add fun:g_main_context_check } { g_test_run_suite Memcheck:Leak ... fun:g_slist_copy fun:g_test_run_suite_internal fun:g_test_run_suite } { g_dbus_interface_info_cache_build Memcheck:Leak ... fun:g_dbus_interface_info_cache_build } { g_cancellable_push_current Memcheck:Leak ... fun:thread_memory_from_self ... fun:g_cancellable_push_current } { g_io_scheduler_push_job Memcheck:Leak ... fun:init_scheduler fun:g_once_impl fun:g_io_scheduler_push_job } { g_io_scheduler_push_job_2 Memcheck:Leak ... fun:g_system_thread_new ... fun:g_io_scheduler_push_job } { g_bus_get_sync__available_connections Memcheck:Leak ... fun:g_hash_table_new fun:initable_init fun:g_initable_init fun:g_bus_get_sync } { g_socket_connection_factory_register_type Memcheck:Leak ... fun:g_socket_connection_factory_register_type } { g_test_add_vtable Memcheck:Leak ... fun:g_test_add_vtable } { g_mutex_lock Memcheck:Leak ... fun:g_mutex_impl_new fun:g_mutex_get_impl fun:g_mutex_lock } { g_thread_self Memcheck:Leak ... fun:g_thread_self } { g_rec_mutex_lock Memcheck:Leak ... fun:g_rec_mutex_impl_new fun:g_rec_mutex_get_impl fun:g_rec_mutex_lock } { test_case_run Memcheck:Leak ... fun:g_malloc0 fun:test_case_run ... fun:g_test_run_suite } { g_get_charset Memcheck:Leak ... fun:g_get_charset } { g_test_run_suite__timer_new Memcheck:Leak ... fun:g_timer_new fun:test_case_run ... fun:g_test_run_suite } { g_test_run_suite__timer_new2 Memcheck:Leak ... fun:g_timer_new fun:test_case_run* ... fun:g_test_run_suite } { g_test_run_suite__strconcat Memcheck:Leak ... fun:g_strconcat fun:test_case_run ... fun:g_test_run_suite fun:g_test_run } { g_type_interface_add_prerequisite Memcheck:Leak ... fun:g_type_interface_add_prerequisite } { g_test_run_suite_2 Memcheck:Leak ... fun:g_slist_copy fun:g_test_run_suite_internal ... fun:g_test_run_suite } { g_test_run_suite_3 Memcheck:Leak ... fun:g_malloc0 fun:g_test_run_suite_internal ... fun:g_test_run_suite } { g_set_prgname Memcheck:Leak ... fun:g_set_prgname } { g_test_run_suite__strconcat_2 Memcheck:Leak ... fun:g_strconcat fun:g_test_run_suite_internal } { g_test_run_suite__strdup Memcheck:Leak ... fun:g_strdup fun:g_test_run_suite_internal } { g_private_get Memcheck:Leak ... fun:g_private_get } { g_private_set Memcheck:Leak ... fun:g_private_set } { g_static_private_set_1 Memcheck:Leak ... fun:g_array_set_size fun:g_static_private_set } { g_static_private_set_2 Memcheck:Leak ... fun:g_array_sized_new fun:g_static_private_set } { g_static_mutex_get_mutex_impl Memcheck:Leak ... fun:g_static_mutex_get_mutex_impl } { g_variant_type_info_unref Memcheck:Leak ... fun:g_hash_table_remove fun:g_variant_type_info_unref } { g_get_filename_charsets Memcheck:Leak ... fun:g_get_filename_charsets } { g_intern_string Memcheck:Leak ... fun:g_intern_string } { g_main_context_iterate Memcheck:Leak ... fun:g_malloc fun:g_main_context_iterate } { g_main_context_dispatch Memcheck:Leak ... fun:get_dispatch fun:g_main_context_dispatch } { g_log_set_handler Memcheck:Leak ... fun:g_log_set_handler } { g_simple_async_result_complete Memcheck:Leak ... fun:g_main_context_push_thread_default fun:g_simple_async_result_complete } { Memcheck:Leak ... fun:g_static_private_set fun:g_module_open } { g_child_watch_source_new Memcheck:Leak ... fun:ensure_unix_signal_handler_installed_unlocked fun:g_child_watch_source_new } { g_thread_pool_thread_proxy Memcheck:Leak ... fun:g_malloc fun:g_cond_new_posix_impl ... fun:g_async_queue_timed_pop fun:g_thread_pool_thread_proxy } { g_module_open Memcheck:Leak ... fun:g_private_impl_new ... fun:g_module_open } { g_system_thread_new Memcheck:Leak ... fun:g_system_thread_new } { thread_memory_from_self Memcheck:Leak ... fun:thread_memory_from_self } { g_get_language_names Memcheck:Leak ... fun:g_get_language_names } realmd-0.16.2/build/tap-gtester0000775000175000017500000001412212410017007016306 0ustar00stefstef00000000000000#!/usr/bin/python # Copyright (C) 2014 Red Hat, Inc. # # Cockpit 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. # # Cockpit 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 Cockpit; If not, see . # # This is a test output compiler which produces TAP from GTest output # if GTest output is detected. # # Versions of glib later than 2.38.x output TAP natively when tests are # run with the --tap option. However we can't depend on such a recent # version of glib for our purposes. # # This implements the Test Anything Protocol (ie: TAP) # https://metacpan.org/pod/release/PETDANCE/Test-Harness-2.64/lib/Test/Harness/TAP.pod # import argparse import os import select import subprocess import sys class NullCompiler: def __init__(self, command): self.command = command def input(self, line): sys.stdout.write(line) def process(self, proc): while True: line = proc.stdout.readline() if not line: break self.input(line) proc.wait() return proc.returncode def run(self, proc, line=None): if line: self.input(line) return self.process(proc) class GTestCompiler(NullCompiler): def __init__(self, filename): NullCompiler.__init__(self, filename) self.test_num = 0 self.test_name = None self.test_remaining = [] def input(self, line): line = line.strip() if line.startswith("GTest: "): (cmd, unused, data) = line[7:].partition(": ") cmd = cmd.strip() data = data.strip() if cmd == "run": self.test_name = data assert self.test_name in self.test_remaining, "%s %s" % (self.test_name, repr(self.test_remaining)) self.test_remaining.remove(self.test_name) self.test_num += 1 elif cmd == "result": if self.test_name: if data == "OK": print "ok %d %s" % (self.test_num, self.test_name) if data == "FAIL": print "not ok %d %s", (self.test_num, self.test_name) self.test_name = None elif cmd == "skipping": if "/subprocess" not in data: print "ok %d # skip -- %s" % (self.test_num, data) self.test_name = None elif data: print "# %s: %s" % (cmd, data) else: print "# %s" % cmd elif line.startswith("(MSG: "): print "# %s" % line[6:-1] elif line: print "# %s" % line sys.stdout.flush() def run(self, proc, output=""): # Complete retrieval of the list of tests output += proc.stdout.read() proc.wait() if proc.returncode: sys.stderr.write("tap-gtester: listing GTest tests failed: %d\n" % proc.returncode) return proc.returncode self.test_remaining = [] for line in output.split("\n"): if line.startswith("/"): self.test_remaining.append(line.strip()) if not self.test_remaining: print "Bail out! No tests found in GTest: %s" % self.command[0] return 0 print "1..%d" % len(self.test_remaining) # First try to run all the tests in a batch proc = subprocess.Popen(self.command + ["--verbose" ], close_fds=True, stdout=subprocess.PIPE) result = self.process(proc) if result == 0: return 0 # Now pick up any stragglers due to failures while True: # Assume that the last test failed if self.test_name: print "not ok %d %s" % (self.test_num, self.test_name) self.test_name = None # Run any tests which didn't get run if not self.test_remaining: break proc = subprocess.Popen(self.command + ["--verbose", "-p", self.test_remaining[0]], close_fds=True, stdout=subprocess.PIPE) result = self.process(proc) # The various exit codes and signals we continue for if result not in [ 0, 1, -4, -5, -6, -7, -8, -11, 33 ]: break return result def main(argv): parser = argparse.ArgumentParser(description='Automake TAP compiler') parser.add_argument('--format', metavar='FORMAT', choices=[ "auto", "gtest", "tap" ], default="auto", help='The input format to compile') parser.add_argument('--verbose', action='store_true', default=True, help='Verbose mode (ignored)') parser.add_argument('command', nargs='+', help="A test command to run") args = parser.parse_args(argv[1:]) output = None format = args.format cmd = args.command proc = None os.environ['HARNESS_ACTIVE'] = '1' if format in ["auto", "gtest"]: list_cmd = cmd + ["-l", "--verbose"] proc = subprocess.Popen(list_cmd, close_fds=True, stdout=subprocess.PIPE) output = proc.stdout.readline() # Smell whether we're dealing with GTest list output from first line if "random seed" in output or "GTest" in output or output.startswith("/"): format = "gtest" else: format = "tap" else: proc = subprocess.Popen(cmd, close_fds=True, stdout=subprocess.PIPE) if format == "gtest": compiler = GTestCompiler(cmd) elif format == "tap": compiler = NullCompiler(cmd) else: assert False, "not reached" return compiler.run(proc, output) if __name__ == "__main__": sys.exit(main(sys.argv)) realmd-0.16.2/build/test-driver0000755000175000017500000001104012453220421016314 0ustar00stefstef00000000000000#! /bin/sh # test-driver - basic testsuite driver script. scriptversion=2013-07-13.22; # UTC # Copyright (C) 2011-2014 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. # This file is maintained in Automake, please report # bugs to or send patches to # . # Make unconditional expansion of undefined variables an error. This # helps a lot in preventing typo-related bugs. set -u usage_error () { echo "$0: $*" >&2 print_usage >&2 exit 2 } print_usage () { cat <$log_file 2>&1 estatus=$? if test $enable_hard_errors = no && test $estatus -eq 99; then tweaked_estatus=1 else tweaked_estatus=$estatus fi case $tweaked_estatus:$expect_failure in 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 0:*) col=$grn res=PASS recheck=no gcopy=no;; 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; *:*) col=$red res=FAIL recheck=yes gcopy=yes;; esac # Report the test outcome and exit status in the logs, so that one can # know whether the test passed or failed simply by looking at the '.log' # file, without the need of also peaking into the corresponding '.trs' # file (automake bug#11814). echo "$res $test_name (exit status: $estatus)" >>$log_file # Report outcome to console. echo "${col}${res}${std}: $test_name" # Register the test result, and other relevant metadata. echo ":test-result: $res" > $trs_file echo ":global-test-result: $res" >> $trs_file echo ":recheck: $recheck" >> $trs_file echo ":copy-in-global-log: $gcopy" >> $trs_file # 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.16.2/build/install-sh0000755000175000017500000003452312453220421016135 0ustar00stefstef00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2013-12-25.23; # 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. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # 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_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 is_target_a_directory=possibly 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 *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi 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 if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi 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 "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else dstdir=`dirname "$dst"` 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 oIFS=$IFS IFS=/ set -f set fnord $dstdir shift 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` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && 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.16.2/build/compile0000755000175000017500000001624512453220421015510 0ustar00stefstef00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2014 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.16.2/tools/0000775000175000017500000000000012556656347014215 5ustar00stefstef00000000000000realmd-0.16.2/tools/realm-client.h0000664000175000017500000001114712410017007016713 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.16.2/tools/realm-join.c0000664000175000017500000002360212554451640016404 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; gboolean automatic_id_mapping_set; gboolean automatic_id_mapping; } RealmJoinArgs; static void realm_join_args_clear (gpointer data) { RealmJoinArgs *args = data; g_free (args->user); g_free (args->computer_ou); g_free (args->client_software); g_free (args->server_software); g_free (args->user_principal); } static gboolean realm_join_arg_id_mapping (const gchar *option_name, const gchar *value, gpointer data, GError **error) { RealmJoinArgs *args = data; args->automatic_id_mapping_set = TRUE; return realm_parse_boolean (option_name, value, TRUE, &args->automatic_id_mapping, error); } 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, args->automatic_id_mapping_set ? REALM_DBUS_OPTION_AUTOMATIC_ID_MAPPING : NULL, args->automatic_id_mapping, 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; GOptionGroup *group; 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 }, { "automatic-id-mapping", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, realm_join_arg_id_mapping, N_("Turn off automatic id mapping"), "no" }, { "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); group = g_option_group_new (NULL, NULL, NULL, &args, realm_join_args_clear); g_option_group_add_entries (group, option_entries); g_option_group_add_entries (group, realm_global_options); g_option_context_set_main_group (context, group); 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_option_context_free (context); return ret; } realmd-0.16.2/tools/realm.c0000664000175000017500000001661712551247361015457 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 #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 (error && 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") || g_str_equal (first, REALM_DBUS_OPTION_AUTOMATIC_ID_MAPPING)) { 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_parse_boolean (const gchar *option, const gchar *value, gboolean defalt, gboolean *result, GError **error) { if (!value || g_str_equal (value, "")) { *result = defalt; return TRUE; } else if (g_ascii_strcasecmp (value, "yes") == 0 || g_ascii_strcasecmp (value, "true") == 0) { *result = TRUE; return TRUE; } else if (g_ascii_strcasecmp (value, "no") == 0 || g_ascii_strcasecmp (value, "false") == 0) { *result = FALSE; return TRUE; } else { g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE, _("Invalid value for %s option: %s"), option, value); return FALSE; } } 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.16.2/tools/realm-client.c0000664000175000017500000007225512513177162016732 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)) password[0] = '\0'; 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.16.2/tools/realm-logins.c0000664000175000017500000001672212410017007016727 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.16.2/tools/Makefile.am0000664000175000017500000000077512410017007016227 0ustar00stefstef00000000000000sbin_PROGRAMS += \ realm realm_SOURCES = \ tools/realm.c \ tools/realm.h \ tools/realm-client.h \ tools/realm-client.c \ tools/realm-discover.c \ tools/realm-join.c \ tools/realm-leave.c \ tools/realm-logins.c \ $(NULL) realm_CFLAGS = \ -I$(top_srcdir)/dbus \ -I$(top_srcdir)/build \ -DLOCALEDIR=\""$(datadir)/locale"\" \ -DREALMD_EXECUTABLE=\""$(privatedir)/realmd"\" \ $(GLIB_CFLAGS) \ $(KRB5_CFLAGS) \ $(NULL) realm_LDADD = \ librealm-dbus.a \ $(GLIB_LIBS) \ $(KRB5_LIBS) \ $(NULL) realmd-0.16.2/tools/realm.h0000664000175000017500000000613712551245403015453 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); gboolean realm_parse_boolean (const gchar *option, const gchar *value, gboolean defalt, gboolean *result, GError **error); 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.16.2/tools/realm-leave.c0000664000175000017500000001740712410017007016531 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.16.2/tools/realm-discover.c0000664000175000017500000002041512410017007017244 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.16.2/manual/0000775000175000017500000000000012556656347014332 5ustar00stefstef00000000000000realmd-0.16.2/manual/gtk-doc.css0000664000175000017500000001207212556656347016376 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.16.2/manual/gdbus-org.freedesktop.realmd.Service.html0000664000175000017500000001766312556656347024302 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.16.2/manual/dbus-interface-raw.html0000664000175000017500000001157112556656347020707 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.16.2/manual/guide-kerberos.html0000664000175000017500000000661612556656347020140 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.16.2/manual/guide-active-directory.html0000664000175000017500000001056512556656347021577 0ustar00stefstef00000000000000 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.16.2/manual/realm-manual.html0000664000175000017500000000350612556656347017577 0ustar00stefstef00000000000000 Command manual pages

Command manual pages

realm — Manage enrollment in realms
realmd.conf — Tweak behavior of realmd
realmd-0.16.2/manual/guide-active-directory-permit.html0000664000175000017500000000543112556656347023071 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.16.2/manual/guide-ipa-permit.html0000664000175000017500000000540712556656347020370 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.16.2/manual/index.html0000664000175000017500000001055012556656347016330 0ustar00stefstef00000000000000 realmd realmd-0.16.2/manual/guide.html0000664000175000017500000000712112556656347016316 0ustar00stefstef00000000000000 Part I. Administrative Guide realmd-0.16.2/manual/gdbus-org.freedesktop.realmd.Provider.html0000664000175000017500000002174612556656347024471 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.16.2/manual/guide-ipa-client.html0000664000175000017500000000357312556656347020350 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.16.2/manual/guide-active-directory-join.html0000664000175000017500000001135612556656347022533 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.

  • 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.16.2/manual/guide-integration.html0000664000175000017500000000307012556656347020636 0ustar00stefstef00000000000000 Integration

Integration

Not yet written

realmd-0.16.2/manual/up.png0000664000175000017500000000062612556656347015470 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.16.2/manual/guide-ipa.html0000664000175000017500000000760212556656347017071 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.16.2/manual/development.html0000664000175000017500000000522412556656347017545 0ustar00stefstef00000000000000 Part II. Developer Reference realmd-0.16.2/manual/realm.html0000664000175000017500000003636312556656347016333 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.

If the domain has been preconfigured, and unless --user is explicitly specified, an automatic join is attempted first.

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:

--automatic-id-mapping=no

Do not perform UID/GID mapping for users and groups, but expect these identifiers to be present in the domain already.

--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.16.2/manual/gdbus-org.freedesktop.realmd.Realm.html0000664000175000017500000005055712556656347023741 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.16.2/manual/gdbus-org.freedesktop.realmd.Kerberos.html0000664000175000017500000000733712556656347024453 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.16.2/manual/dbus-interface-reference.html0000664000175000017500000000510512556656347022050 0ustar00stefstef00000000000000 DBus Interface Reference

DBus Interface Reference

realmd-0.16.2/manual/guide-ipa-join.html0000664000175000017500000000713512556656347020027 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.16.2/manual/right.png0000664000175000017500000000073012556656347016155 0ustar00stefstef00000000000000PNG  IHDRw=bKGD pHYs  ~tIME2 I%=eIDATx!o@.'**M0$$?1~vIeEuLl&4䝠Bݛ|>$ݶoc 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.16.2/manual/left.png0000664000175000017500000000071312556656347015773 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.16.2/manual/home.png0000664000175000017500000000121612556656347015770 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.16.2/manual/index.sgml0000664000175000017500000001732312556656347016333 0ustar00stefstef00000000000000 realmd-0.16.2/manual/realmd-conf.html0000664000175000017500000003442112556656347017413 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/%U@%D
# default-home = /nfs/home/%D-%U
# default-home = /home/%D/%U

The default setting for this is /home/%U@%D. 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-join

This option only applies to Active Directory realms. This option is off by default. In Active Directory domains, a computer account can be preset with a known computer account password. This can be used for automatic joins without authentication.

When automatic joins are used there is no mutual authentication between the machine and the domain during the join process.

[domain.example.com]
automatic-join = 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.16.2/manual/gdbus-org.freedesktop.realmd.KerberosMembership.html0000664000175000017500000004135512556656347026465 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:

  • automatic-id-mapping: a boolean value whether to turn on automatic UID/GID mapping. If not specified the default will come from realmd.conf configuration.

  • 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.16.2/manual/realmd-docs.proc0000664000175000017500000000000012556656347017377 0ustar00stefstef00000000000000realmd-0.16.2/manual/guide-active-directory-client.html0000664000175000017500000001045712556656347023053 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.16.2/dbus/0000775000175000017500000000000012556656347014012 5ustar00stefstef00000000000000realmd-0.16.2/dbus/realmd.service.in0000664000175000017500000000024012410017007017206 0ustar00stefstef00000000000000[Unit] Description=Realm and Domain Configuration Documentation=man:realmd(8) [Service] Type=dbus BusName=org.freedesktop.realmd ExecStart=@privatedir@/realmd realmd-0.16.2/dbus/org.freedesktop.realmd.conf0000664000175000017500000000062412410017007021174 0ustar00stefstef00000000000000 realmd-0.16.2/dbus/realm-dbus-constants.h0000664000175000017500000001001412547677264020225 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_AUTOMATIC_ID_MAPPING "automatic-id-mapping" #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.16.2/dbus/Makefile.am0000664000175000017500000000255212410017007016017 0ustar00stefstef00000000000000 dbusservicedir = $(DBUS_POLICY_DIR) dbusservice_DATA = \ dbus/org.freedesktop.realmd.conf servicedir = $(DBUS_SERVICES_DIR) service_in_files = \ dbus/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 \ $(NULL) librealm_dbus_a_SOURCES = \ dbus/realm-dbus-constants.h \ $(NULL) nodist_librealm_dbus_a_SOURCES = \ $(BUILT_SOURCES) \ $(NULL) librealm_dbus_a_CFLAGS = \ $(GLIB_CFLAGS) \ $(NULL) DBUS_XML_DEFINITIONS = \ dbus/org.freedesktop.realmd.xml DBUS_GENERATED = \ realm-dbus-generated.c \ realm-dbus-generated.h \ $(NULL) $(DBUS_GENERATED): dbus/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 = dbus/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 += \ $(DBUS_GENERATED) \ $(service_DATA) \ $(systemdunit_DATA) \ $(NULL) realmd-0.16.2/dbus/org.freedesktop.realmd.service.in0000664000175000017500000000011712410017007022311 0ustar00stefstef00000000000000[D-BUS Service] Name=org.freedesktop.realmd Exec=@privatedir@/realmd User=root realmd-0.16.2/dbus/org.freedesktop.realmd.xml0000664000175000017500000007265412551241520021070 0ustar00stefstef00000000000000 realmd-0.16.2/README0000664000175000017500000000056612556656032013733 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 realmd-0.16.2/tests/0000775000175000017500000000000012556656347014217 5ustar00stefstef00000000000000realmd-0.16.2/tests/test-login-name.c0000664000175000017500000001024612410017007017336 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.16.2/tests/files/0000775000175000017500000000000012547676463015322 5ustar00stefstef00000000000000realmd-0.16.2/tests/files/realmd-distro.conf0000664000175000017500000000070312513177162020720 0ustar00stefstef00000000000000# Empty so far [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 realmd-0.16.2/tests/files/realmd-defaults.conf0000664000175000017500000000013712547676463021243 0ustar00stefstef00000000000000 # Required for sssd config tests [users] default-shell = /bin/bash default-home = /home/%U@%D realmd-0.16.2/tests/files/smb-one.conf0000664000175000017500000000031512410017007017474 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.16.2/tests/test-ini-config.c0000664000175000017500000005617512410017007017345 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.16.2/tests/test-safe-format.c0000664000175000017500000001050112410017007017506 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-format-string.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_format_string_cb (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_format_string_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_format_string (void) { char buffer[8]; int ret; ret = safe_format_string (buffer, 8, "%s", "space", "man", NULL); g_assert_cmpint (ret, ==, 5); g_assert_cmpstr (buffer, ==, "space"); ret = safe_format_string (buffer, 8, "", "space", "man", NULL); g_assert_cmpint (ret, ==, 0); g_assert_cmpstr (buffer, ==, ""); ret = safe_format_string (buffer, 8, "the %s %s dances away", "space", "man", NULL); g_assert_cmpint (ret, ==, 25); g_assert_cmpstr (buffer, ==, "the spa"); ret = safe_format_string (buffer, 8, "%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-format"); 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-format/%s", escaped); g_free (escaped); g_test_add_data_func (name, fixtures + i, test_safe_format_string_cb); g_free (name); } g_test_add_func ("/realmd/safe-format-string", test_safe_format_string); return g_test_run (); } realmd-0.16.2/tests/Makefile.am0000664000175000017500000000375512556655370016260 0ustar00stefstef00000000000000 TEST_CFLAGS = \ -I$(top_srcdir) \ -DTESTFILE_DIR="\"@abs_srcdir@/tests/files\"" \ -DSYSCONF_DIR="\"/tmp/realmd-etc\"" \ -DPRIVATE_DIR="\"@abs_srcdir@/tests/files\"" \ $(GLIB_CFLAGS) \ $(POLKIT_CFLAGS) \ $(NULL) TEST_LIBS = \ $(GLIB_LIBS) TEST_PROGS = \ test-ini-config \ test-sssd-config \ test-safe-format \ test-login-name \ test-samba-ou-format \ test-settings \ $(NULL) TESTS += $(TEST_PROGS) check_PROGRAMS += $(TEST_PROGS) noinst_PROGRAMS += \ frob-install-packages \ $(NULL) test_ini_config_SOURCES = \ tests/test-ini-config.c \ service/realm-ini-config.c \ service/realm-samba-config.c \ service/realm-settings.c \ $(NULL) test_ini_config_LDADD = $(TEST_LIBS) test_ini_config_CFLAGS = $(TEST_CFLAGS) test_sssd_config_SOURCES = \ tests/test-sssd-config.c \ service/realm-ini-config.c \ service/realm-sssd-config.c \ service/realm-settings.c \ $(NULL) test_sssd_config_LDADD = $(TEST_LIBS) test_sssd_config_CFLAGS = $(TEST_CFLAGS) test_safe_format_SOURCES = \ tests/test-safe-format.c \ service/safe-format-string.c \ $(NULL) test_safe_format_LDADD = $(TEST_LIBS) test_safe_format_CFLAGS = $(TEST_CFLAGS) test_login_name_SOURCES = \ tests/test-login-name.c \ service/realm-login-name.c \ $(NULL) test_login_name_LDADD = $(TEST_LIBS) test_login_name_CFLAGS = $(TEST_CFLAGS) test_samba_ou_format_SOURCES = \ tests/test-samba-ou-format.c \ service/realm-samba-util.c \ $(NULL) test_samba_ou_format_LDADD = $(TEST_LIBS) test_samba_ou_format_CFLAGS = $(TEST_CFLAGS) test_settings_SOURCES = \ tests/test-settings.c \ service/realm-settings.c \ $(NULL) test_settings_LDADD = $(TEST_LIBS) test_settings_CFLAGS = $(TEST_CFLAGS) frob_install_packages_SOURCES = \ tests/frob-install-packages.c \ service/realm-packages.c \ service/realm-settings.c \ service/realm-errors.c \ $(NULL) frob_install_packages_CFLAGS = \ -I$(srcdir)/dbus \ $(TEST_CFLAGS) \ $(NULL) frob_install_packages_LDADD = \ $(TEST_LIBS) \ $(NULL) EXTRA_DIST += \ tests/files \ $(PY_TESTS) \ $(NULL) realmd-0.16.2/tests/test-samba-ou-format.c0000664000175000017500000000511412410017007020300 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.16.2/tests/frob-install-packages.c0000664000175000017500000000553312513177162020523 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-packages.h" #include "service/realm-daemon.h" #include "service/realm-diagnostics.h" #include "service/realm-invocation.h" #include "service/realm-options.h" #include "service/realm-settings.h" #include static GMainLoop *loop; 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 gint test_install (const gchar **package_sets) { GDBusConnection *connection; GAsyncResult *result = NULL; GError *error = NULL; connection = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, &error); if (connection == NULL) { g_message ("Couldn't open DBus connection: %s", error->message); g_clear_error (&error); return 1; } realm_packages_install_async (package_sets, NULL, connection, on_ready_get_result, &result); g_object_unref (connection); g_main_loop_run (loop); realm_packages_install_finish (result, &error); g_object_unref (result); if (error != NULL) { g_message ("Couldn't install packages: %s", error->message); g_clear_error (&error); return 1; } return 0; } int main(int argc, char *argv[]) { const gchar *package_sets[] = { "sssd", "samba", "adcli", NULL }; #if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init (); #endif realm_settings_init (); loop = g_main_loop_new (NULL, FALSE); test_install (package_sets); g_main_loop_unref (loop); return 0; } /* Dummy functions */ GCancellable * realm_invocation_get_cancellable (GDBusMethodInvocation *invocation) { return g_cancellable_new (); } const gchar * realm_invocation_get_operation (GDBusMethodInvocation *invocation) { return NULL; } gboolean realm_daemon_is_install_mode (void) { return FALSE; } void realm_diagnostics_info (GDBusMethodInvocation *invocation, const gchar *format, ...) { va_list va; va_start (va, format); vfprintf (stderr, format, va); fputc ('\n', stderr); va_end (va); } void realm_diagnostics_error (GDBusMethodInvocation *invocation, GError *unused, const gchar *format, ...) { va_list va; va_start (va, format); vfprintf (stderr, format, va); fputc ('\n', stderr); va_end (va); } gboolean realm_options_automatic_install (void) { return TRUE; } realmd-0.16.2/tests/test-settings.c0000664000175000017500000000763712410017007017162 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.16.2/tests/test-sssd-config.c0000664000175000017500000002643412410017007017535 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 (); }