[Samba] NT_STATUS_INVALID_HANDLE

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Jan 18 03:33:14 MST 2010


On Mon, Jan 18, 2010 at 04:39:13PM +0700, budhi hamdani wrote:
> Hello, Thx for reply
> You can get smbd.strace from this url :
> http://222.124.204.155/~budhi/samba/

24953 18:18:29.915751 fcntl(4, F_SETLKW, {type=0 /* F_???  */, whence=SEEK_SET, start=0, len=0}) = -1 EINVAL (Invalid argument) <0.000017>

That's the culprit. The relevant Samba code lines try to do a 

tdb->methods->tdb_brlock(tdb, GLOBAL_LOCK, F_WRLCK, F_SETLKW, 0, 1)

which is a lock of one byte (not len=0 as in your strace).
My first guess would be a 32/64 bit problem with your build
environment or something similar. Is that possible?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20100118/85099538/attachment.pgp>


More information about the samba mailing list