[Samba] scannedonly smbd crash

Christophe Deze christophedeze at wanadoo.fr
Wed Apr 14 14:10:58 MDT 2010


Le 14/04/2010 21:39, Volker Lendecke a écrit :
> On Tue, Apr 13, 2010 at 10:46:22PM +0200, Christophe Deze wrote:
>    
>> but i cant install libldap2-dev that seem to be required
>>
>> My server is a ubuntu hardy
>>      
> Ok, then it's a bit difficult. Maybe Olivier can figure it
> out without line numbers.
>
> Volker
>
>
>    
I m bit lost
in fact i still can't compile samba 3.5.2 sources
same error after having installed libldap2-dev
something else must be missing

Using CFLAGS     = -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align 
-Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER 
-Wdeclaration-after-statement -Werror-implicit-function-declaration -I. 
-I/root/samba-3.5.2/source3 -I/root/samba-3.5.2/source3/../lib/popt 
-I/root/samba-3.5.2/source3/iniparser/src -Iinclude -I./include  -I. -I. 
-I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. 
-I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H  
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude 
-I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns 
-I./librpc -I./.. -I./../lib/popt  -I/root/samba-3.5.2/source3/lib -I.. 
-I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
       PICFLAG    = -fPIC
       LIBS       = -lresolv -lresolv -lnsl -ldl
       LDFLAGS    = -pie -Wl,-z,relro -Wl,--as-needed -L./bin
       DYNEXP     = -Wl,--export-dynamic
       LDSHFLAGS  = -shared -Wl,-Bsymbolic -Wl,-z,relro -Wl,--as-needed 
-L./bin -lc -Wl,-z,defs
       SHLIBEXT   = so
       SONAMEFLAG = -Wl,-soname=
Compiling libsmb/clispnego.c
libsmb/clispnego.c: Dans la fonction «spnego_gen_negTokenTarg» :
libsmb/clispnego.c:391: erreur: déclaration implicite de la fonction « 
«cli_krb5_get_ticket» »
The following command failed:
gcc -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings 
-DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement 
-Werror-implicit-function-declaration -I. -I/root/samba-3.5.2/source3 
-I/root/samba-3.5.2/source3/../lib/popt 
-I/root/samba-3.5.2/source3/iniparser/src -Iinclude -I./include  -I. -I. 
-I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. 
-I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H  
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude 
-I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns 
-I./librpc -I./.. -I./../lib/popt  -I/root/samba-3.5.2/source3/lib -I.. 
-I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3  -fPIC -c 
libsmb/clispnego.c -o libsmb/clispnego.o
make: *** [libsmb/clispnego.o] Erreur 1



Olivier wrote me :
do you have the option to edit vfs_scannedonly.c and change
#define SCANNEDONLY_DEBUG 9
to
#define SCANNEDONLY_DEBUG 5
and set the samba logging to 5 or higher ?

I hope that will give a little more logging.

regards







More information about the samba mailing list