Searched defs:netname (Results 1 - 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/lib/libsmbfs/netsmb/
H A Dsmb_netshareenum.h11 char *netname; member in struct:share_info
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcred.c66 dh_principal netname; local
94 if ((netname = cntx->keyopts->get_principal()) == NULL)
103 strncmp(netname, (char *)principal, MAXNETNAMELEN) != 0) {
104 Free(netname);
111 Free(netname);
119 dh_cred->principal = netname;
128 Free(netname);
135 Free(netname);
H A Dcontext_establish.c192 * name. netname will point to the users rpc netname. It is up to the
193 * caller to free the netname.
201 dh_principal *netname /* Cred owner */)
205 *netname = NULL;
218 * Get the netname.
221 if ((*netname = cntx->keyopts->get_principal()) == NULL) {
234 strcmp(*netname, cred->principal) != 0) {
235 free(*netname);
242 free(*netname);
378 dh_principal netname = NULL; local
663 create_context(OM_uint32 *minor, dh_context_t cntx, dh_gss_context_t *gss_ctx, dh_principal netname, dh_principal target, gss_channel_bindings_t channel, OM_uint32 flags_req, OM_uint32 time_req, OM_uint32 *flags_rec, OM_uint32 *time_rec, gss_buffer_t results ) argument
906 dh_principal netname; local
[all...]
H A Dname.c50 /* Diffie-Hellman ONC RPC netname name type */
144 * Routine that takes a netname as a character string and assigns it
170 char netname[MAXNETNAMELEN+1]; local
172 if (!user2netname(netname, uid, NULL)) {
176 return (do_netname_nametype(minor, netname, output));
198 char netname[MAXNETNAMELEN+1]; local
265 if (!host2netname(netname, node, domain)) {
271 return (do_netname_nametype(minor, netname, output));
285 if (!user2netname(netname, pwd.pw_uid, domain)) {
291 return (do_netname_nametype(minor, netname, outpu
306 char netname[MAXNETNAMELEN+1]; local
599 char *netname = (char *)pname; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Ddh_template.c243 char netname[MAXNETNAMELEN+1]; local
245 if (getnetname(netname))
246 return (strdup(netname));
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dauthdesubr.c387 kgetnetname(char *netname) argument
389 return (key_getnetname(netname, CRED()));
H A Dsec_svc.c227 char netname[MAXNETNAMELEN+1]; local
269 if (copyinstr(root, netname, sizeof (netname), &len)) {
278 bcopy(netname, roots[i], len);
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetkeyent.c166 char netname[SEARCHFILTERLEN]; local
172 * We need to break it down to find if this is a netname for host
175 if (_ldap_filter_name(netname, argp->key.pkey.name, sizeof (netname))
179 domain = strchr(netname, '@');
184 if ((p = strchr(netname, '.')) == NULL)
H A Dgetnetent.c205 char netname[SEARCHFILTERLEN]; local
208 if (_ldap_filter_name(netname, argp->key.name, sizeof (netname)) != 0)
212 _F_GETNETBYNAME, netname);
217 _F_GETNETBYNAME_SSD, netname);
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetgrent.c262 char netname[MAXNETNAMELEN + 1]; local
270 * Need to build up the netname for the user manually. Can't use
274 * Note that "root" has no user netname so return in error.
280 if (snprintf(netname, MAXNETNAMELEN + 1, "unix.%d@%s",
285 if ((res = _nss_nis_ypmatch(domain, "netid.byname", netname,
/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Dkey_call_uid.c159 key_setnet_g_uid(const char *netname, const char *skey, keylen_t skeylen, argument
166 arg.st_netname = (char *)netname;
214 tmp.st_netname = (char *)netname;
H A Ddhkeys.c88 * Get the secret key for the given netname, key length, and algorithm
98 const char *netname, /* in */
120 if (getsecretkey_g(netname, keylen, algtype, skey, skeylen, pw)) {
126 if (key_setnet_g_uid(netname, skey, keylen, NULL, 0,
143 "for '%s'."), keylen, algtype, netname);
161 * int establish_key(pamh, flags, debug, netname)
182 * (credentials not needed) if netname could not be created;
188 * This routine returns the user's netname in "netname".
196 establish_key(pam_handle_t *pamh, int flags, int debug, char *netname) argument
96 get_and_set_seckey( pam_handle_t *pamh, const char *netname, keylen_t keylen, algtype_t algtype, const char *pw, uid_t uid, gid_t gid, int *get_seckey_cnt, int *good_pw_cnt, int *set_seckey_cnt, int flags, int debug) argument
492 char netname[MAXNETNAMELEN + 1]; local
[all...]
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Drpc.ypupdated.c205 char *netname; local
231 netname = ((struct authdes_cred *)
245 netname = namebuf;
257 rslt = update(netname,
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypupdated.c213 char *netname; local
242 netname = ((struct authdes_cred *)
266 netname = namebuf;
279 fprintf(stderr, "netname = %s\n, map=%s\n key=%s\n",
280 netname, args.mapname, args.key.yp_buf_val);
282 rslt = update(netname, args.mapname, op,
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_resolve.c121 * information includes the netbuf, netname and knconfig.
126 char netname[MAXNETNAMELEN + 1]; local
154 fsl_retp->netname = namex;
182 free(fsl_retp->netname);
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_clnt.c94 srvsvc_net_share_get_info(char *server, char *domain, char *netname) argument
106 if (netname == NULL)
126 arg.netname = (LPTSTR)netname;
185 srvsvc_net_session_enum(char *server, char *domain, char *netname) argument
196 if (netname == NULL)
251 srvsvc_net_connect_enum(char *server, char *domain, char *netname, int level) argument
263 if (netname == NULL)
283 arg.qualifier = (LPTSTR)netname;
549 srvsvc_net_test(char *server, char *domain, char *netname) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/key/
H A Dxcrypt.c237 * Arg netname can be NULL for 192-0.
245 const char netname[], /* in */
305 if (netname)
306 (void) passwd2des_g(passwd, netname,
307 (int)strlen(netname), &key, FALSE);
342 * Arg netname can be NULL for 192-0.
350 const char netname[], /* in */
372 if (netname)
373 (void) passwd2des_g(passwd, netname,
374 (int)strlen(netname),
240 xencrypt_g( char *secret, keylen_t keylen, algtype_t algtype, const char *passwd, const char netname[], char **encrypted_secret, bool_t do_chksum) argument
345 xdecrypt_g( char *secret, int keylen, int algtype, const char *passwd, const char netname[], bool_t do_chksum) argument
[all...]
H A Dpublickey.c148 getkeys_nis(int *errp, char *netname, char *pkey, char *skey, char *passwd) argument
156 p = strchr(netname, '@');
170 err = __yp_match_cflookup(domain, (char *)PKMAP, netname,
171 strlen(netname), &keyval, &keylen, 0);
221 * netname <whitespace> publickey:privatekey
228 getkeys_files(int *errp, char *netname, char *pkey, char *skey, char *passwd) argument
255 PKFILE, netname);
262 PKFILE, netname);
266 if (strcasecmp(mkey, netname) == 0) {
271 PKFILE, netname);
310 __getpublickey_cached(char *netname, char *pkey, int *from_cache) argument
317 getpublickey(const char *netname, char *pkey) argument
323 __getpublickey_flush(const char *netname) argument
329 getsecretkey(const char *netname, char *skey, const char *passwd) argument
344 extract_secret_g( char *raw, char *private, int prilen, char *passwd, char *netname, keylen_t keylen, algtype_t algtype) argument
422 getkeys_ldap_g( int *err, char *netname, char *pkey, int pkeylen, char *skey, int skeylen, char *passwd, keylen_t keylen, algtype_t algtype) argument
503 netname2hashname( const char *netname, char *hashname, int bufsiz, keylen_t keylen, algtype_t algtype) argument
536 __getpublickey_flush_g(const char *netname, keylen_t keylen, algtype_t algtype) argument
546 __getpublickey_cached_g(const char netname[], keylen_t keylen, algtype_t algtype, char *pkey, size_t pkeylen, int *from_cache) argument
613 getpublickey_g( const char *netname, int keylen, int algtype, char *pkey, size_t pkeylen) argument
628 getsecretkey_g( const char *netname, keylen_t keylen, algtype_t algtype, char *skey, size_t skeylen, const char *passwd) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_misc_proc.c94 * the gss-api-export-name OID, the Diffie-Hellman netname OID, and
107 * its conceivable that another mechanism backend will support the netname
160 * Try and get the official netname oid from mech_dh.so.
184 * char netname[MAXNETNAMELEN+1])
186 * This routine attempts to extract the netname from an rpc_gss_principal_t
187 * which is in { gss-api-exorted-name } format. Return 0 if a netname was
203 __nis_gssprin2netname(rpc_gss_principal_t prin, char netname[MAXNETNAMELEN+1]) argument
234 * Check if we've got a netname. If we do we copy it
238 (void) strncpy(netname,
241 netname[MAXNETNAMELE
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dnetnamer.c44 * netname utility routines convert from netnames to unix names (uid, gid)
80 * appears in netname.c
195 netname2user_files(int *err, char *netname, struct netid_userdata *argp) argument
239 if (strcasecmp(name, netname) == 0) {
258 netname2user_nis(int *err, char *netname, struct netid_userdata *argp) argument
265 domain = strchr(netname, '@');
274 yperr = yp_match(domain, (char *)NETID, netname, strlen(netname),
299 * Build the uid and gid from the netname for users in LDAP.
301 * the netname t
308 netname2user_ldap(int *err, char *netname, struct netid_userdata *argp) argument
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dmount.h86 char *netname; /* server's netname */ member in struct:nfs_args
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dmount.c77 char *netname; /* server's netname */ member in struct:nfsarg
145 strcpy(na->netname, nfsa->netname);
/illumos-gate/usr/src/cmd/ypcmd/mknetid/
H A Dmknetid.c286 char netname[MAXNETNAMELEN]; local
295 host2netname(netname, name, domain);
296 if (wasprinted(netname)) {
297 multdef(netname);
300 (void) printf("%s 0:%.*s\n", netname, sizeof (name), name);
/illumos-gate/usr/src/cmd/rexd/
H A Don.c222 char netname[MAXNETNAMELEN+1]; local
331 if (host2netname(netname, hostname, domain) == 0) {
340 if (getpublickey(netname, publickey) == 0) {
347 if (!host2netname(netname,
354 netname,
369 Client->cl_auth = (AUTH *)authdes_create(netname, 60*60,
375 printf("authdes_create failed %s\n", netname);
/illumos-gate/usr/src/uts/common/nfs/
H A Dmount.h72 char *netname; /* server's netname */ member in struct:nfs_args
108 caddr32_t netname; /* server's netname */ member in struct:nfs_args32

Completed in 69 milliseconds

12