summaryrefslogtreecommitdiffstats
path: root/common/fedora-entities-ja_JP.ent
blob: 5bd8a98afab042607b5fb391183b9a7ef57d424a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!-- $Id: fedora-entities-ja_JP.ent,v 1.1 2006/03/08 03:11:38 pfrields Exp $ -->

<!--
  These common entities are useful shorthand
  terms and names, which may be subject to
  change at anytime.  This is an important
  value the entity provides, a single location
  to update terms and common names.
-->

<!-- *************** Fedora common entities *************** -->
<!ENTITY FED "Fedora">  <!-- Generic root term -->
<!ENTITY CORE "Core">  <!-- Generic root term -->
<!ENTITY FC "&FED; &CORE;">  <!-- Generic main project name -->
<!ENTITY DISTRO "&FC;">  <!-- Legacy entity -->
<!ENTITY FCX "FC">  <!-- Short project name -->
<!ENTITY FP "&FED; Project">  <!-- Generic overall project name -->
<!ENTITY FDP "&FED; Documentation Project">  <!-- Generic docs project name -->
<!ENTITY FDPX "&FED; Docs Project">  <!-- Short docs project name -->
<!ENTITY EX "Extras"> <!-- cf. Core  -->
<!ENTITY FEX "&FED; &EX;"> <!-- cf. Fedora Core  -->

<!ENTITY FP-URL "<ulink url='http://fedora.redhat.com/'>http://fedora.redhat.com/</ulink>"> <!-- Fedora Project URL -->
<!ENTITY FDP-URL "<ulink url='http://fedora.redhat.com/projects/docs/'>http://fedora.redhat.com/projects/docs/</ulink>"> <!-- Fedora Docs Project URL -->
<!ENTITY FDPDOCS-URL "<ulink url='http://fedora.redhat.com/docs/'>http://fedora.redhat.com/docs/</ulink>"> <!-- Fedora Documentation (repository) URL -->

<!ENTITY BZ "Bugzilla"> <!-- Bugzilla -->
<!ENTITY BZ-URL "<ulink url='http://bugzilla.redhat.com/'>http://bugzilla.redhat.com/</ulink>"> <!-- Bugzilla URL -->
<!ENTITY BZ-PROD "&FED; Documentation"> <!-- Bugzilla product for Fedora docs -->

<!-- *************** Fedora version numbers *************** -->
<!ENTITY FCVER "4">  <!-- Current release version of main project -->
<!ENTITY TESTVER "test3"> <!-- Current test number of main project -->
<!ENTITY FCTESTVER "5 &TESTVER;">  <!-- Current test version of main project  -->


<!-- ************** other common names *********** -->
<!ENTITY RH "Red Hat"> <!-- The generic term "Red Hat" -->
<!ENTITY FORMAL-RHI "&RH;, Inc."> <!-- The generic term "Red Hat, Inc. -->
<!ENTITY RHL "&RH; Linux"> <!-- The generic term "Red Hat Linux" -->
<!ENTITY RHN "&RH; Network"> <!-- The generic term "Red Hat Network" -->
<!ENTITY RHEL "&RH; Enterprise Linux"> <!-- The generic term "Red Hat Enterprise Linux" -->

<!-- ************** technology terms *********** -->
<!ENTITY SEL "SELinux"> <!-- Generic technology term -->

<!-- ************** common doc files *********** -->
<!ENTITY LEGALNOTICE SYSTEM "./legalnotice-en_US.xml">
<!ENTITY LEGALNOTICE-CONTENT SYSTEM "./legalnotice-content-en_US.xml">
<!ENTITY LEGALNOTICE-OPL SYSTEM "./legalnotice-opl-en_US.xml">
<!ENTITY LEGALNOTICE-OPL-CONTENT SYSTEM "./opl.xml">
<!ENTITY LEGALNOTICE-RELNOTES SYSTEM "./legalnotice-relnotes-en_US.xml">
<!ENTITY LEGALNOTICE-SECTION SYSTEM "./legalnotice-section-en_US.xml">
<!ENTITY BUG-REPORTING SYSTEM "./bugreporting-en_US.xml">

<!-- ************** common applications? *********** -->

<!-- ************** required by build scripts *********** -->

<!ENTITY PROJECT "&FP;">

<!-- ************** tutorial titles ********** -->

<!ENTITY IG "Installation Guide">
<!ENTITY DOCG "Documentation Guide">

<!-- ************** tutorial URLs *********** -->

<!ENTITY IG-URL "<ulink url='http://fedora.redhat.com/docs/fedora-install-guide-en/'/>">
<!ENTITY DOCG-URL "<ulink url='http://fedora.redhat.com/participate/documentation-guide/'/>">

<!-- ************** status notices ************* -->
<!ENTITY DRAFTNOTICE SYSTEM "./draftnotice-en_US.xml">
<!ENTITY LEGACYNOTICE SYSTEM "./legacynotice-en_US.xml">
<!ENTITY OBSOLETENOTICE SYSTEM "./obsoletenotice-en_US.xml">
<!ENTITY DEPRECATEDNOTICE SYSTEM "./deprecatednotice-en_US.xml">
quot;, ret, strerror(ret))); ERROR("Error setting the locale\n"); ret = EXIT_FAILURE; goto fini; } /* parse params */ pc = poptGetContext(NULL, argc, argv, long_options, 0); poptSetOtherOptionHelp(pc, "GROUPNAME"); if ((ret = poptGetNextOpt(pc)) < -1) { BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini); } DEBUG_INIT(pc_debug); /* groupname is an argument, not option */ pc_groupname = poptGetArg(pc); if (pc_groupname == NULL) { BAD_POPT_PARAMS(pc, _("Specify group to add\n"), ret, fini); } CHECK_ROOT(ret, debug_prg_name); ret = init_sss_tools(&tctx); if (ret != EOK) { DEBUG(1, ("init_sss_tools failed (%d): %s\n", ret, strerror(ret))); if (ret == ENOENT) { ERROR("Error initializing the tools - no local domain\n"); } else { ERROR("Error initializing the tools\n"); } ret = EXIT_FAILURE; goto fini; } /* if the domain was not given as part of FQDN, default to local domain */ ret = parse_name_domain(tctx, pc_groupname); if (ret != EOK) { ERROR("Invalid domain specified in FQDN\n"); ret = EXIT_FAILURE; goto fini; } tctx->octx->gid = pc_gid; /* arguments processed, go on to actual work */ if (id_in_range(tctx->octx->gid, tctx->octx->domain) != EOK) { ERROR("The selected GID is outside the allowed range\n"); ret = EXIT_FAILURE; goto fini; } tctx->error = sysdb_transaction_start(tctx->sysdb); if (tctx->error != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, ("Failed to start transaction\n")); goto done; } in_transaction = true; /* groupadd */ tctx->error = groupadd(tctx->sysdb, tctx->octx); if (tctx->error) { goto done; } tctx->error = sysdb_transaction_commit(tctx->sysdb); if (tctx->error != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, ("Failed to commit transaction\n")); goto done; } in_transaction = false; done: if (in_transaction) { sret = sysdb_transaction_cancel(tctx->sysdb); if (sret != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, ("Failed to cancel transaction\n")); } } if (tctx->error) { ret = tctx->error; switch (ret) { case ERANGE: ERROR("Could not allocate ID for the group - domain full?\n"); break; case EEXIST: ERROR("A group with the same name or GID already exists\n"); break; default: DEBUG(1, ("sysdb operation failed (%d)[%s]\n", ret, strerror(ret))); ERROR("Transaction error. Could not add group.\n"); break; } ret = EXIT_FAILURE; goto fini; } ret = EXIT_SUCCESS; fini: talloc_free(tctx); poptFreeContext(pc); exit(ret); }