Searched defs:passwd (Results 1 - 25 of 66) 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/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/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/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/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/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpassprompt.c32 static int promptpass(char *user, char *passwd) argument
43 if (user != NULL && passwd == NULL)
89 red = read(p[0], passwd + readgood, MAXSECRETLEN-1 - readgood);
101 passwd[readgood] = 0;
114 if (readgood > 0 && passwd[--readgood] == '\n')
115 passwd[readgood] = '\0';
/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/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...]
H A DDoPrinterNS.c46 const char *passwd,
62 const char *passwd,
81 const char *passwd; local
92 passwd = (*env)->GetStringUTFChars(env, jpasswd, 0);
96 ret = _dorexec(host, user, passwd, cmd, locale);
229 const char *passwd = NULL; local
250 passwd = (*env)->GetStringUTFChars(env, jpasswd, 0);
266 ret = _updateldap(action, host, binddn, passwd, printername,
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptool-sasl.c33 char *passwd; member in struct:__anon756
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/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/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/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/libc/port/gen/
H A Dgetpwnam_r.c55 struct passwd *
56 _uncached_getpwuid_r(uid_t uid, struct passwd *result, char *buffer,
59 struct passwd *
60 _uncached_getpwnam_r(const char *name, struct passwd *result, char *buffer,
67 struct passwd *
68 getpwnam_r(const char *name, struct passwd *result, char *buffer, int buflen)
80 return ((struct passwd *)NSS_XbyY_FINI(&arg));
87 struct passwd *
88 getpwuid_r(uid_t uid, struct passwd *result, char *buffer, int buflen)
96 return ((struct passwd *)NSS_XbyY_FIN
244 struct passwd *passwd = (struct passwd *)ent; local
[all...]
/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/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/lib/libsasl/lib/
H A Dcheckpw.c114 const char *passwd, size_t passlen,
118 const char *passwd, size_t passlen,
139 _sasl_MD5Update(&ctx, passwd, passlen);
152 const char *passwd,
199 if(!passwd) {
209 && !strcmp(auxprop_values[0].values[0], passwd)) {
220 passwd, strlen(passwd),
223 ret = _sasl_make_plain_secret(db_secret, passwd,
224 strlen(passwd),
113 _sasl_make_plain_secret(const sasl_utils_t *utils, const char *salt, const char *passwd, size_t passlen, sasl_secret_t **secret) argument
150 auxprop_verify_password(sasl_conn_t *conn, const char *userstr, const char *passwd, const char *service __attribute__((unused)), const char *user_realm __attribute__((unused))) argument
407 pwcheck_verify_password(sasl_conn_t *conn, const char *userid, const char *passwd, const char *service __attribute__((unused)), const char *user_realm __attribute__((unused))) argument
497 saslauthd_verify_password(sasl_conn_t *conn, const char *userid, const char *passwd, const char *service, const char *user_realm) argument
[all...]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
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/libipmi/common/
H A Dipmi_user.c325 ipmi_user_set_password(ipmi_handle_t *ihp, uint8_t uid, const char *passwd) argument
333 if (strlen(passwd) > 19)
337 if (strlen(passwd) > 15)
340 (void) strcpy(req.isup_passwd, passwd);
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Duser.c207 char *passwd; local
262 passwd = &permissions[strlen(permissions)+1];
265 if (strncmp(passwd, "Assigned", 12) == 0) {
267 } else if (strncmp(passwd, "None", 12) == 0) {
270 (void) printf("%-12s\n\n", passwd);
310 passwd = &permissions[strlen(permissions)+1];
313 if (strncmp(passwd, "Assigned", 12) == 0) {
315 } else if (strncmp(passwd, "None", 12) == 0) {
318 (void) printf("%-12s\n", passwd);
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_util.c117 "kdb5_ldap_util [-D user_dn [-w passwd]] [-H ldapuri]\n"
306 char *passwd = NULL; local
386 passwd = strdup(koptarg);
387 if (passwd == NULL) {
515 if (passwd == NULL) {
516 passwd = (char *)malloc(MAX_PASSWD_LEN);
517 if (passwd == NULL) {
525 free(passwd);
526 passwd = NULL;
532 memset(passwd,
[all...]

Completed in 90 milliseconds

123