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

/PHP_5_6/ext/zip/lib/
H A Dzip_set_default_password.c46 zip_set_default_password(struct zip *za, const char *passwd)
54 if (passwd) {
55 if ((za->default_password=strdup(passwd)) == NULL) {
44 zip_set_default_password(struct zip *za, const char *passwd) argument
/PHP_5_6/ext/imap/
H A Dphp_imap.c1148 char *mailbox, *user, *passwd; local
1157 &passwd, &passwd_len, &flags, &retries, &params) == FAILURE) {
1227 IMAPG(imap_password) = estrndup(passwd, passwd_len);
/PHP_5_6/ext/mssql/
H A Dphp_mssql.c546 char *host = NULL, *user = NULL, *passwd = NULL; local
554 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sssb", &host, &host_len, &user, &user_len, &passwd, &passwd_len, &new_link) == FAILURE) {
566 passwd[255] = '\0';
585 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s_%s_%s", host, user, passwd);
615 if (passwd) {
616 DBSETLPWD(mssql.login,passwd);
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_auth.c35 const char * const passwd,
158 const char * const passwd,
282 tmp = mnd_pestrdup(passwd, conn->persistent);
283 if (conn->passwd) {
284 mnd_pefree(conn->passwd, conn->persistent);
286 conn->passwd = tmp;
360 MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd,
380 if (passwd && passwd_len) {
384 php_mysqlnd_scramble((zend_uchar*)ret, auth_plugin_data, (zend_uchar*)passwd, passwd_len);
420 MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd,
33 mysqlnd_auth_handshake(MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags, unsigned int server_charset_no, zend_bool use_full_blown_auth_packet, const char * const auth_protocol, const zend_uchar * const auth_plugin_data, const size_t auth_plugin_data_len, char ** switch_to_auth_protocol, size_t * switch_to_auth_protocol_len, zend_uchar ** switch_to_auth_protocol_data, size_t * switch_to_auth_protocol_data_len TSRMLS_DC) argument
155 mysqlnd_auth_change_user(MYSQLND_CONN_DATA * const conn, const char * const user, const size_t user_len, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const zend_bool silent, zend_bool use_full_blown_auth_packet, const char * const auth_protocol, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, char ** switch_to_auth_protocol, size_t * switch_to_auth_protocol_len, zend_uchar ** switch_to_auth_protocol_data, size_t * switch_to_auth_protocol_data_len TSRMLS_DC) argument
358 mysqlnd_native_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, unsigned long mysql_flags TSRMLS_DC) argument
418 mysqlnd_pam_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, unsigned long mysql_flags TSRMLS_DC) argument
571 mysqlnd_sha256_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, const MYSQLND_NET_OPTIONS * const net_options, unsigned long mysql_flags TSRMLS_DC) argument
[all...]
H A Dmysqlnd.c136 if (conn->passwd) {
137 mnd_pefree(conn->passwd, pers);
138 conn->passwd = NULL;
541 const char * const passwd,
613 auth_plugin->methods.get_auth_data(NULL, &scrambled_data_len, conn, user, passwd, passwd_len,
619 ret = mysqlnd_auth_handshake(conn, user, passwd, passwd_len, db, db_len, options, mysql_flags,
628 ret = mysqlnd_auth_change_user(conn, user, strlen(user), passwd, passwd_len, db, db_len, silent,
676 const char * const passwd,
690 ret = mysqlnd_run_authentication(conn, user, passwd, passwd_len, db, db_len,
777 const char * const passwd, cons
538 mysqlnd_run_authentication( MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const zend_uchar * const auth_plugin_data, const size_t auth_plugin_data_len, const char * const auth_protocol, unsigned int charset_no, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags, zend_bool silent, zend_bool is_change_user TSRMLS_DC) argument
673 mysqlnd_connect_run_authentication( MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const char * const db, size_t db_len, size_t passwd_len, const MYSQLND_PACKET_GREET * const greet_packet, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags TSRMLS_DC) argument
1134 mysqlnd_connect(MYSQLND * conn_handle, const char * host, const char * user, const char * passwd, unsigned int passwd_len, const char * db, unsigned int db_len, unsigned int port, const char * socket_or_pipe, unsigned int mysql_flags, unsigned int client_api_flags TSRMLS_DC) argument
[all...]
H A Dmysqlnd_structs.h417 typedef enum_func_status (*func_mysqlnd_conn_data__connect)(MYSQLND_CONN_DATA * conn, const char * host, const char * user, const char * passwd, unsigned int passwd_len, const char * db, unsigned int db_len, unsigned int port, const char * socket_or_pipe, unsigned int mysql_flags TSRMLS_DC);
437 typedef enum_func_status (*func_mysqlnd_conn_data__change_user)(MYSQLND_CONN_DATA * const conn, const char * user, const char * passwd, const char * db, zend_bool silent, size_t passwd_len TSRMLS_DC);
499 typedef enum_func_status (*func_mysqlnd_conn_data__connect_handshake)(MYSQLND_CONN_DATA * conn, const char * const host, const char * const user, const char * const passwd, const unsigned int passwd_len, const char * const db, const unsigned int db_len, const unsigned int mysql_flags TSRMLS_DC);
607 typedef enum_func_status (*func_mysqlnd_data__connect)(MYSQLND * conn, const char * host, const char * user, const char * passwd, unsigned int passwd_len, const char * db, unsigned int db_len, unsigned int port, const char * socket_or_pipe, unsigned int mysql_flags TSRMLS_DC);
912 char *passwd; member in struct:st_mysqlnd_connection_data
1204 MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd,
/PHP_5_6/ext/standard/
H A Dphp_crypt_r.c139 char *passwd = out; local
220 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN);
222 if (strncpy_s(passwd + MD5_MAGIC_LEN, MD5_HASH_MAX_LEN - MD5_MAGIC_LEN, sp, sl + 1) != 0) {
225 passwd[MD5_MAGIC_LEN + sl] = '\0';
226 strcat_s(passwd, MD5_HASH_MAX_LEN, "$");
280 p = passwd + sl + MD5_MAGIC_LEN + 1;
321 static char passwd[MD5_HASH_MAX_LEN], *p; local
377 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN);
378 strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1);
379 strcat(passwd, "
[all...]
/PHP_5_6/ext/sybase_ct/
H A Dphp_sybase_ct.c629 static int php_sybase_do_connect_internal(sybase_link *sybase, char *host, char *user, char *passwd, char *charset, char *appname TSRMLS_DC) argument
650 if (passwd) {
651 ct_con_props(sybase->connection, CS_SET, CS_PASSWORD, passwd, CS_NULLTERM, NULL);
731 char *user = NULL, *passwd = NULL, *host = NULL, *charset = NULL, *appname = NULL; local
737 host= user= passwd= charset= appname= NULL;
739 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!s!s!", &host, &len, &user, &len, &passwd, &len, &charset, &len, &appname, &len) == FAILURE) {
743 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!s!s!b", &host, &len, &user, &len, &passwd, &len, &charset, &len, &appname, &len, &new) == FAILURE) {
753 passwd ? passwd : "",
784 if (!php_sybase_do_connect_internal(sybase_ptr, host, user, passwd, charse
[all...]
/PHP_5_6/ext/curl/
H A Dphp_curl.h149 zval *passwd; member in struct:__anon4
/PHP_5_6/ext/mysql/
H A Dphp_mysql.c722 char *user=NULL, *passwd=NULL, *host_and_port=NULL, *socket=NULL, *tmp=NULL, *host=NULL; local
771 host_and_port=passwd=NULL;
779 &user, &user_len, &passwd, &passwd_len,
785 &user, &user_len, &passwd, &passwd_len,
797 if (!passwd) {
798 passwd = MySG(default_password);
799 passwd_len = passwd? strlen(passwd):0;
817 hashed_details_length = spprintf(&hashed_details, 0, "mysql_%s_%s_%s_%ld", SAFE_STRING(host_and_port), SAFE_STRING(user), SAFE_STRING(passwd), client_flags);
887 if (mysql_real_connect(mysql->conn, host, user, passwd, NUL
[all...]
/PHP_5_6/ext/ldap/
H A Dldap.c434 char *passwd; member in struct:__anon3
440 static php_ldap_bictx *_php_sasl_setdefs(LDAP *ld, char *sasl_mech, char *sasl_realm, char *sasl_authc_id, char *passwd, char *sasl_authz_id) argument
448 ctx->passwd = (passwd) ? ber_strdup(passwd) : NULL;
475 if (ctx->passwd) ber_memfree(ctx->passwd);
502 p = ctx->passwd;
521 char *passwd = NULL; local
530 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|sssssss", &link, &binddn, &dn_len, &passwd,
[all...]
/PHP_5_6/ext/mysqli/
H A Dmysqli_nonapi.c65 char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL; local
89 hostname = username = dbname = passwd = socket = NULL;
93 &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len) == FAILURE) {
111 &hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len,
134 if (!passwd) {
135 passwd = MyG(default_pw);
136 passwd_len = strlen(SAFE_STR(passwd));
161 SAFE_STR(passwd));
178 if (!mysqli_change_user_silent(mysql->mysql, username, passwd, dbname, passwd_len)) {
240 if (mysql_real_connect(mysql->mysql, hostname, username, passwd, dbnam
[all...]

Completed in 112 milliseconds