can I define "static" interfaces in source/lib/interfaces.c?

Tomasz Chmielewski mangoo at wpkg.org
Fri Feb 10 11:41:08 GMT 2006


Martin Zielinski wrote:
> Hello!
> 
> No need for this.
> Look at your config.h created by configure.
> Same problem on ARM.
> Just append
> #define HAVE_IFACE_IFCONF 1
> to your config.h
> 
> Then the device detection should (!) work.
> Take a closer look at my last post in the "Building an embedded 
> Samba..." thread.

Indeed, the device detection seems to work now.

However, something's still wrong.

Can you run smbclient command properly to upload files?

For example, something like this:

SHARE=shared
FILE=/usr/share/cups/drivers/ps5ui.dll

# smbclient //localhost/$SHARE -N -U'administrator%pass' -c "put $FILE 
testfile"
Domain=[MAGISTA] OS=[Unix] Server=[Samba 3.0.21b]
Error writing file: NT_STATUS_ACCESS_DENIED
putting file /usr/share/cups/drivers/ps5ui.dll as \testfile (0.0 kb/s) 
(average 0.0 kb/s)


So, I get "Error writing file: NT_STATUS_ACCESS_DENIED".

Only 16573 bytes of the file are uploaded.

The logfile says:

[2006/02/10 11:36:06, 0] smbd/reply.c:reply_write_and_X(3048)
   reply_write_and_X - large offset (40bd << 32) used and we don't 
support 64 bit offsets.
[2006/02/10 11:36:06, 3] smbd/error.c:error_packet(146)
   error packet at smbd/reply.c(3050) cmd=47 (SMBwriteX) 
NT_STATUS_ACCESS_DENIED

Does the same happen for you?

smbclient from a remote machine (normal one, not cross-compiled) is fine.


-- 
Tomasz Chmielewski
http://wpkg.org


More information about the samba-technical mailing list