user              101 attrd/commands.c         free(a->user);
user              112 attrd/commands.c     xmlNode *parent, const char *name, const char *set, const char *uuid, unsigned int timeout_ms, const char *user,
user              120 attrd/commands.c     crm_xml_add(xml, F_ATTRD_USER, user);
user              145 attrd/commands.c     crm_trace("Performing all %s operations as user '%s'", a->id, a->user);
user              146 attrd/commands.c     a->user = crm_element_value_copy(xml, F_ATTRD_USER);
user              648 attrd/commands.c             build_attribute_xml(sync, a->id, a->set, a->uuid, a->timeout_ms, a->user, a->is_private,
user              832 attrd/commands.c         build_attribute_xml(sync, attr, a->set, a->uuid, a->timeout_ms, a->user,
user             1188 attrd/commands.c                                     flags, a->user);
user               36 attrd/internal.h     char *user;
user               77 attrd/legacy.c     char *user;
user              102 attrd/legacy.c     free(entry->user);
user              121 attrd/legacy.c     CRM_ASSERT(client->user != NULL);
user              122 attrd/legacy.c     crm_acl_get_set_user(msg, F_ATTRD_USER, client->user);
user              218 attrd/legacy.c     free(hash_entry->user);
user              219 attrd/legacy.c     hash_entry->user = NULL;
user              223 attrd/legacy.c         hash_entry->user = strdup(value);
user              831 attrd/legacy.c     if (hash_entry->user) {
user              832 attrd/legacy.c         user_name = hash_entry->user;
user              833 attrd/legacy.c         crm_trace("Performing request from user '%s'", hash_entry->user);
user             1220 attrd/legacy.c     if (hash_entry->user) {
user             1221 attrd/legacy.c         crm_xml_add(msg, F_ATTRD_USER, hash_entry->user);
user              246 attrd/main.c       CRM_ASSERT(client->user != NULL);
user              247 attrd/main.c       crm_acl_get_set_user(xml, F_ATTRD_USER, client->user);
user              304 cib/callbacks.c     CRM_LOG_ASSERT(cib_client->user != NULL);
user              305 cib/callbacks.c     crm_acl_get_set_user(op_request, F_CIB_USER, cib_client->user);
user               83 cib/remote.c   int authenticate_user(const char *user, const char *passwd);
user              221 cib/remote.c       const char *user = NULL;
user              242 cib/remote.c       user = crm_element_value(login, "user");
user              245 cib/remote.c       if (!user || !pass) {
user              253 cib/remote.c       if (check_group_membership(user, CRM_DAEMON_GROUP) == FALSE) {
user              257 cib/remote.c       } else if (authenticate_user(user, pass) == FALSE) {
user              448 cib/remote.c       crm_xml_add(command, F_CIB_USER, client->user);
user              513 cib/remote.c           const char *user = NULL;
user              528 cib/remote.c           user = crm_element_value(command, "user");
user              529 cib/remote.c           if (user) {
user              530 cib/remote.c               client->user = strdup(user);
user              629 cib/remote.c   authenticate_user(const char *user, const char *passwd)
user              652 cib/remote.c       rc = pam_start(pam_name, user, &p_conv, &pam_h);
user              660 cib/remote.c           crm_err("Authentication failed for %s: %s (%d)", user, pam_strerror(pam_h, rc), rc);
user              678 cib/remote.c       } else if (safe_str_neq(p_user, user)) {
user              679 cib/remote.c           crm_err("User mismatch: %s vs. %s.", (const char *)p_user, (const char *)user);
user              724 crmd/control.c     CRM_ASSERT(client->user != NULL);
user              725 crmd/control.c     crm_acl_get_set_user(msg, F_CRM_USER, client->user);
user             1311 crmd/lrm.c                     const char *user,
user             1317 crmd/lrm.c         crm_info("Removing resource %s for %s (%s) on %s", id, sys, user ? user : "internal", host);
user             1339 crmd/lrm.c                      id, sys, user ? user : "internal", host, rc);
user             1342 crmd/lrm.c         delete_rsc_entry(lrm_state, request, id, gIter, rc, user);
user              168 include/crm/cib.h cib_t *cib_remote_new(const char *server, const char *user, const char *passwd, int port,
user               38 include/crm/common/internal.h gboolean crm_is_writable(const char *dir, const char *file, const char *user, const char *group,
user               76 include/crm/common/ipcs.h     char *user;
user              185 include/crm/common/util.h bool pcmk_acl_required(const char *user);
user              377 include/crm/common/xml.h bool xml_acl_filtered_copy(const char *user, xmlNode* acl_source, xmlNode *xml, xmlNode ** result);
user              381 include/crm/common/xml.h void xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls);
user              298 include/crm/services.h     int services_action_user(svc_action_t *op, const char *user);
user               43 include/crm_internal.h void determine_request_user(const char *user, xmlNode * request, const char *field);
user               49 include/crm_internal.h is_privileged(const char *user)
user               51 include/crm_internal.h     if (user == NULL) {
user               53 include/crm_internal.h     } else if (strcmp(user, CRM_DAEMON_USER) == 0) {
user               55 include/crm_internal.h     } else if (strcmp(user, "root") == 0) {
user              229 lib/cib/cib_client.c         const char *user = NULL;
user              232 lib/cib/cib_client.c             user = pwent->pw_name;
user              235 lib/cib/cib_client.c             user = getenv("USER");
user              238 lib/cib/cib_client.c         if (safe_str_eq(user, "root") || safe_str_eq(user, CRM_DAEMON_USER)) {
user              319 lib/cib/cib_client.c         const char *user = getenv("CIB_user");
user              328 lib/cib/cib_client.c         if (user == NULL) {
user              329 lib/cib/cib_client.c             user = CRM_DAEMON_USER;
user              330 lib/cib/cib_client.c             crm_info("Defaulting to user: %s", user);
user              338 lib/cib/cib_client.c         return cib_remote_new(server, user, pass, port, encrypted);
user               67 lib/cib/cib_remote.c     char *user;
user              115 lib/cib/cib_remote.c cib_remote_new(const char *server, const char *user, const char *passwd, int port,
user              130 lib/cib/cib_remote.c     if (user) {
user              131 lib/cib/cib_remote.c         private->user = strdup(user);
user              260 lib/cib/cib_remote.c     crm_xml_add(login, "user", private->user);
user              410 lib/cib/cib_remote.c     if (private->server == NULL || private->user == NULL) {
user              473 lib/cib/cib_remote.c             free(private->user);
user              270 lib/cib/cib_utils.c cib_acl_enabled(xmlNode *xml, const char *user)
user              275 lib/cib/cib_utils.c     if(pcmk_acl_required(user)) {
user              304 lib/cib/cib_utils.c     const char *user = crm_element_value(req, F_CIB_USER);
user              328 lib/cib/cib_utils.c         if(cib_acl_enabled(cib_ro, user)) {
user              329 lib/cib/cib_utils.c             if(xml_acl_filtered_copy(user, current_cib, current_cib, &cib_filtered)) {
user              374 lib/cib/cib_utils.c         xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user));
user              379 lib/cib/cib_utils.c         xml_track_changes(scratch, user, NULL, cib_acl_enabled(scratch, user));
user              384 lib/cib/cib_utils.c             xml_track_changes(scratch, user, current_cib, cib_acl_enabled(current_cib, user));
user              566 lib/cib/cib_utils.c     if(rc != pcmk_ok && cib_acl_enabled(current_cib, user)) {
user              567 lib/cib/cib_utils.c         if(xml_acl_filtered_copy(user, current_cib, scratch, result_cib)) {
user              280 lib/common/io.c                 const char *user, const char *group, gboolean need_both)
user              316 lib/common/io.c     if (user) {
user              319 lib/common/io.c         sys_user = getpwnam(user);
user              323 lib/common/io.c             crm_err("%s must be owned and r/w by user %s", target, user);
user              336 lib/common/io.c             if (need_both || user == NULL) {
user              360 lib/common/ipc.c     client->user = uid2username(uid_client);
user              401 lib/common/ipc.c     free(c->user);
user              845 lib/common/logging.c         const char *user = getenv("USER");
user              847 lib/common/logging.c         if (user != NULL && safe_str_neq(user, "root") && safe_str_neq(user, CRM_DAEMON_USER)) {
user              848 lib/common/logging.c             crm_trace("Not switching to corefile directory for %s", user);
user              854 lib/common/logging.c         int user = getuid();
user              856 lib/common/logging.c         struct passwd *pwent = getpwuid(user);
user              859 lib/common/logging.c             crm_perror(LOG_ERR, "Cannot get name for uid: %d", user);
user             1236 lib/common/utils.c pcmk_acl_required(const char *user) 
user             1239 lib/common/utils.c     if(user == NULL || strlen(user) == 0) {
user             1243 lib/common/utils.c     } else if (strcmp(user, CRM_DAEMON_USER) == 0) {
user             1246 lib/common/utils.c     } else if (strcmp(user, "root") == 0) {
user             1249 lib/common/utils.c     crm_trace("acls required for %s", user);
user             1278 lib/common/utils.c     const char *user = NULL;
user             1291 lib/common/utils.c         user = effective_user;
user             1295 lib/common/utils.c         user = effective_user;
user             1299 lib/common/utils.c         user = requested_user;
user             1303 lib/common/utils.c         user = peer_user;
user             1307 lib/common/utils.c         user = peer_user;
user             1311 lib/common/utils.c         user = requested_user;
user             1315 lib/common/utils.c     if(user != crm_element_value(request, XML_ACL_TAG_USER)) {
user             1316 lib/common/utils.c         crm_xml_add(request, XML_ACL_TAG_USER, user);
user             1319 lib/common/utils.c     if(field != NULL && user != crm_element_value(request, field)) {
user             1320 lib/common/utils.c         crm_xml_add(request, field, user);
user             1327 lib/common/utils.c determine_request_user(const char *user, xmlNode * request, const char *field)
user             1330 lib/common/utils.c     CRM_CHECK(user != NULL && request != NULL && field != NULL, return);
user             1333 lib/common/utils.c     if (is_privileged(user) == FALSE) {
user             1335 lib/common/utils.c         crm_xml_replace(request, field, user);
user             1339 lib/common/utils.c         crm_xml_replace(request, field, user);
user               81 lib/common/xml.c         char *user;
user              302 lib/common/xml.c         free(p->user);
user              303 lib/common/xml.c         p->user = NULL;
user              548 lib/common/xml.c         crm_trace("Not applying ACLs for %s", p->user);
user              591 lib/common/xml.c         crm_info("Enforcing default ACL for %s to %s", p->user, crm_element_name(xml));
user              597 lib/common/xml.c __xml_acl_unpack(xmlNode *source, xmlNode *target, const char *user)
user              607 lib/common/xml.c     if(pcmk_acl_required(user) == FALSE) {
user              608 lib/common/xml.c         crm_trace("no acls needed for '%s'", user);
user              613 lib/common/xml.c         free(p->user);
user              614 lib/common/xml.c         p->user = strdup(user);
user              625 lib/common/xml.c                     if(id && strcmp(id, user) == 0) {
user              701 lib/common/xml.c xml_acl_filtered_copy(const char *user, xmlNode* acl_source, xmlNode *xml, xmlNode ** result)
user              709 lib/common/xml.c     if(xml == NULL || pcmk_acl_required(user) == FALSE) {
user              710 lib/common/xml.c         crm_trace("no acls needed for '%s'", user);
user              714 lib/common/xml.c     crm_trace("filtering copy of %p for '%s'", xml, user);
user              720 lib/common/xml.c     __xml_acl_unpack(acl_source, target, user);
user              742 lib/common/xml.c                     crm_trace("No access to the entire document for %s", user);
user              754 lib/common/xml.c         crm_trace("No access to the entire document for %s", user);
user              763 lib/common/xml.c         crm_trace("Ordinary user '%s' cannot access the CIB without any defined ACLs", doc->user);
user              857 lib/common/xml.c xml_track_changes(xmlNode * xml, const char *user, xmlNode *acl_source, bool enforce_acls) 
user              867 lib/common/xml.c         __xml_acl_unpack(acl_source, xml, user);
user             2442 lib/common/xml.c                 crm_trace("Ordinary user %s cannot access the CIB without any defined ACLs", docp->user);
user              435 lib/services/services.c services_action_user(svc_action_t *op, const char *user)
user              437 lib/services/services.c     CRM_CHECK((op != NULL) && (user != NULL), return -EINVAL);
user              438 lib/services/services.c     return crm_user_lookup(user, &(op->opaque->uid), &(op->opaque->gid));
user              266 lrmd/ipc_proxy.c     crm_xml_add(msg, F_LRMD_IPC_USER, client->user);
user             2313 tools/crm_mon.c     const char *user = crm_element_value(data_set->input, XML_ATTR_UPDATE_USER);
user             2321 tools/crm_mon.c             print_as((user || client || origin)? "\n" : "\t\t");
user             2323 tools/crm_mon.c             if (user) {
user             2324 tools/crm_mon.c                 print_as(" by %s", user);
user             2339 tools/crm_mon.c             if (user) {
user             2340 tools/crm_mon.c                 fprintf(stream, " by %s", user);
user             2354 tools/crm_mon.c                     last_written ? last_written : "", user ? user : "",