Re: Samba performance

2003-03-31 Thread jra
Please resend with a mailer that doesn't wrap at 80 columns :-). Jeremy.

Re: Samba 2.2.8 - Snap Server Support

2003-03-31 Thread jra
On Mon, Mar 31, 2003 at 09:30:07AM -0500, Irving Carrion wrote: Currently the snap has a hard time reading Samba's domain users / groups correctly. The patch (I did not write the code) simply fixes this problem. It works fine on W2k servers, but I think it runs on a windows appliance

Re: tcon torture test

2003-03-29 Thread jra
On Sat, Mar 29, 2003 at 08:10:03PM -0600, Christopher R. Hertel wrote: [EMAIL PROTECTED] wrote: If two SessionSetups are sent, each resulting in a separate [V]UID, then does Windows apply correct restrictions to each or does it allow the greater set of permissions? That is: The

Re: NMBD crashing in 2.2.7a (and 2.2.6, 2.2.5)

2003-03-28 Thread jra
On Fri, Mar 28, 2003 at 02:19:48PM +0100, Edgar, Bob wrote: Hi all, I've been having a problem with nmbd crashing multiple times per day. I suspect that the problem is caused by a shell script that tries to lookup the name for ws to ws4000 to build a DNS reverse table. It look

Re: use sendfile problems with Windows 95

2003-03-27 Thread jra
On Thu, Mar 27, 2003 at 03:01:55PM -0500, Pierre Belanger wrote: Hi, I turned on use sendfile, not too long after (on the next logon) someone called me. His Windows 95 was having trouble opening files on the server. He can explore the shared volume but when trying to open a file, his

Re: tdb_pack prototype mismatch in printing/printing.c

2003-03-26 Thread jra
On Wed, Mar 26, 2003 at 07:26:58PM +, Waider wrote: It appears that store_queue_struct is expecting a different version of tdb_pack, since it's feeding an extra NULL to tdb_pack in place of the format argument. This causes smbd to explode. (Samba HEAD, as ever) Fixed, thanks. Jeremy.

Re: [Samba] print$ share problem URGENT - BUG

2003-03-26 Thread jra
On Wed, Mar 26, 2003 at 10:33:13PM +0100, Stéphane Purnelle wrote: Why I have no answer for my questions ? I repeat the situation : RedHat 8.0 with samba 2.2.8 compiled wiwth ldapsam and acl-support I need the print$ share and this system dont't work. I explain : when I add a driver, the

Re: [PATCH] Better fix for devicetype?

2003-03-25 Thread jra
On Tue, Mar 25, 2003 at 10:02:13PM +1100, Andrew Bartlett wrote: Would this be a better fix for the devicetype problem? It looks like we are putting the strings into the buffer twice, and we are not returning the 'fixed' devicetype for both protocol levels ( NT1 and NT1). What happened

Re: msdfs broken in 2.2.8

2003-03-25 Thread jra
On Mon, Mar 24, 2003 at 02:30:32PM -0800, Eric Horst wrote: Hello! With great enthusiasm I upgraded from 2.2.7a to 2.2.8 last week to get the critical security fix. However, it appears that msdfs is broken in 2.2.8. Several on the 'samba' list have reported this as well. Some say it

Re: Large RPC bug found, I think

2003-03-25 Thread jra
On Wed, Mar 26, 2003 at 01:58:49AM +, Ronan Waide wrote: Ok, I think I've figured this out, but since I'm relatively new to Samba internals I'm not entirely clear on how to fix it, or what I might break with my fix. In a large RPC call, such as an EnumPrinters 2 call with a big buffer,

Re: Problems with ACLs in 2.2.8

2003-03-24 Thread jra
On Mon, Mar 24, 2003 at 08:39:22PM +0100, Jan Houstek wrote: Hi all! I posted this in [EMAIL PROTECTED] but there were no reactions. Particulary I'm interested if anyone observe the same behavior. I'll take a look at this. Jeremy.

Re: msdfs broken in 2.2.8

2003-03-24 Thread jra
On Mon, Mar 24, 2003 at 02:30:32PM -0800, Eric Horst wrote: Hello! With great enthusiasm I upgraded from 2.2.7a to 2.2.8 last week to get the critical security fix. However, it appears that msdfs is broken in 2.2.8. Several on the 'samba' list have reported this as well. Some say it

Re: msdfs broken in 2.2.8

2003-03-24 Thread jra
On Mon, Mar 24, 2003 at 02:30:32PM -0800, Eric Horst wrote: Hello! With great enthusiasm I upgraded from 2.2.7a to 2.2.8 last week to get the critical security fix. However, it appears that msdfs is broken in 2.2.8. Several on the 'samba' list have reported this as well. Some say it

Re: Some notes on IDMAP and GROUPS

2003-03-22 Thread jra
On Sun, Mar 23, 2003 at 12:36:27AM +1100, Andrew Bartlett wrote: We should create the right magic in IDMAP to make sure that we always keep this stuff in one record. (ie, the record with the user/group). If not, then create the right ldap magic to cope with our own structural objectClass.

Re: [Samba] 3.0alpha22 does not execute add user script ?

2003-03-22 Thread jra
On Sat, Mar 22, 2003 at 09:51:51PM +0100, Volker Lendecke wrote: Hmm. Just checked. This is definitely a change in behaviour. If you do not want the full winbind functionality, a simple 'add user script' is quite handy. Is there a reason why this does not work anymore as in 2.2? 2.2 added a

Re: Extended Attributes and Hidden, System, Archive attrs?

2003-03-21 Thread jra
On Fri, Mar 21, 2003 at 09:44:26AM +0100, Olaf Fr±czyk wrote: Hi, I remember some time ago several people were discussing about putting the Hidden, System, Archive, Read-Only bits in EAs. Has it been done in 3.0? Will it be in 2.2.x serie? Not done for 2.2., I'm thinking about it for

Re: Support for Multiple Data Streams?

2003-03-20 Thread jra
On Thu, Mar 20, 2003 at 03:01:51PM -0500, Ken Cross wrote: Samba-folk: Samba apparently does not support Alternate Data Streams/Multiple Data Streams. ADS/MDS are the hidden files associated with the Summary tab on a 2K/XP/.Net version of Windows. A file on a SAMBA_3_0 server does not

Re: Support for Multiple Data Streams?

2003-03-20 Thread jra
On Fri, Mar 21, 2003 at 10:12:47AM +1100, Tim Potter wrote: On Thu, Mar 20, 2003 at 03:46:59PM -0500, Ken Cross wrote: Yes, to support it properly, the underlying filesystem should include all streams when you cp/mv/rm/... And a portable backup/restore could be interesting! However,

Re: rd /s, can't find the file specified (internal reference b1996)

2003-03-19 Thread jra
On Wed, Mar 19, 2003 at 10:28:59AM +0200, Nir Soffer wrote: Okay. I was being stupid. Very very stupid, and I apologize. Turns out mangled filenames was disabled. But is this the expected error when manged filenames are disabled? Obviously :-). I'll take a look at what the semantics should

Re: patch for logon time on samba3.0 alpha22

2003-03-19 Thread jra
On Thu, Mar 20, 2003 at 08:36:10AM +1100, Andrew Bartlett wrote: On Thu, 2003-03-20 at 01:38, Jianliang Lu wrote: Hi, I've patched the samba3.0 alpha22 for logon_time, now the user's logon time is updated when he logs on successfully. In attachment is the patch. Does NT do this only

Re: Samba on OSX 1.2.4

2003-03-19 Thread jra
On Wed, Mar 19, 2003 at 03:27:49PM -0800, Abrahim Kalehzan wrote: Hi there, I'm running Samba 2.2.3 on Apple OS X 10.2.4. Is there any patches or upgrade to go to Samba 2.2.8 for Apple OS X 10.2.4? Apple will be releasing one shortly (not to pre-announce for them). I sent them a custom

Re: rd /s, can't find the file specified (internal reference b1996)

2003-03-18 Thread jra
On Sun, Mar 16, 2003 at 06:47:44PM +0200, Nir Soffer wrote: Following up to myself, reproducing this is apparently even simpler than I thought - simply do a: touch nir test test and try to delete it from a DOS command line. It will fail. nirtest123456 fails as well, but nirtest12345

Re: [SECURITY] Samba 2.2.8 available for download

2003-03-17 Thread jra
On Mon, Mar 17, 2003 at 08:13:15PM +0100, Willi Mann wrote: Is 3.0 also vulnerable? 3.0 is not released yet. 3.0 alphas are vulnerable, the SAMBA_3_0 code in CVS is not. Jeremy.

Re: typos in SAMBA_3_0 CVS

2003-03-17 Thread jra
On Mon, Mar 17, 2003 at 11:22:57PM +1100, Andrew Bartlett wrote: Yep - I'm about 2 weeks behind on janitorial duties :-( That's very dangerous. What happens then is someone fixes it differently in 3.0, and then we have a problem. Remember, if a fix is obviously applicable to 3.0 it should

Re: Question - Latest security alery of samba

2003-03-16 Thread jra
On Sun, Mar 16, 2003 at 05:54:17PM +0200, Nir Livni wrote: Any list of affected source files would be appreciated. I have replied to Nir privately off-list. Jeremy.

Re: [PATCH] smbcquotas (client site quota support)

2003-03-12 Thread jra
On Thu, Mar 13, 2003 at 12:22:55AM +0100, Stefan (metze) Metzmacher wrote: Hi tridge, here's the patch that adds client site quota support to samba, with a util smbcquotas just like smbcalcs... this is able get and set user quotas and get and set the filesystem quota settings. This

Re: [PATCH] smbcquotas (client site quota support)

2003-03-12 Thread jra
On Thu, Mar 13, 2003 at 12:48:55AM +0100, Stefan (metze) Metzmacher wrote: At 23:32 12.03.2003 +, [EMAIL PROTECTED] wrote: On Thu, Mar 13, 2003 at 12:22:55AM +0100, Stefan (metze) Metzmacher wrote: Hi tridge, here's the patch that adds client site quota support to samba, with a

Re: scalability of print_queue_update

2003-03-10 Thread jra
On Mon, Mar 10, 2003 at 07:10:10PM +1100, Martin Pool wrote: I've been testing injection of many jobs (thousands) into a print queue, and am noticing that appliance_head samba seems to spend heaps of time in print_queue_update, trying to reconcile the output of lpq with samba's database. Yep.

Re: scalability of print_queue_update

2003-03-10 Thread jra
On Tue, Mar 11, 2003 at 12:18:55PM +1100, Martin Pool wrote: I observed that it spends a large fraction of its time in print_parse_jobid, called from traverse_fn_delete, called from print_queue_update. This function is I think called O(n**2) times, because smbd compares every job in the tdb

Re: valgrind_strlen?

2003-03-10 Thread jra
On Tue, Mar 11, 2003 at 04:49:56PM +1100, Martin Pool wrote: Some files have a little valgrind_strlen function in there, I suppose to work around a Valgrind bug. Does anyone know what the bug was? There might be a cleaner solution. Yep, it's a glibc inlining strlen() calls problem, causes a

Re: 3.0a21 and HEAD: only primary group of a domain user is set onsmbd

2003-03-04 Thread jra
On Tue, Mar 04, 2003 at 10:38:12PM -0500, Ken Cross wrote: The behavior you're seeing is because LDAP is being used to get the group membership rather that RPC. Last month I posted a patch to fix this, but to my knowledge it hasn't been incorporated. (I'm not bitching, just explaining...)

Re: Compiler waring with heimdal-0.5.1

2003-03-03 Thread jra
On Mon, Mar 03, 2003 at 10:13:03PM +0100, Juergen Hasch wrote: Hi, I installed heimdal-0.5.1 on my Linux box. When compiling Samba HEAD with gcc 3.2 I get lots of warning messages like these : In file included from include/includes.h:421, from smbd/notify.c:22:

Re: Compiler waring with heimdal-0.5.1

2003-03-03 Thread jra
On Mon, Mar 03, 2003 at 10:21:06PM +0100, Love wrote: [EMAIL PROTECTED] writes: Anybody else seen this ? This is brokenness in the Heimdal header files, not in Samba. The Heimdal developers need to compile with more warnings set in gcc. What more then -Wall

Re: file descriptors consumed by printing

2003-03-03 Thread jra
On Tue, Mar 04, 2003 at 12:46:28PM +1100, Tim Potter wrote: There's an interesting story about that. (-: At the time I fixed this problem we were in don't touch the 2.2 branch unless it is a critical bug fix, and also in this will be the last version of 2.2 for sure mode. I guess we are

Re: [PATCH] fix: id_sid cache

2003-03-02 Thread jra
On Wed, Feb 26, 2003 at 03:55:49PM +0100, Stefan (metze) Metzmacher wrote: Hi Jeremy, I have a little fix for the id_sid cache, to correct return the sidtype. Hi Stefan, Actually there isn't any point in returning the sidtype here that I can see. We're only after the uid_t or gid_t

Re: file descriptors consumed by printing

2003-03-02 Thread jra
On Sun, Mar 02, 2003 at 10:25:27PM -0800, Richard Sharpe wrote: On Mon, 3 Mar 2003, Tim Potter wrote: It's fixed in HEAD. Yeah, well someone forgot their janitorial duties :-) I take it that means 3.0 and HEAD will be seeing your cli_XXX 64 bit fixes shortly. :-) :-) :-). Jeremy.

Re: NT_Create: Anything special I need to know?

2003-02-26 Thread jra
On Wed, Feb 26, 2003 at 12:24:09AM -0600, Christopher R. Hertel wrote: I'm going to do a very brief writeup of NT_CREATE_ANDX, but I remember hearing rumors dark lurking daemons. What do I need to know? What is there about this command that should be documented? It's *monstrous*. There

Re: Byte range locking

2003-02-21 Thread jra
On Fri, Feb 21, 2003 at 10:51:10AM -0800, Srikanta Shivanna wrote: I observed it while running the following modified torture test: Thanks ! That saves me from writing one :-) :-). I'll look into it asap ! Jeremy.

Re: Byte range locking

2003-02-21 Thread jra
On Fri, Feb 21, 2003 at 10:51:10AM -0800, Srikanta Shivanna wrote: I observed it while running the following modified torture test: Great test. I've applied a modified version of it to smbtorture in HEAD and fixed the bug in Samba's locking implementation. Thanks ! Jeremy.

Re: [PATCH] fix sid_to_uid() return correct sidtype

2003-02-20 Thread jra
On Thu, Feb 20, 2003 at 01:20:14PM +0100, Michael Steffens wrote: Noticed why :) The current caching code does also cache local lookups, meaning that local groups (and machine SIDs when Samba is running as DC) can also occur? Hmm, I'm not sure whether the speed gain for local lookups

Re: Byte range locking

2003-02-20 Thread jra
On Thu, Feb 20, 2003 at 07:50:22PM -0800, Srikanta Shivanna wrote: I noticed a difference in byte range locking behavior between Samba (2.2.x) and Windows 2000 server, basically on Samba 2.2.x with strict locking enabled, a client process which owns a shared byte range lock can write to the

Re: possible memory leak

2003-02-20 Thread jra
On Fri, Jan 24, 2003 at 11:07:49AM -0800, Leo Qiu wrote: Hi, I seem to find some possible memory leaks in Samba code. The patch is attached, Could you guys have a look to check whether it is correct? One of them was, one wasn't. I've added comments to the POSIX_ACL code to make it clearer -

Re: [PATCH] fix sid_to_uid() return correct sidtype

2003-02-19 Thread jra
On Wed, Feb 19, 2003 at 10:03:57PM +0100, Stefan (metze) Metzmacher wrote: HI all, here's a small fix for returning the correct sidtype in sid_to_uid() and sid_to_gid() this should be applied to all branches with the new uid - sid caching code No attachment - please try again. Jeremy.

Re: [PATCH] fix sid_to_uid() return correct sidtype

2003-02-19 Thread jra
On Wed, Feb 19, 2003 at 10:20:35PM +0100, Stefan (metze) Metzmacher wrote: At 21:07 19.02.2003 +, [EMAIL PROTECTED] wrote: On Wed, Feb 19, 2003 at 10:03:57PM +0100, Stefan (metze) Metzmacher wrote: HI all, here's a small fix for returning the correct sidtype in sid_to_uid() and

Re: 3.0 commit policy?

2003-02-19 Thread jra
On Thu, Feb 20, 2003 at 11:46:35AM +1100, Martin Pool wrote: What is the commit policy for 3.0? Should all changes be moved from HEAD except ones that are explicitly too risky? Or only bug fixes? What about documentation? Use common sense :-). If it's a new/risky feature - add to HEAD only

Re: interesting fact about StrCaseCmp

2003-02-18 Thread jra
On Tue, Feb 18, 2003 at 06:23:41PM +1100, Martin Pool wrote: One little malloc() could hardly make it any worse, although I will do a test tomorrow to check. One little malloc() - I'll remind you of that quote later :-). But please do the test, that's the only way we can really be sure if

Re: interesting fact about StrCaseCmp

2003-02-18 Thread jra
On Tue, Feb 18, 2003 at 10:49:28PM +0100, Ludolf Holzheid wrote: In the embedded/real time world, malloc() and friends are strongly deprecated as you can't predict how long they will take. They have to go through a linked list of unknown length and may even start a garbage collection.

Detecting true64

2003-02-17 Thread jra
Does anyone know how to detect a truu64 system in configure.in ? I'm going through my patchlist and there is a big optimisation that can be done on systems where the getgrnam() call works (True64 is listed as the only broken system) and I'd like to add this to all branches by adding a

Re: interesting fact about StrCaseCmp

2003-02-17 Thread jra
On Tue, Feb 18, 2003 at 11:01:53AM +1100, Martin Pool wrote: StrCaseCmp (and strequal) in HEAD has the interesting side-effect that it only compares the first PSTRING_LEN (1024) bytes of the strings. I suppose comparing strings longer than that is probably a bit unlikely, but it still seems

Re: interesting fact about StrCaseCmp

2003-02-17 Thread jra
On Tue, Feb 18, 2003 at 03:23:40PM +1100, Martin Pool wrote: On 18 Feb 2003, [EMAIL PROTECTED] wrote: What exactly do you want to do here ? I'm not clear what you mean? The thing I noticed is that StrCaseCmp (and indeed many charcnv function) truncate strings to 1024 characters. I

Re: ideas for optimizations with large groups

2003-02-17 Thread jra
On Wed, Mar 06, 2002 at 11:24:23AM +, Chris Wakelin wrote: We had big problems with an upgrade to Samba 2.2.3a on Solaris 8 due to this groups change. Samba 2.2.2 was fine, but had occassional oplock problems (hence the desire to upgrade). We have a large number (~1000) of (sometimes

Re: Pushing Samba functions into the kernel

2003-02-13 Thread jra
On Thu, Feb 13, 2003 at 11:41:35AM -0800, Richard Sharpe wrote: Hi, I wanted to start a discussion on the following: Implementing some SMB functions in the Kernel, within a Samba base, or, Bending and twisting Samba out of shape. There are a number of reasons for wanting to

Re: Winbindd limited by select

2003-02-12 Thread jra
On Wed, Feb 12, 2003 at 07:36:19AM -0500, Ken Cross wrote: Samba-folk: I've run into a problem with winbindd in both 2.2.x and 3.0 where it just locks up after a while on large, busy networks. We finally tracked down the problem to the fact that the C library select function is limited by

Re: CVS update: samba/source/printing

2003-02-12 Thread jra
; author: jra; state: Exp; lines: +21 -25 SMBencrypt needs dos codepage also. Change tdb_pack/unpack to take a function pointer applied to all strings if it exists. Jeremy. Sorry about that. I'll watch for these nasty differences more closely in future. Jeremy.

Re: Dual winbind daemons - fix to winbindd_dual.c

2003-02-12 Thread jra
On Tue, Feb 11, 2003 at 09:46:44PM -0500, Ken Cross wrote: Samba-folk: The dual winbindd daemon hasn't been working (at least not on NetBSD). It always bombs out with [2003/02/11 10:03:23, 2] tdb/tdbutil.c:tdb_log(582) tdb(unnamed): tdb_open_ex: /var/samba/locks/winbindd_idmap.tdb

Re: Samba 3.0: vfs_netatalk.c

2003-02-11 Thread jra
On Tue, Feb 11, 2003 at 03:23:37PM -0500, Green, Paul wrote: Anthony Liguori [mailto:[EMAIL PROTECTED]] wrote: scandir() (and it's [alpha|version]sort() brethren) is a BSD/Linux-ism and therefore isn't very portable. Since this is in a VFS module (and therefore only optional) I guess

Re: Ignoring printer errors

2003-02-10 Thread jra
On Mon, Feb 10, 2003 at 11:35:01PM +1100, Andrew Bartlett wrote: I'm wondering, why (in HEAD and 3.0) rpc_server/srv_spoolss_nt.c:_spoolss_enddocprinter_internal() doesn't handle any errors? It sort of makes sense if we don't check the output of running the unix 'lpr' command (due to the

Re: REPOST: Finding group members - fix to winbindd_ads.c

2003-02-08 Thread jra
On Sat, Feb 08, 2003 at 09:10:41AM -0500, Ken Cross wrote: Samba-folk: A couple of weeks ago I posted a patch to winbindd_ads.c to change the behavior of WINBINDD_GETGRNAM and WINBINDD_GETGRGID using LDAP. Currently, if you do WINBINDD_GETGRNAM to an NT domain using RPC, you get *all* the

Re: Interaction of share modes and file permissions

2003-02-06 Thread jra
On Thu, Feb 06, 2003 at 02:26:25PM +, Neil Hoggarth wrote: Consider a file with ownership and mode such that a client has read-only permission on that file. Suppose that this file is open read-only by second client, with a share mode of DENY_WRITE. If the first client attempts to open

Re: why didn't we use krb5-config???

2003-02-06 Thread jra
On Thu, Feb 06, 2003 at 07:27:24PM +0100, Stefan (metze) Metzmacher wrote: Hi Jeremy, I just see that newer version's of heimdal and mit have krb5-config. it would be cool to use it by default if it's available and if not fallback to the current tests Didn't know about it :-). I'll take

Re: Solaris fcntl CPU/Lock update

2003-02-04 Thread jra
On Mon, Feb 03, 2003 at 07:38:31AM -0800, Jeff Mandel wrote: Here's gdb with bt from two processes 12279 and 12327 root@reiger# gdb /usr/local/samba/bin/smbd 12279 GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and

Re: Bottleneck with Winbind and NT ACLs in 2.2.7a

2003-02-04 Thread jra
On Tue, Feb 04, 2003 at 02:12:29PM +0100, Michael Steffens wrote: Hi, we are running a big Samba 2.2.7a server with Winbind (100 concurrent users, 600 id mappings created since then) since last weekend. It's running quite well! :) However, users are complaining about Samba being very

Re: heimdal didn't have AP_OPTS_USE_SUBKEY

2003-02-03 Thread jra
On Sat, Feb 01, 2003 at 01:01:07PM +0100, Stefan (metze) Metzmacher wrote: Hi Jeremy, the latest HEAD didn't not compile with heimdal on SuSE8.1 because AP_OPTS_USE_SUBKEY is not defined in the heimdal/krb5.h only in the MIT krb5.h :-( is it possible to fix samba that it finally

Re: permission upgrade during O_TRUNC

2003-02-03 Thread jra
On Wed, Jan 08, 2003 at 11:01:13AM +0100, Steve Hardy wrote: not entirely true again the error in the current code is S - SR = SR H - HR = HR which should be S - SR = S H - HR = H that's all. Still simplifies the code. Ok, I finally got to test this and built a torture tester

Re: Will these patches make it into 2.2.8?

2003-01-31 Thread jra
On Fri, Jan 31, 2003 at 12:58:45PM +0100, Michael Steffens wrote: Hi Samba team, as 2.2.8 seems to approach now, have the following patches been considered for it? They both don't add functionality, but rather improve robustness, and are platform independent:

Re: Solaris fcntl CPU/Lock update

2003-01-31 Thread jra
On Fri, Jan 31, 2003 at 09:07:23AM -0800, Jeff Mandel wrote: I have followed this fcntl bug closely, and I just applied a T-patch for solaris 8 which brought the kernel 108528-19. This includes the fix for 4735093. This has not fixed the problem of smbd growing to consume all available CPU.

Re: file change notification issues

2003-01-28 Thread jra
On Thu, Jan 23, 2003 at 10:55:12AM -0500, Hal Roberts wrote: The purpose of this mail is to make sure no one else is working on / has already finished hacking samba's file change notification support to support notification of individual file changes. If not, I plan on doing so forthwith.

Re: compiler warning in libsmb/clireadwrite.c

2003-01-28 Thread jra
On Wed, Jan 29, 2003 at 04:44:06PM +1100, Tim Potter wrote: Er, should I be worried about this warning? libsmb/clireadwrite.c: In function `cli_issue_read': libsmb/clireadwrite.c:54: warning: right shift count = width of type libsmb/clireadwrite.c: In function `cli_issue_write':

Re: compiler warning in libsmb/clireadwrite.c

2003-01-28 Thread jra
On Tue, Jan 28, 2003 at 11:28:02PM -0800, Richard Sharpe wrote: Is there a portable way to isolate the upper 32 bits? Check out the #ifdef code in smbd/reply.c Jeremy.

Re: DOS mode bits missing from Folders

2003-01-23 Thread jra
On Wed, Jan 22, 2003 at 10:53:17PM +0100, Jean Francois Micouleau wrote: On Wed, 22 Jan 2003, Pagani Jr, Ronald wrote: Why not store DOS bit modes in an accompanying dot file? (The DOS modes then read by smbd if it (the dot file) exists) this idea has already been bitten to death.

Re: CVS update: samba/source/nsswitch

2003-01-15 Thread jra
On Thu, Jan 16, 2003 at 12:50:57PM +1100, Martin Pool wrote: On 16 Jan 2003, Andrew Bartlett [EMAIL PROTECTED] wrote: Win2k has a bug (feature?) where there is a connection reset if there is a second connection from the SAME IP, before the first session-setup. So an unprivileged

Re: Patch for Samba 2.2.6 2.2.7 to work on OS X

2003-01-15 Thread jra
On Thu, Jan 16, 2003 at 01:07:34AM -0500, Michael Bennett wrote: So... comments? Does the patch Do The Right Thing? Think this patch or something similar could get merged sometime? :) I remember looking at this patch. The problem is it does something like : #ifdef *BSD.. new

Re: Change Notification

2003-01-14 Thread jra
On Tue, Jan 14, 2003 at 07:49:48AM +0100, Juergen Hasch wrote: [EMAIL PROTECTED] wrote: So if I'm understanding you correctly this is actually a kernel bug - correct ? Can you point me at the areas in the kernel source where the problem occurs so I can see how to make smbd work around it

Re: Change Notification

2003-01-13 Thread jra
On Mon, Jan 13, 2003 at 11:06:46PM +0100, Juergen Hasch wrote: Jeremy, I'm having problems with change notification in Samba 2.2.x under Linux since you changed the signal handling stuff some time ago. An application I'm using always complains about missing change notification, although

Re: Change Notification

2003-01-13 Thread jra
On Mon, Jan 13, 2003 at 11:39:27PM +0100, Juergen Hasch wrote: Can you give me more details please about where smbd is missing the signal ? smbd should not be able to miss these signals, as all they do is set a flag that is then processed inline in the main loop. Please give me more

Re: [PATCH] trans2 querypathinfo alt name

2003-01-13 Thread jra
On Thu, Jan 09, 2003 at 05:07:50PM +0100, Stefan (metze) Metzmacher wrote: Hi Jerry, I noticed that if I'm using MS Access 97 on a NT4 machine I can't access to database files witch are in directories 12 chars, but if I do the same thing on an w2k or NT4 server is works. I see that the

Re: recursive mutexes in appl_head winbindd_cm.c?

2003-01-13 Thread jra
On Tue, Jan 14, 2003 at 05:25:20PM +1100, Tim Potter wrote: On Sat, Jan 11, 2003 at 01:11:14AM +, [EMAIL PROTECTED] wrote: On Fri, Jan 10, 2003 at 05:31:48PM +1100, Martin Pool wrote: Here's my idea for fixing this in appliance-head, without reworking the mutex reference count.

Re: Samba 3.0 Alpha 21 - TZ environment variable.

2003-01-10 Thread jra
On Fri, Jan 10, 2003 at 02:04:12PM -0800, P Ranjit Kumar wrote: Hi Samba 3.0 Alpha21 tries to emulate the timegm() call. When it does that, it sets the TZ= before it invokes the mktime() call. However, on HP-UX, setting TZ= makes the timezone to be EST but what we want is GMT for time_t

Re: recursive mutexes in appl_head winbindd_cm.c?

2003-01-10 Thread jra
On Fri, Jan 10, 2003 at 05:31:48PM +1100, Martin Pool wrote: Here's my idea for fixing this in appliance-head, without reworking the mutex reference count. Thanks for that - I've just checked in something close to this. Take a look and let me know... Thanks, Jeremy.

Re: [PATCH] audit handling of waitpid() status codes

2003-01-09 Thread jra
On Thu, Jan 09, 2003 at 05:12:15PM +1100, Martin Pool wrote: I found a data-corruption bug in ccache a few weeks ago relating to incorrect handling of wait() status codes, so I thought I would do a quick check for similar things in Samba. Part of this (the smbd/chgpasswd.c patch) is incorrect

Re: oplock breaks

2003-01-09 Thread jra
On Thu, Jan 09, 2003 at 06:08:01PM -0600, Steven French wrote: In implementing oplock code in the Linux cifs vfs I noticed that Win2K sends a UID of zero (but non-zero FID and TID) on the oplock break from the server ... this implies that the space of valid fids is not related to the UID.

Re: Update on Samba fcntl problem with Solaris?

2003-01-07 Thread jra
On Tue, Jan 07, 2003 at 12:00:15PM -0500, Haley, Kevin (K.A.) wrote: Hello, I've read the discussion in the list archives regarding the Solaris fnctl problem which appears to be related to the lingering problem our site is having since recent migration to 2.2.6 for our print server

Re: permission upgrade during O_TRUNC

2003-01-07 Thread jra
On Tue, Jan 07, 2003 at 10:53:41AM +0100, [EMAIL PROTECTED] wrote: Hey there, I posted a quick fix for a problem I found with all samba's up to 2.2.7a on the general samba list, which describes the following problem: In Windows, if you create a file with NORMAL attributes and ALWAYS_CREATE,

Re: delete on close problems(Content Filtered by PrivateArk)

2003-01-06 Thread jra
On Mon, Jan 06, 2003 at 03:14:51PM +0200, Nir Livni wrote: Samba does not allow user B to open the file for read after user A has opened it for delete_on_close. NT/2K server allows it. My question is why samba allows user A to open delete_on_close after user B opens for read, And does not

Re: Winbindd problem enumerating lots of groups

2003-01-05 Thread jra
On Sun, Jan 05, 2003 at 07:22:33PM -0500, Ken Cross wrote: I found and fixed a problem where winbindd had trouble enumerating *lots* of groups (~2000 in my case). This is in SAMBA_3_0, but it's in other versions, too. The problem was in the enum_dom_groups routine in winbindd_rcp.c, line

Re: Winbindd problem enumerating lots of groups

2003-01-05 Thread jra
On Sun, Jan 05, 2003 at 11:21:02PM -0500, Ken Cross wrote: Sure, it isn't obvious. start isn't where the list is in number of entries, it's an index into some data structure (coming from the DC, I think). The num_entries would increment by 513 (in my tests), but cli_samr_enum_dom_groups

Re: Patch for unix extensions

2003-01-02 Thread jra
On Wed, Jan 01, 2003 at 01:01:19PM +0100, Simo Sorce wrote: My idea was this: let make it so taht if unix extensions are enabled, then we NEVER resolve the links if we permit link creation. So if unix extensions are true, then all opens set O_NOFOLLOW. Ok if O_NOFOLLOW is defined and exists in

Re: At least some people appreciate the effort we put in

2003-01-02 Thread jra
On Thu, Jan 02, 2003 at 11:45:56AM -0600, Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 1 Jan 2003, Richard Sharpe wrote: So, while it is clear that there are assholes in the world, there are also those who make it all worth while. Richard,

Re: Patch for unix extensions

2002-12-30 Thread jra
On Fri, Dec 27, 2002 at 07:09:43PM +1100, John Newbigin wrote: If no one has any problems with this patch, can it be applied? John. Original Message Subject: Patch for unix extensions Date: Tue, 03 Dec 2002 09:51:39 +1100 From: John Newbigin [EMAIL PROTECTED] To:

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 patch

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: 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 *scope)

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 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?

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 think your

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 due

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_errmap

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

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 SAMBA

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-UX

  1   2   >