Compiler waring with heimdal-0.5.1

2003-03-03 Thread Juergen Hasch
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: /usr/include/heimdal/gssapi.h:625: warning: declaration of `open' shadows a

Re: [PATCH] file change notification

2003-03-03 Thread Juergen Hasch
Hi, attached is a modified version of Hal's file change notification patch. It's against Samba HEAD and works for me. Changes: - use push_ucs2() to send unicode file names - make some functions static (make proto works now) - limit maximum number of directory entries stored in the TDB to 2000,

Re: Compiler waring with heimdal-0.5.1

2003-03-03 Thread Juergen Hasch
Am Montag, 3. März 2003 23:48 schrieb [EMAIL PROTECTED]: 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

Re: [PATCH] file change notification

2003-02-14 Thread Juergen Hasch
Hello Hal, thanks for coding this patch, unfortunately it doesn't work for me. Checking the generated network packets with ethereal shows that the NT_NOTIFY packet I receive on the Windwows side is invalid. The packet (frame size as shown in ethereal) is much too short, it's size is 93 bytes,

Re: [PATCH] file change notification

2003-02-14 Thread Juergen Hasch
Hi Tim, Am Freitag, 14. Februar 2003 21:52 schrieb Tim Potter: On Fri, Feb 14, 2003 at 08:28:55PM +0100, Juergen Hasch wrote: Hello Hal, thanks for coding this patch, unfortunately it doesn't work for me. Checking the generated network packets with ethereal shows that the NT_NOTIFY

Re: file change notification issues

2003-02-01 Thread Juergen Hasch
Jeremy, [EMAIL PROTECTED] wrote: Great detective work ! Actaully this is a bug in IIS. The protocol states that STATUS_NOTIFY_ENUM_DIR is a valid return, if too many files were changed (hmmm. define too many :-). It would be possible to cause this to break on Windows 2000 servers also, but I

Change Notification

2003-01-13 Thread Juergen Hasch
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 it used to work. I always failed to find out what's wrong, but now I

Re: Change Notification

2003-01-13 Thread Juergen Hasch
Below is my test program, nothing special: /* test change notification */ #include windows.h #include stdio.h int main() { DWORD dwWaitStatus; HANDLE dwChangeHandles[1]; dwChangeHandles[0] = FindFirstChangeNotification( i:\\TEST, // directory to watch FALSE,

Re: Change Notification

2003-01-13 Thread Juergen Hasch
[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 until we get the kernel fixed. No it's Samba receiving a signal

Re: RFE: build

2003-01-05 Thread Juergen Hasch
Hi Jens, Jens Elkner wrote: 1) For SHLD the LDSHFLAGS parameter is used. It should get set to -shared. And that is exactly the problem! It is set only to -shared and not to -shared $LDFLAGS. So if I do not apply the Makefile.in patch I get for build: Linking libsmbclient shared library

Re: RFE: build

2003-01-04 Thread Juergen Hasch
Hi Jens, I just tried to build samba 2.2.7a with cups and acl, but it did not work out of the box without fixing source/Makefile.in, source/configure.in and include/smb_acls.h. Samba should build fine on most systems. What operating system and gcc / ld version do you use ? Your patches don't

[Patch] configure.in

2002-09-22 Thread Juergen Hasch
Stupid me, you can't check for ${GCC} = no, because if it isn't gcc, the compiler name will be there instead of a no. Please apply. ..Juergen --- configure.in.orig Sat Sep 21 10:14:45 2002 +++ configure.inSun Sep 22 10:28:34 2002 -916,7 +916,7

Re: VFS Virus Scanner idea...

2002-09-12 Thread Juergen Hasch
Am Donnerstag, 12. September 2002 21:30 schrieb Christopher R. Hertel: I was at a meeting today and one of the participants came up to me after the meeting to ask a Samba-related question. The problem he is facing is that he's got a bunch of Windows clients which are, of course, vulnerable

Re: VFS Virus Scanner idea...

2002-09-12 Thread Juergen Hasch
Am Donnerstag, 12. September 2002 22:34 schrieb Christopher R. Hertel: Kewl. :) I figured that if I asked around a bit magic would happen. I just found out about OpenAntiVirus a few minutes ago. Thanks for the pointer! It's also interesting that you can download the scan engine and the

Re: recycle.c (was block.c)

2002-09-03 Thread Juergen Hasch
Am Montag, 2. September 2002 20:56 schrieb Alexander Bokovoy: I've updated the recycle bin to use the parametrical options inside smb.conf. I think you told me at the SambaXP conference how to find out, if the service is derived from [homes]. Could you tell me again ? I promized tridge

recycle.c (was block.c)

2002-09-02 Thread Juergen Hasch
Hi Alexander, Am Montag, 2. September 2002 11:03 schrieb Alexander Bokovoy: Seens xlc_r is stricter. Would following help xlc_r? It looks worser but works fine for gcc. #define VFS_OP(x) ((void *) x) static vfs_op_tuple recycle_ops[] = { /* Disk operations */

Small patches for Samba_2_2

2002-09-01 Thread Juergen Hasch
Hi, attached are three small patches for Samba_2_2 CVS. The first patch fixes a typo in web/swat.c. The second patch changes a compiler option for AIX to allow the compiler to use more memory. The last patch updates the recylce bin. This change was suggested by Guilio Orsero. ...Juergen ---

Re: [PATCH]block.c

2002-09-01 Thread Juergen Hasch
Hi Alexander, Am Donnerstag, 29. August 2002 10:27 schrieb Alexander Bokovoy: On Wed, Aug 28, 2002 at 07:46:36PM +0200, Juergen Hasch wrote: Hi Jelmer, I'm not using the block module, it's just that some C compilers don't like C++ comments. This stops building the VFS modules for me

Re: Samba 2.2.5 has been released

2002-06-22 Thread Juergen Hasch
Am Donnerstag, 20. Juni 2002 13:50 schrieb Rainer Link: Gerald Carter schrieb: [..] 10) Inclusion of autoconf script for building VFS modules Hm, configure.in/configure in examples/VFS does not check for LFS support, therefore the modules aren't compiled with -D_LARGEFILE64_SOURCE

Re: samba 2.2.5-pre and solaris 9

2002-06-07 Thread Juergen Hasch
Am Freitag, 7. Juni 2002 21:57 schrieb Gerald Carter: On Fri, 7 Jun 2002, Juergen Hasch wrote: +dnl Check if we use GNU ld +LD=ld +AC_PROG_LD_GNU That's what I needed. I couldn't find it mentioned in my book. I hadn't known that one too, but google is your friend :-) Looks good to me

Re: samba 2.2.5-pre and solaris 9

2002-06-07 Thread Juergen Hasch
Hi Don, Am Freitag, 7. Juni 2002 23:27 schrieb Don Koch: [EMAIL PROTECTED] said: Do we still need to pass the -Wl flag to Sun's ld? [EMAIL PROTECTED] said: Yes, because we are calling GCC and not ld directly: @$(CC) $(FLAGS) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) Well, no,

Re: known BUG multi-byte character set in usernames

2002-06-06 Thread Juergen Hasch
Am Donnerstag, 6. Juni 2002 01:19 schrieb Jeremy Allison: On Thu, Jun 06, 2002 at 12:12:45AM +0200, Juergen Hasch wrote: the patch works fine for except for one thing. In the acl security selection list (showing a list of all available users and groups) the german umlaut characters

Re: known BUG multi-byte character set in usernames

2002-06-05 Thread Juergen Hasch
Am Mittwoch, 5. Juni 2002 23:48 schrieb Jeremy Allison: On Sun, Jun 02, 2002 at 07:44:02PM +0200, Juergen Hasch wrote: Hi Jerry, Am Sonntag, 2. Juni 2002 03:15 schrieb Gerald Carter: On Fri, 31 May 2002, Juergen Hasch wrote: Now I never would have brought this up because I don't

Re: known BUG multi-byte character set in usernames

2002-06-02 Thread Juergen Hasch
Hi Jerry, Am Sonntag, 2. Juni 2002 03:15 schrieb Gerald Carter: On Fri, 31 May 2002, Juergen Hasch wrote: Now I never would have brought this up because I don't care to much for 2.2 and I was just curious when I made the patches. But since someone asked :-) The names/groups are transferred

Re: VFS problem

2002-06-02 Thread Juergen Hasch
Hi Jim, Am Samstag, 1. Juni 2002 18:25 schrieb Jim Myers: I'm trying to write a VFS module that uses the conn-vfs_private problem. It appears this field is never referenced in existing Samba code and is NOT initialized in vfs.c:vfs_init_custom. It appears to me that this function needs the

Re: VFS problem

2002-06-02 Thread Juergen Hasch
Hi Jim, Am Sonntag, 2. Juni 2002 22:58 schrieb Jim Myers: I was aware of that, but from the traces I took (with log level=10), connect was sometimes NOT called! I saw examples where after Samba was restarted and I tried to access a file in the VFS share, the first call after vfs_init was an

Re: known BUG multi-byte character set in usernames

2002-05-31 Thread Juergen Hasch
Am Freitag, 31. Mai 2002 11:58 schrieb Andrew Bartlett: Juergen Hasch wrote: I will generate a complete patch if the Samba team thinks it's worth considering and I am not completely on the wrong track :-) What the heck are you trying here? The problem is like this: Without patch: hasch

Re: known BUG multi-byte character set in usernames

2002-05-30 Thread Juergen Hasch
Hi Guenther, Am Donnerstag, 30. Mai 2002 16:17 schrieb Guenther Deschner: hello, smb.conf-manpage of 2.2.5pre and HEAD states the bug of multi-byte character sets in usernames: -8--snip--8-- BUG: There is currently a bug in the implementation

Warning in trans2.c under AIX

2002-05-30 Thread Juergen Hasch
When compiling Samba 2_2 CVS under AIX 4.3.3 using gcc or xlc_r, I get the following warnings: smbd/trans2.c: In function `get_lanman2_dir_entry': smbd/trans2.c:759: warning: right shift count = width of type smbd/trans2.c:759: warning: right shift count = width of type smbd/trans2.c:759:

Re: [PATCH]Make VFS modules work under Solaris and AIX

2002-05-20 Thread Juergen Hasch
Am Montag, 20. Mai 2002 01:18 schrieb Juergen Hasch: Am Montag, 20. Mai 2002 00:56 schrieb Juergen Hasch: Hi, attached is a patch and a few new files to make VFS modules work under Solaris and AIX. I have tested it with Solaris 8 using gcc and Sun Workshop cc. For AIX I tested

Re: [PATCH]Make VFS modules work under Solaris and AIX

2002-05-19 Thread Juergen Hasch
Am Montag, 20. Mai 2002 00:56 schrieb Juergen Hasch: Hi, attached is a patch and a few new files to make VFS modules work under Solaris and AIX. I have tested it with Solaris 8 using gcc and Sun Workshop cc. For AIX I tested it with gcc and xlc_r. Linux still works, too

winbind authentication

2002-05-12 Thread Juergen Hasch
Hi, this problem applies to 2.2.4 and partly to head, too. I need to set a username when connecting to a Win2K server using winbind. The documentiation states wbinfo -A user%password would do the trick. However this doesn't work. For wbinfo in 2.2.4: - the -A option is documented, but isn't

Re: winbind authentication

2002-05-12 Thread Juergen Hasch
Hi Noel, Am Sonntag, 12. Mai 2002 13:39 schrieb Noel Kelly: Downloaded 2.2.4 yesterday and it without your patch it works for me: [noel@belly noel]$ wbinfo -a uk+nkelly%password plaintext password authentication succeeded error code was NT_STATUS_OK (0x0) challenge/response password

Re: vfs_private

2002-05-10 Thread Juergen Hasch
Hi Jason, Am Freitag, 10. Mai 2002 21:23 schrieb Jason Cook: I am trying to add support to the recycle_bin module to be able to pass the dir mask in and I can't see how to store that as well as the path into vfs_private. Any suggestions as to how I should go about this? you might want to

Re: VFS recycle bin

2002-04-08 Thread Juergen Hasch
Am Montag, 8. April 2002 13:24 schrieb Andrew Bartlett: Add -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 to the compiler options and it works :-) The problem is that the VFS (and passdb for that matter) modules are libtool based :-). They are not created via the normal makefile system,