bug confirm pls

2002-06-13 Thread Dipl.-Ing.(FH) Th. Trautwein-Veit
Dear samba developer, i think i found a bug. I run SAMBA HEAD on an AIX 4.3.3 ML 10 IBM RS 6000 Hardware. I compile with : ./configure --with-acl-support --with-tdbsam The compile and install works great. Even the adding of userses to the password backend tdbsam_nua works local. But after i

working with hidden shares 2.2.4

2002-06-13 Thread Nieminen, Jooel
the is no documentation on hidden share ability but adding $-sign to end of share it hides it. only problem is that it's not accessible anymore. for user who is not allowed to access the share it asks for username and password, but user which is valid is presented with: "network usage

Re: Modulize Group mapping

2002-06-13 Thread Stefan (metze) Metzmacher
At 09:53 13.06.2002 +0200, Kai Krueger wrote: - Original Message - From: Stefan (metze) Metzmacher [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 10:43 AM Hi, I've startet to make the group mapping code modulized in the way it is done in the auth and passdb subsystems. I

2_2 Compile Broken by mangle_... changed to return void

2002-06-13 Thread Richard Bollinger
... Compiling smbd/dir.c smbd/dir.c: In function `get_dir_entry': smbd/dir.c:608: void value not ignored as it ought to be make: *** [smbd/dir.o] Error 1 ... Please fix. Thanks, Rich Bollinger

Can't map network drive

2002-06-13 Thread James Briar
I've tried everything i can think of but i can't map a network drive. Everything else on Samba is working ok. I can log on via the internet to look at the shares etc (by doing \\126.12.250.24:901.) and the processes are running ok. The /usr/local/samba/var/log.smbd shows (i set the log level to

Netbench and Samba 2.2.1a

2002-06-13 Thread David Collier-Brown
A colleague who runs a benchmarking group noticed something bizarre lately: while working with Netbench 7.0.2 running against Samba version 2.2.1a on RH Linux 7.2 on a 2xPIII 1400Ghz machine... | I can net use f: \\lab39\files1 OK to the Samba shares. I | can use WordPad to read and write

Re: 2.2.5pre1: unlink design flaw

2002-06-13 Thread Mike Gerdts
On Wed, 2002-06-12 at 18:10, Simo Sorce wrote: And samba is not the only application that do this kind of operation, the proper fix would be to make smbfs driver able to hide a file if it is unlilnked but yet open by some process, and then silently unlink it when the last process closes it.

Re: Modulize Group mapping

2002-06-13 Thread Andrew Bartlett
Stefan (metze) Metzmacher wrote: At 09:53 13.06.2002 +0200, Kai Krueger wrote: - Original Message - From: Stefan (metze) Metzmacher [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 10:43 AM Hi, I've startet to make the group mapping code modulized in the way it is done

Re: Netbench and Samba 2.2.1a

2002-06-13 Thread Don DeVitt
I am the colleague David reefers to below. I haven't had time to update Dave on what I learned about this problem. There is NO problem with Samba. My problem was caused by the fact that NT mapped drives are not accessible in exactly the same way by an application launched by a Remote Shell

Re: Netbench and Samba 2.2.1a

2002-06-13 Thread Herb Lewis
I run in user security and use altiris software to send remote commands to the clients. I ran into this same problem but was able to solve it by having the remote command to the client be a batch file that mounted the share and then invoked the netbench client program. That way the share mount

RE: 2.2.5pre1: unlink design flaw

2002-06-13 Thread Mike Gerdts
On Thu, 2002-06-13 at 12:26, Cole, Timothy D. wrote: -Original Message- From: Mike Gerdts [mailto:[EMAIL PROTECTED]] A similar solution could be used here. The equivalent of the .OLD directory could be something that is not exported by samba. If an unlink() fails because of

RE: 2.2.5pre1: unlink design flaw

2002-06-13 Thread Cole, Timothy D.
-Original Message- From: Mike Gerdts [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 9:03 To: Simo Sorce Cc: [EMAIL PROTECTED]; Samba Technical Mailing List Subject: Re: 2.2.5pre1: unlink design flaw Under HP-UX 10.20 I ran into issues with automated software updates

Re: 2.2.5pre1: unlink design flaw

2002-06-13 Thread Urban Widmark
On 13 Jun 2002, Simo Sorce wrote: And samba is not the only application that do this kind of operation, the proper fix would be to make smbfs driver able to hide a file if it is unlilnked but yet open by some process, and then silently unlink it when the last process closes it. It just

Re: 2.2.5pre1: unlink design flaw

2002-06-13 Thread Simo Sorce
On Thu, 2002-06-13 at 19:49, [EMAIL PROTECTED] wrote: The race stay in the fact that you may rename the file and create a link to an important file between the close and the second unlink, with very bad results. On smbfs you cannot create links. Nor on fatfs. But samba runs on posix

Re: 2.2.5pre1: unlink design flaw

2002-06-13 Thread Simo Sorce
On Thu, 2002-06-13 at 18:07, Urban Widmark wrote: On 13 Jun 2002, Simo Sorce wrote: And samba is not the only application that do this kind of operation, the proper fix would be to make smbfs driver able to hide a file if it is unlilnked but yet open by some process, and then silently

Re: 2.2.5pre1: unlink design flaw

2002-06-13 Thread Jeremy Allison
On Thu, Jun 13, 2002 at 08:28:08PM +0200, Simo Sorce wrote: I can't remember just now, but can you rename it while open? Under POSIX, yes. If you can, then you may rename the file on unlink to a very rare name and then delete oin close(). This is what NFS does. I have no idea what

Re: Netbench and Samba 2.2.1a

2002-06-13 Thread Richard Sharpe
On Thu, 13 Jun 2002, Don DeVitt wrote: My problem was caused by the fact that NT mapped drives are not accessible in exactly the same way by an application launched by a Remote Shell Daemon as they are from applications that are launched by the user from the desktop. The authentication is

Re: Netbench and Samba 2.2.1a

2002-06-13 Thread David Collier-Brown
On Thu, 13 Jun 2002, Don DeVitt wrote: My problem was caused by the fact that NT mapped drives are not accessible in exactly the same way by an application launched by a Remote Shell Daemon as they are from applications that are launched by the user from the desktop. The authentication is

[PATCH] add pdb_set_{user,group}_sid_from_string

2002-06-13 Thread Jelmer Vernooij
Hi, This patch adds two functions to pdb_get_set.c: pdb_set_{user,group}_sid_from_string These functions are useful for pdb backends. Especially since using pdb_set_user_sid combined with string_to_sid would require allocating data for a new DOM_SID. Jelmer -- Jelmer Vernooij [EMAIL

VFS : Is there a safe way to allocate memory ?

2002-06-13 Thread troutb
#define _AA_FDLIST_SIZE 1024 connect function contains ... extern unsigned char *_pwsFiles; _pwsFiles = (unsigned char *)malloc(_AA_FDLIST_SIZE); crashes share ... con't connect

RE: working with hidden shares 2.2.4

2002-06-13 Thread ZINKEVICIUS,MATT (HP-Loveland,ex1)
Browseable = No --Matt -Original Message- From: Nieminen, Jooel [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 3:58 AM To: '[EMAIL PROTECTED]' Subject: working with hidden shares 2.2.4 the is no documentation on hidden share ability but adding $-sign to end of share it hides

Re: [PATCH] add pdb_set_{user,group}_sid_from_string

2002-06-13 Thread Andrew Bartlett
Jelmer Vernooij wrote: Hi, After some discussion with idra and metze updated patch to use more virtualization (use pdb_get_user_sid(sampass) instead of sampass-private.user_sid). NO!!! That function is const, and that is deliberate. The previous patch was better, but I really would

Re: [PATCH] lp_passdb_backend() - list, sid_copy() fix

2002-06-13 Thread Andrew Bartlett
Jelmer Vernooij wrote: Hi, Here's my latest patch for today :-). This one brings: - convert lp_passdb_backend() parameter to a list Looks ok. - fix bug in sid_copy(), which crashed whenever a NULL pointer was given as an argument. (sometimes caused errors when user doesn't have

need help deciphering log.nmbd...

2002-06-13 Thread Ryan Mak
does anyone know what the following means?? thanx. -ryan [2002/06/13 20:08:45, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(236) find_response_record: response packet id 15479 received with no matching record.[2002/06/13 20:08:45, 0]

Re: [PATCH] lp_passdb_backend() - list, sid_copy() fix

2002-06-13 Thread Andrew Bartlett
Jelmer Vernooij wrote: Hi, Here's my latest patch for today :-). This one brings: - convert lp_passdb_backend() parameter to a list - fix bug in sid_copy(), which crashed whenever a NULL pointer was given as an argument. (sometimes caused errors when user doesn't have access to

struct enum_csc_policy isn't terminated

2002-06-13 Thread Yasuma Takeda
In Samba-JP, a following problem was reported. Since the enum_csc_policy struct doesn't terminate appropriately, it may occur buffer overflow. I confirmed this problem using by SWAT. The csc policy entry includes enum_map_to_guest struct entry. This problem exists in 2.2.4 and HEAD. Please