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

/PHP_TRUNK/ext/mysqli/tests/
H A Dskipifconnectfailure.inc5 $link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
H A Dconnect.inc14 $passwd = getenv("MYSQL_TEST_PASSWD") ? getenv("MYSQL_TEST_PASSWD") : "";
87 function my_mysqli_connect($host, $user, $passwd, $db, $port, $socket, $enable_env_flags = true) {
94 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags))
97 $link = mysqli_connect($host, $user, $passwd, $db, $port, $socket);
108 function my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags = 0, $enable_env_flags = true) {
114 return mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags);
118 public function __construct($host, $user, $passwd, $db, $port, $socket, $enable_env_flags = true) {
125 $this->real_connect($host, $user, $passwd, $db, $port, $socket, $flags);
127 parent::__construct($host, $user, $passwd, $db, $port, $socket);
/PHP_TRUNK/build/
H A Dshtool591 userid=`(getent passwd ${username}) 2>/dev/null | \
594 userid=`grep "^${username}:" /etc/passwd 2>/dev/null | \
597 userid=`(ypmatch "${username}" passwd; nismatch "${username}" passwd) 2>/dev/null | \
600 userid=`(nidump passwd . | grep "^${username}:") 2>/dev/null | \
623 groupid=`(getent passwd ${username}) 2>/dev/null | \
626 groupid=`grep "^${username}:" /etc/passwd 2>/dev/null | \
629 groupid=`(ypmatch "${username}" passwd; nismatch "${username}" passwd) 2>/dev/null | \
632 groupid=`(nidump passwd
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_unix.c91 struct passwd *pwd;
168 struct passwd *pwd;
259 struct passwd *pwd;
267 struct passwd *pwd;
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_priv.h207 const char * const passwd,
228 const char * const passwd,
H A Dmysqlnd.h89 const char * passwd, unsigned int passwd_len,
97 #define mysqlnd_change_user(conn, user, passwd, db, silent) ((conn)->data)->m->change_user((conn)->data, (user), (passwd), (db), (silent), strlen((passwd)))
98 #define mysqlnd_change_user_ex(conn, user, passwd, db, silent, passwd_len) ((conn)->data)->m->change_user((conn)->data, (user), (passwd), (db), (silent), (passwd_len))
H A Dmysqlnd_structs.h416 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);
436 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);
498 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);
606 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);
913 char *passwd; member in struct:st_mysqlnd_connection_data
1219 MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd,
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, zend_ulong 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 ) 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 ) 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, zend_ulong mysql_flags ) 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, zend_ulong mysql_flags ) argument
568 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, zend_ulong mysql_flags ) argument
[all...]
H A Dmysqlnd.c135 if (conn->passwd) {
136 mnd_pefree(conn->passwd, pers);
137 conn->passwd = NULL;
552 const char * const passwd,
624 auth_plugin->methods.get_auth_data(NULL, &scrambled_data_len, conn, user, passwd, passwd_len,
630 ret = mysqlnd_auth_handshake(conn, user, passwd, passwd_len, db, db_len, options, mysql_flags,
639 ret = mysqlnd_auth_change_user(conn, user, strlen(user), passwd, passwd_len, db, db_len, silent,
687 const char * const passwd,
701 ret = mysqlnd_run_authentication(conn, user, passwd, passwd_len, db, db_len,
788 const char * const passwd, cons
549 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, zend_ulong mysql_flags, zend_bool silent, zend_bool is_change_user ) argument
684 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, zend_ulong mysql_flags ) argument
1145 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 ) argument
[all...]
/PHP_TRUNK/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...]
H A Dfilestat.c517 struct passwd pw;
518 struct passwd *retpwptr = NULL;
534 struct passwd *pw = getpwnam(name);
/PHP_TRUNK/travis/ext/imap/
H A Ddovecot.conf11 driver = passwd-file
/PHP_TRUNK/ext/zip/lib/
H A Dzip_set_default_password.c42 zip_set_default_password(zip_t *za, const char *passwd) argument
50 if (passwd) {
51 if ((za->default_password=strdup(passwd)) == NULL) {
/PHP_TRUNK/ext/curl/
H A Dphp_curl.h152 zval passwd; member in struct:__anon4
H A Dinterface.c1628 zval *func = &ch->handlers->passwd;
1953 if (!Z_ISUNDEF(ch->handlers->passwd)) {
1954 ZVAL_COPY(&dupch->handlers->passwd, &ch->handlers->passwd);
2666 zval_ptr_dtor(&ch->handlers->passwd);
2667 ZVAL_COPY(&ch->handlers->passwd, zvalue);
3206 zval_ptr_dtor(&ch->handlers->passwd);
/PHP_TRUNK/win32/
H A Dglob.c353 * expand tilde from the passwd file.
363 struct passwd *pwd;
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c582 static int (*fp_lve_jail)( struct passwd *, char *) = NULL;
746 static int lsapi_jailLVE( LSAPI_Request * pReq, uid_t uid, struct passwd * pw )
795 struct passwd * pw;
3101 struct passwd * pw;
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c195 /* {{{ proto void PDO::__construct(string dsn[, string username[, string passwd [, array options]]])
1199 ZEND_ARG_INFO(0, passwd)
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c1145 zend_string *mailbox, *user, *passwd; local
1153 &passwd, &flags, &retries, &params) == FAILURE) {
1223 IMAPG(imap_password) = estrndup(ZSTR_VAL(passwd), ZSTR_LEN(passwd));
/PHP_TRUNK/main/
H A Dfopen_wrappers.c370 struct passwd *pw;
372 struct passwd pwstruc;
H A Dmain.c1237 struct passwd *pwd;
1239 struct passwd _pw;
1240 struct passwd *retpwptr = NULL;
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_nonapi.c64 char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL; local
87 hostname = username = dbname = passwd = socket = NULL;
91 &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len) == FAILURE) {
109 &hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len,
132 if (!passwd) {
133 passwd = MyG(default_pw);
134 passwd_len = strlen(SAFE_STR(passwd));
159 SAFE_STR(passwd));
176 if (!mysqli_change_user_silent(mysql->mysql, username, passwd, dbname, passwd_len)) {
238 if (mysql_real_connect(mysql->mysql, hostname, username, passwd, dbnam
[all...]
/PHP_TRUNK/ext/ldap/
H A Dldap.c489 char *passwd; member in struct:__anon3
495 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
503 ctx->passwd = (passwd) ? ber_strdup(passwd) : NULL;
530 if (ctx->passwd) ber_memfree(ctx->passwd);
557 p = ctx->passwd;
576 char *passwd = NULL; local
585 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|sssssss", &link, &binddn, &dn_len, &passwd,
[all...]
/PHP_TRUNK/ext/ldap/tests/
H A Dconnect.inc13 $passwd = getenv("LDAP_TEST_PASSWD") ? getenv("LDAP_TEST_PASSWD") : "secret";
17 function ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version) {
20 ldap_bind($link, $user, $passwd);
/PHP_TRUNK/ext/posix/
H A Dposix.c990 add_assoc_string(array_group, "passwd", g->gr_passwd);
1151 int php_posix_passwd_to_array(struct passwd *pw, zval *return_value) /* {{{ */
1159 add_assoc_string(return_value, "passwd", pw->pw_passwd);
1173 struct passwd *pw;
1177 struct passwd pwbuf;
1209 php_error_docref(NULL, E_WARNING, "unable to convert posix passwd struct to array");
1224 struct passwd _pw;
1225 struct passwd *retpwptr = NULL;
1230 struct passwd *pw;
1259 php_error_docref(NULL, E_WARNING, "unable to convert posix passwd struc
[all...]

Completed in 91 milliseconds