Displaying 20 results from an estimated 2000 matches similar to: "Bug in driver-mysql.c + fix"
2006 Oct 27
0
RMySQL and stored procedures
Hi,
I use RMySQL to connect to MySQL server where I have a couple of stored
procedures.
I know that the function for the stored procedures "is not yet
implemented", but I was trying to
get around the problem connecting like that:
drv <- dbDriver("MySQL")
con <- dbConnect(drv,user=MyUser, password=MyPasswd, dbname=MyDBName,
host=MyHost, client.flag="196608"
2010 Mar 22
2
dovecot-2.0.beta4 mysql support in Solaris
Hi,
I've been able to configure --with-mysql in Solaris 10 which has MySQL
version 4.0.31 bundled in. Since beta4 build fails due to change in
src/lib-sql/driver-mysql.c. I've never used this feature but so I don't
need it. This is just a FYI if someone reads mailing list.
"driver-mysql.c", line 139: undefined symbol: CLIENT_MULTI_RESULTS
"driver-mysql.c",
2006 Mar 28
2
Mysql stored procedures from Rails
Hi all,
I know stored procedures are considered evil around, but there are times
when you just have to use them. In the project I''m working on, I needed
to call a mysql5 stored procedure, but I only got an error message
saying "ActiveRecord::StatementInvalid: Mysql::Error: PROCEDURE
vc.testsp can''t return a result set in the given context: call testsp()"
I found out
2008 Jan 21
1
asterisk-addons-1.6.0-beta1---Error
Hi,
I'm trying to install asterisk-addons-1.6.0-beta1 on my machine.
But getting following error during make:
[root at Cancer asterisk-addons-1.6.0-beta1]# make
make[1]: Entering directory `/usr/src/asterisk/asterisk-addons-1.6.0-beta1'
[CC] app_addon_sql_mysql.c -> app_addon_sql_mysql.o
app_addon_sql_mysql.c: In function `aMYSQL_connect':
app_addon_sql_mysql.c:266: error:
2006 May 05
2
Rails MySQL Stored Procedure Fun
Hi All.
I have a question about calling MySQL stored procedures that is a little
different from the usual.
I know stored procedures are not really the ''Rails way'' but in this case
there is no other way to accomplish the same task and I have used them
successfully.
Background:
I am using a query to produce a real-time status of items flowing
through a factory.
The query
2008 Feb 02
3
Liebert UPS, serial cable questions
Hi,
I have a Liebert GXT2-1000RT230 UPS that is connected to my server
using a serial cable.
I have no idea to what port exactly it is connected so my first
question is: how do I find out what /dev/tty** should I use?
Do I need to install a device driver for it? Where do I find it?
What should I use and how do I do so the server shuts down if the
battery level is low?
Yes, I'm a newby,
2006 Sep 15
1
Problem with MySQL
Hi there,
I tried to setup a passwddb with mysql, but it wont connect to my
database, even if I patch the driver-mysql.c
Here a test program I wrote to check the connection:
int main()
{
MYSQL mysql;
mysql_init(&mysql);
if (mysql_real_connect(&mysql, NULL, "root", "asd2sdf3", "ccc", 0,
"/var/lib/mysql/mysql.sock", 0) == NULL)
2008 Mar 03
1
Belkin F6C1250EITW-RK
I am looking at one of these, see:
http://www.cclonline.com/product-info.asp?product_id=14622&category_id=216&manufacturer_id=0&tid=f6c1250eitw-rk#
I can't see it on the compatability list ... but that doesn't mean that it doesn't work:
* it could work, but it isn't on the list
* it could be listed under a different (perhaps US) part number
Can any one please tell
2015 Nov 26
2
nitwit's attempt to edit samba source
Hi,
Since I really would like some more info (specifically: remote ip
address) to be logged with failed password attempts, I have tried to
edit the samba source code. :-)
Anyway, I changed in source4/auth/ntlm/auth.c
> if (tevent_req_is_nterror(req, &status)) {
> DEBUG(2,("auth_check_password_recv: "
> "%s authentication for user [%s\\%s] "
>
2009 Jul 07
1
Adding data in two tables simul;taneously with Validations
Hi All,
I have 2 tables
1] user_infos &
2] users
class UserInfo
has_one :user
validates_presence_of :city
class User
belongs_to :user_info
validates_presence_of :first_name
i write following code in my create method.
@user_info = UserInfo.new(params[:user_info])
@user=@user_info.build_user(:first_name=>'''')
if @user_info.save
else
end
now what i want is to
2007 Nov 11
0
Patch to sshd match
Please find attached a patch against openssh-4.7p1
It extends the Match in sshd_config. The point is that it is sometimes
easier (and more secure) to match on NOT something.
A criterium may be preceded by ! which inverts the condition, thus:
Match !Group sysadmins
ForceCommand /usr/bin/sftp
forces use of sftp on any user who is not a system administrator.
A !! has the
2018 Feb 06
2
win 10 login - Not enough storage is available to process this command
hi everyone
I've had a Win 10 Pro client to a non-AD samba fine for a
long time.
Suddenly I could not logon new user(which had not logged in
on that Win box before). I was lazy, I remember that
quickest thing that worked once in the past was remove &
re-add client, you know, in Windows itself, to the domain.
Now I cannot login any user at all at that Win box(even
though the box was
2005 Nov 09
0
mysql dovecot 1.0alpha4
I try to authenticate using mysql and I always get access denied.
I wrote a program in C that connect to the database and it work.
I put the code within driver-mysql.c and it failed!!!
My question is do you set up anything (SSL?) that could explain this
failure.
thanks.
Here is the code
MYSQL *h;
h = mysql_init (NULL);
if (h == NULL) {
fprintf (stderr, "mysql_init() failed (probably
2005 Mar 21
2
PDC Migration - Mapping user \ from...
Hi,
I'm trying to migrate our PDC from samba 2.2.3 on redhat 7.3 to samba
3.0.10 on fedora core 3. We use smbpasswd which I have copied to the
new server - all the unix users and groups are yp'd so they're the same
on both servers.
Everything seems to work fine initially. Most people can log on and get
their roaming profile from most machines (they can all log in from their
own
2018 Jan 16
2
Request for credential for just one user on one specific machine when using FQDN
Hi,
I have deployed a new file server (Samba version 4.6.2, CentOS 7) which
is running as a member of an AD domain (The DCs are both Windows server
2012, forest and domain level is 2012 as well). I'm using the AD backend
to store SID/UID mappings.
So everything is working fine except for one specific user on one
specific workstation (Windows 10) who can only access the file server
with
2004 Mar 12
2
Need urgent help with "user_info->client_domain.str" and "user_info->domain.str"
Hi there,
anybody here to help me with:
"user_info->client_domain.str" and "user_info->domain.str"
Problem:
check_ntlm_password: Checking password for unmapped user
[FRSTPRV.DE]\[SambaAdmin302]@[HEARTOFGOLD]
with the new password interface
check_ntlm_password: mapped user is:
[FRSTPRV]\[SambaAdmin302]@[HEARTOFGOLD]
Where from does samba receive the
2016 Dec 20
2
samba 4.5.0 on hpux ia64: smbd not able to use domain users for file sharing
Hi,
I have added below lines in smb.conf
idmap config CIFSDOM:backend = rid
idmap config CIFSDOM:range = 10000-999999
But still i am getting same error.
*I am also attaching logs *
*winbind logs:-*
userinfos: struct wbint_userinfo
acct_name : *
acct_name : 'gold'
2016 Dec 20
2
samba 4.5.0 on hpux ia64: smbd not able to use domain users for file sharing
Hi ,
Below is the content of smb.conf file for ADS member.
[global]
password server = WIN2008.CIFSDOM.COM
client ldap sasl wrapping = plain
security = ADS
workgroup = CIFSDOM
realm = CIFSDOM.COM
guest account = smbnull
log file = /var/log/samba/%m.log
log level = 10
# Default idmap config used for BUILTIN and local accounts/groups
2023 Jun 01
2
winbindd authentication fails with NT_STATUS_RPC_SEC_PKG_ERROR intermittently
Hi,
I recently upgraded a smb server from Ubuntu 18.04 to Ubuntu 20.04 which
required the Samba version to be upgraded from 4.7.6 to 4.15.13.
Post the upgrade, winbind authentication fails
with NT_STATUS_RPC_SEC_PKG_ERROR intermittently. The error goes away on
restarting the smb service but comes back after some time. There were no
isses with the setup before the upgrade.
Tried clearing the
2005 May 16
1
htaccess authentication asks for MySQL table test.user_info
Hello.
I tried to create an access file with 'htpasswd -c
/etc/httpd/conf/myfile.htaccess testuser'.
In the SSL directory I have put a .htaccess file containing the followings:
AuthUserFile /etc/httpd/conf/myfile.htaccess
AuthName "Mydomain"
AuthType Basic
require valid-user
This worked with CentOS 3.
Now with CentOS 4, apache version 2.0.52, the access to the page is