Searched defs:unixname (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dnldaputils.c100 char **unixname; member in struct:idmap_nldap_q
303 char **unixname, uid_t *pid, idmap_retcode *rc)
315 q->unixname = unixname;
444 char **unixname, idmap_retcode *rc)
456 q->unixname = unixname;
508 const char *unixname, int is_user,
544 s_unixname = sanitize_for_ldap_filter(unixname);
553 if (s_unixname != unixname)
300 idmap_nldap_bywinname_batch_add(idmap_nldap_query_state_t *qs, const char *winname, const char *windomain, int is_user, char **dn, char **attr, char **value, char **unixname, uid_t *pid, idmap_retcode *rc) argument
441 idmap_nldap_bypid_batch_add(idmap_nldap_query_state_t *qs, uid_t pid, int is_user, char **dn, char **attr, char **value, char **winname, char **windomain, char **unixname, idmap_retcode *rc) argument
507 idmap_nldap_byunixname_batch_add(idmap_nldap_query_state_t *qs, const char *unixname, int is_user, char **dn, char **attr, char **value, char **winname, char **windomain, uid_t *pid, idmap_retcode *rc) argument
[all...]
H A Dadutils.c89 char **unixname; /* unixname for name mapping */ member in struct:idmap_q
262 char *unixname,
308 if (q->unixname) {
309 *q->unixname = unixname;
310 unixname = NULL;
338 free(unixname);
449 q->unixname != NULL) {
451 * If the caller has requested unixname the
253 idmap_setqresults( idmap_q_t *q, char *san, const char *dn, const char *attr, char *value, char *sid, rid_t rid, int sid_type, char *unixname, posix_id_t pid) argument
590 idmap_batch_add1(idmap_query_state_t *state, const char *filter, char *ecanonname, char *edomain, idmap_id_type esidtype, char **dn, char **attr, char **value, char **canonname, char **dname, char **sid, rid_t *rid, idmap_id_type *sid_type, char **unixname, posix_id_t *pid, idmap_retcode *rc) argument
697 idmap_name2sid_batch_add1(idmap_query_state_t *state, const char *name, const char *dname, idmap_id_type esidtype, char **dn, char **attr, char **value, char **canonname, char **sid, rid_t *rid, idmap_id_type *sid_type, char **unixname, posix_id_t *pid, idmap_retcode *rc) argument
770 idmap_sid2name_batch_add1(idmap_query_state_t *state, const char *sid, const rid_t *rid, idmap_id_type esidtype, char **dn, char **attr, char **value, char **name, char **dname, idmap_id_type *sid_type, char **unixname, posix_id_t *pid, idmap_retcode *rc) argument
811 idmap_unixname2sid_batch_add1(idmap_query_state_t *state, const char *unixname, int is_user, int is_wuser, char **dn, char **attr, char **value, char **sid, rid_t *rid, char **name, char **dname, idmap_id_type *sid_type, idmap_retcode *rc) argument
[all...]
H A Ddbutils.c490 "columns unixname, is_user, u2w_order are not unique"},
635 if (!EMPTY_STRING(rule->unixname)) {
637 "AND unixname = %Q AND is_user = %d ",
638 rule->unixname, rule->is_user ? 1 : 0);
761 get_namerule_order(char *winname, char *windomain, char *unixname, argument
770 * 2. winname@domain (or winname) to unixname
772 * 4. winname@* to unixname
775 * 7. *@domain (or *) to unixname
778 * 10. *@* to unixname
791 else if (unixname
1159 idmap_namerule_set(idmap_namerule *rule, const char *windomain, const char *winname, const char *unixname, boolean_t is_user, boolean_t is_wuser, boolean_t is_nt4, int direction) argument
1894 char **unixname; local
2934 ns_lookup_bypid(uid_t pid, int is_user, char **unixname) argument
3012 const char *unixname, *windomain; local
4188 ad_lookup_by_winname(lookup_state_t *state, const char *name, const char *domain, int esidtype, char **dn, char **attr, char **value, char **canonname, char **sidprefix, idmap_rid_t *rid, idmap_id_type *wintype, char **unixname) argument
4408 name_based_mapping_pid2sid(lookup_state_t *state, const char *unixname, int is_user, idmap_mapping *req, idmap_id_res *res) argument
[all...]
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c568 unixname2dn(idmap_nm_handle_t *p, char *unixname, int is_user, char **dn, argument
587 unixname);
595 : gettext("Group %s not found."), unixname);
607 namemap_log(gettext("User %s not found"), unixname);
625 unixname);
859 idmap_set_namemap(idmap_nm_handle_t *p, char *winname, char *unixname, argument
881 p->ad_unixgroup_attr, unixname);
899 rc = unixname2dn(p, unixname, is_user, &dn,
950 idmap_unset_namemap(idmap_nm_handle_t *p, char *winname, char *unixname, argument
972 p->ad_unixgroup_attr, unixname);
1032 char *unixname; local
[all...]
H A Didmap.c49 * unixname, uid, gid, sid or not given at all:
61 #define TYPE_UN 0x100 /* unixname */
133 char *unixname; member in struct:__anon92
171 * winname:bob@foo.com -> unixname:fred
934 * Assemble a text unixname, e.g. unixuser:fred. Use only for
940 nm2unixname(name_mapping_t *nm, char **unixname) argument
946 if (nm->unixname == NULL) {
950 *unixname = pid_format(nm->pid, nm->is_user);
954 if (shell_app(&it, nm->unixname, 0))
985 *unixname
1072 char *unixname = NULL; local
1196 char *unixname = NULL; local
2001 static char *unixname = NULL; local
3364 char *unixname = NULL; local
[all...]
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_api.c245 char **unixname, boolean_t *is_user, boolean_t *is_wuser,
252 if (unixname)
253 *unixname = NULL;
268 char **unixname, boolean_t *is_user, boolean_t *is_wuser,
273 if (EMPTY_STRING(rule->winname) && EMPTY_STRING(rule->unixname))
285 retcode = idmap_strdupnull(unixname, rule->unixname);
307 if (unixname && *unixname)
308 free(*unixname);
244 idmap_namerule_parts_clear(char **windomain, char **winname, char **unixname, boolean_t *is_user, boolean_t *is_wuser, boolean_t *is_nt4, int *direction) argument
266 idmap_namerule2parts(idmap_namerule *rule, char **windomain, char **winname, char **unixname, boolean_t *is_user, boolean_t *is_wuser, boolean_t *is_nt4, int *direction) argument
350 idmap_udt_get_error_rule(idmap_udt_handle_t *udthandle, char **windomain, char **winname, char **unixname, boolean_t *is_user, boolean_t *is_wuser, boolean_t *is_nt4, int *direction) argument
384 idmap_udt_get_conflict_rule(idmap_udt_handle_t *udthandle, char **windomain, char **winname, char **unixname, boolean_t *is_user, boolean_t *is_wuser, boolean_t *is_nt4, int *direction) argument
425 idmap_udt_add_namerule(idmap_udt_handle_t *udthandle, const char *windomain, boolean_t is_user, boolean_t is_wuser, const char *winname, const char *unixname, boolean_t is_nt4, int direction) argument
472 idmap_udt_rm_namerule(idmap_udt_handle_t *udthandle, boolean_t is_user, boolean_t is_wuser, const char *windomain, const char *winname, const char *unixname, int direction) argument
568 idmap_iter_namerules(const char *windomain, boolean_t is_user, boolean_t is_wuser, const char *winname, const char *unixname, idmap_iter_t **iter) argument
631 idmap_iter_next_namerule(idmap_iter_t *iter, char **windomain, char **winname, char **unixname, boolean_t *is_user, boolean_t *is_wuser, boolean_t *is_nt4, int *direction) argument
758 idmap_iter_next_mapping(idmap_iter_t *iter, char **sidprefix, idmap_rid_t *rid, uid_t *pid, char **winname, char **windomain, char **unixname, boolean_t *is_user, boolean_t *is_wuser, int *direction, idmap_info *info) argument
1597 idmap_get_w2u_mapping( const char *sidprefix, idmap_rid_t *rid, const char *winname, const char *windomain, int flag, int *is_user, int *is_wuser, uid_t *pid, char **unixname, int *direction, idmap_info *info) argument
1711 idmap_get_u2w_mapping( uid_t *pid, const char *unixname, int flag, int is_user, int *is_wuser, char **sidprefix, idmap_rid_t *rid, char **winname, char **windomain, int *direction, idmap_info *info) argument
[all...]

Completed in 172 milliseconds