smbsh "ERROR: can't get smbw shared lock"
Billinghurst, David (RTD)
David.Billinghurst at riotinto.com.au
Tue Nov 17 01:37:29 GMT 1998
Bits of it worked with samba-2.0.0-alpha13 on Irix 6.2, so this is a
In testing with samba-2.0.0-alpha13 I got
ls /smb/ .... OK
ls /smb/cru200 ... OK another samba server
ls /smb/cru200/billingd ... OK
ls /smb/crw427 ... OK Win95 PC using user security
ls /smb/crw427/a ... Cannot access /smb/crw427/cdrom: Invalid
ls /smb/crtsfile ... NT4 SP3 server
Cannot access directory /smb/CRTSFILE: Permission
so I guess some stuff will work and some won't.
> -----Original Message-----
> From: Herb Lewis [SMTP:herb at chomps.engr.sgi.com]
> Sent: Tuesday, November 17, 1998 12:27 PM
> To: Multiple recipients of list
> Subject: Re: smbsh "ERROR: can't get smbw shared lock"
> Billinghurst, David (RTD) wrote:
> > 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"
> > > 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.
> This is probably a problem with the shell you are using. csh (and many
> of the others) are statically linked in IRIX. Try /bin/tcsh or install
> and use bash. If you have ls aliased to ls -FC you will find that the
> commands take a LONG time to complete. use \ls or remove your alias.
> Herb Lewis Silicon Graphics
> Technical Marketing 2011 N Shoreline Blvd
> Network Systems Division Mountain View, CA 94043
> herb at sgi.com Tel: 650-933-2177
> http://www.sgi.com Fax: 650-932-2177
More information about the samba-technical