Searched defs:ent (Results 1 - 25 of 79) sorted by relevance

1234

/osnet-11/usr/src/lib/libsocket/inet/
H A Dbootparams_getbyname.c77 void *ent, /* really (char *) */
74 str2bootent( const char *instr, int lenstr, void *ent, char *buffer, int buflen ) argument
H A Dether_addr.c182 str2ether(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
184 uchar_t *ether = (uchar_t *)ent;
H A Dnetmasks.c221 * itself is placed in 'ent'.
224 str2addr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
227 struct in_addr *mask = (struct in_addr *)ent;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_findrealm.c39 krb5_keytab_entry ent; local
49 while ((ret = krb5_kt_next_entry(context, keytab, &ent, &cur)) == 0) {
51 memcpy(&tmp_realm, &ent.principal->realm, sizeof (krb5_data));
52 memcpy(&ent.principal->realm, &princ->realm,
55 match = krb5_principal_compare(context, ent.principal, princ);
58 memcpy(&ent.principal->realm, &tmp_realm, sizeof (krb5_data));
66 &ent.principal->realm, realm);
68 krb5_kt_free_entry(context, &ent);
73 krb5_kt_free_entry(context, &ent);
77 krb5_kt_free_entry(context, &ent);
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_krbcontainer.c80 LDAPMessage *result=NULL, *ent=NULL; local
157 if ((ent = ldap_first_entry(ld, result)) != NULL) {
158 if ((st=krb5_ldap_get_string(ld, ent, "krbcontainerreference",
175 if ((ent = ldap_first_entry(ld, result))) {
176 if ((st=krb5_ldap_get_string(ld, ent, "krbticketpolicyreference",
190 ent=ldap_first_entry(ld, result);
191 if (ent != NULL) {
192 krb5_ldap_get_value(ld, ent, "krbmaxtktlife", &(cparams->max_life));
193 krb5_ldap_get_value(ld, ent, "krbmaxrenewableage", &(cparams->max_renewable_life));
194 krb5_ldap_get_value(ld, ent, "krbticketflag
[all...]
H A Dldap_pwd_policy.c201 LDAPMessage *ent,
212 krb5_ldap_get_value(ld, ent, "krbmaxpwdlife", &(pol_entry->pw_max_life));
213 krb5_ldap_get_value(ld, ent, "krbminpwdlife", &(pol_entry->pw_min_life));
214 krb5_ldap_get_value(ld, ent, "krbpwdmindiffchars", &(pol_entry->pw_min_classes));
215 krb5_ldap_get_value(ld, ent, "krbpwdminlength", &(pol_entry->pw_min_length));
216 krb5_ldap_get_value(ld, ent, "krbpwdhistorylength", &(pol_entry->pw_history_num));
218 krb5_ldap_get_value(ld, ent, "krbpwdmaxfailure", &(pol_entry->pw_max_fail));
219 krb5_ldap_get_value(ld, ent, "krbpwdfailurecountinterval", &(pol_entry->pw_failcnt_interval));
220 krb5_ldap_get_value(ld, ent, "krbpwdlockoutduration", &(pol_entry->pw_lockout_duration));
223 pol_dn = ldap_get_dn(ld, ent);
199 populate_policy(krb5_context context, LDAP *ld, LDAPMessage *ent, char *pol_name, osa_policy_ent_t pol_entry) argument
245 LDAPMessage *result=NULL,*ent=NULL; local
398 LDAPMessage *result=NULL, *ent=NULL; local
[all...]
H A Dldap_tkt_policy.c202 LDAPMessage *result=NULL,*ent=NULL; local
245 ent=ldap_first_entry(ld, result);
246 if (ent != NULL) {
247 if (krb5_ldap_get_value(ld, ent, "krbmaxticketlife", (int *) &(lpolicy->maxtktlife)) == 0)
250 if (krb5_ldap_get_value(ld, ent, "krbmaxrenewableage", (int *) &(lpolicy->maxrenewlife)) == 0)
253 if (krb5_ldap_get_value(ld, ent, "krbticketflags", (int *) &(lpolicy->tktflags)) == 0)
422 LDAPMessage *result=NULL,*ent=NULL; local
461 for (ent=ldap_first_entry(ld, result), count=0; ent != NULL; ent
[all...]
/osnet-11/usr/src/lib/libnsl/nss/
H A Dgethostent6.c57 str2hostent6(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
59 return (__str2hostent(AF_INET6, instr, lenstr, ent, buffer, buflen));
H A Dgethostent_r.c52 str2hostent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
54 return (__str2hostent(AF_INET, instr, lenstr, ent, buffer, buflen));
H A Dgethostent.c106 __str2hostent(int af, const char *instr, int lenstr, void *ent, char *buffer, argument
109 struct hostent *host = (struct hostent *)ent;
H A Dgetrpcent_r.c119 str2rpcent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
121 struct rpcent *rpc = (struct rpcent *)ent;
/osnet-11/usr/src/lib/libcmd/common/
H A Dchmod.c158 register FTSENT*ent; local
262 while (!sh_checksig(context) && (ent = fts_read(fts)))
263 switch (ent->fts_info)
268 if (!(flags & FTS_PHYSICAL) || (flags & FTS_META) && ent->fts_level == 1)
269 fts_set(NiL, ent, FTS_FOLLOW);
278 mode = strperm(amode, &last, ent->fts_statp->st_mode);
279 if (show || (*chmodf)(ent->fts_accpath, mode) >= 0)
281 if (notify == 2 || notify == 1 && (mode&S_IPERM) != (ent->fts_statp->st_mode&S_IPERM))
282 sfprintf(sfstdout, "%s: mode changed to %0.4o (%s)\n", ent->fts_path, mode, fmtmode(mode, 1)+1);
285 error(ERROR_system(0), "%s: cannot change mode", ent
[all...]
H A Drm.c105 rm(State_t* state, register FTSENT* ent) argument
112 if (ent->fts_info == FTS_NS || ent->fts_info == FTS_ERR || ent->fts_info == FTS_SLNONE)
115 error(2, "%s: not found", ent->fts_path);
117 else if (state->fs3d && iview(ent->fts_statp))
118 fts_set(NiL, ent, FTS_SKIP);
119 else switch (ent->fts_info)
125 if (!beenhere(ent))
127 if (!chmod(ent
333 FTSENT* ent; local
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/clnt/
H A Dclnt_policy.c108 kadm5_get_policy(void *server_handle, char *name, kadm5_policy_ent_t ent) argument
126 memcpy(ent, &r->rec, sizeof(r->rec));
/osnet-11/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c63 struct mnttab ent; local
81 while (getmntent(fp, &ent) == 0) {
84 (mountTableSize + MNTTAB_HUNK) * sizeof (ent));
93 if (ent.mnt_special != NULL)
94 entp->mnt_special = _z_strdup(ent.mnt_special);
95 if (ent.mnt_mntopts != NULL)
96 entp->mnt_mntopts = _z_strdup(ent.mnt_mntopts);
97 entp->mnt_mountp = _z_strdup(ent.mnt_mountp);
98 entp->mnt_fstype = _z_strdup(ent.mnt_fstype);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetauuser.c61 str2auuser(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
65 au_user_str_t *au_user = ent;
82 if (ent == NULL)
H A Dgetauthattr.c60 _str2authattr(const char *instr, int lenstr, void *ent, char *buf, int buflen) argument
64 authstr_t *auth = ent;
76 if (ent == NULL)
H A Dgetprofattr.c60 _str2profattr(const char *instr, int lenstr, void *ent, char *buffer, argument
65 profstr_t *prof = ent;
77 if (ent == NULL)
H A Dgetpwnam_r.c241 str2passwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
243 struct passwd *passwd = (struct passwd *)ent;
262 if (ent == (void *)NULL)
H A Dgetspent_r.c180 str2spwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
182 struct spwd *shadow = (struct spwd *)ent;
209 if (ent == (void *)NULL)
H A Dgetuserattr.c70 _str2userattr(const char *instr, int lenstr, void *ent, char *buf, int buflen) argument
74 userstr_t *user = ent;
86 if (ent == NULL)
/osnet-11/usr/src/lib/nsswitch/nis/common/
H A Dgetspent.c46 nis_str2spent(const char *instr, int lenstr, void *ent, char *buffer, argument
49 struct spwd *spwd = (struct spwd *)ent;
/osnet-11/usr/src/lib/libidmap/common/
H A Ddirectory_client.c51 static directory_error_t copy_directory_entry(directory_entry_t *ent,
202 directory_entry_t *ent; local
213 ent = &del[i];
215 if (ent->attrs != NULL) {
217 for (j = 0; j < sized_array_n(ent->attrs); j++) {
218 dav = ent->attrs[j];
226 sized_array_free(ent->attrs);
229 directory_error_free(ent->err);
280 directory_entry_t *ent,
292 ent
279 copy_directory_entry( directory_entry_t *ent, directory_entry_rpc *ent_rpc) argument
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dserver_misc.c148 struct passwd *ent; local
188 ent = hes_getpwnam(cp);
189 if (ent && ent->pw_gecos)
190 if (str_check_gecos(ent->pw_gecos, password))
/osnet-11/usr/src/lib/libproject/common/
H A Dgetprojent.c375 _str2project(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
377 struct project *project = ent;

Completed in 58 milliseconds

1234