make proto issue

Cam Macdonell cam at cs.ualberta.ca
Sat Nov 29 00:42:44 GMT 2008


Volker Lendecke wrote:
> On Fri, Nov 28, 2008 at 03:26:29PM -0700, Cam Macdonell wrote:
>> Part of my system is using fusesmb to connect to this server.  I did 
>> some quick tests and fusesmb isn't finding my server when I use the 
>> master branch.  I'm not sure if this is a limitation of fusesmb or a 
>> config issue with 3.4.  I realize fusesmb is not samba's responsibility, 
>> but has anyone used fusesmb witha a server beyond a 3.0.x version?
> 
> Quick reply -- should work... :-)
> 
> What did you do to debug that problem?
> 

Not too much.  I started up the server built from the master branch and 
fusesmb doesn't seem to find it.

smbtree with 3.0.29:

TRELLIS
	\\BLACKWOOD      		Samba 3.0.29
		\\BLACKWOOD\IPC$           	IPC Service (Samba 3.0.29)
		\\BLACKWOOD\khumbu         	
		\\BLACKWOOD\share          	
TEAM1
	\\WINXP          	

and the //BLACKWOOD entries (the ones I care about) do not show up with 
servers above 3.0.x.  I am using the same smb.conf between servers.

Another concerning issue (possible red herring) is fusesmb spits out the 
deprecation warnings below in compilation with 3.2 or 3.4 libsmbclient 
libraries.

Now, of course, deprecated doesn't mean it won't work, but I thought I 
should mention this.

Are there any other debugging tricks I can try?  The output of testparm 
smb.conf is at the bottom.

Cam


fusesmb.c: In function ‘smb_purge_thread’:
fusesmb.c:132: warning: ‘purge_cached_fn’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2745)
fusesmb.c:136: warning: ‘purge_cached_fn’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2745)
fusesmb.c:207: warning: ‘timeout’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2620)
fusesmb.c:211: warning: ‘timeout’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2620)
fusesmb.c: In function ‘fusesmb_getattr’:
fusesmb.c:326: warning: ‘stat’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2638)
fusesmb.c: In function ‘fusesmb_opendir’:
fusesmb.c:369: warning: ‘opendir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2644)
fusesmb.c: In function ‘fusesmb_readdir’:
fusesmb.c:479: warning: ‘lseekdir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2651)
fusesmb.c:484: warning: ‘readdir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2646)
fusesmb.c: In function ‘fusesmb_releasedir’:
fusesmb.c:527: warning: ‘closedir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2645)
fusesmb.c: In function ‘fusesmb_open’:
fusesmb.c:547: warning: ‘open’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2631)
fusesmb.c: In function ‘fusesmb_read’:
fusesmb.c:577: warning: ‘open’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2631)
fusesmb.c:600: warning: ‘lseek’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2637)
fusesmb.c:614: warning: ‘read’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2633)
fusesmb.c: In function ‘fusesmb_write’:
fusesmb.c:647: warning: ‘open’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2631)
fusesmb.c:668: warning: ‘lseek’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2637)
fusesmb.c:682: warning: ‘write’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2634)
fusesmb.c: In function ‘fusesmb_release’:
fusesmb.c:706: warning: ‘close_fn’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2643)
fusesmb.c: In function ‘fusesmb_mknod’:
fusesmb.c:732: warning: ‘creat’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2632)
fusesmb.c:738: warning: ‘close_fn’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2643)
fusesmb.c: In function ‘fusesmb_unlink’:
fusesmb.c:780: warning: ‘unlink’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2635)
fusesmb.c: In function ‘fusesmb_rmdir’:
fusesmb.c:799: warning: ‘rmdir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2649)
fusesmb.c: In function ‘fusesmb_mkdir’:
fusesmb.c:817: warning: ‘mkdir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2648)
fusesmb.c: In function ‘fusesmb_utime’:
fusesmb.c:858: warning: ‘utimes’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2654)
fusesmb.c: In function ‘fusesmb_chmod’:
fusesmb.c:879: warning: ‘chmod’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2653)
fusesmb.c: In function ‘fusesmb_truncate’:
fusesmb.c:911: warning: ‘creat’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2632)
fusesmb.c:917: warning: ‘close_fn’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2643)
fusesmb.c:931: warning: ‘stat’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2638)
fusesmb.c: In function ‘fusesmb_rename’:
fusesmb.c:957: warning: ‘rename’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2636)
mv -f .deps/fusesmb.Tpo .deps/fusesmb.Po
gcc -DHAVE_CONFIG_H -I.  -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-I/usr/local/samba/include/ -Wall -W -g -O2 -MT hash.o -MD -MP -MF 
.deps/hash.Tpo -c -o hash.o hash.c
mv -f .deps/hash.Tpo .deps/hash.Po
gcc -DHAVE_CONFIG_H -I.  -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-I/usr/local/samba/include/ -Wall -W -g -O2 -MT smbctx.o -MD -MP -MF 
.deps/smbctx.Tpo -c -o smbctx.o smbctx.c
smbctx.c: In function ‘fusesmb_context’:
smbctx.c:257: warning: ‘auth_fn’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2682)
smbctx.c:263: warning: ‘flags’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2768)
mv -f .deps/smbctx.Tpo .deps/smbctx.Po
gcc -DHAVE_CONFIG_H -I.  -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-I/usr/local/samba/include/ -Wall -W -g -O2 -MT stringlist.o -MD -MP -MF 
.deps/stringlist.Tpo -c -o stringlist.o stringlist.c
mv -f .deps/stringlist.Tpo .deps/stringlist.Po
gcc -DHAVE_CONFIG_H -I.  -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-I/usr/local/samba/include/ -Wall -W -g -O2 -MT configfile.o -MD -MP -MF 
.deps/configfile.Tpo -c -o configfile.o configfile.c
mv -f .deps/configfile.Tpo .deps/configfile.Po
gcc  -I/usr/local/samba/include/ -Wall -W -g -O2  -L/usr/local/samba/lib 
-o fusesmb fusesmb.o hash.o smbctx.o stringlist.o configfile.o  -lfuse 
-lpthread -lsmbclient
gcc -DHAVE_CONFIG_H -I.  -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-I/usr/local/samba/include/ -Wall -W -g -O2 -MT cache.o -MD -MP -MF 
.deps/cache.Tpo -c -o cache.o cache.c
cache.c: In function ‘server_listing’:
cache.c:244: warning: ‘opendir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2644)
cache.c:248: warning: ‘closedir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2645)
cache.c:252: warning: ‘readdir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2646)
cache.c:270: warning: ‘closedir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2645)
cache.c:277: warning: ‘closedir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2645)
cache.c: In function ‘workgroup_listing_thread’:
cache.c:304: warning: ‘opendir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2644)
cache.c:307: warning: ‘closedir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2645)
cache.c:311: warning: ‘readdir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2646)
cache.c:324: warning: ‘closedir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2645)
cache.c: In function ‘cache_servers’:
cache.c:398: warning: ‘opendir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2644)
cache.c:402: warning: ‘closedir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2645)
cache.c:418: warning: ‘readdir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2646)
cache.c:454: warning: ‘closedir’ is deprecated (declared at 
/usr/local/samba/include/libsmbclient.h:2645)
mv -f .deps/cache.Tpo .deps/cache.Po
gcc  -I/usr/local/samba/include/ -Wall -W -g -O2  -L/usr/local/samba/lib 
-o fusesmb.cache cache.o hash.o stringlist.o smbctx.o configfile.o 
-lfuse -lpthread -lsmbclient
make[1]: Leaving directory `/home/cam/fusesmb'


cam at blackwood:/usr/scratch/khumbu$ testparm /usr/local/samba/lib/smb.conf
Load smb config files from /usr/local/samba/lib/smb.conf
Processing section "[share]"
Processing section "[khumbu]"
Loaded services file OK.
ERROR: lock directory /var/run/samba does not exist
ERROR: pid directory /var/run/samba does not exist
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
	workgroup = TRELLIS
	log level = 10
	socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	lm announce = Yes
	lm interval = 5
	hosts allow = 192.168.21.0/24, 127.0.0.1, 129.128.25.176, 
129.128.23.161, 129.128.23.21
	hosts deny = ALL

[khumbu]
	path = /usr/scratch/khumbu
	read only = No
	force create mode = 0700
	force directory mode = 0700
	case sensitive = Yes
	oplocks = No
	level2 oplocks = No


More information about the samba-technical mailing list