Re: smbclient and putting files larger than 4GB

2002-12-29 Thread jra
On Sun, Dec 29, 2002 at 10:43:27PM -0800, Richard Sharpe wrote: > Well, Herb fixed some other problems but not that one. > > BTW, how do I add stuff to 3.0? Which tag should I use? SAMBA_3_0 I've already merged it - thanks ! Jeremy.

Re: smbclient and putting files larger than 4GB

2002-12-29 Thread jra
On Sun, Dec 29, 2002 at 09:04:33PM -0800, Richard Sharpe wrote: > Hi, > > As a result of a complaint about the above topic I found a bug in > libsmb/clireadwrite.c that caused writes to an SMB server to corrupt files > larger than 4GB and ignore everthing above 4GB+a bit. > > I have applied a p

Re: pdbedit segfaults in SAMBA_3_0

2002-12-27 Thread jra
On Sat, Dec 21, 2002 at 04:26:38PM -0500, Bradley W. Langhorst wrote: > On Tue, 2002-12-17 at 04:06, Simo Sorce wrote: > > Can you send a backtrace? > > Mine does not segfault (tough I'm using head not 3.0) > > > > Simo. > simo: > how are you testing it? > I just rebuilt from SAMBA_3.0 (no debian

Re: Bug and Fix - Follow Up

2002-12-19 Thread jra
On Tue, Dec 17, 2002 at 09:01:16PM -0600, Matt Roberts, GRDA wrote: > > In my search for the cause of the behavior seen in my earlier post, > I traced the function call path to these two interesting functions, > int source/lib/util.c at about line 133: > > BOOL set_global_scope(const char *sc

Re: Bug in reply_write_and_X?

2002-12-13 Thread jra
On Fri, Dec 13, 2002 at 04:47:59PM -0800, Conrad Minshall wrote: > > I must go work other issues... and hope someone else follows up so EFBIG is > dealt with sensibly. I checked in the simple fix (map EFBIG to NT_STATUS_DISK_FULL) so it's not an immediate problem. Jeremy.

Re: PATCH: auth module dynamic loading fix

2002-12-11 Thread jra
On Wed, Dec 11, 2002 at 03:35:11PM +0100, Stefan (metze) Metzmacher wrote: > At 22:46 11.12.2002 +1100, Luke Howard wrote: > > >There was a small nit in the authentication subsystem that > >prevented dynamic loading of authentication providers. The > >attached patch fixes this. > Hi Luke, > > I t

Re: patch submission procedure help

2002-12-11 Thread jra
On Wed, Dec 11, 2002 at 12:05:43PM -0800, Scott Hammond wrote: > Hello, > > Im a newbie developer and Ive submitted a patch to > this list a few days ago. Is this the best method to > submit fixes, or what procedure should I follow? Will > someone review my fix and add it to the code? > > http:

Re: dynamically loadable named pipe providers

2002-12-11 Thread jra
On Thu, Dec 12, 2002 at 01:01:35AM +1100, Luke Howard wrote: > > I would like to add support for dynamic loading of named pipe > providers in rpc_server/srv_pipe_hnd.c. > > - Is anyone else working on this? Not currently. > - Would such a patch be accepted? Yes. All providers linked in must be

Re: smbwrapper/smbsh is now working for Linux 2.4

2002-12-10 Thread jra
On Tue, Dec 10, 2002 at 01:27:07PM -0500, [EMAIL PROTECTED] wrote: > > I have smbwrapper and smbsh working on Debian/woody with the Linux 2.4 kernel > and the default C library: libc-2.2.5.so. There is a problem that rears its > ugly head with a few programs (segmentation violation, presumably du

Re: Bug in reply_write_and_X?

2002-12-09 Thread jra
On Mon, Dec 09, 2002 at 08:10:00PM -0800, Conrad Minshall wrote: > > A local filesystem has to return EFBIG to Samba (per POSIX "write" system > call def'n) and in the Samba source I'm looking at EFBIG isn't used > anywhere relevant to a WRITE_ANDX, in particular it isn't in the > "unix_dos_nt_err

Re: Bug in reply_write_and_X?

2002-12-07 Thread jra
On Sat, Dec 07, 2002 at 01:42:18AM -0800, Conrad Minshall wrote: > I'm testing my smb client against Samba on FreeBSD. The server's > local filesystem has a maximum filesize of 16 Terabytes. If my > client attempts a writex with an offset of exactly 16TB then I see > ERRnoaccess rather than ER

Re: Code improvment in printing area.

2002-12-06 Thread jra
On Wed, Dec 04, 2002 at 02:00:44PM -0800, Arcady Chernyak wrote: > Hi. > I suggest the following small SAMBA code improvement in printing area. > > All known SAMBA versions can't return to Windows client any return code > after calling "print command". > I need it therefore I made the following S

Re: NetBSD STAT_ST_BLOCKSIZE prob

2002-12-04 Thread jra
On Wed, Dec 04, 2002 at 07:08:29PM +, Patrick Welche wrote: > On Wed, Dec 04, 2002 at 06:51:25PM +, [EMAIL PROTECTED] wrote: > > On Wed, Dec 04, 2002 at 05:48:43PM +, Patrick Welche wrote: > > > > > (Why isn't STAT_ST_BLOCKSIZE defined in configure.in for netbsd?) > > > > There is no

Re: NetBSD STAT_ST_BLOCKSIZE prob

2002-12-04 Thread jra
On Wed, Dec 04, 2002 at 05:48:43PM +, Patrick Welche wrote: > With cvs code from Dec 4 16:55 GMT on i386-unknown-netbsdelf1.6K, > > Compiling smbd/trans2.c > smbd/trans2.c: In function `get_allocation_size': > smbd/trans2.c:42: request for member `st_size' in something not a structure or unio

Re: STAT_ST_BLOCKSIZE on HP-UX

2002-12-04 Thread jra
On Wed, Dec 04, 2002 at 04:48:32PM +0100, Michael Steffens wrote: > Hi, > > noticed that very recently a bunch of patches was checked > in the SAMBA_2_2 CVS tree, correcting STAT_ST_BLOCKSIZE > to be 512 for a number of platforms. (see configure and > configure.in) > > It remained on 8192 for HP-

Re: dir_check_ftype fixes??

2002-12-02 Thread jra
On Mon, Dec 02, 2002 at 01:02:40PM +0100, [EMAIL PROTECTED] wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, Steve & all! > > In dir.c Jeremy added the following fix: > > revision 1.48.4.21 > date: 2002/09/10 01:58:58; author: jra; state: Ex

Re: [PATCH] winbindd/libsmb get_dc_list patch (cvs head)

2002-11-30 Thread jra
On Sun, Dec 01, 2002 at 12:45:12AM +0100, Dominik 'Aeneas' Schnitzer wrote: > Hi, > > Using CVS-HEAD I hit the following bug in winbind, in > > libsmb/namequery.c#get_dc_list(): > The code piece to remove duplicate entrys/zeroed IPs is buggy. basically > it sets the number of DCs found to -1 if n

Re: spoolname smbprn.XXXXXX.aaaaaa

2002-11-28 Thread jra
On Thu, Nov 28, 2002 at 09:27:08AM +0100, Schmieg Friedemann wrote: > Hello There, > > since a samba update from 2.0.5. to 2.2.5 (AIX) we have new spooling names > like smbprn.XX.aa instead of the previous NT file name. We are > printing in a shell for creating pdf - files and after that

Re: Samba 3.0 alpha 20 problem with timegm->mktime() on HP-UX

2002-11-27 Thread jra
On Wed, Nov 27, 2002 at 04:06:58PM -0800, P Ranjit Kumar wrote: > Hi > > I had a problem with net ads join on HP-UX. I used mktime() instead of the > timegm() that was used in Samba 3.0 alpha 20. > > net ads join gives error saying that the times are out of sync (Windows 2000 > DC and Samba HP Un

Re: Samba 3.0 alpha 20 problem with timegm->mktime() on HP-UX

2002-11-27 Thread jra
On Wed, Nov 27, 2002 at 04:06:58PM -0800, P Ranjit Kumar wrote: > Hi > > I had a problem with net ads join on HP-UX. I used mktime() instead of the > timegm() that was used in Samba 3.0 alpha 20. > > net ads join gives error saying that the times are out of sync (Windows 2000 > DC and Samba HP Un

Re: tracking user logins

2002-11-27 Thread jra
On Tue, Nov 26, 2002 at 10:26:46AM +0100, Alen Kovac wrote: > Hello! > > I'm running samba as PDC. I want to disable concurrent logins for > users. (not to be able to login from more than one workstation at the > same time) I haven't figured out how to disable this so I dig in to > the samba sourc

Re: Encrypted Passwords & Restricting Logon Attempts

2002-11-27 Thread jra
On Tue, Nov 26, 2002 at 03:22:48PM -0600, Jim Morris wrote: > > Alternatively, how difficult would it be to modify Samba to support an > option like this directly, within the constructs of the smbpasswd file? What is your timeframe on this ? Do you need it to work on 2.2.x or later ? It certainly

Re: Possible bug (memory leak) in serving return code from tdb_fetch( ).

2002-11-22 Thread jra
On Fri, Nov 22, 2002 at 04:28:22PM -0800, Arcady Chernyak wrote: > Hi. > I have analyzed code of the function: > > static struct printjob *print_job_find(int jobid) > { > static struct printjob pjob; > TDB_DATA ret; > > ret = tdb_fetch(tdb, print_key(jobid)); > if (!ret.dptr || r

Re: [Samba] Bug ?

2002-11-22 Thread jra
On Fri, Nov 22, 2002 at 02:22:03PM -, Goncalo Ramos wrote: > Hi > I'm using samba 2.0.7, on Solaris 8. > I'm having problems with samba. On the log file under > /usr/local/samba/var/log.pcname, I have the following error: > > [2002/11/22 14:15:12, 0] smbd/files.c:file_new(85) > ERROR! Out o

Re: RE timegm on SOLARIS

2002-11-20 Thread jra
On Thu, Nov 21, 2002 at 07:46:43AM +1100, Clive Elsum wrote: > > Hi, > > I have not had any feedback on the replacement module for timegm within > /lib/replace.c. This fix allows a correct Solaris build, without it Clock Skew > errors occur unless the machine is dropped back to GMT. Is there

Please no HTML email.

2002-11-19 Thread jra
Hi all, FYI, just a warning/note. I read my email on mutt from samba.org. When I get an html formatted email I just hit 'D' (delete) without looking at the contents. I think many other Samba Team members do the same. If you send an urgent plea for help and it's html formatted then I doubt anyone

Re: Problems with map hidden (and possibly map system)

2002-11-18 Thread jra
On Wed, Nov 06, 2002 at 10:25:50AM +1100, Glen Gibb wrote: > Hi all, > > I encountered a problem with map hidden a week or two ago and posted a > patch to fix the problem. However, it appears that it slipped under radar > as I didn't receive any comments (either positive or negative). So I'm > rep

Re: [PATCH] fix bug in nmbd

2002-11-15 Thread jra
On Fri, Nov 15, 2002 at 04:28:07PM +0100, Stefan (metze) Metzmacher wrote: > Sorry there was a typo in the patch...:-( > ( namerec->data.num_addrs -> namerec->data.num_ips ) > > here's the working patch. Committed - thanks ! Jeremy.

Re: smbwrapper broken by global_myname changes

2002-11-13 Thread jra
On Wed, Nov 13, 2002 at 10:38:08PM +0100, Stefan (metze) Metzmacher wrote: > Hi Jeremy, > > smbwrapper is broken. by the global_* patches. Fixed in HEAD and 3.0. Jeremy

Re: samba-head bug relating to windows special chars (1/2)

2002-11-06 Thread jra
On Thu, Nov 07, 2002 at 07:01:55AM +1100, Matthew Geier wrote: > Quoting Steve Langasek <[EMAIL PROTECTED]>: > > > > This problem particularly arises with sites that have *never configured* > > their charset settings in smb.conf, but are nevertheless using non-ASCII > > filenames. This is ok in

Re: samba-head bug relating to windows special chars (1/2)

2002-11-05 Thread jra
On Wed, Nov 06, 2002 at 04:34:28PM +1030, Richard Sharpe wrote: > Hi, > > I have been tracking down a problem with profiles that was reported last > year to do with names like '31/2 Floppy (A).lnk' where 1/2 is the special > character that shows up as 1/2 under Windows. > > This problem does no

Re: Problems with map hidden (and possibly map system)

2002-11-05 Thread jra
On Wed, Nov 06, 2002 at 10:25:50AM +1100, Glen Gibb wrote: > Hi all, > > I encountered a problem with map hidden a week or two ago and posted a > patch to fix the problem. However, it appears that it slipped under radar > as I didn't receive any comments (either positive or negative). So I'm > rep

Re: Oplock Usage Recommendations Whitepaper

2002-11-01 Thread jra
On Fri, Nov 01, 2002 at 02:57:25PM -0800, Eric Roseme wrote: > I have written a whitepaper for CIFS/9000 Server (Samba on HP-UX) that > discusses some rudimentry usage recommendations for oplocks. Due to > the recent discussion about oplocks on the list, I have edited the paper > to be more gener

Re: Fixed: OpLocks caused the corruptions/slowness (Was: How Samba let us down)

2002-10-31 Thread jra
On Thu, Oct 31, 2002 at 07:28:44PM +0100, Claudia Moroder wrote: > Hello, > > what does samba if a client locks a byte range behind the end of the file ? > This could be important because it looks like many 'corruption' problems > happern with foxpro files. Samba adds the locks. It doesn't care

Re: Solaris/Samba logon slowness

2002-10-29 Thread jra
On Tue, Oct 29, 2002 at 11:38:57AM -0400, Len Laughridge wrote: > > > Hello: > > I've been following the thread about oplocks recently, and have been waiting > for more info on the (now dormant) thread about Solaris fcntl() issues. > > My server is a Sun E-250, 2x400MHz, 1-Gig RAM, lots of sto

Re: ActiveX Core Technology Reference

2002-10-29 Thread jra
On Tue, Oct 29, 2002 at 07:09:11PM +1030, Richard Sharpe wrote: > Hi, > > Are people aware of this? > > http://www.opengroup.org/onlinepubs/009899899/toc.htm Yes, I printed it out a long time ago :-). Jeremy.

Re: strange locks

2002-10-28 Thread jra
On Tue, Oct 29, 2002 at 06:17:20PM +1100, Matthew Hannigan wrote: > so I could see some locks from the unix level. > It worked sorta, I see the locks for big files > (but not the locks I was expecting), but for little > files it shows nothing: > > # ./lock_list /opt/testsambashare/mattest.doc >

Re: Fixed: OpLocks caused the corruptions/slowness (Was: How Samba let us down)

2002-10-28 Thread jra
On Mon, Oct 28, 2002 at 03:02:11PM -0800, Chris de Vidal wrote: > Still, wouldn't you welcome documentation advising > people of potential corruption? I think we both agree > that there is no guarantee that everyone's network is > 100% "on" and the danger of corruption appears to be > greater whe

Re: Fixed: OpLocks caused the corruptions/slowness (Was: How Samba let us down)

2002-10-28 Thread jra
On Mon, Oct 28, 2002 at 02:36:00PM -0800, Chris de Vidal wrote: > The team probably would have to install Elixir's Opus > and process large flat db files (Fox Pro, I think) > with multiple processes on multiple servers... in > other words, it probably isn't going to happen. The > corruption will

Re: why doesn't the kernel enforce oplocks? (was: Re: [Samba] Re: How Samba let us down)

2002-10-24 Thread jra
On Thu, Oct 24, 2002 at 02:41:42PM -0700, Ben Johnson wrote: > They apparently are able to > corrupt files on the Samba server when they don't honor oplock breaks. > Is that true? How does it happen? It's a client kernel redirector bug or a problem with network drivers or network hardware. Nothi

Re: why doesn't the kernel enforce oplocks? (was: Re: [Samba] Re: How Samba let us down)

2002-10-24 Thread jra
On Thu, Oct 24, 2002 at 01:59:42PM -0700, Ben Johnson wrote: > A kernel supported api for locking files (maybe with timeouts and mutex > values) that actually enforced the file locks, instead of relying on > applications to be friendly to one another might (I think would) make > programming some u

Re: smbd spins in open_sockets(), using 100% CPU.

2002-10-24 Thread jra
On Thu, Oct 24, 2002 at 04:12:48PM -0400, Dan Barrett wrote: > Using Linux 2.4.18 and Samba 3.0 Alpha-17, the parent smbd can loop in >server.c:open_sockets(), using all CPU. > > The problem is that select.c:sys_select() gets into a state where >pipe_read==pipe_written, even though there is a

Re: NO!!!! security hole: new acl mapping

2002-10-24 Thread jra
On Thu, Oct 24, 2002 at 12:54:06PM +0200, Stefan (metze) Metzmacher wrote: > > > Hi all, > > there is NO security hole in the acl mapping code in 3_0 and HEAD! > sorry for confusion! It was just my misconfigureation!!! > > I had set force directory mode = 777 > > but the strange thing is that

Re: OpLock+flat DB corruption (Was: How Samba let us down)

2002-10-24 Thread jra
On Thu, Oct 24, 2002 at 04:43:53AM -0700, Chris de Vidal wrote: > OpLocks were indeed causing corruption; we only turned > them off, made no other changes, and have no more > corruption, as I reported yesterday. Wouldn't that be > a priority 1, "drop everything" bug? Other experience > was confi

Re: [Samba] Re: How Samba let us down

2002-10-24 Thread jra
Ok, as promised, a brief explaination of oplocks, share modes and locking. When a client opens a file it can request an "oplock" or file lease. This is (to simplify a bit) a guarentee that no one else has the file open simultaneously. It allows the client to not send any updates on the file to the

Re: why doesn't the kernel enforce oplocks? (was: Re: [Samba] Re: How Samba let us down)

2002-10-24 Thread jra
On Thu, Oct 24, 2002 at 11:24:38AM -0700, Ben Johnson wrote: > Thanks for the explanation. > > I never understood why *nix doesn't implement some kind of file locking > mechanism that actually enforces file locks. I can see why the > traditional "advisory" locking semantics are useful, but wouldn

Re: [Samba] Re: How Samba let us down

2002-10-24 Thread jra
On Thu, Oct 24, 2002 at 08:35:02PM +0200, Jelmer Vernooij wrote: > On Thu, Oct 24, 2002 at 05:48:49PM +, [EMAIL PROTECTED] wrote about 'Re: [Samba] >Re: How Samba let us down': > > Ok, as promised, a brief explaination of oplocks, share modes > > and locking. > > > [...] > > Mind if I add th

Re: why doesn't the kernel enforce oplocks? (was: Re: [Samba] Re: How Samba let us down)

2002-10-24 Thread jra
On Thu, Oct 24, 2002 at 11:48:53AM -0700, Ben Johnson wrote: > > samba and vi aren't written to cooperate for example. should these be > written to cooperate? that would mean the authors of each would have to > cooperate. it seems like it would be easier to have the kernel force > cooperation.

Re: [Samba] Re: How Samba let us down

2002-10-23 Thread jra
On Thu, Oct 24, 2002 at 07:34:19AM +0200, Walter Mautner wrote: > As far as I know, "oplocks" are extensions to common file locks. > In fact, whenever a oplock is set, also a conventional lock > request is sent to the underlying non-smb locking system, and only > if this one doesn't report it as

Re: [Samba] Re: How Samba let us down

2002-10-23 Thread jra
On Wed, Oct 23, 2002 at 09:02:03PM -0500, Steve Langasek wrote: > On Thu, Oct 24, 2002 at 11:38:55AM +1000, Matthew Hannigan wrote: > > On Wed, Oct 23, 2002 at 02:14:41PM -0700, Marc Jacobsen wrote: > > > [ ... ] > > > Similarly, record locks and share mode locks from SMB clients are both > > > ig

Re: [Samba] Re: How Samba let us down

2002-10-23 Thread jra
On Wed, Oct 23, 2002 at 02:14:41PM -0700, Marc Jacobsen wrote: > This next statement from John Terpstra seems a bit strong to me, see the > counter example below from just a few weeks ago. Not to badmouth John, > or Samba, just to add some more information to the conversation. > > What about th

Re: "write cache size" & antivirus

2002-10-23 Thread jra
On Wed, Oct 23, 2002 at 05:45:45PM +0400, Michael Smirnov wrote: > When I use Samba with option >write cache size = 262144 > my antivirus monitoring programs(AVP Monitor) do not catch viruses on Samba network >drive, > but successfully catch viruses, after I delete this options and restart Sam

Re: [Samba] Re: How Samba let us down

2002-10-23 Thread jra
On Wed, Oct 23, 2002 at 05:25:56AM -0700, Jay Ts wrote: > > > The corruption might be related to oplocks. I'm doing File corruption is treated as a drop everything - priority 1 bug in Samba. If this were a generic problem known with 2.2.6 we'd be issuing a patch *immediately*. That's not to say

Re: Domain users listing - speed

2002-10-22 Thread jra
On Tue, Oct 22, 2002 at 08:43:52PM +0400, Michael Smirnov wrote: > I have about 700 users in smbpasswd. > When I view properties of a file from Win2000, > after Security -> Add -> > I see the list of all users in the domain. > However, the scrollbar scrolls about 30 seconds, > before all users are

Re: Coming round to SURS...

2002-10-22 Thread jra
On Tue, Oct 22, 2002 at 06:02:35PM +, Luke Kenneth Casson Leighton wrote: > i have a question for the people who sponsor the samba team. Rantings and dribble deleted > i'm specifically referring to you - andrew - and you - jeremy. > > here's a proposal for the idmap api; I take it by th

Re: [PATCH] Playing with usrmgr.exe is fun :-)

2002-10-18 Thread jra
On Sat, Oct 19, 2002 at 12:42:15AM +0200, [EMAIL PROTECTED] wrote: > Hi! > > This fixes some bugs I found when playing with NT4 usrmgr.exe. Please check these in.. Jeremy.

MSDN goodies.

2002-10-16 Thread jra
Microsoft have documented all the DOS error codes at : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes.asp Plus here's the docs on the internal (NTDLL.DLL) API they use to convert from NT_STATUS to DOS error codes. http://msdn.microsoft.com/library

Re: use sendfile loadparm.c / docs inconsistency

2002-10-11 Thread jra
On Thu, Oct 10, 2002 at 01:32:29PM -0700, Pierre Belanger wrote: > Hi, > > [ Yeah, me again about this sendfile stuff ;-) ] > > I notice some inconsistence in the documentations... > > "smb.conf.5" is listing "use sendfile" in the > > "COMPLETE LIST OF GLOBAL PARAMETERS" > > area, and later

Re: [patch] smbspool memory leak...

2002-10-10 Thread jra
On Thu, Oct 10, 2002 at 04:48:50PM -0400, Michael Sweet wrote: > All, > > I discovered this last weekend when my Windows PC forgot it had a > wireless adapter... Two days later smbspool (which was trying to > print a file) was using 380MB on my laptop... :) > > Attached is a patch that makes su

Re: wbinbindd fails to update cache (3.0 alpha-20)

2002-10-09 Thread jra
On Wed, Oct 09, 2002 at 03:05:40PM -0700, Jiu Zheng wrote: > > > I have a win2k domain controller, and winbindd is running on a FreeBSD box. > > > After a user has been authentiacted (using "wbinfo -a username%password"), > > > when "Member of" for this user is modified from the domain controller,

Re: [PATCH] SWAT fix

2002-10-09 Thread jra
On Wed, Oct 09, 2002 at 04:28:18PM +0900, SUGIOKA Toshinobu wrote: > Hi. > > Here's a small patch. > This fixes strange SWAT behavior on some architectures other than i386. > (in my case sh-linux) > > --- source/web/cgi.c3 Oct 2002 03:31:41 - 1.60 > +++ source/web/cgi.c9 Oct 2

Re: winbindd and missing 0x1c role on UNICAST_SUBNET

2002-10-08 Thread jra
On Tue, Oct 08, 2002 at 09:39:29AM +0200, Volker Lendecke wrote: > On Mon, Oct 07, 2002 at 05:35:35PM -0400, Kevin Stefanik wrote: > > from log.nmbd: > > process_node_status_request: status request for name U_MTPPI<1c> from IP > > 192.168.92.56 on subnet UNICAST_SUBNET. > > I had the same proble

Re: [PATCH] sam backend parameter

2002-10-03 Thread jra
On Thu, Oct 03, 2002 at 09:25:39PM +1000, Andrew Bartlett wrote: > > I've seen Volker's patches, and I think that passdb can be made to work > for the needs of 3.0, but it is messy. I believe the code as it > *currently stands* can support 'net rpc vampire', but will consult > volker more closel

Re: [PATCH] sam backend parameter

2002-10-02 Thread jra
On Thu, Oct 03, 2002 at 04:06:37PM +1000, Andrew Bartlett wrote: > > The use of multiple backends in passdb has acknowledged issues, and I'm > not particularly fussed if you feel it should not ship with this > functionality enabled. However, please do note that this *is* being > used at present,

Re: [PATCH] sam backend parameter

2002-10-02 Thread jra
On Thu, Oct 03, 2002 at 03:36:48PM +1000, Andrew Bartlett wrote: > Simo Sorce wrote: > > > > Multi domain DC is never going to happen in samba, it just doesn't make > > sense, as the protocols used (eg. SMB) will not be able to support such > > thing, so please let's stop to talk about multi-DC s

Re: ACL inheritance mess with win2k clients...

2002-10-02 Thread jra
On Tue, Oct 01, 2002 at 04:36:18PM -0400, Jim McDonough wrote: > Setting ACLs from an NT4 client, checking the box that says "reset > permission on child objects", everything seems to work fine. I'm using > current SAMBA_2_2. > > Using a 2k client, that same checkbox is named "reset permissions

Re: ACL inheritance mess with win2k clients...

2002-10-02 Thread jra
On Wed, Oct 02, 2002 at 06:07:00PM -0400, ZINKEVICIUS,MATT (HP-Loveland,ex1) wrote: > I think he would win the quarter :-) Never setting those bits is exactly > what tells the client that we're using NT4 style inheritance. See my NT > security semantics patch which set these bits when appropriate.

Re: smbclient bug in 2.2.5

2002-10-02 Thread jra
On Wed, Oct 02, 2002 at 02:23:04PM -0700, Andrew Morgan wrote: > > Works here. Thanks for the quick response! > > Will this make it into the 2.2.6 release? Already did :-). Thanks, Jeremy.

Re: smbclient bug in 2.2.5

2002-10-02 Thread jra
On Wed, Oct 02, 2002 at 09:26:08AM -0700, Andrew Morgan wrote: > > I think I've found a bug in the smbclient program in 2.2.5. Smbclient > hard-codes the name_type to 0x20 (File Server) for all netbios queries, > but calling 'smbclient -M machine' should use a name_type of 0x03 > (Messenger) ins

Re: ACL inheritance mess with win2k clients...

2002-10-02 Thread jra
On Wed, Oct 02, 2002 at 04:05:45PM -0400, Eric Lee Steadle wrote: > >Ok - so how does the W2K client "know" it's talking to a W2K or NT > >server ? Any idea what criteria a W2K client uses to check ? > > > Well, I'm pretty sure it (the client) checks for one or more w2k specific > flags: SE_DACL

Re: ACL inheritance mess with win2k clients...

2002-10-02 Thread jra
On Wed, Oct 02, 2002 at 03:05:52PM -0400, Eric Lee Steadle wrote: > Yep. Exactly what I've observed and exactly as documented by MS. > > >He tries to set it to an NT server, also...but > >somehow he realizes that it doesn't get set and changes all the acls to > >match, rather than relying on inhe

Re: Recent Upgrade to Fix SNAP Server Problem

2002-10-02 Thread jra
On Thu, Oct 03, 2002 at 01:05:00AM +1000, Andrew Bartlett wrote: > Irving Carrion wrote: > > > > Greetings! > > > > We just recently upgraded from Samba 2.2.3a to 2.999+3.0cvs20 and are > > having a few problems. The "domain admin group" that used to work in > > the previous version no longer d

Re: [PATCH] sam backend parameter

2002-10-02 Thread jra
On Thu, Oct 03, 2002 at 12:30:30AM +1000, Andrew Bartlett wrote: > Gerald Carter wrote: > > > > On Tue, 1 Oct 2002, Eddie Lania wrote: > > > > > Like I've said, I'm not a developer, but maybe the "multiple domain > > > support" parameter could be extended with the backend method? Like this: > >

Re: Handles in the new SAM

2002-10-01 Thread jra
On Wed, Oct 02, 2002 at 12:14:37PM +1000, Andrew Bartlett wrote: > > One of the primary tenants of the 'new SAM' is that it would not attempt > to deal with 'what unix id for that'. This would be left to the 'SMS' > (Sid Mapping System') or SID farm, and probably administered via > winbind. We

Simplifying the multiple password backend code in HEAD and 3.0.

2002-10-01 Thread jra
Spurred on by some complaints in IRC :-) I took a look at the passdb backend code in HEAD and 3.0. It looks nice, but it's horribly complex for what it needs to do (IMHO). Is there any real reason to have multiple possible backends simultaneously in a cascaded interface ? I can see the benefits

Re: Using winbind with Wine

2002-09-26 Thread jra
On Fri, Sep 27, 2002 at 12:50:57AM +1000, Luke Howard wrote: > > > - is the winbind team willing to standardize the protocol, or at least > > ensure backward compatibility in future versions? > > Rather than inventing new protocols, why not just use DCE RPC over domain > sockets or TCP/IP? >

Re: Interesting question about Status codes ...

2002-09-25 Thread jra
On Thu, Sep 26, 2002 at 05:58:39AM +0930, Richard Sharpe wrote: > My assertion is that implementors should be paying attention to the value > of the flag in the most recent request or response they received. Ie, > servers should look at the most recent request when deciding what to > return an

Re: strupper() on username and domain in cli_session_setup_nt1()?

2002-09-23 Thread jra
On Mon, Sep 23, 2002 at 05:07:14PM +1000, Tim Potter wrote: > I'm just wondering whether it is strictly necessary to uppercase the > username and domain name when performing a session setup. Applying the > following patch should not break anything and would make smbclient be > able to test for ca

Re: Patch for winbindd memory leaks

2002-09-23 Thread jra
On Mon, Sep 23, 2002 at 03:14:34PM +0200, Kim R. Pedersen wrote: > Hello Winbindd-Fans, > > During my port of winbindd to my company's new platform, I have come across > three memory leaks in winbindd. > > They are all related to misconfigured "password server" parameter, and > therefore not c

Re: [Samba] Solve of problem "network disks - lost connection under w2k and wxp"

2002-09-17 Thread jra
On Tue, Sep 17, 2002 at 09:50:28PM +0400, Vladimir I. Umnov wrote: > Hello, Fredrik. > > > FA> Ah.. So that's the reason for some of the problems.. Why can't samba > FA> "correctly process nt status code"? Do you know? > Samba process nt status code, but besides nt status code must die send > m

Re: Solaris fcntl bug 4700402 at the University of Queensland

2002-09-11 Thread jra
On Wed, Sep 11, 2002 at 12:25:10PM -0400, David Collier-Brown wrote: > [EMAIL PROTECTED] wrote: > > Oh thank goodness for that, I was worried when I saw the > > other message about the fix being --with-spinlocks as > > that's not a good solution. > > > > We can't hold back 2.2.6 for this unfortun

Re: Solaris fcntl bug 4700402 at the University of Queensland

2002-09-11 Thread jra
On Wed, Sep 11, 2002 at 08:09:36AM -0400, Sean O'Malley wrote: > Can someone post to the list or send me a direct email when the patch is > available? I think this will solve part of the problems we are having. > We are under some pressure to get a fix out for this problem since when > the Solaris

Re: Solaris fcntl bug 4700402 at the University of Queensland

2002-09-11 Thread jra
On Wed, Sep 11, 2002 at 07:46:07AM -0400, David Collier-Brown wrote: > [EMAIL PROTECTED] wrote: > > Are you sure this is the same bug ? The history of the bug > > I'm referring to was reported by Volker on one of his German > > Samba accounts (contact him directly for the name of the > > customer)

Re: Re: Solaris fcntl bug 4700402 at the University of Queensland

2002-09-10 Thread jra
On Tue, Sep 10, 2002 at 04:09:30PM -0500, Andy Thomas wrote: > > > We were hit HARD with the fcntl lock problem. It was taking users > 10 minutes to log in to a PC (loading profile). We were using 2.2.4 > and 2.2.5, Solaris 8. We dropped back to samba 2.0.6 to "fix" the > problem - it now

Re: Solaris fcntl bug 4700402 at the University of Queensland

2002-09-10 Thread jra
On Tue, Sep 10, 2002 at 08:27:09AM -0400, David Collier-Brown wrote: > The first responses to the fcntl problem we've been working > on will be to the University of Queensland, who reported > the bug and escalated it. > I don't happen to know the expected schedule: I do know > we're doing qual

Re: Sanity check.

2002-09-10 Thread jra
On Tue, Sep 10, 2002 at 09:39:28AM +0200, Simo Sorce wrote: > It come me to mind that recentely we changed the code to check the > packet is really an smb packet by checking the header field for the SMB. > string, so I suppose samba will not support RAW calls anymore too. Nope - not true. Raw cal

Re: System documentation of Samba

2002-09-08 Thread jra
On Thu, Sep 05, 2002 at 10:42:41AM -0700, Jeff Mandel wrote: > It sounds like there are two scenarios here: > 1) Locking performance problems on dbm-style databases shared with PCs. > (We're not using any of those) No - it's nothing to do with this. > 2) Race conditions caused by ??? (We have

Re: System documentation of Samba

2002-09-08 Thread jra
On Thu, Sep 05, 2002 at 07:58:44AM -0700, Jeff Mandel wrote: > Could you provide some details the bug in Solaris? 2.2.2 used to work > fine for me, but recently it has fallen apart. 2.2.5 behaves the same. I > can think of a recent jumbo patch cluster installation that might be to > blame, but

Re: System documentation of Samba

2002-09-05 Thread jra
On Thu, Sep 05, 2002 at 08:59:36AM +0200, Johannes Tyve wrote: > One of our servers crashed and when we booted it again one Samba process > hung and grabbed one of the servers cpu's. When we killed the samba > process, another process generated 100% load on one cpu. From the log > file: > > sm

Re: ldap

2002-09-04 Thread jra
On Wed, Sep 04, 2002 at 04:38:36PM -0500, Steven French wrote: > > Looks like there was a Samba regression just prior to 2.2.5 which causes > OS/2 clients to fail in very strange ways since EA buffers (EAOP2 structs > i.e. level 2 SetFileInfo buffers) are now treated as FILESTATUS3 buffers > (see

Re: Patch for attempt_netbios_session_request() related crash

2002-09-03 Thread jra
On Tue, Sep 03, 2002 at 01:29:34PM +0200, Kim R. Pedersen wrote: > Hello Samba-Fans, > > During my port of Samba to my company's new platform, I came across this bug > in 2.2.5 that I think someone else reported too. > > When Samba tries to connect to a password server (security = server or dom

Re: Was there a conv buffer prob in 2.2.1a?

2002-08-30 Thread jra
On Fri, Aug 30, 2002 at 02:52:29PM -0700, Michael Cuff wrote: > Ok, I see what's happening. > The string goes from utf-8 to codepage. The length of the codepage > string is shoved into the cli struct. Then the string is converted to > unicode. The resulting string is shorter than the length reco

Re: File descriptor leak in pam_winbind.so

2002-08-29 Thread jra
On Thu, Aug 29, 2002 at 05:44:51PM +0100, Paul Flinders wrote: > return retval; > + } > + > + void __attribute__ ((destructor)) unload () > + { > + /* Make sure socket is closed on unload of dll, some apps use PAM in > +a manner which leaks FDs otherwise */ > + close_sock(

Re: Some funny behaviour on a file

2002-08-28 Thread jra
On Thu, Aug 29, 2002 at 09:14:02AM +0930, Richard Sharpe wrote: > Hi, > > I have just seen what looks like wierd behaviour with Samba and a Win2K > client running cygwin. > > Client opens the file and asks for a read-only file, but to truncate if it > aready exists. Wierd. > > Then it sets so

Re: [PATCH] Patches to Samba 2.2.5 for Stratus VOS

2002-08-26 Thread jra
On Mon, Aug 26, 2002 at 02:08:05PM -0700, Herb Lewis wrote: > > I currently ship one smbstatus and 2 versions of smbd (with and without > profiling). If I understand it, this would now require 2 versions of > smbstatus. I don't think so. You just ship the profile enabled smbstatus as normal. Je

Re: [PATCH] Patches to Samba 2.2.5 for Stratus VOS

2002-08-26 Thread jra
On Tue, Aug 27, 2002 at 06:49:27AM +1000, Andrew Bartlett wrote: > [EMAIL PROTECTED] wrote: > > > > On Mon, Aug 26, 2002 at 11:20:00AM -0400, [EMAIL PROTECTED] wrote: > > > I read that you are planning a 2.2.6 release of Samba. Would it > > > be possible for you to apply the following short patc

Re: [PATCH] Patches to Samba 2.2.5 for Stratus VOS

2002-08-26 Thread jra
On Mon, Aug 26, 2002 at 11:20:00AM -0400, [EMAIL PROTECTED] wrote: > I read that you are planning a 2.2.6 release of Samba. Would it > be possible for you to apply the following short patches to > samba/source/profile/profile.c and samba/source/utils/status.c > in the 2.2 branch ?? Ok - will do

Re: Another showstopper in 2.2.5

2002-08-22 Thread jra
On Thu, Aug 22, 2002 at 09:04:39AM +0200, Fredrik Ohrn wrote: > OK, I put this at the top of the while loop in smbd_process: > > sigset_t dummy_mask, blocked_mask; > > sigemptyset (&dummy_mask); > sigemptyset (&blocked_mask); > sigprocmask (SIG_BLOCK, &dummy_mask, &blocked_mask); > DEBUG (0, ("

Re: Another showstopper in 2.2.5

2002-08-21 Thread jra
On Wed, Aug 21, 2002 at 04:17:01PM -0400, Richard Bollinger wrote: > Hmmm... reading the man page for sigaction()... the semantics are a bit unclear >regarding sa_mask: > > sa_mask gives a mask of signals which should be blocked >during execution of the signal handler. In addit

Re: Another showstopper in 2.2.5

2002-08-21 Thread jra
On Wed, Aug 21, 2002 at 07:40:04PM +0200, Fredrik Ohrn wrote: > > OK, I've tried it out and it didn't help. > > I removed my BlockSignals stuff and added ZERO_STRUCT(act) instead, now > the smbd dies on SIGPIPE just as before. Ok, we need to know when SIGPIPE is being removed from the blocked

<    1   2   3   >