Searched defs:passwd (Results 1 - 25 of 71) sorted by relevance

123

/illumos-gate/usr/src/cmd/passwd/
H A DMakefile26 PROG= passwd
27 DEFAULTFILES= passwd.dfl
31 passwd := LDLIBS += $(ROOT)/usr/lib/passwdutil.so.1 macro
/illumos-gate/usr/src/lib/passwdutil/
H A D__check_history.c39 * passwd = new clear text password.
43 * PWU_SUCCESS, passwd found in user's old password history.
46 * PWU_NOT_FOUND, passwd not in user's old password history.
51 __check_history(char *user, char *passwd, pwu_repository_t *rep) argument
72 res = rops[i]->checkhistory(user, passwd, rep);
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Ddh_nsl_tmpl.c44 * supplied public key, private key, and passwd. This routine is
67 __dl_gen_dhkeys(char *xpublic, char *xsecret, char *passwd) argument
69 __generic_gen_dhkeys(KEYLEN, MODULUS, ROOT, xpublic, xsecret, passwd);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dbind.c51 ldap_bind( LDAP *ld, const char *dn, const char *passwd, int authmethod ) argument
59 * simple [0] OCTET STRING -- passwd
73 return( ldap_simple_bind( ld, dn, passwd ) );
97 ldap_bind_s( LDAP *ld, const char *dn, const char *passwd, int authmethod ) argument
105 return( ldap_simple_bind_s( ld, dn, passwd ) );
H A Dsbind.c40 static int simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd,
42 static int simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd );
56 ldap_simple_bind( LDAP *ld, const char *dn, const char *passwd )
66 rc = simple_bind_nolock( ld, dn, passwd, 1 );
73 simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, argument
85 * simple [0] OCTET STRING -- passwd
97 if ( passwd == NULL )
98 passwd = "";
103 bv.bv_val = (char *)passwd;
104 bv.bv_len = strlen( passwd );
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dpwd.h37 struct passwd { struct
51 extern struct passwd *getpwent();
62 struct passwd *getpwuid(/* uid_t uid */);
63 struct passwd *getpwnam(/* char *name */);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpassprompt.c27 static int promptpass(char *user, char *passwd) argument
38 if (user != NULL && passwd == NULL)
84 red = read(p[0], passwd + readgood, MAXSECRETLEN-1 - readgood);
96 passwd[readgood] = 0;
109 if (readgood > 0 && passwd[--readgood] == '\n')
110 passwd[readgood] = '\0';
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Dgetpass.c54 static char *cp, passwd[32]; local
68 strncpy(passwd,cp,sizeof(passwd)-1);
75 return(cp?passwd:0);
/illumos-gate/usr/src/lib/libbc/inc/5include/
H A Dpwd.h46 struct passwd { struct
72 extern struct passwd *getpwent();
83 struct passwd *getpwuid(/* uid_t uid */);
84 struct passwd *getpwnam(/* char *name */);
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dchpw.c21 char *passwd,
36 clearpw.length = strlen(passwd);
37 clearpw.data = passwd;
59 * version of the passwd change protocol (v2),
17 krb5int_mk_chpw_req( krb5_context context, krb5_auth_context auth_context, krb5_data *ap_req, char *passwd, krb5_data *packet) argument
/illumos-gate/usr/src/common/net/wanboot/
H A Dp12access.c187 * passwd - Passphrase for pkcs12 data.
194 sunw_p12_use_certfile(SSL_CTX *ctx, char *filename, char *passwd) argument
208 ret = p12_doparse(p12, passwd, DO_UNMATCHING, NULL,
241 * passwd - Passphrase for pkcs12 data.
248 sunw_p12_use_keyfile(SSL_CTX *ctx, char *filename, char *passwd) argument
262 ret = p12_doparse(p12, passwd, DO_UNMATCHING, &pkey, NULL,
299 * passwd - Passphrase for pkcs12 data.
306 sunw_p12_use_trustfile(SSL_CTX *ctx, char *filename, char *passwd) argument
320 ret = p12_doparse(p12, passwd, DO_NONE, NULL, NULL,
397 * passwd
410 p12_doparse(PKCS12 *p12, char *passwd, int matchty, EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca) argument
[all...]
/illumos-gate/usr/src/head/
H A Dpwd.h48 struct passwd { struct
69 extern struct passwd *getpwuid(uid_t); /* MT-unsafe */
70 extern struct passwd *getpwnam(const char *); /* MT-unsafe */
73 extern struct passwd *getpwent_r(struct passwd *, char *, int);
74 extern struct passwd *fgetpwent_r(FILE *, struct passwd *, char *, int);
75 extern struct passwd *fgetpwent(FILE *); /* MT-unsafe */
76 extern int putpwent(const struct passwd *, FILE *);
82 extern struct passwd *getpwen
[all...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DNameService.java38 private String passwd = null; field in class:NameService
105 passwd = arg;
122 return (passwd);
H A DPrinterUtil.java202 String passwd) throws Exception
204 DoPrinterNS.doCheckRootPasswd(passwd);
201 checkRootPasswd( String passwd) argument
H A DDoPrinterNS.java38 String user, String passwd, String cmd, String locale);
43 String host, String binddn, String passwd,
135 String passwd = ns.getPasswd();
174 ret = dorexec(nshost, user, passwd, cmd, locale);
183 ret = dorexec(nshost, user, passwd, cmd, locale);
255 ret = dorexec(nshost, user, passwd, cmd, locale);
285 ret = dorexec(nshost, user, passwd, cmd, locale);
302 ret = dorexec(nshost, user, passwd, cmd, locale);
318 ret = dorexec(nshost, user, passwd, cmd, locale);
338 ret = dorexec(nshost, user, passwd, cm
37 dorexec(String nshost, String user, String passwd, String cmd, String locale) argument
42 updateldap(String action, String host, String binddn, String passwd, String printername, String printserver, String extensions, String comment, String isdefault) argument
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptool-sasl.c33 char *passwd; member in struct:__anon728
42 char *passwd, char *realm )
64 defaults->passwd = passwd;
111 defvalue = defaults->passwd;
126 /* Clear passwd */
128 /* At this point defaults->passwd is not NULL */
129 memset( defaults->passwd, '\0', strlen(defaults->passwd));
41 ldaptool_set_sasl_defaults( LDAP *ld, char *mech, char *authid, char *username, char *passwd, char *realm ) argument
/illumos-gate/usr/src/lib/pam_modules/unix_auth/
H A Dunix_auth.c146 char *passwd; local
185 if (pam_get_item(pamh, PAM_AUTHTOK, (void **)&passwd) != PAM_SUCCESS) {
276 if (passwd == NULL) {
289 if ((crypt_passwd = crypt(passwd, rep_passwd)) == NULL) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dchpw.c21 char *passwd,
36 clearpw.length = strlen(passwd);
37 clearpw.data = passwd;
282 char *passwd,
300 req.password.data = passwd;
301 req.password.length = strlen(passwd);
17 krb5int_mk_chpw_req( krb5_context context, krb5_auth_context auth_context, krb5_data *ap_req, char *passwd, krb5_data *packet) argument
277 krb5int_mk_setpw_req( krb5_context context, krb5_auth_context auth_context, krb5_data *ap_req, krb5_principal targprinc, char *passwd, krb5_data *packet ) argument
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetpwnam_r.c54 struct passwd *
55 _uncached_getpwuid_r(uid_t uid, struct passwd *result, char *buffer,
58 struct passwd *
59 _uncached_getpwnam_r(const char *name, struct passwd *result, char *buffer,
66 struct passwd *
67 getpwnam_r(const char *name, struct passwd *result, char *buffer, int buflen)
79 return ((struct passwd *)NSS_XbyY_FINI(&arg));
86 struct passwd *
87 getpwuid_r(uid_t uid, struct passwd *result, char *buffer, int buflen)
95 return ((struct passwd *)NSS_XbyY_FIN
243 struct passwd *passwd = (struct passwd *)ent; local
[all...]
/illumos-gate/usr/src/cmd/print/lpset/
H A Dlpset.c54 struct passwd *pw;
89 "[-h ldaphost] [-D binddn] [-w passwd] "
111 *passwd = NULL, local
158 passwd = optarg;
215 if (passwd == NULL) {
216 passwd = getpassphrase(gettext("Bind Password:"));
227 cred->passwd = passwd;
/illumos-gate/usr/src/cmd/fm/ipmitopo/common/
H A Dipmitopo.c136 char c, *host = NULL, *user = NULL, *passwd = NULL; local
148 passwd = optarg;
171 (host == NULL || passwd == NULL || user == NULL)) {
181 nvlist_add_string(params, IPMI_LAN_PASSWD, passwd)) {
/illumos-gate/usr/src/ucbcmd/vipw/
H A Dvipw.c60 char *passwd = "/etc/passwd"; variable
87 if (stat(passwd, &osbuf) < 0) {
88 (void)fprintf(stderr,"vipw: can't stat passwd file.\n");
92 if (copyfile(passwd, ptemp))
98 passwd);
104 if (editfile(editor, ptemp, passwd, &n_mtime)) {
105 if (sanity_check(ptemp, &n_mtime, passwd))
122 if (rename(ptemp, passwd) < 0) {
129 (chown(passwd, osbu
[all...]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetgrent.c89 char **gname, **passwd, **gid, *password, *end; local
119 passwd = __ns_ldap_getAttr(result->entry, _G_PASSWD);
120 if (passwd == NULL || passwd[0] == NULL || (strlen(passwd[0]) == 0)) {
131 if (strncasecmp(passwd[0], _CRYPT, strlen(_CRYPT)) == 0)
132 password = passwd[0] + strlen(_CRYPT);
134 password = passwd[0];
H A Dgetspent.c78 char **uid, **passwd, **last, **smin, **smax; local
97 passwd = __ns_ldap_getAttr(result->entry, _S_USERPASSWORD);
98 if (passwd == NULL || passwd[0] == NULL) {
104 } else if (strcmp(passwd[0], "") == 0) {
111 if ((tmp = strstr(passwd[0], "{crypt}")) != NULL ||
112 (tmp = strstr(passwd[0], "{CRYPT}")) != NULL) {
113 if (tmp != passwd[0])
232 * getbynam gets a passwd entry by uid name. This function constructs an ldap
/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Ddhkeys.c199 char *passwd; local
206 struct passwd pw; /* Needed to obtain uid */
225 (void) pam_get_item(pamh, PAM_AUTHTOK, (void **)&passwd);
256 /* passwd can be NULL (no passwd or su as root) */
257 if (passwd) {
258 (void) strlcpy(short_pass, passwd, sizeof (short_pass));
316 syslog(LOG_DEBUG, "pam_dhkeys: %d passwd decrypt successes",

Completed in 85 milliseconds

123