CVS update: samba/source/rpc_parse

2003-01-13 Thread sharpe
Date: Mon Jan 13 20:30:29 2003 Author: sharpe Update of /data/cvs/samba/source/rpc_parse In directory dp.samba.org:/tmp/cvs-serv9751/rpc_parse Modified Files: parse_reg.c Log Message: Make sure that those cleanups actually went in. Revisions: parse_reg.c 1.64 = 1.65

CVS update: samba/source/rpc_client

2003-01-13 Thread sharpe
Date: Mon Jan 13 20:30:28 2003 Author: sharpe Update of /data/cvs/samba/source/rpc_client In directory dp.samba.org:/tmp/cvs-serv9751/rpc_client Modified Files: cli_reg.c Log Message: Make sure that those cleanups actually went in. Revisions: cli_reg.c 1.48 = 1.49

CVS update: samba/source/utils

2003-01-08 Thread sharpe
Date: Wed Jan 8 17:59:52 2003 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv13924/utils Modified Files: editreg.c Log Message: Some fixes to editreg. Clientgen should not be touched, and an update to configure that Herb needs

Re: CVS update: samba/source/utils

2003-01-07 Thread Richard Sharpe
if it is correct. Are we really testing a pointer value to be equal to 0x19 ??? Oops. That was my debugging to find a memory corruption bug. Thanks. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: fixing redundant network opens on Linux file creation

2003-01-06 Thread Richard Sharpe
Austin phone: 512-838-2294 email: [EMAIL PROTECTED] -- Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: fixing redundant network opens on Linux file creation

2003-01-06 Thread Richard Sharpe
On Mon, 6 Jan 2003, Steven French wrote: On Mon, Jan 06, 2003 at 10:14:10AM -0800, Richard Sharpe wrote: Isn't creat() a legacy call? I have never used it, and use open(..., O_CREAT,...) instead. Isn't this just a cost of using legacy calls? Why complicate things overly for a call

Re: fixing redundant network opens on Linux file creation

2003-01-06 Thread Richard Sharpe
On Mon, 6 Jan 2003, Steven French wrote: On Mon, Jan 06, 2003 at 10:14:10AM -0800, Richard Sharpe wrote: Isn't creat() a legacy call? I have never used it, and use open(..., O_CREAT,...) instead. Isn't this just a cost of using legacy calls? Why complicate things overly for a call

CVS update: samba/source

2003-01-05 Thread sharpe
Date: Mon Jan 6 05:34:18 2003 Author: sharpe Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv2952 Modified Files: Tag: SAMBA_3_0 Makefile.in Log Message: Add profiles utility support to Samba 3.0.x Revisions: Makefile.in 1.468.2.30

Feedback on samba profiles util (fwd)

2003-01-01 Thread Richard Sharpe
profiles because i had to move the servers from one domain to another. Regards - Richard Sharpe, www.richardsharpe.com, rsharpe[at}richardsharpe{dot]com

At least some people appreciate the effort we put in

2003-01-01 Thread Richard Sharpe
, you could counter that I chose to work on the software, and should therefore be content with the opportunity to contribute, but in my view that is crap :-) Of course, we could also do with more people who contribute, as well. Regards -- Richard Sharpe, www.richardsharpe.com, rsharpe

Re: files larger than 4GB. Lack of feedback not helpful ...

2002-12-30 Thread Richard Sharpe
- Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: files larger than 4GB. Lack of feedback not helpful ...

2002-12-30 Thread Richard Sharpe
On Mon, 30 Dec 2002, Dan Kegel wrote: Richard Sharpe wrote: Sigh, It seems amazing, but seems to happen so often. People find it easy enough to complain about bugs on a weekend. Others seem to find the time on a weekend to duplicate, and fix the bug complained

[Samba] Re: smbclient and large file support

2002-12-29 Thread Richard Sharpe
at the ability of cli_write to handle large offsets. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman

[Samba] Re: smbclient and large file support

2002-12-29 Thread Richard Sharpe
confirmed that this occurs with smbclient talking to Samba 3.0alpha. Now testing a get as well. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com -- To unsubscribe from this list go to the following URL and read

[Samba] Re: smbclient and large file support

2002-12-29 Thread Richard Sharpe
after 4GB. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

[Samba] Re: smbclient and large file support

2002-12-29 Thread Richard Sharpe
is written to the segment just before or beyond 4GB :-) The fix will take a small while to code. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com -- To unsubscribe from this list go to the following URL and read

Re: smbclient and large file support

2002-12-29 Thread Richard Sharpe
at the ability of cli_write to handle large offsets. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: smbclient and large file support

2002-12-29 Thread Richard Sharpe
confirmed that this occurs with smbclient talking to Samba 3.0alpha. Now testing a get as well. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

smbclient and putting files larger than 4GB

2002-12-29 Thread Richard Sharpe
with files larger than 4GB 2. The data send to a Samba server matches the original data, byte for byte. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: smbclient and putting files larger than 4GB

2002-12-29 Thread Richard Sharpe
On Mon, 30 Dec 2002 [EMAIL PROTECTED] wrote: 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

Re: smbclient and putting files larger than 4GB

2002-12-29 Thread Richard Sharpe
On Mon, 30 Dec 2002 [EMAIL PROTECTED] wrote: 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 ! I noticed, and I

Re: smbclient and large file support

2002-12-29 Thread Richard Sharpe
after 4GB. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: smbclient and large file support

2002-12-29 Thread Richard Sharpe
is written to the segment just before or beyond 4GB :-) The fix will take a small while to code. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: smbclient and large file support

2002-12-29 Thread Richard Sharpe
, smb_buf(cli-outbuf) - smb_base(cli-outbuf)); + + if (bigoffset) + SIVAL(cli-outbuf,smb_vwv12,(offset32) 0x); p = smb_base(cli-outbuf) + SVAL(cli-outbuf,smb_vwv11); memcpy(p, buf, size); Regards - Richard Sharpe, rsharpe

CVS update: samba/source/libsmb

2002-12-29 Thread sharpe
Date: Mon Dec 30 04:13:31 2002 Author: sharpe Update of /data/cvs/samba/source/libsmb In directory dp.samba.org:/tmp/cvs-serv25057/libsmb Modified Files: Tag: SAMBA_2_2 clireadwrite.c Log Message: Fix a bug in cli_issue_write where large offsets (32-bits) were not handled

CVS update: samba/source/libsmb

2002-12-29 Thread sharpe
Date: Mon Dec 30 04:25:30 2002 Author: sharpe Update of /data/cvs/samba/source/libsmb In directory dp.samba.org:/tmp/cvs-serv25834/libsmb Modified Files: clireadwrite.c Log Message: Port the fix to cli_setup_write to handle offsets greater than 32-bits from Samba 2.2.x

CVS update: samba/source

2002-12-27 Thread sharpe
Date: Fri Dec 27 22:55:11 2002 Author: sharpe Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv10450 Modified Files: configure configure.in Log Message: For some reason, the configure tests for sendfile support in FreeBSD were broken. This works for 4.3

Re: Writing SMB parser

2002-12-25 Thread Richard Sharpe
. Of course, separating it out might be a challenge for someone who cant seem to find the code in the first place :-) Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: [PATCH] and question - net rpc shutdown

2002-12-23 Thread Richard Sharpe
. In my research I've found out that powering off needs a Remote API call (if my interpretations of the data on the wire are correct). Is there any function in Samba which can send a remote API call? Do you mean a RAP call? The net function does them. Regards - Richard Sharpe, rsharpe

Re: editreg command files

2002-12-17 Thread Richard Sharpe
to extend the file type to allow for additional things REGEDIT4 does not seem to support! - John T. On Mon, 16 Dec 2002, Richard Sharpe wrote: Hi, Having thought about this issue a little more, I propose using a format similar to REGEDIT4. Indeed, for compatibility, I propose

CVS update: samba/source/utils

2002-12-15 Thread sharpe
Date: Sun Dec 15 08:35:19 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv1867 Modified Files: editreg.c Log Message: All the code for reading in the registy is done, but I have a malloc'd area overrun somewhere :-( Revisions

CVS update: samba/source/utils

2002-12-15 Thread sharpe
Date: Mon Dec 16 03:23:25 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv1191 Modified Files: editreg.c Log Message: We now read in the whole of the registry, including security bits. Still have to make sure that the datastructure

CVS update: samba/source/utils

2002-12-14 Thread sharpe
Date: Sun Dec 15 06:39:17 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv29875 Modified Files: editreg.c Log Message: Almost finished processing the registry encoded SEC DESC ... Soon to move onto writing these things out

CVS update: samba/source/utils

2002-12-13 Thread sharpe
Date: Fri Dec 13 08:46:26 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv17899/utils Modified Files: editreg.c Log Message: Begin to handle Security descriptors for keys. Revisions: editreg.c 1.17 = 1.18

CVS update: samba/source/utils

2002-12-13 Thread sharpe
Date: Sat Dec 14 07:36:34 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv30773 Modified Files: editreg.c Log Message: More code to read in and create security descriptor entries ... Revisions: editreg.c 1.18 = 1.19

CVS update: samba/source/utils

2002-12-10 Thread sharpe
Date: Tue Dec 10 08:17:40 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv16142 Modified Files: editreg.c Log Message: Complete more of the code. An iterator is close to complete. Compiles, but not tested as yet. Revisions

CVS update: samba/source/utils

2002-12-10 Thread sharpe
Date: Wed Dec 11 07:51:07 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv3831 Modified Files: editreg.c Log Message: Improve the iterator wrt values ... Now prints keys and value names. Does not print value values, yet

CVS update: samba/source/utils

2002-12-10 Thread sharpe
Date: Wed Dec 11 07:55:44 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv4191 Modified Files: editreg.c Log Message: Fix a small bug. Revisions: editreg.c 1.16 = 1.17 http://www.samba.org/cgi-bin/cvsweb

A registry editor taking shape ...

2002-12-09 Thread Richard Sharpe
What would be useful is some thoughts on how the interface should be constructed, as in command-line, or a .reg file of commands, etc. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: A registry editor taking shape ...

2002-12-09 Thread Richard Sharpe
On Mon, 9 Dec 2002, Simo Sorce wrote: On Mon, 2002-12-09 at 10:56, Richard Sharpe wrote: Hi, A registry editor, editreg, is slowly taking shape in Samba-head. The goal is to be able to do things like: - delete keys and values - add keys and values - change keys

Re: A registry editor taking shape ...

2002-12-09 Thread Richard Sharpe
Original Message Subject: A registry editor taking shape ... Date: Mon, 9 Dec 2002 01:56:50 -0800 (PST) From: Richard Sharpe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi, A registry editor, editreg, is slowly taking shape in Samba-head. The goal

CVS update: samba/source/utils

2002-12-09 Thread sharpe
Date: Mon Dec 9 09:26:17 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv24356 Modified Files: editreg.c Log Message: Handle the creation of more parts of the tree ... Still have to do SK records and the data parts of the VK records

CVS update: samba/source/utils

2002-12-09 Thread sharpe
Date: Tue Dec 10 06:20:53 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv6388 Modified Files: editreg.c Log Message: Clean up the code some more. Create more elements of the tree. Security Descriptors/Keys not yet processed. Make

Did someone send a patch for libsmbclient?

2002-12-08 Thread Richard Sharpe
Hi, I seem to recall seeing a patch, but seem to have deleted it? Can anyone forward it to me? Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Funny keys in NTUSER.DAT

2002-12-08 Thread Richard Sharpe
DACL: ACEs: 1 Type: Allow, Flags: 02, Perms: 000F003F, SID: S-1-5-18 Value: Migrate : REG_DWORD : 0x2 What would this key be used for? Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

CVS update: samba/source/utils

2002-12-08 Thread sharpe
Date: Sun Dec 8 17:04:23 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv10278 Modified Files: editreg.c Log Message: Define some macros for accessing shorts and ints in an endian independent manner. Start processing the header

CVS update: samba/source

2002-12-08 Thread sharpe
Date: Sun Dec 8 18:48:48 2002 Author: sharpe Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv16909 Modified Files: Makefile.in Log Message: A small fix to Makefile.in from Bradley Longhurst. Less Fir needed. Revisions: Makefile.in 1.587

CVS update: samba/source/utils

2002-12-08 Thread sharpe
Date: Sun Dec 8 19:30:16 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv22935 Modified Files: editreg.c Log Message: Fix the breakage, and start processing the first key record: ./editreg ~rsharpe/profile/NTUSER.DAT NK HDR: Name

CVS update: samba/source/utils

2002-12-08 Thread sharpe
Date: Mon Dec 9 07:55:13 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv17981 Modified Files: editreg.c Log Message: Begin to decode Value Keys, names and values ... Revisions: editreg.c 1.8 = 1.9 http

CVS update: samba/source/utils

2002-12-07 Thread sharpe
Date: Sun Dec 8 07:53:35 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv3033 Added Files: editreg.c Log Message: The beginnings of a registry editing program. Revisions: editreg.c NONE = 1.1 http

The profiles command

2002-12-06 Thread Richard Sharpe
- Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: [homes] share

2002-12-05 Thread Richard Sharpe
- Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: Win2K sp3 and Samba 3.0: status?

2002-12-05 Thread Richard Sharpe
? These will be useful. Network traces, that is. However, you will want to turn off the two signseal registry entries, and reboot the client before joining. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: Handling of 8,3 names on a NetApp

2002-12-03 Thread Richard Sharpe
. On Tue, 2002-12-03 at 07:19, Richard Sharpe wrote: Hi, It seems that netapp generates something approaching line noise for 8,3 names after a certain number of names that differ after char 8 have been created: smb: \usr10\home\rsharpe\ntap\ altname thisisalong.fil THISIS~1.FIL smb

Handling of 8,3 names on a NetApp

2002-12-02 Thread Richard Sharpe
\ntap\ altname thisisalonf.fil ~DVWO000.FIL smb: \usr10\home\rsharpe\ntap\ altname thisisalonh.fil ~EVWO000.FIL Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: Encrypted Passwords Restricting Logon Attempts

2002-11-27 Thread Richard Sharpe
([EMAIL PROTECTED]) -- Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

1D names Group or Unique names ...

2002-11-26 Thread Richard Sharpe
TIGERTEAM 1d - M ACTIVE ..__MSBROWSE__. 01 - GROUP M ACTIVE ADMINISTRATOR 03 - M ACTIVE Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: Shared roaming profiles for all users (XP)?

2002-11-23 Thread Richard Sharpe
root to ldap, then change the RID). The SID is stred inside the NTUser.DAT file. Access control (the ACE) is stored inside the file. That is what Rishard Sharpe was working on decoding recently. When his work is done we will be able to set our own ACE's inside the NTUser.DAT file

Re: (fwd from jerry@theashergroup.com) Suggestion: describe (or linkto) how to verify your distributions

2002-11-22 Thread Richard Sharpe
Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: netibios name len

2002-11-21 Thread Richard Sharpe
was reserved as a type byte then. Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com

Re: netibios name len

2002-11-21 Thread Richard Sharpe
On Thu, 21 Nov 2002, Christopher R. Hertel wrote: On Fri, Nov 22, 2002 at 04:08:07AM +1030, Richard Sharpe wrote: On Thu, 21 Nov 2002, Christopher R. Hertel wrote: On Thu, Nov 21, 2002 at 03:17:05PM +0100, Paolo Abeni wrote: hi there, I had some troubles while configuring

CVS update: samba/examples/libsmbclient

2002-11-15 Thread sharpe
Date: Fri Nov 15 22:51:03 2002 Author: sharpe Update of /data/cvs/samba/examples/libsmbclient In directory dp.samba.org:/tmp/cvs-serv24226 Modified Files: Makefile testsmbc.c tree.c Log Message: Fix some problems with tree.c reported by users. Revisions: Makefile

CVS update: samba/examples/libsmbclient

2002-11-15 Thread sharpe
Date: Fri Nov 15 22:55:15 2002 Author: sharpe Update of /data/cvs/samba/examples/libsmbclient In directory dp.samba.org:/tmp/cvs-serv24517 Modified Files: tree.c Log Message: One more small fix in tree.c Revisions: tree.c 1.3 = 1.4 http://www.samba.org/cgi-bin

Re: libsmbclient problems

2002-11-10 Thread Richard Sharpe
libsmbc.cap [1] Use the appropriate device, like eth0, xl0, depending on your OS and interface. Then send the trace to me as an attachment. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

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

2002-11-06 Thread Richard Sharpe
On Wed, 6 Nov 2002, Richard Sharpe wrote: On Wed, 6 Nov 2002 [EMAIL PROTECTED] wrote: Oh. Do you have the unix character set set to iso8859-1 ? I don't think that character set has a 1/2 character. Try setting it to utf8 and see if this fixes it. Hmmm, Under FreeBSD, that character

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

2002-11-06 Thread Richard Sharpe
On Wed, 6 Nov 2002, Andrew Bartlett wrote: On Wed, 2002-11-06 at 19:22, Richard Sharpe wrote: On Wed, 6 Nov 2002, Richard Sharpe wrote: On Wed, 6 Nov 2002 [EMAIL PROTECTED] wrote: Oh. Do you have the unix character set set to iso8859-1 ? I don't think that character set has a 1/2

RE: upgrade to 3.0alpha20: accented chars in filenames unreadable

2002-11-06 Thread Richard Sharpe
that Samba-head (and thus Samba-3.0) now uses UTF-8 for pass-through file names. This will differ from what was originally used, esp if nothing was set before. Steve Langasek has just posted some scripts that can do some level of conversion. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL

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

2002-11-06 Thread Richard Sharpe
anything. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

Re: net rpc vampire migration

2002-11-05 Thread Richard Sharpe
of computer accounts ? That is what it is for. You might also be interested in the profiles tool I put up recently which seems to allow you to fix NTUSER.DAT so that it has the correct SIDs. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http

Re: net rpc vampire migration

2002-11-05 Thread Richard Sharpe
it as well. Simo. On Tue, 2002-11-05 at 18:56, Richard Sharpe wrote: On Tue, 5 Nov 2002, Guillaume LACHENAL wrote: I've just downloaded HEAD from cvs and code is currently under compilation on my personal testing box (no hardware at work, it s a pity ...) Just one question while

Re: net rpc vampire migration

2002-11-05 Thread Richard Sharpe
. That's the hole point of vampire in 3.0 Hmmm, so what backend do you need to be using to preserve the RIDs? Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

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

2002-11-05 Thread Richard Sharpe
the 0x33 0x00 inserted for the 3. Now investigating why server_push is screwing the string up. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

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

2002-11-05 Thread Richard Sharpe
On Wed, 6 Nov 2002 [EMAIL PROTECTED] wrote: 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

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

2002-11-05 Thread Richard Sharpe
On Wed, 6 Nov 2002 [EMAIL PROTECTED] wrote: 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

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

2002-11-05 Thread Richard Sharpe
On Wed, 6 Nov 2002, Richard Sharpe wrote: On Wed, 6 Nov 2002 [EMAIL PROTECTED] wrote: I probably do. What is the default? I have not explicitely set it either under FreeBSD, Slowaris, nor Linux. OK, the char in question is showing up as 0xAB, and is being converted to 0x00 0x00

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

2002-11-05 Thread Richard Sharpe
it is encoded as 0xAB ... So, I think it might be a failure to do with the creation of the file in the first place ... Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

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

2002-11-05 Thread Richard Sharpe
On Wed, 6 Nov 2002, Richard Sharpe wrote: On Wed, 6 Nov 2002 [EMAIL PROTECTED] wrote: Oh. Do you have the unix character set set to iso8859-1 ? I don't think that character set has a 1/2 character. Try setting it to utf8 and see if this fixes it. Hmmm, Under FreeBSD, that character

CVS update: samba/source/utils

2002-11-05 Thread sharpe
Date: Tue Nov 5 20:40:55 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv9607/utils Modified Files: profiles.c Log Message: A small fix by Andy Thomas. Now that incrementing the Auth index has been pushed into a macro, things do

Re: Fallout from the MS Anti-Trust decision.

2002-11-04 Thread Richard Sharpe
all over the world, and they have grown big and bloated and unable to move swiftly. I say, lets just continue to make it easier for people to get off NT and onto Samba on UNIX :-) Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

CVS update: samba/source/utils

2002-11-04 Thread sharpe
Date: Tue Nov 5 01:29:29 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv7867/utils Modified Files: profiles.c Log Message: Start handling Big Endian machines as well as little endian. Revisions: profiles.c 1.6 = 1.7

Re: libsmbclient status

2002-11-03 Thread Richard Sharpe
do to help solving these problems? [I thought of writing a complete benchmark test program for the lib could be usefull to easily detect regressions...it could the first thing i can do.] -- Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http

Re: libsmbclient status

2002-11-03 Thread Richard Sharpe
the current status of libsmbclient development ? Is there anything i can do to help solving these problems? [I thought of writing a complete benchmark test program for the lib could be usefull to easily detect regressions...it could the first thing i can do.] -- Regards - Richard Sharpe

Re: First draft libsmbclient test program

2002-11-03 Thread Richard Sharpe
smbc_closedir Ok workgroups listing Ok machines in workgroup listing Ok shares on a machine listing Ok Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED

Re: libsmbclient status

2002-11-03 Thread Richard Sharpe
On Sun, 3 Nov 2002, Christopher R. Hertel wrote: Richard Sharpe wrote: : Hmmm, but that name is \000\001MSBROWSE\001\000, I think, and you have to send name requests to a workgroup, don't you? Hmmm, a minute's checking with Ethereal shows that this is not true. I figured you'd

CVS update: samba/source

2002-11-03 Thread sharpe
Date: Mon Nov 4 02:01:48 2002 Author: sharpe Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv2607 Modified Files: Makefile.in Log Message: The fixes from Tom plus a minor update from me. Revisions: Makefile.in 1.555 = 1.556 http

CVS update: samba/source/libsmb

2002-11-03 Thread sharpe
Date: Mon Nov 4 02:01:49 2002 Author: sharpe Update of /data/cvs/samba/source/libsmb In directory dp.samba.org:/tmp/cvs-serv2607/libsmb Modified Files: libsmb_compat.c libsmbclient.c Log Message: The fixes from Tom plus a minor update from me. Revisions: libsmb_compat.c

Re: libsmbclient status

2002-11-02 Thread Richard Sharpe
? Is there anything i can do to help solving these problems? I am holding some patches for head that I need to apply. Do you have a simple test program? I am interested in tracking down the regressions between 2.2.2 and 2.2.6, but any fixes will be applied to head now. Regards - Richard Sharpe, [EMAIL

Re: libsmbclient status

2002-11-02 Thread Richard Sharpe
be useful for you? I have a test program, but another would be useful as well. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

Re: So, what can a program that can modify the SIDs in NTUSER.DATdo?

2002-11-01 Thread Richard Sharpe
sid. Also, bear in mind that I have not tested that this works yet. I will do that tonight. However, it would be interesting to see if it does before then. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

Find First2 returns incorrect data ...

2002-11-01 Thread Richard Sharpe
, the response in the Unicode, long name part, is just 3! This causes profiles to fail to load. This error was reported back Alan Evetts back in June 2001. You can remove the file, and things will work, however, it would be better if FindFirst2 worked! Regards - Richard Sharpe, [EMAIL PROTECTED

Re: So, what can a program that can modify the SIDs in NTUSER.DATdo?

2002-11-01 Thread Richard Sharpe
have the wrong permissions on it, because it was owned by a different SID. 3. If you have a file in profiles/SendTo/31/2 Floppy ... (where the 1/2 shows up in Windows as the 1/2 symbol), it will caues problems, and Samba has a bug, so remove it. Regards - Richard Sharpe, [EMAIL PROTECTED

CVS update: samba/source/utils

2002-11-01 Thread sharpe
Date: Fri Nov 1 08:53:28 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv3337 Modified Files: profiles.c Log Message: Add the changes to change the SIDs ... You must make two passes over NTUSER.DAT, one for the OWNER SID and one

This code can find all the SK records in an NTUSER.DAT

2002-10-31 Thread Richard Sharpe
../smbwrapper -I.. -o profiles profiles.c from the samba/source/utils dir. Run by: ./profiles /path/to/NTUSER.DAT Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com #include includes.h #include stdio.h #include errno.h #include

Re: So, what can a program that can modify the SIDs in NTUSER.DATdo?

2002-10-31 Thread Richard Sharpe
problem however, may be SIDs burried in other entries in the NTUSER.DAT. This can be solved, however, by walking all the entries in the registry and changing all the SIDS. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

Re: So, what can a program that can modify the SIDs in NTUSER.DATdo?

2002-10-31 Thread Richard Sharpe
- Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

CVS update: samba/source

2002-10-31 Thread sharpe
Date: Fri Nov 1 05:06:19 2002 Author: sharpe Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv19791 Modified Files: Makefile.in Log Message: Add more code to the profiles program and add Makefile.in support. Revisions: Makefile.in 1.553 = 1.554

CVS update: samba/source/utils

2002-10-31 Thread sharpe
Date: Fri Nov 1 07:43:54 2002 Author: sharpe Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv30209/utils Modified Files: profiles.c Log Message: Add more. Parse SIDs on the command line ... soon will actually mod the SecDescs in the NTUSER.DAT

This is what the SECDESC in NTUSER.DAT looks like

2002-10-30 Thread Richard Sharpe
are container inherit ACEs ... To FIX the SIDs for Profiles, we only need to change two SIDs, I reckon. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

The code for inspecting the SECDESC in NTUSER.DAT

2002-10-30 Thread Richard Sharpe
profiles.c Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com #include includes.h #include stdio.h #include errno.h print_sid(DOM_SID *sid) { int i, comps = sid-num_auths; fprintf(stdout, S-%u-%u, sid-sid_rev_num, sid-id_auth

Format of NTUSER.DAT ...

2002-10-29 Thread Richard Sharpe
bytes Permissions4 bytes SID in binary format - remaining bytes So, I figure I can write a small utility to print this out. Regards - Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], http://www.richardsharpe.com

<    1   2   3   4   5   6   >