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

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


Yep.  It happens straight away - EBADF

cru201(csh):3#cru201:3%/var/samba/bin/smbsh
Username: billingd
Password: 
cru201(csh):1%ls
ERROR: can't get smbw shared lock
In lockit: Bad file number

> -----Original Message-----
> From:	Andrew Tridgell [SMTP:tridge at samba.anu.edu.au]
> Sent:	Tuesday, November 17, 1998 11:08 AM
> To:	David.Billinghurst at riotinto.com.au
> Cc:	samba-technical at samba.anu.edu.au
> 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