Lines Matching defs:s
209 gettext("\t%s -m member [[-m member] ...] group\n"),
214 (void) fprintf(fp, gettext("\t%s [-d description] group\n"),
219 (void) fprintf(fp, gettext("\t%s group\n"), cmd->name);
224 (void) fprintf(fp, gettext("\t%s user\n"), cmd->name);
228 (void) fprintf(fp, gettext("\t%s [[-p property] ...] group\n"),
234 (void) fprintf(fp, gettext("\t%s [-y] -p domain\n"
235 "\t%s [-y] -u username domain\n\t%s [-y] -w workgroup\n"),
238 (void) fprintf(fp, gettext("\t%s [-y] -u username domain\n"
239 "\t%s [-y] -w workgroup\n"), cmd->name, cmd->name);
244 (void) fprintf(fp, gettext("\t%s\n"), cmd->name);
255 gettext("\t%s user-or-group-name\n"),
261 gettext("\t%s -m member [[-m member] ...] group\n"),
266 (void) fprintf(fp, gettext("\t%s group new-group\n"),
271 (void) fprintf(fp, gettext("\t%s -p property=value "
276 (void) fprintf(fp, gettext("\t%s [-m] [-p] [group]\n"),
297 gettext("usage: %s [-h | <command> [options]]\n"),
306 gettext("\nFor property list, run %s %s|%s\n"),
323 (void) fprintf(fp, "\n\t%-16s %s\n\n",
327 (void) fprintf(fp, "\t%-16s %s\n",
339 * Find a string 's' within a list of strings.
344 smbadm_strcasecmplist(const char *s, ...)
350 va_start(ap, s);
353 if (strcasecmp(s, p) == 0) {
376 (void) printf(gettext("%s [%s]: "), prompt, dflt);
420 (void) printf(gettext("After joining %s the smb service will be "
512 (void) fprintf(stderr, gettext("missing %s name\n"),
550 (void) fprintf(stderr, gettext("failed to join %s: %s\n"),
555 (void) printf(gettext("Successfully joined %s\n"), jdi.domain_name);
634 (void) printf(gettext("Joining %s ... this may take a minute ...\n"),
640 " (error %d: %s) "
651 "Successfully joined domain %s using AD server %s\n"),
660 "failed to find any AD servers for domain: %s\n"),
667 "failed to resolve address of AD server: %s\n"),
674 "failed to authenticate with AD server: %s\n"),
684 "failed connecting to services on AD server: %s\n"),
690 "failed to join domain %s\n"),
694 "using AD server: %s\n"),
700 (void) fprintf(stderr, "%s\n",
703 (void) fprintf(stderr, "(%s)\n",
778 (void) fprintf(stderr, gettext("failed to get the %s name\n"),
784 (void) printf(gettext("[*] [%s]\n"), domain);
788 (void) printf(gettext("[*] [%s]\n"), domain);
790 (void) printf(gettext("[*] [%s]\n"), fqdn);
797 (void) printf(gettext("\t[+%s] [%s]\n"),
838 "\t\t%s: lookup name failed, rc=%d\n"),
843 (void) fprintf(stderr, gettext("\t\t%s [%s]\n"),
847 (void) printf("\t%s\n", acct.a_sid);
858 "\t\t%s: lookup SID failed, rc=%d\n"),
863 (void) fprintf(stderr, gettext("\t\t%s [%s]\n"),
867 (void) printf("\t%s\\%s\n", acct.a_domain, acct.a_name);
903 gettext("failed to create %s (%s)\n"), gname,
906 (void) printf(gettext("%s created\n"), gname);
938 (void) printf(gettext("\t\t%s [%s]\n"),
941 (void) printf(gettext("\t\t%s\n"), sidstr);
950 (void) printf("\t\t%s@%s\n", name, domain);
952 (void) printf("\t\t%s\\%s\n", domain, name);
985 (void) printf(gettext("\t\t%s: %s\n"), pinfo->name, pstatus);
1002 (void) printf(gettext("%s (%s)\n"), grp->sg_name, grp->sg_cmnt);
1005 (void) printf(gettext("\tSID: %s\n"), sidstr);
1056 gettext("failed to find %s (%s)\n"),
1063 (void) fprintf(stderr, gettext("failed to list groups (%s)\n"),
1077 smb_syslog(LOG_ERR, "smb_lgrp_iterate: %s",
1107 gettext("failed to delete %s (%s)\n"), gname,
1110 (void) printf(gettext("%s deleted\n"), gname);
1142 gettext("failed to rename '%s' (%s already "
1146 gettext("failed to rename '%s' (%s)\n"), gname,
1149 (void) printf(gettext("'%s' renamed to '%s'\n"), gname, ngname);
1420 gettext("%s: name lookup failed\n"), mname);
1429 gettext("%s: no memory for SID\n"), sidstr);
1453 gettext("failed to %s %s (%s)\n"),
1474 (void) printf(gettext("%s is disabled.\n"), user);
1476 (void) fprintf(stderr, "%s\n", smbadm_pwd_strerror(error));
1495 (void) printf(gettext("%s is enabled.\n"), user);
1497 (void) fprintf(stderr, "%s\n", smbadm_pwd_strerror(error));
1548 gettext("%s: %s: authorization denied\n"),
1564 (void) fprintf(stderr, gettext("unknown subcommand (%s)\n"), argv[1]);
1578 gettext("failed to initialize (%s)\n"),
1642 (void) fprintf(stderr, gettext("unrecognized property '%s'\n"),
1701 gettext("failed to modify the group description (%s)\n"),
1706 (void) printf(gettext("%s: description modified\n"), gname);
1719 gettext("failed to get the group description (%s)\n"),
1724 (void) printf(gettext("\t%s: %s\n"), prop->p_name, cmnt);
1737 (void) printf(gettext("Enabling %s privilege "), prop->p_name);
1740 (void) printf(gettext("Disabling %s privilege "), prop->p_name);
1749 (void) printf(gettext("failed: %s\n"),
1765 (void) fprintf(stderr, gettext("failed to get %s (%s)\n"),
1770 (void) printf(gettext("\t%s: %s\n"), prop->p_name,
1817 gettext("missing value for '%s'\n"), prop->p_name);
1828 gettext("%s: unrecognized value for '%s' property\n"),