/freebsd-11-stable/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 | 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 | 4 LIB= ypclnt 13 INCS= ypclnt.h
|
/freebsd-11-stable/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...] |
H A D | Makefile | 22 LIBADD+= ypclnt
|
/freebsd-11-stable/lib/libpam/modules/pam_unix/ |
H A D | Makefile | 48 LIBADD+= ypclnt
|
H A D | pam_unix.c | 59 #include <ypclnt.h> 274 struct ypclnt *ypclnt; local 315 ypclnt = ypclnt_new(yp_domain, "passwd.byname", yp_server); 316 if (ypclnt == NULL) 319 if (ypclnt_connect(ypclnt) == -1) { 320 ypclnt_free(ypclnt); 324 retval = ypclnt_havepasswdd(ypclnt); 325 ypclnt_free(ypclnt); 424 ypclnt [all...] |
/freebsd-11-stable/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-11-stable/crypto/heimdal/appl/login/ |
H A D | login_locl.h | 85 #include <rpcsvc/ypclnt.h>
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | netname.c | 49 #include <rpcsvc/ypclnt.h>
|
H A D | getpublickey.c | 49 #include <rpcsvc/ypclnt.h>
|
/freebsd-11-stable/include/rpcsvc/ |
H A D | Makefile | 16 HFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h
|
/freebsd-11-stable/usr.bin/ypcat/ |
H A D | ypcat.c | 49 #include <rpcsvc/ypclnt.h>
|
/freebsd-11-stable/usr.bin/ypmatch/ |
H A D | ypmatch.c | 50 #include <rpcsvc/ypclnt.h>
|
/freebsd-11-stable/usr.sbin/ypset/ |
H A D | ypset.c | 49 #include <rpcsvc/ypclnt.h>
|
/freebsd-11-stable/usr.sbin/rpc.ypupdated/ |
H A D | yp_dbupdate.c | 46 #include <rpcsvc/ypclnt.h>
|
/freebsd-11-stable/libexec/mknetid/ |
H A D | mknetid.c | 43 #include <rpcsvc/ypclnt.h>
|
/freebsd-11-stable/libexec/ypxfr/ |
H A D | ypxfr_misc.c | 43 #include <rpcsvc/ypclnt.h>
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | iruserok.c | 47 #include <rpcsvc/ypclnt.h>
|