Searched refs:passwd (Results 1 - 25 of 527) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Duidswap.h16 void temporarily_use_uid(struct passwd *);
18 void permanently_set_uid(struct passwd *);
H A Dauth-options.h37 int auth_parse_options(struct passwd *, const char *, const char *, u_long);
39 int auth_cert_options(Key *, struct passwd *);
/netbsd-6-1-5-RELEASE/usr.bin/chpass/
H A Dchpass.h34 struct passwd;
38 int (*func)(const char *, struct passwd *, struct _entry *), restricted, len;
55 void display(char *, int, struct passwd *);
56 void edit(char *, struct passwd *);
59 int p_change(const char *, struct passwd *, ENTRY *);
60 int p_class(const char *, struct passwd *, ENTRY *);
61 int p_expire(const char *, struct passwd *, ENTRY *);
62 int p_gecos(const char *, struct passwd *, ENTRY *);
63 int p_gid(const char *, struct passwd *, ENTRY *);
64 int p_hdir(const char *, struct passwd *, ENTR
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dpw_private.h8 int __pw_scan __P((char *bp, struct passwd *pw, int *flags));
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/liblutil/
H A Dpassfile.c38 struct berval *passwd )
48 passwd->bv_val = NULL;
49 passwd->bv_len = 4096;
62 passwd->bv_len = sb.st_size;
67 passwd->bv_val = (char *) ber_memalloc( passwd->bv_len + 1 );
68 if( passwd->bv_val == NULL ) {
74 nleft = passwd->bv_len;
78 char *p = (char *) ber_memrealloc( passwd->bv_val,
79 2 * passwd
[all...]
H A Dptest.c62 struct berval *passwd; local
74 &passwd, &salt, hash[i] );
78 passwd = lutil_passwd_hash( &pw[j], hash[i] );
80 if( passwd == NULL )
90 rc = lutil_authpasswd( &pw[j], passwd, salt, NULL );
92 rc = lutil_passwd( passwd, &pw[j], NULL );
96 pw[j].bv_val, pw[j].bv_len, passwd->bv_val, passwd->bv_len,
100 rc = lutil_authpasswd( passwd, salt, &bad, NULL );
102 rc = lutil_passwd( passwd,
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/newgrp/
H A Dgrutil.h38 const char *, struct passwd *, uid_t, const char *);
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/djgpp/
H A Ddjpwd.h26 struct passwd { struct
36 struct passwd * getpwuid(uid_t _uid);
37 struct passwd * getpwnam(const char *_name);
41 struct passwd *getpwent(void);
H A Dgetpwnam.c16 static char passwd[] = ""; variable
20 struct passwd *
23 static struct passwd rv;
38 rv.pw_passwd = passwd;
/netbsd-6-1-5-RELEASE/lib/libutil/compat/
H A Dlogin_cap.h41 struct passwd;
46 login_cap_t *__login_getpwclass50(const struct passwd *);
48 int __setusercontext50(login_cap_t *, struct passwd *, uid_t, u_int);
H A Dutil.h58 void __pw_copy50(int, int, struct passwd *, struct passwd *);
59 int __pw_copyx50(int, int, struct passwd *, struct passwd *,
61 void __pw_getpwconf50(char *, size_t, const struct passwd *,
/netbsd-6-1-5-RELEASE/tools/compat/
H A Dcompat_pwd.h39 #define passwd __nbcompat_passwd macro
48 struct passwd { struct
61 int pw_scan(char *, struct passwd *, int *);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Dpasswd_dlg.c49 char passwd[passwdBufSZ]; variable
60 if(!GetDlgItemText(hwndDlg,IDC_PASSWD_EDIT, passwd, passwdBufSZ))
81 strlcpy(buf, passwd, size);
82 memset (passwd, 0, sizeof(passwd));
86 memset (passwd, 0, sizeof(passwd));
/netbsd-6-1-5-RELEASE/include/
H A Dpwd.h72 #define _PATH_PASSWD "/etc/passwd"
73 #define _PATH_MASTERPASSWD "/etc/master.passwd"
76 #define _PATH_PASSWD_CONF "/etc/passwd.conf"
107 struct passwd { struct
122 struct passwd *getpwuid(uid_t) __RENAME(__getpwuid50);
123 struct passwd *getpwnam(const char *) __RENAME(__getpwnam50);
128 int getpwnam_r(const char *, struct passwd *, char *, size_t,
129 struct passwd **) __RENAME(__getpwnam_r50);
130 int getpwuid_r(uid_t, struct passwd *, char *, size_t,
131 struct passwd **) __RENAM
[all...]
/netbsd-6-1-5-RELEASE/dist/pppd/pppd/plugins/
H A Dpasswordfd.c35 static int pwfd_passwd (char *user, char *passwd) argument
42 if (passwd == NULL)
46 strcpy (passwd, save_passwd);
52 red = read (passwdfd, passwd + readgood, MAXSECRETLEN - 1 - readgood);
68 passwd[readgood] = 0;
69 strcpy (save_passwd, passwd);
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/libldap/
H A Dbind.c40 * simple [0] OCTET STRING -- passwd
68 ldap_bind( LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *passwd, int authmethod ) argument
74 return( ldap_simple_bind( ld, dn, passwd ) );
78 return( ldap_gssapi_bind_s( ld, dn, passwd) );
108 LDAP_CONST char *passwd,
115 return( ldap_simple_bind_s( ld, dn, passwd ) );
119 return( ldap_gssapi_bind_s( ld, dn, passwd) );
105 ldap_bind_s( LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *passwd, int authmethod ) argument
H A Dsbind.c26 * simple [0] OCTET STRING -- passwd
64 LDAP_CONST char *passwd )
75 if ( passwd != NULL ) {
76 cred.bv_val = (char *) passwd;
77 cred.bv_len = strlen( passwd );
101 ldap_simple_bind_s( LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *passwd )
107 if ( passwd != NULL ) {
108 cred.bv_val = (char *) passwd;
109 cred.bv_len = strlen( passwd );
/netbsd-6-1-5-RELEASE/lib/libc/compat/include/
H A Dpwd.h10 struct passwd;
26 passwd_to_passwd50(const struct passwd *p, struct passwd50 *q)
41 passwd50_to_passwd(const struct passwd50 *p, struct passwd *q)
76 struct passwd *__getpwuid50(uid_t);
77 struct passwd *__getpwnam50(const char *);
80 int __getpwnam_r50(const char *, struct passwd *, char *, size_t,
81 struct passwd **);
82 int __getpwuid_r50(uid_t, struct passwd *, char *, size_t,
83 struct passwd **);
86 struct passwd *__getpwent5
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/mail/
H A Dgetname.c44 /* Getname / getuserid for those with hashed passwd data base). */
47 * Search the passwd file for a uid. Return name on success, NULL on failure
52 struct passwd *pw;
66 struct passwd *pw;
/netbsd-6-1-5-RELEASE/external/bsd/cron/dist/
H A Dfuncs.h67 user *load_user(int, struct passwd *, const char *),
70 entry *load_entry(FILE *, void (*)(const char *), struct passwd *, char **);
72 FILE *cron_popen(char *, const char *, struct passwd *);
74 struct passwd *pw_dup(const struct passwd *);
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/
H A Dslapd-sha2.c3 /* OpenLDAP: pkg/ldap/contrib/slapd-modules/passwd/sha2/slapd-sha2.c,v 1.1.2.5 2010/04/15 18:40:14 quanah Exp */
37 /* pw_string64 function taken from libraries/liblutil/passwd.c */
94 char * sha256_hex_hash(const char * passwd) { argument
101 SHA256_Update(&ct, (const uint8_t*)passwd, strlen(passwd));
116 char * sha384_hex_hash(const char * passwd) { argument
123 SHA384_Update(&ct, (const uint8_t*)passwd, strlen(passwd));
137 char * sha512_hex_hash(const char * passwd) { argument
144 SHA512_Update(&ct, (const uint8_t*)passwd, strle
158 hash_sha256( const struct berval *scheme, const struct berval *passwd, struct berval *hash, const char **text ) argument
178 hash_sha384( const struct berval *scheme, const struct berval *passwd, struct berval *hash, const char **text ) argument
201 hash_sha512( const struct berval *scheme, const struct berval *passwd, struct berval *hash, const char **text ) argument
221 chk_sha256( const struct berval *scheme, const struct berval *passwd, const struct berval *cred, const char **text ) argument
238 chk_sha384( const struct berval *scheme, const struct berval *passwd, const struct berval *cred, const char **text ) argument
255 chk_sha512( const struct berval *scheme, const struct berval *passwd, const struct berval *cred, const char **text ) argument
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dcheck-cracklib.pl51 my $passwd = shift;
53 if ($principal eq $passwd) {
62 my $passwd = shift;
69 $md5context->add($principal, ":", $passwd);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/otp/
H A Dotp_verify.c44 otp_verify_user_1 (OtpContext *ctx, const char *passwd) argument
48 if (otp_parse (key1, passwd, ctx->alg)) {
63 otp_verify_user (OtpContext *ctx, const char *passwd) argument
70 ret = otp_verify_user_1 (ctx, passwd);
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/tls/
H A Dpkcs5.h20 const char *passwd, size_t *data_len);
H A Dpkcs8.h20 pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd);

Completed in 157 milliseconds

1234567891011>>