search for: smbw

Displaying 20 results from an estimated 23 matches for "smbw".

Did you mean: smb
2003 Jun 19
1
smbwrapper/smbw.c does not compile (Error 1)
...ering 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: Test2:/usr/src/samba-2.2.8a/source # make Using FLAGS = -O -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOGFILEBASE="/var/log/samba" -DCONFIGFILE=&...
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 is onl...
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 with: Compiling passdb/passdb.c Compiling passdb/secrets.c passdb/secrets.c: In function `secrets_fetch': passdb/secrets.c:59: warning: assignment dis...
2000 Feb 02
0
ERROR: can't get smbw shared lock (Bad file number)
...server's files (the reverse approach). I'd love to have ability to use smbfs and/or smbmount, but since these are only released on Linux, and following the attached message advices , I'm trying to resolve my need with smbsh. I remain getting the error message "ERROR: can't get smbw shared lock (Bad file number)". 1/ Does some one have any clue or already knows what this is about ? I first tried to look for mailing list archive, apparently there were already some mails addressing this question, but my browser seems to be unable to display thoses specific pages (?). 2/...
1999 Jan 23
4
smbwrapper
> What you are looking for is smbwrapper, which is in fact included with Samba > 2.0. However as it is not supported on all systems it is not included > in the default build (it should work nicely on Solaris though). > Essentially smbwrapper is a preloaded library which intercepts system calls and > simulates a /smb...
2002 Jun 26
22
FW: samba woes
...g a 64bit argument against the function. Which is why I am getting an invalid argument because that argument can not be used with that function. fcntl(8191, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}, 0xbfffeec0) = -1 EINVAL (Invalid argument) write(2, "ERROR: can\'t get smbw shared loc"..., 53ERROR: can't get smbw shared lock (Invalid argument))= 53 What I am trying to figure out is.. why is going from using fcntl64() to fcntl().. I have looked through most of the source code and have found nothing. I have sent emails to the samba lists and to redhat. So f...
2001 Apr 19
2
Samba 2.2.0 bug.
...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 obvious what the problem is. Environment: Linux (RH7.0) Samba 2.2.0 Reg.Clemens reg@dwf.com
1999 Aug 26
0
smbsh always segfaults
...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 --with-privatedir=/etc \ --with-swatdir=%{pref}/share/swat --with-smbwrapper \ --with-automount --with-quotas --with-pam --with-smbmount make CFLAGS="$RPM_OPT_FLAGS" all smbwrapper There seems to be an I/O error somewhere in the strace, shortly before the Username prompt. I don't know if it matters or not, though. (BTW, yes, I know there...
1999 Apr 05
0
smbsh cannot do cat, cp ...
...verything 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) (By the way this error does NOT appear when I use bash). Then it lets me cd to /smb/host/files... For example, I can use more CONFIG.SYS and it prints it on the screen, or vi or emacs on the file, and can save to this location through the file editors. BUT if I say &...
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 b...
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 calls: fcntl(8191, F_SETLK...
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
2002 Nov 27
6
"attrib +R myowndir" fails to write-protect my own dir
...f length 45 smbd/process.c:switch_message(685)switch message SMBclose (pid 10017) smbd/reply.c:reply_close(3148) close directory fnum=12144 but the directory remains writeable. At compile time there were only some warnings about implicit declarations of functions, "__fork" in "smbwrapper/smbw.c" and many more with the pattern "smbw_some-syscall" in "smbwrapper/wrapped.c" but the comment in the file says not to try to get rid of them. The only other suspect diagnostic was for functions "smbc_telldir" and "smbc_lseekdir" in "li...
2002 Feb 03
5
Samba 2.2.3 released
...les with O_NONBLOCK ! 43). Use O_NOFOLLOW for systems that have it and don't want symlinks. 44). Ensure NT suplementary groups get added to user token. 45). Try and mitigate effects of DNS timeout (do less lookups). 46). Added current user connection context stack. 47). Fixes to utmp code. 48). smbw code tidyups. 49). Added tdb open log code. Several tdb fixes. Older release notes for Samba 2.2.x follow. ----------------------------------------------------------------------------- New daemon included - winbindd ------------------------------ Samba 2.2.2 is the first release to include the...
2002 Feb 03
5
Samba 2.2.3 released
...les with O_NONBLOCK ! 43). Use O_NOFOLLOW for systems that have it and don't want symlinks. 44). Ensure NT suplementary groups get added to user token. 45). Try and mitigate effects of DNS timeout (do less lookups). 46). Added current user connection context stack. 47). Fixes to utmp code. 48). smbw code tidyups. 49). Added tdb open log code. Several tdb fixes. Older release notes for Samba 2.2.x follow. ----------------------------------------------------------------------------- New daemon included - winbindd ------------------------------ Samba 2.2.2 is the first release to include the...
2002 May 29
0
Need help compiling on HPUX 11.00 for 2.2.4
I am getting the following errors when compiling SAMBA 2.2.4 on HP-UX 11.00. Anyone have any ideas on what's causing the problem? Using FLAGS = -O -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4 -DLOGFILEBASE="/opt/samba/var" -DCONFIGFILE="/opt/samba/etc/smb.conf" -DLMHOSTSFILE="/opt/samba/etc/lmhosts" -DSWATDIR="/opt/samba/swat" -DSBINDIR="/o...
2002 May 28
0
link errors compiling 2.2.4 on HP-UX 11.00
I am getting the following link errors when compiling SAMBA 2.2.4 on HP-UX 11.00. Anyone have any ideas on what's causing the problem? Using FLAGS = -O -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4 -DLOGFILEBASE="/opt/samba/var" -DCONFIGFILE="/opt/samba/etc/smb.conf" -DLMHOSTSFILE="/opt/samba/etc/lmhosts" -DSWATDIR="/opt/samba/swat" -DSBINDIR="/o...
2006 Jan 22
4
SeBackupPrivilege
We're using Samba 3.0.21a-1 on a CentOS 4.2 server (kernel 2.6.9-22.0.2.ELsmp); everything works more or less fine, it's functioning as the PDC with an OpenLDAP back end (setup essentially straight from the Idealx.org playbook), etc. We're trying to mount Windows shares to back them up, and getting "permission denied" errors when trying to read certain files from those
2002 May 04
0
[jerry@samba.org: Samba 2.2.4 Released]
...es with O_NONBLOCK ! 43). Use O_NOFOLLOW for systems that have it and don't want symlinks. 44). Ensure NT supplementary groups get added to user token. 45). Try and mitigate effects of DNS timeout (do less lookups). 46). Added current user connection context stack. 47). Fixes to utmp code. 48). smbw code tidyups. 49). Added tdb open log code. Several tdb fixes. ----------------------------------------------------------------------------- The release notes for 2.2.2 follow : New daemon included - winbindd ------------------------------ Samba 2.2.2 is the first release to include the winbind...
2002 Jun 20
1
Samba 2.2.5 has been released
...es with O_NONBLOCK ! 43). Use O_NOFOLLOW for systems that have it and don't want symlinks. 44). Ensure NT supplementary groups get added to user token. 45). Try and mitigate effects of DNS timeout (do less lookups). 46). Added current user connection context stack. 47). Fixes to utmp code. 48). smbw code tidyups. 49). Added tdb open log code. Several tdb fixes. ----------------------------------------------------------------------------- The release notes for 2.2.2 follow : New daemon included - winbindd ------------------------------ Samba 2.2.2 is the first release to include the winbind...