Bug 892 - expsam mysql usermanager error's
Summary: expsam mysql usermanager error's
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.11
Hardware: Other Linux
: P3 normal
Target Milestone: none
Assignee: Jelmer Vernooij
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-16 07:24 UTC by Collen Blijenberg
Modified: 2005-08-24 10:19 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Collen Blijenberg 2003-12-16 07:24:10 UTC
G'day..

this problem/bug is prob. already known... but still.

when fireingup anny usermanager within a NT enviremnt.
the manager gives back a:

"STUB RECEIVED BAD DATA" and/or "ARRAY BOUND ARE INVALID"

this only happens, with the mysql plugin.. (as far as i tested)
i tryed the tdbsam, and there it works all fine.. (so no worry there)

it's prob. a small typo error with assigning the expsam orso ?? (dunno)
(don't think it's the actual sql plug in)
the rest of the mysql plugin works fine

Greet's

Collen Blijenberg (MLHJ)
Comment 1 Collen Blijenberg 2004-01-07 23:46:54 UTC
Somehow, i think the problem of this bug is not the mysql-plugin.
we tested it several way's, and in ethereal dump's & debug log's
it show's that the sql data get's send, but i gues not i the right way.
there for it might be possible that the bug is where the plugin get's called, 
or where the plugin data get's handled... ???!?

l8r, Collen
dunno, just doing sugestions... 
Comment 2 Jelmer Vernooij 2004-01-08 12:20:02 UTC
The bug is certainly not in the passdb code (the code you are referring to),
since this code is exactly equal when using tdb or mysql.

The bug is either in the mysql plugin or caused by illegal data in the MySQL
database.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2004-03-22 06:06:28 UTC
Jelmer,  what's the resolution on this one ?
Comment 4 Gerald (Jerry) Carter (dead mail address) 2004-03-23 05:10:07 UTC
From Collen:

> As far as i know, it's still open...
> the bug still exist within samba 3.0.2
> can't seem to find the cure...
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-02-08 21:42:49 UTC
replease retest against 3.0.11.
Comment 6 Collen Blijenberg 2005-02-09 02:06:08 UTC
Well i upgraded the network (pdb and bdc) to 3.0.11 version.
but the bug is still there. stub received bad data.
mysql 3.23.54.

staingely the network works fine, users can login, i get home dirs and profiles
ect ect. 
it's just when i try to get, the Fullname or Description or some other data,
that stupid stub error pops up.
same with the MS usermanager from nt4, i get an overview from the users and
groups. clicking on a group works, klicking on a user for the userinfo fails.. ?

so the issue is still there. i'm wondering if other exp_backends have the some
problem orso..
Later
Collen
Comment 7 Gerald (Jerry) Carter (dead mail address) 2005-02-09 06:19:19 UTC
jelmer, please fix this or mark as won't fix.  You're call.  No one 
else is maintaining these modules.
Comment 8 Jelmer Vernooij 2005-03-09 03:14:51 UTC
This error was raised whenever unknown_6 (size_is?) was lower then hours_len
(length_is?). Fixed by setting the default for unknown_6 to 1260, which
apparently is what tdb uses.
Comment 9 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:19:54 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.