[PATCH] string_to_sid audit

2003-02-16 Thread Martin Pool
In several cases, the return code from string_to_sid is not checked. So if the user enters a syntactically invalid SID, the program will proceed to use uninitialized data. This patch checks for a few such cases that I found. Can somebody please review it? Index: groupdb/mapping.c ===

RE: bug fix?: 2.2.7a, nmbd/nmbd_packets.c, listen_for_packets()

2003-02-16 Thread Peter Hurley
> > > > When running a WINS server using the following configuration: > > [global] > > wins support = yes > > interfaces = 192.168.1.0/24 > > bind interfaces only = true > > the WINS server erroneously discards 127.0.0.1 requests from SMBD > > children. This happens whenever libsmb

getdirentries rather than readdir in the Samba VFS layer

2003-02-16 Thread Richard Sharpe
Hi, Given the performance improvements in using getdents/getdirentries on those systems that have them, it seems to me to be better to have getdirentries in the VFS rather than readdir. For those systems that do not have getdents and getdirentries, we would simply fall back to readdir in the V

Re: Machine Account Passwords are changed on the "WRONG" server!!

2003-02-16 Thread Brian M Hoy
On Sat, 2003-02-15 at 07:06, Gerald (Jerry) Carter wrote: > On 14 Feb 2003, Brian M Hoy wrote: > > > If you believe the MS document, then the Samba "BDC" should pass the > > machine account password change request to the PDC. That would be nice! > > If you are using read-only replicas for Samba

Re: [PATCH] module stuff (BIG patch :-)

2003-02-16 Thread Jelmer Vernooij
On Wed, Dec 18, 2002 at 05:30:42PM +0100, Stefan (metze) Metzmacher wrote about '[PATCH] module stuff (BIG patch :-)': > I have tested this patch this afternoon and I have no problems... Hi Stefan, Could you please send me a patch for the winsdb stuff only? The patch should really be splitted up

Re: improved dos attribute handling

2003-02-16 Thread Ola Lundqvist
Hi On Sat, Feb 15, 2003 at 09:19:46PM -0500, John E. Malmberg wrote: > Ola Lundqvist wrote: > >Sorry. I'm not subscribed to this list so I could not > >preserve the reply-to header. Please Cc: me if you > >want me to know the mail. :) > > Bcc: by request. Thanks. I have now subscribed but I thin

Re: bug fix?: 2.2.7a, nmbd/nmbd_packets.c, listen_for_packets()

2003-02-16 Thread Andrew Bartlett
On Mon, 2003-02-17 at 03:11, Peter Hurley wrote: > This is a follow-up to "WINS server incorrectly ignores 127.0.0.1 > requests". > > When running a WINS server using the following configuration: > [global] > wins support = yes > interfaces = 192.168.1.0/24 > bind interface

how to call smbpasswd from setuid program?

2003-02-16 Thread Martin Rasp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. I'm developing a samba frontend which is called "Take a Joint" (Project page: http://www.linux-fuer-alle.de/mr/taj/). To allow users to share directories which should be protected by a password I need to call smbpasswd from my installed setuid

bug fix?: 2.2.7a, nmbd/nmbd_packets.c, listen_for_packets()

2003-02-16 Thread Peter Hurley
This is a follow-up to "WINS server incorrectly ignores 127.0.0.1 requests". When running a WINS server using the following configuration: [global] wins support = yes interfaces = 192.168.1.0/24 bind interfaces only = true the WINS server erroneously discards 127.0.

Re: [PATCH] ADS changes for joining accounts w/o full Administratorrights

2003-02-16 Thread Andrew Bartlett
On Wed, 2003-02-12 at 22:16, Antti Andreimann wrote: > Ühel kenal päeval (kolmapäev, 12. veebruar 2003 00:16) kirjutas Andrew > Bartlett: > > I think we need to do a few things here: > > - We should record the principal name we joined with, and only ever > > send that to our clients. > > That's

Re: improved dos attribute handling

2003-02-16 Thread Simo Sorce
On Sun, 2003-02-16 at 03:19, John E. Malmberg wrote: > Does UNIX require you to have write access to a directory to modify a > file that you have write access to? No you do not need, in this case Unix and Open VMS behave exactly the same way. Simo. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l