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

/PHP_5_3/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_5_3/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_3/win32/
H A Dglob.c350 * expand tilde from the passwd file.
360 struct passwd *pwd;
/PHP_5_3/ext/ldap/tests/
H A Dconnect.inc12 $passwd = getenv("LDAP_TEST_PASSWD") ? getenv("LDAP_TEST_PASSWD") : "secret";
16 function ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version) {
19 ldap_bind($link, $user, $passwd);
/PHP_5_3/ext/mysql/tests/
H A Dconnect.inc24 function my_mysql_connect($host, $user, $passwd, $db, $port, $socket, $flags = NULL, $persistent = false) {
35 $link = mysql_pconnect($host, $user, $passwd, $flags);
37 $link = mysql_connect($host, $user, $passwd, true, $flags);
66 $passwd = getenv("MYSQL_TEST_PASSWD") ? getenv("MYSQL_TEST_PASSWD") : "";
/PHP_5_3/ext/mysqli/tests/
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);
H A Dskipifconnectfailure.inc5 $link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
/PHP_5_3/ext/curl/
H A Dinterface.c1313 zval *func = ch->handlers->passwd;
1643 if (ch->handlers->passwd) {
1644 zval_add_ref(&ch->handlers->passwd);
1645 dupch->handlers->passwd = ch->handlers->passwd;
2033 if (ch->handlers->passwd) {
2034 zval_ptr_dtor(&ch->handlers->passwd);
2037 ch->handlers->passwd = *zvalue;
2659 if (ch->handlers->passwd) {
2660 zval_ptr_dtor(&ch->handlers->passwd);
[all...]
H A Dphp_curl.h111 zval *passwd; member in struct:__anon20
/PHP_5_3/ext/imap/
H A Dphp_imap.c1148 char *mailbox, *user, *passwd; local
1157 &passwd, &passwd_len, &flags, &retries, &params) == FAILURE) {
1233 IMAPG(imap_password) = estrndup(passwd, passwd_len);
/PHP_5_3/ext/ldap/
H A Dldap.c409 char *passwd; member in struct:__anon95
415 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
423 ctx->passwd = (passwd) ? ber_strdup(passwd) : NULL;
450 if (ctx->passwd) ber_memfree(ctx->passwd);
477 p = ctx->passwd;
496 char *passwd = NULL; local
505 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|sssssss", &link, &binddn, &dn_len, &passwd,
[all...]
/PHP_5_3/ext/mssql/
H A Dphp_mssql.c541 char *host = NULL, *user = NULL, *passwd = NULL; local
549 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sssb", &host, &host_len, &user, &user_len, &passwd, &passwd_len, &new_link) == FAILURE) {
561 passwd[255] = '\0';
580 hashed_details_length = spprintf(&hashed_details, 0, "mssql_%s_%s_%s", host, user, passwd);
610 if (passwd) {
611 DBSETLPWD(mssql.login,passwd);
/PHP_5_3/ext/mysqli/
H A Dmysqli_nonapi.c64 char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL; local
88 hostname = username = dbname = passwd = socket = NULL;
92 &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len) == FAILURE) {
110 &hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len,
133 if (!passwd) {
134 passwd = MyG(default_pw);
135 passwd_len = strlen(SAFE_STR(passwd));
160 SAFE_STR(passwd));
177 if (!mysqli_change_user_silent(mysql->mysql, username, passwd, dbname)) {
239 if (mysql_real_connect(mysql->mysql, hostname, username, passwd, dbnam
[all...]
/PHP_5_3/ext/pdo/
H A Dpdo_dbh.c199 /* {{{ proto void PDO::__construct(string dsn, string username, string passwd [, array options])
1223 ZEND_ARG_INFO(0, passwd)
/PHP_5_3/ext/posix/
H A Dposix.c939 add_assoc_string(array_group, "passwd", g->gr_passwd, 1);
1105 int php_posix_passwd_to_array(struct passwd *pw, zval *return_value) /* {{{ */
1113 add_assoc_string(return_value, "passwd", pw->pw_passwd, 1);
1127 struct passwd *pw;
1131 struct passwd pwbuf;
1163 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to convert posix passwd struct to array");
1178 struct passwd _pw;
1179 struct passwd *retpwptr = NULL;
1184 struct passwd *pw;
1213 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to convert posix passwd struc
[all...]
/PHP_5_3/ext/standard/
H A Dfilestat.c519 struct passwd pw;
520 struct passwd *retpwptr = NULL;
537 struct passwd *pw = getpwnam(Z_STRVAL_P(user));
H A Dphp_crypt_r.c139 char *passwd = out; local
220 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN);
223 if (strncpy_s(passwd + MD5_MAGIC_LEN, MD5_HASH_MAX_LEN - MD5_MAGIC_LEN, sp, sl + 1) != 0) {
226 passwd[MD5_MAGIC_LEN + sl] = '\0';
227 strcat_s(passwd, MD5_HASH_MAX_LEN, "$");
230 strncpy(passwd + MD5_MAGIC_LEN, sp, sl + 1);
231 strcat(passwd, "$");
285 p = passwd + sl + MD5_MAGIC_LEN + 1;
326 static char passwd[MD5_HASH_MAX_LEN], *p; local
382 memcpy(passwd, MD5_MAGI
[all...]
/PHP_5_3/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_3/main/
H A Dfopen_wrappers.c427 struct passwd *pw;
429 struct passwd pwstruc;
H A Dsafe_mode.c238 struct passwd *pwd;
240 struct passwd _pw;
241 struct passwd *retpwptr = NULL;
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd.h107 const char *passwd, unsigned int passwd_len,
114 #define mysqlnd_change_user(conn, user, passwd, db, silent) (conn)->m->change_user((conn), (user), (passwd), (db), (silent) TSRMLS_CC)
H A Dmysqlnd_structs.h340 typedef enum_func_status (*func_mysqlnd_conn__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);
360 typedef enum_func_status (*func_mysqlnd_conn__change_user)(MYSQLND * const conn, const char * user, const char * passwd, const char * db, zend_bool silent TSRMLS_DC);
741 char *passwd; member in struct:st_mysqlnd_connection
H A Dmysqlnd.c144 if (conn->passwd) {
145 DBG_INF("Freeing passwd");
146 mnd_pefree(conn->passwd, pers);
147 conn->passwd = NULL;
435 const char * const passwd,
461 auth_packet->password = passwd;
550 const char *passwd, unsigned int passwd_len,
604 if (!passwd) {
606 passwd = "";
725 if (FAIL == mysqlnd_connect_run_authentication(conn, user, passwd, d
432 mysqlnd_connect_run_authentication( MYSQLND * conn, const char * const user, const char * const passwd, const char * const db, size_t db_len, const MYSQLND_PACKET_GREET * const greet_packet, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags TSRMLS_DC) argument
858 mysqlnd_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) argument
[all...]
/PHP_5_3/ext/mysql/
H A Dphp_mysql.c692 char *user=NULL, *passwd=NULL, *host_and_port=NULL, *socket=NULL, *tmp=NULL, *host=NULL; local
737 host_and_port=passwd=NULL;
745 &user, &user_len, &passwd, &passwd_len,
751 &user, &user_len, &passwd, &passwd_len,
763 if (!passwd) {
764 passwd = MySG(default_password);
765 passwd_len = passwd? strlen(passwd):0;
783 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);
853 if (mysql_real_connect(mysql->conn, host, user, passwd, NUL
[all...]
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_unix.c45 struct passwd *pwd;
77 struct passwd *pwd;
85 struct passwd *pwd;

Completed in 73 milliseconds