smbsh "ERROR: can't get smbw shared lock"

Billinghurst, David (RTD) David.Billinghurst at
Tue Nov 17 01:07:55 GMT 1998

Yep.  It happens straight away - EBADF

Username: billingd
ERROR: can't get smbw shared lock
In lockit: Bad file number

> -----Original Message-----
> From:	Andrew Tridgell [SMTP:tridge at]
> Sent:	Tuesday, November 17, 1998 11:08 AM
> To:	David.Billinghurst at
> Cc:	samba-technical at
> Subject:	Re: smbsh "ERROR: can't get smbw shared lock"
> > Just tried smbsh from samba-2.0.0beta1 on SGI Irix 6.2.
> > Can't do much as I get an error "ERROR: can't get smbw shared lock" from
> an
> > "ls ." command.
> probably the shared handle has been closed somehow. That shouldn't
> happen because the smbw_local_fd() check in close() is supposed to
> prevent it.
> can you add a print of strerror(errno) to the "can't get smbw shared
> lock" error message to confirm it? I bet it will be EBADF.

More information about the samba-technical mailing list