Displaying 20 results from an estimated 900 matches similar to: "ERROR: can't get smbw shared lock (Bad file number)"
2003 Jun 19
1
smbwrapper/smbw.c does not compile (Error 1)
After discovering a bug in the SuSE Samba binary (2.2.7a and 2.2.8a)
which prevents some older DOS programs from creating files on a Samba
share, I downloaded and built Samba 2.2.8a from the sources. Everything
seems to work now (the old DOS programs are able to write to Samba
shares) with the exception of smbwrapper which causes the following
errors when Samba is built:
2000 Aug 04
1
Compiling under suse linux 6.4
Hi
I can't get 2.0.7 to compile under linux 6.4.
My configure looks like:
./configure --with-smbwrapper --with-automount --with-smbmount
but when I make, all goes well until:
Compiling smbwrapper/shared.c
Linking bin/smbsh
Compiling smbwrapper/smbw.c with -fpic
smbwrapper/smbw.c:1429: warning: `struct stat64' declared inside parameter
list
smbwrapper/smbw.c:1429: warning: its scope
2001 Apr 19
2
Samba 2.2.0 bug.
Ill report this as a bug, since I havent had any response to my question about
it on the mailing lists.
I am trying to get at the /smb file system.
My understanding is to do this I MUST go thru the smbsh.
When I try executing smbsh, I see:
[reg@orion bin]$ smbsh
Username: rwclemens
Password:
ERROR: can't get smbw shared lock (Invalid argument)
Looking at the code its not
1999 Aug 26
0
smbsh always segfaults
Version 2.0.5a (same prob w/2.0.4b, though). smbsh segfaults after I
enter my password. As root, it just seg faults. As my login user, it
dumps core.
Attached is a script of an strace of it.
Running RH 6.0, kernel 2.2.10, AMD K6-2/350, 64M RAM. Configure options
were:
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{pref} --libdir=/etc \
--with-lockdir=/var/lock/samba
1999 Apr 05
0
smbsh cannot do cat, cp ...
Hi,
I have samba 2.0.3 running on my SGI IRIX 6.4 box. So far everything
seems to work fine with the following exception.
When I run smbsh. I think somehow the program thinks that it is
operating on the system root directory (/), not the /smb/host/...
Here are a few symptoms:
I start smbsh (in tcsh), it first gives an error rightaway:
ERROR: can't get smbw shared lock (Bad file number)
2002 Sep 15
0
Samba 2.2.5, smbsh and Mandrake 8.2
Hi all
I'm currently using Samba 2.2.5 with LDAP support on my PDC and normal
(no-LDAP) on other Linux boxes I have, and smbsh keeps failing with this
error:
ERROR: can't get smbw shared lock (Invalid argument)
Does anyone know what's up? Is smbsh broken in general (obviously it is
in my case)?
Best
Diego
2001 Apr 05
0
Newbie Question: Does smbwrapper/smbsh actually work?
I guess the uSSubject line says it all.
Does smbwrapper/smbsh actually work?
It took some editing to get smbwrapper to actually compile, but the
changes seemed obvious (different versions of gcc?).
However when I try to execute smbsh (RH7.0), I get to the message
ERROR: can't get smbw shared lock
which looks like it could be a difference between the way different
OS handle things.
So,
2002 Jun 26
22
FW: samba woes
All,
I have been working on a component that is included with samba called SMBSH. The binary allows you to automount your NT shares by accessing your profile . I have been working on this for the last
few days and have been unsuccesful at getting it work. Now I am not much of a programmer, but I did my best to try and troubleshoot this. However it just does not want to work in Linux. I
2001 Dec 15
0
smbsh error
I am having a problem with smbsh. I get the following error after I enter my
username and password:
ERROR: can't get smbw shared lock (Invalid argument)
I am running linux 7.2 with samba 2.2.2.
The error message is produced from the function lockit(void) in
smbwrapper/shared.c.
The error originates in file lib/util.c in function:
fcntl_lock(shared_fd,SMB_F_SETLKW,0,1,F_WRLCK)
fcntl_lock
2003 Jun 26
0
RH9 compile problems AND WinXP netlogon script
Because of the original issue below, it dawned on me to re-compile Samba
after the RH9 upgrade from RH7.1. The make fails, and I was hoping someone
could shed some light on either/both issues. I'm compiling Samba 2.2.8a
with:
./configure --with-smbwrapper --with-pam --with-syslog --with-netatalk
--prefix=/var/samba --with-quotas --with-smbmount --with-shadow
No errors there, but make fails
2004 May 21
0
smbsh/smbwrapper.so on Solaris 8/Samba 3.0.4
Has anyone seen the following problems with smbsh under
Solaris 8:
1. smbsh with no options does not prompt correctly for the
Username: and Password:. You can enter them if you
know that is what you need and it will continue on.
If you use -U username it works.
2. Once smbsh is running, any command results in a "[1]+ Stopped"
with bash. If you
2003 Oct 22
1
FW: smbsh problem - please help
Hi,
currently I am running Solaris 8 and I am trying to install Samba so
that I can run smbsh to access a Windows server. I do the following:
./configure --prefix=/usr/local/samba --with-smbwrapper
make
make install
All the documentation I have seen says what I am doing is correct.
Neither the configure nor any of the make commands fail. And once the
installation is complete everything else
2001 Nov 28
0
smbsh: /smb does not exist
Hello,
I have trouble getting smbsh to work. Unfortunately I could
not find sufficient documentation on the web.
/smb seems to be empty:
$./smbsh -W Ntdomain_1 -U myname -d 2
Password:
smbsh$ ls /smb
UX:ls: ERROR: Cannot access /smb: No such file or directory
smbsh$
What is the problem?
I have not edited any settings/password files.
I have tried both Samba-2.2.2
1999 May 20
0
Strange smbsh problem
This smbsh rips! However, it unfortunately only rips on one of the
machines here ;)
On the others, which have basically the same config but a 2.2.5 kernel (vs
2.2.9) smbsh runs fine, and a cd to /smb works, but nothing else. 'ls'
produces a listing of the directory where smbsh started in - it seems to
me that no 'preloading' is being done of smbwrapper.so. Is there a way to
test
2000 Aug 26
0
smbsh - Samba 2.0.7 - Solaris 2.6? Thanks!
Hi Oka,
It worked! All works fine in the tcsh.
Thanks!
Kurt
----- Original Message -----
From: Stam, Kurt
To: 'kurt@oneheartbreak.com'
Sent: Friday, August 25, 2000 4:33 PM
Subject: FW: smbsh - Samba 2.0.7 - Solaris 2.6
-----Original Message-----
From: Oka Setiawan [mailto:oka@indigopool.com]
Sent: Friday, August 25, 2000 4:37 PM
To: Stam Kurt
Subject: RE: smbsh - Samba 2.0.7 -
1999 May 21
3
SMBSH
On Fri, 21 May 1999, Sami Cokar wrote:
> Hello,
> how do you use smbsh? I have not found any dox on it other than how to
> compile it. any help would be appreciated. Thanx.
SMBSH is really neat. After you compile and install it (./configure
--enable-smbwrapper ; make ; make install does it) you simply run it -
it'll give you a login/pw and your usual shell prompt. You then can
1999 Jan 29
0
smbsh on HP-UX (SAMBA digest 1962)
I tried linking smbwrapper.so directly into bash, but that only works for
bash and not any of the subprocesses it runs. That is bash can cd into the
/smb directory and I can do an echo * to list files. But if I run a system
command (ls, emacs) they can't see the /smb directory because they aren't
linked with smbwrapper.so.
-----Original Message-----
From: Dirk De Wachter
1999 Jun 26
0
Password caching and smbsh
First off, I don't know if this is password caching revisited with a
vengeance or what. It's very inconsistent for the amount of time the
share will stay mounted. I *think* the following are the relevant
messagess in the log:
Jun 23 22:24:36 reliant kernel: smb_trans2_request: result=-32, setting
invalid
Jun 23 22:24:36 reliant kernel: smb_retry: caught signal
And of course, I get the
2004 Aug 06
2
parsing icecast 1 and icecast2 logs in GUI web format
Eisele,
Would you mind sharing with myself and other what you did to get this
running? I am very familiar with webalizer, but perhaps others are not
so.
I'd be curious to see your scripts for getting it to work with MRTG
seeing as how I use that often as well.
Thanks.
KJ
<p>On Wed, 2003-11-12 at 09:16, EISELE Pascal wrote:
> Hi
>
> I'm using webalizer without any
1998 Oct 05
0
smbsh and smbwrapper - porting help needed
Someone asked today about smbfs on HPUX. The basic answer to that is
that smbfs is _very_ operating system specific so it would take quite
a lot of work to get it to run on another OS.
There is hope though. Over the past few days I have been developing
something called smbwrapper (and smbsh). This offers most of the
capabilities of smbfs in a way that makes it somewhat portable. It
also provides