-
pbd modules init
Hi all,
i've bounced into some problem with samba 3.2.0
currently i'm the pdbsql maintainer and i'm trying to make
the pdbsql backend to work against the 3.2.0 version
so far so good. i had a working version against the rc2
but ever since the release, the backend crashes.
---- snip ---
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to find an passdb backend to match mysql:mysql (mysql)
No builtin backend found, trying to load plugin
Probing module 'mysql'
Probing module 'mysql': Trying to load from
/usr/local/samba/lib/pdb/mysql.so
Error trying to resolve symbol 'init_samba_module' in
/usr/local/samba/lib/pdb/mysql.so: /usr/local/samba/lib/pdb/mysql.so:
undefined symbol: init_samba_module
No builtin nor plugin backend for mysql found
PANIC (pid 8135): pdb_get_methods_reload: failed to get pdb methods for
backend mysql:mysql
BACKTRACE: 7 stack frames:
#0 smbd(log_stack_trace+0x2d) [0x82b1f74]
#1 smbd(smb_panic+0x80) [0x82b20d1]
#2 smbd [0x82621b3]
#3 smbd(initialize_password_db+0x24) [0x8264b0e]
#4 smbd(main+0x97a) [0x8501f2f]
#5 /lib/libc.so.6(__libc_start_main+0xe6) [0x28e5d6]
#6 smbd [0x809dc01]
dumping core in /usr/local/samba/var/cores/smbd
Aborted (core dumped)
[root@green samba]#
--- snip -----
as you can see, there is an error in the init_samba_module part.
question is, what did you change between the rc2 and actual release ?!?!
Greets, Collen
-
Re: pbd modules init
On Wed, Jul 02, 2008 at 04:35:59PM +0200, Collen Blijenberg wrote:[color=blue]
> Hi all,
>
> i've bounced into some problem with samba 3.2.0
> currently i'm the pdbsql maintainer and i'm trying to make
> the pdbsql backend to work against the 3.2.0 version
>
> so far so good. i had a working version against the rc2
> but ever since the release, the backend crashes.
>
> ---- snip ---
> Attempting to register passdb backend tdbsam
> Successfully added passdb backend 'tdbsam'
> Attempting to find an passdb backend to match mysql:mysql (mysql)
> No builtin backend found, trying to load plugin
> Probing module 'mysql'
> Probing module 'mysql': Trying to load from
> /usr/local/samba/lib/pdb/mysql.so
> Error trying to resolve symbol 'init_samba_module' in
> /usr/local/samba/lib/pdb/mysql.so: /usr/local/samba/lib/pdb/mysql.so:
> undefined symbol: init_samba_module[/color]
init_samba_module() as a function must be defined. Formerly,
it was init_module().
Volker
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFIa5WnUzqjrWwMRl0RArFcAJ4jwpElrQypSwCcBAOQipowyx8Q4gCcCfq9
0ctxwoTMiYPv0bsyWO9WZZA=
=WTvV
-----END PGP SIGNATURE-----
-
Re: pbd modules init
Hi Volker,
thx that did the trick... it stopped crashing...
guess you changed it after rc2... a well.
problem solved..
L8rz, Collen
Volker Lendecke wrote:[color=blue]
> On Wed, Jul 02, 2008 at 04:35:59PM +0200, Collen Blijenberg wrote:
>[color=green]
>> Hi all,
>>
>> i've bounced into some problem with samba 3.2.0
>> currently i'm the pdbsql maintainer and i'm trying to make
>> the pdbsql backend to work against the 3.2.0 version
>>
>> so far so good. i had a working version against the rc2
>> but ever since the release, the backend crashes.
>>
>> ---- snip ---
>> Attempting to register passdb backend tdbsam
>> Successfully added passdb backend 'tdbsam'
>> Attempting to find an passdb backend to match mysql:mysql (mysql)
>> No builtin backend found, trying to load plugin
>> Probing module 'mysql'
>> Probing module 'mysql': Trying to load from
>> /usr/local/samba/lib/pdb/mysql.so
>> Error trying to resolve symbol 'init_samba_module' in
>> /usr/local/samba/lib/pdb/mysql.so: /usr/local/samba/lib/pdb/mysql.so:
>> undefined symbol: init_samba_module
>>[/color]
>
> init_samba_module() as a function must be defined. Formerly,
> it was init_module().
>
> Volker
>[/color]