/freebsd-10.3-release/lib/libypclnt/ |
H A D | ypclnt_free.c | 39 #include "ypclnt.h" 42 ypclnt_free(ypclnt_t *ypclnt) argument 44 if (ypclnt != NULL) { 45 free(ypclnt->domain); 46 free(ypclnt->map); 47 free(ypclnt->server); 48 free(ypclnt->error); 49 free(ypclnt);
|
H A D | ypclnt_new.c | 40 #include "ypclnt.h" 45 ypclnt_t *ypclnt; local 47 if ((ypclnt = calloc(1, sizeof *ypclnt)) == NULL) 49 if (domain != NULL && (ypclnt->domain = strdup(domain)) == NULL) 51 if (map != NULL && (ypclnt->map = strdup(map)) == NULL) 53 if (server != NULL && (ypclnt->server = strdup(server)) == NULL) 55 return (ypclnt); 57 free(ypclnt->domain); 58 free(ypclnt [all...] |
H A D | ypclnt_connect.c | 45 #include <rpcsvc/ypclnt.h> 47 #include "ypclnt.h" 50 ypclnt_connect(ypclnt_t *ypclnt) argument 55 if (ypclnt->domain == NULL) { 56 if ((ypclnt->domain = malloc(MAXHOSTNAMELEN)) == NULL) { 57 ypclnt_error(ypclnt, __func__, 61 if (getdomainname(ypclnt->domain, MAXHOSTNAMELEN) != 0) { 62 ypclnt_error(ypclnt, __func__, 69 if (ypclnt->map == NULL) { 70 ypclnt_error(ypclnt, __func_ [all...] |
H A D | ypclnt_error.c | 41 #include "ypclnt.h" 44 ypclnt_error(ypclnt_t *ypclnt, const char *func, const char *fmt, ...) argument 49 free(ypclnt->error); 50 ypclnt->error = NULL; 57 asprintf(&ypclnt->error, "%s(): %s", func, errmsg);
|
H A D | ypclnt.h | 34 * $FreeBSD: releng/10.3/lib/libypclnt/ypclnt.h 160804 2006-07-28 21:34:37Z stefanf $ 39 typedef struct ypclnt ypclnt_t; 40 struct ypclnt { struct
|
H A D | ypclnt_passwd.c | 50 #include <rpcsvc/ypclnt.h> 53 #include "ypclnt.h" 65 ypclnt_havepasswdd(ypclnt_t *ypclnt) argument 73 if (getrpcport(ypclnt->server, YPPASSWDPROG, 75 ypclnt_error(ypclnt, __func__, "no rpc.yppasswdd on server"); 91 ypclnt_error(ypclnt, __func__, 98 ypclnt_error(ypclnt, __func__, 100 clnt_spcreateerror(ypclnt->server)); 118 ypclnt_passwd(ypclnt_t *ypclnt, const struct passwd *pwd, const char *passwd) argument 120 switch (ypclnt_havepasswdd(ypclnt)) { 137 yppasswd_local(ypclnt_t *ypclnt, const struct passwd *pwd) argument 237 yppasswd_remote(ypclnt_t *ypclnt, const struct passwd *pwd, const char *passwd) argument [all...] |
H A D | Makefile | 3 LIB= ypclnt 12 INCS= ypclnt.h
|
/freebsd-10.3-release/usr.bin/chpass/ |
H A D | chpass.c | 65 #include <ypclnt.h> 88 struct ypclnt *ypclnt; local 162 ypclnt = ypclnt_new(yp_domain, "passwd.byname", yp_host); 163 master_mode = (ypclnt != NULL && 164 ypclnt_connect(ypclnt) != -1 && 165 ypclnt_havepasswdd(ypclnt) == 1); 166 ypclnt_free(ypclnt); 243 ypclnt = ypclnt_new(yp_domain, "passwd.byname", yp_host); 244 if (ypclnt [all...] |
/freebsd-10.3-release/lib/libpam/modules/pam_unix/ |
H A D | pam_unix.c | 59 #include <ypclnt.h> 269 struct ypclnt *ypclnt; local 310 ypclnt = ypclnt_new(yp_domain, "passwd.byname", yp_server); 311 if (ypclnt == NULL) 314 if (ypclnt_connect(ypclnt) == -1) { 315 ypclnt_free(ypclnt); 319 retval = ypclnt_havepasswdd(ypclnt); 320 ypclnt_free(ypclnt); 418 ypclnt [all...] |
/freebsd-10.3-release/lib/librpcsvc/ |
H A D | secretkey.c | 51 #include <rpcsvc/ypclnt.h>
|
H A D | yp_passwd.c | 39 #include <rpcsvc/ypclnt.h>
|
H A D | yp_update.c | 45 #include <rpcsvc/ypclnt.h>
|
/freebsd-10.3-release/crypto/heimdal/appl/login/ |
H A D | login_locl.h | 85 #include <rpcsvc/ypclnt.h>
|
/freebsd-10.3-release/usr.sbin/yppoll/ |
H A D | yppoll.c | 47 #include <rpcsvc/ypclnt.h>
|
/freebsd-10.3-release/include/rpcsvc/ |
H A D | Makefile | 16 HFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h
|
/freebsd-10.3-release/lib/libc/rpc/ |
H A D | getpublickey.c | 49 #include <rpcsvc/ypclnt.h>
|
H A D | netname.c | 49 #include <rpcsvc/ypclnt.h>
|
/freebsd-10.3-release/usr.bin/ypcat/ |
H A D | ypcat.c | 41 #include <rpcsvc/ypclnt.h>
|
/freebsd-10.3-release/usr.bin/ypmatch/ |
H A D | ypmatch.c | 41 #include <rpcsvc/ypclnt.h>
|
/freebsd-10.3-release/usr.sbin/rpc.ypupdated/ |
H A D | yp_dbupdate.c | 46 #include <rpcsvc/ypclnt.h>
|
/freebsd-10.3-release/usr.sbin/ypset/ |
H A D | ypset.c | 45 #include <rpcsvc/ypclnt.h>
|
/freebsd-10.3-release/crypto/heimdal/lib/roken/ |
H A D | iruserok.c | 47 #include <rpcsvc/ypclnt.h>
|
/freebsd-10.3-release/lib/libc/gen/ |
H A D | getusershell.c | 56 #include <rpcsvc/ypclnt.h>
|
/freebsd-10.3-release/lib/libc/net/ |
H A D | ether_addr.c | 52 #include <rpcsvc/ypclnt.h>
|
/freebsd-10.3-release/libexec/mknetid/ |
H A D | mknetid.c | 43 #include <rpcsvc/ypclnt.h>
|