samba.git
22 years agoThis commit was manufactured by cvs2svn to create tag samba-2.2.4
cvs2svn Import User [Fri, 3 May 2002 01:22:32 +0000 (01:22 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-2-2-4'.

22 years agolast one I think
Gerald Carter [Fri, 3 May 2002 01:22:31 +0000 (01:22 +0000)]
last one I think

22 years agolast minute doc update. Doh!
Gerald Carter [Fri, 3 May 2002 01:19:03 +0000 (01:19 +0000)]
last minute doc update.  Doh!

22 years agopreparing for release of 2.2.4
Samba Release Account [Fri, 3 May 2002 01:10:56 +0000 (01:10 +0000)]
preparing for release of 2.2.4

22 years agoran through spell checker
Gerald Carter [Thu, 2 May 2002 23:33:24 +0000 (23:33 +0000)]
ran through spell checker

22 years agomaking release version 2.2.4
Gerald Carter [Thu, 2 May 2002 23:14:55 +0000 (23:14 +0000)]
making release version 2.2.4

22 years agomerge
Gerald Carter [Thu, 2 May 2002 23:12:03 +0000 (23:12 +0000)]
merge

22 years agomerge
Gerald Carter [Thu, 2 May 2002 20:20:29 +0000 (20:20 +0000)]
merge

22 years agomerge
Gerald Carter [Thu, 2 May 2002 19:51:34 +0000 (19:51 +0000)]
merge

22 years agofirst draft at WHATSNEW.txt
Gerald Carter [Thu, 2 May 2002 19:50:18 +0000 (19:50 +0000)]
first draft at WHATSNEW.txt

22 years agomerge
Gerald Carter [Thu, 2 May 2002 18:56:05 +0000 (18:56 +0000)]
merge

22 years agosync with SAMBA_2_2
Gerald Carter [Thu, 2 May 2002 18:04:21 +0000 (18:04 +0000)]
sync with SAMBA_2_2

22 years ago merge from 2.2
Gerald Carter [Thu, 2 May 2002 16:53:13 +0000 (16:53 +0000)]
 merge from 2.2

22 years agosync with 2.2
Gerald Carter [Thu, 2 May 2002 15:37:21 +0000 (15:37 +0000)]
sync with 2.2

22 years agoprep for adding 2.2.4 changes - also fixed a couple spelling errors
Herb Lewis [Thu, 2 May 2002 14:55:58 +0000 (14:55 +0000)]
prep for adding 2.2.4 changes - also fixed a couple spelling errors

22 years agomerge from 2.2
Gerald Carter [Thu, 2 May 2002 14:15:36 +0000 (14:15 +0000)]
merge from 2.2

22 years agonew file from 2_2
Herb Lewis [Thu, 2 May 2002 14:12:11 +0000 (14:12 +0000)]
new file from 2_2

22 years agonew file in 2_2 branch
Herb Lewis [Thu, 2 May 2002 14:06:47 +0000 (14:06 +0000)]
new file in 2_2 branch

22 years agonew files from 2_2 branch
Herb Lewis [Thu, 2 May 2002 14:03:32 +0000 (14:03 +0000)]
new files from 2_2 branch

22 years agofiles were removed from 2_2 tree
Herb Lewis [Thu, 2 May 2002 13:51:55 +0000 (13:51 +0000)]
files were removed from 2_2 tree

22 years agomerge from SAMBA_2_2
Gerald Carter [Wed, 1 May 2002 19:47:33 +0000 (19:47 +0000)]
merge from SAMBA_2_2

22 years agosyncing up with SAMBA_2_2 tree
Gerald Carter [Wed, 1 May 2002 19:38:54 +0000 (19:38 +0000)]
syncing up with SAMBA_2_2 tree

22 years agosyncing up schema files.
Gerald Carter [Wed, 1 May 2002 19:20:52 +0000 (19:20 +0000)]
syncing up schema files.

22 years agoAdding popt files.
Jeremy Allison [Tue, 30 Apr 2002 15:02:33 +0000 (15:02 +0000)]
Adding popt files.
Jeremy

22 years agoAdded some of the newer files...
Jeremy Allison [Tue, 30 Apr 2002 13:43:31 +0000 (13:43 +0000)]
Added some of the newer files...
Jeremy.

22 years agoStart of merge to 2_2_RELEASE branch for release.
Jeremy Allison [Tue, 30 Apr 2002 13:28:41 +0000 (13:28 +0000)]
Start of merge to 2_2_RELEASE branch for release.
Jeremy.

22 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn Import User [Wed, 24 Apr 2002 05:36:42 +0000 (05:36 +0000)]
This commit was manufactured by cvs2svn to create branch
'SAMBA_2_2_RELEASE'.

22 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.
cvs2svn Import User [Wed, 24 Apr 2002 05:36:41 +0000 (05:36 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.

22 years agoAdded constant and message for invalid security descriptor dos error.
Tim Potter [Wed, 24 Apr 2002 05:36:40 +0000 (05:36 +0000)]
Added constant and message for invalid security descriptor dos error.

22 years agoa new "dual daemon" operating mode for winbindd
Andrew Tridgell [Wed, 24 Apr 2002 04:11:27 +0000 (04:11 +0000)]
a new "dual daemon" operating mode for winbindd

this mode improves the response time of winbindd by having a
background process update the cache while the forground process
responds to queries from cache.

You can enable this mode using the -B command line option. It is quite
experimental, which is why it is not the default.

22 years agoprototypes for some systems that don't have them
Andrew Tridgell [Wed, 24 Apr 2002 04:09:37 +0000 (04:09 +0000)]
prototypes for some systems that don't have them

22 years agoSpelling fix.
Tim Potter [Wed, 24 Apr 2002 00:51:39 +0000 (00:51 +0000)]
Spelling fix.

22 years agoWhen doing a non-io open the stat failing is no cause for a debug zero
Jeremy Allison [Tue, 23 Apr 2002 18:50:10 +0000 (18:50 +0000)]
When doing a non-io open the stat failing is no cause for a debug zero
to be printed, it just means file not found.
Jeremy.

22 years agoWhen doing a non-io open the stat failing is no cause for a debug zero
Jeremy Allison [Tue, 23 Apr 2002 18:48:35 +0000 (18:48 +0000)]
When doing a non-io open the stat failing is no cause for a debug zero
to be printed, it just means file not found.
Jeremy.

22 years agoFix my stupid compile bug in num_files_open.
Jeremy Allison [Tue, 23 Apr 2002 18:34:52 +0000 (18:34 +0000)]
Fix my stupid compile bug in num_files_open.
Jeremy.

22 years agoSpelling fixes from vance
Andrew Bartlett [Tue, 23 Apr 2002 04:43:44 +0000 (04:43 +0000)]
Spelling fixes from vance

22 years agoFix for a bug Jerry found with printing where a smbd connection may
Jeremy Allison [Tue, 23 Apr 2002 02:16:59 +0000 (02:16 +0000)]
Fix for a bug Jerry found with printing where a smbd connection may
be idled even with an open pipe.
Jeremy.

22 years agoFix for a bug Jerry found with printing where a smbd connection may
Jeremy Allison [Tue, 23 Apr 2002 02:16:48 +0000 (02:16 +0000)]
Fix for a bug Jerry found with printing where a smbd connection may
be idled even with an open pipe.
Jeremy.

22 years agoReally fix the Dfs Explorer problem. The previous checkin had the fix commented
Shirish Kalele [Tue, 23 Apr 2002 00:54:46 +0000 (00:54 +0000)]
Really fix the Dfs Explorer problem. The previous checkin had the fix commented
out!

22 years agoEnsure auth requests from the same machine are completely serialized.
Jeremy Allison [Mon, 22 Apr 2002 22:44:44 +0000 (22:44 +0000)]
Ensure auth requests from the same machine are completely serialized.
NT4.x DC's require this.
Jeremy.

22 years agoWith an NT4.x DC we must have a mutex over the entire login process.
Jeremy Allison [Mon, 22 Apr 2002 21:27:57 +0000 (21:27 +0000)]
With an NT4.x DC we must have a mutex over the entire login process.
Jeremy.

22 years agobackout minor type in srv_spoolss_nt.c and merge a few changes from HEAD
Gerald Carter [Mon, 22 Apr 2002 19:01:06 +0000 (19:01 +0000)]
backout minor type in srv_spoolss_nt.c and merge a few changes from HEAD
to keep things in sync.

22 years agomerge from SAMBA_2_2
Gerald Carter [Mon, 22 Apr 2002 18:47:36 +0000 (18:47 +0000)]
merge from SAMBA_2_2

22 years agoreenabled the CHECK_PATH_ON_TCONX code path since removing the chdir()
Gerald Carter [Mon, 22 Apr 2002 18:06:24 +0000 (18:06 +0000)]
reenabled the CHECK_PATH_ON_TCONX code path since removing the chdir()
breaks move_driver_to_download_area() currently.  This is only a temporary
measure, until I code up a proper solution which incorporates Tridge's
observations.

22 years agoFixing an intermittent issue seen with DFS and Explorer: Sometimes DFS trees
Shirish Kalele [Mon, 22 Apr 2002 17:13:59 +0000 (17:13 +0000)]
Fixing an intermittent issue seen with DFS and Explorer: Sometimes DFS trees
appear with duplicate intermediate folders without this fix. Apparently
clients don't use the PathConsumed count to figure out how much of the
requested path is covered on the DFS server. We get around this by terminating
the requested path at PathConsumed.

22 years agoenable SPOOLSS_GETPRINTPROCESSORDIRECTORY
Gerald Carter [Mon, 22 Apr 2002 16:57:53 +0000 (16:57 +0000)]
enable SPOOLSS_GETPRINTPROCESSORDIRECTORY

22 years agoApparently we have to return "C:\WINNT\System32\spool\PRTPROCS\W32X86"
Gerald Carter [Mon, 22 Apr 2002 16:57:28 +0000 (16:57 +0000)]
Apparently we have to return "C:\WINNT\System32\spool\PRTPROCS\W32X86"
for the PrintProcessorDirectory.  Really bogus I know, but
if we return a UNC path, the driver install can fail.

22 years ago* removed unnecessary prs_align() from relative unicode strings.
Gerald Carter [Mon, 22 Apr 2002 16:33:15 +0000 (16:33 +0000)]
* removed unnecessary prs_align() from relative unicode strings.
* removed spoolss_smb_io_unistr() since it is no longer needed
* few formatting fixes

22 years agoYes, I think this should be fixed in 2.2.4 as well. Minor bug, minor fix.
Christopher R. Hertel [Mon, 22 Apr 2002 03:11:01 +0000 (03:11 +0000)]
Yes, I think this should be fixed in 2.2.4 as well.  Minor bug, minor fix.

Small change to correct the value we place in the DGM_LENGTH field of
NBT Datagram messages.  We have been counting the full datagram, but it's
fairly clear in the RFCs that we should only count the source name,
destination name, and payload.  We've been overcharging by 14 bytes
(the size of the NBT DGM header).

This fix brings us in line with what Windows does, and what the RFCs
say should be done.  I'm a little surprised that this didn't cause any
bugs or error messages.  I guess no one actually checks this field.

22 years agoMy seven-year-old daughter calls me 'Captain Pedantic'. I don't know which
Christopher R. Hertel [Mon, 22 Apr 2002 03:08:33 +0000 (03:08 +0000)]
My seven-year-old daughter calls me 'Captain Pedantic'.  I don't know which
is freakier... the name or the fact that a seven-year-old knows what it
means.

Small change to correct the value we place in the DGM_LENGTH field of
NBT Datagram messages.  We have been counting the full datagram, but it's
fairly clear in the RFCs that we should only count the source name,
destination name, and payload.  We've been overcharging by 14 bytes
(the size of the NBT DGM header).

This fix brings us in line with what Windows does, and what the RFCs
say should be done.  I'm a little surprised that this didn't cause any
bugs or error messages.  I guess no one actually checks this field.

22 years agoMerge chown/ghgrp fix from HEAD.
Jeremy Allison [Sun, 21 Apr 2002 20:44:30 +0000 (20:44 +0000)]
Merge chown/ghgrp fix from HEAD.
Jeremy.

22 years agotry to cope better with the take ownership operation for foreign SIDs
Andrew Tridgell [Sat, 20 Apr 2002 07:28:46 +0000 (07:28 +0000)]
try to cope better with the take ownership operation for foreign SIDs
what we do is map to the authenticated user when the sid is unmappable
and dos filemodes are enabled

22 years agoReturn exception text if getprinter level not [0..3]
Tim Potter [Sat, 20 Apr 2002 07:17:36 +0000 (07:17 +0000)]
Return exception text if getprinter level not [0..3]

22 years agospecversion / device mode fix from APP_HEAD
Gerald Carter [Sat, 20 Apr 2002 03:03:39 +0000 (03:03 +0000)]
specversion / device mode fix from APP_HEAD

22 years agoWe cannot set errno=0 in any of the wrapper calls as this breaks UNIX error
Jeremy Allison [Fri, 19 Apr 2002 21:45:02 +0000 (21:45 +0000)]
We cannot set errno=0 in any of the wrapper calls as this breaks UNIX error
returns to the client.
Jeremy.

22 years agoWe cannot set errno=0 in any of the wrapper calls as this breaks UNIX error
Jeremy Allison [Fri, 19 Apr 2002 21:45:00 +0000 (21:45 +0000)]
We cannot set errno=0 in any of the wrapper calls as this breaks UNIX error
returns to the client.
Jeremy.

22 years agoAdded Martin's lpq parse fixes from 2.2.
Jeremy Allison [Fri, 19 Apr 2002 17:59:13 +0000 (17:59 +0000)]
Added Martin's lpq parse fixes from 2.2.
Jeremy.

22 years agoFix different args to sys_fcntl without going varargs....
Jeremy Allison [Fri, 19 Apr 2002 17:30:36 +0000 (17:30 +0000)]
Fix different args to sys_fcntl without going varargs....
Jeremy.

22 years agoFix different args to sys_fcntl without going varargs....
Jeremy Allison [Fri, 19 Apr 2002 17:30:27 +0000 (17:30 +0000)]
Fix different args to sys_fcntl without going varargs....
Jeremy.

22 years agoFixed one more sendto.
Jeremy Allison [Fri, 19 Apr 2002 17:22:32 +0000 (17:22 +0000)]
Fixed one more sendto.
Jeremy.

22 years agoFixed one more sendto.
Jeremy Allison [Fri, 19 Apr 2002 17:22:01 +0000 (17:22 +0000)]
Fixed one more sendto.
Jeremy.

22 years agoWhen opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!).
Jeremy Allison [Fri, 19 Apr 2002 17:11:07 +0000 (17:11 +0000)]
When opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!).
Jeremy.

22 years agoWhen opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!).
Jeremy Allison [Fri, 19 Apr 2002 17:10:56 +0000 (17:10 +0000)]
When opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!).
Jeremy.

22 years agoadd NetUserEnum and NetGroupEnum lanmap API calls, untested. I don't have
Jean-François Micouleau [Fri, 19 Apr 2002 13:41:43 +0000 (13:41 +0000)]
add NetUserEnum and NetGroupEnum lanmap API calls, untested. I don't have
anymore a SNAP/DELL NAS to test.
from Kevin Stefanik.

J.F.

22 years agoDEBUG cleanup.
Jean-François Micouleau [Fri, 19 Apr 2002 13:39:52 +0000 (13:39 +0000)]
DEBUG cleanup.

J.F.

22 years agoupdating information a links in README
Gerald Carter [Fri, 19 Apr 2002 05:17:31 +0000 (05:17 +0000)]
updating information a links in README

22 years agoAdded sys_fcntl (not to be used everywhere). Added sys_read/sys_write
Jeremy Allison [Fri, 19 Apr 2002 03:05:38 +0000 (03:05 +0000)]
Added sys_fcntl (not to be used everywhere). Added sys_read/sys_write
for transfer_file.
Jeremy.

22 years agoAdded sys_fcntl (not to be used everywhere). Added sys_read/sys_write
Jeremy Allison [Fri, 19 Apr 2002 03:04:06 +0000 (03:04 +0000)]
Added sys_fcntl (not to be used everywhere). Added sys_read/sys_write
for transfer_file.
Jeremy.

22 years agofixed trust relationships in ADS winbindd after breaking them with my BDC changes ...
Andrew Tridgell [Fri, 19 Apr 2002 03:00:29 +0000 (03:00 +0000)]
fixed trust relationships in ADS winbindd after breaking them with my BDC changes ...

22 years agoFixed sendto in oplock code.
Jeremy Allison [Fri, 19 Apr 2002 02:20:23 +0000 (02:20 +0000)]
Fixed sendto in oplock code.
Jeremy.

22 years agoFixed sendto in oplock code.
Jeremy Allison [Fri, 19 Apr 2002 02:20:04 +0000 (02:20 +0000)]
Fixed sendto in oplock code.
Jeremy.

22 years agoFix oplock recvfrom.
Jeremy Allison [Fri, 19 Apr 2002 02:16:54 +0000 (02:16 +0000)]
Fix oplock recvfrom.
Jeremy.

22 years agoFix oplock recvfrom.
Jeremy Allison [Fri, 19 Apr 2002 02:16:36 +0000 (02:16 +0000)]
Fix oplock recvfrom.
Jeremy.

22 years agoFix send and recvfrom.
Jeremy Allison [Fri, 19 Apr 2002 02:15:12 +0000 (02:15 +0000)]
Fix send and recvfrom.
Jeremy.

22 years agoFix send and recvfrom.
Jeremy Allison [Fri, 19 Apr 2002 02:15:10 +0000 (02:15 +0000)]
Fix send and recvfrom.
Jeremy.

22 years agoFirst cut at fix for the EINTR problem... More needs to be done I think.
Jeremy Allison [Fri, 19 Apr 2002 02:08:52 +0000 (02:08 +0000)]
First cut at fix for the EINTR problem... More needs to be done I think.
Jeremy.

22 years agoFirst cut at fixing the EINTR problem...... Still a little more to be done.
Jeremy Allison [Fri, 19 Apr 2002 02:07:37 +0000 (02:07 +0000)]
First cut at fixing the EINTR problem...... Still a little more to be done.
Jeremy.

22 years agoMore packaging updates from the kitchen.
John Terpstra [Fri, 19 Apr 2002 00:35:44 +0000 (00:35 +0000)]
More packaging updates from the kitchen.

22 years agofixed a namequery bug caused by my recent string length patches
Andrew Tridgell [Fri, 19 Apr 2002 00:16:18 +0000 (00:16 +0000)]
fixed a namequery bug caused by my recent string length patches

22 years agoFixed up NULL ptr derefs.
Jeremy Allison [Thu, 18 Apr 2002 23:40:15 +0000 (23:40 +0000)]
Fixed up NULL ptr derefs.
Jeremy

22 years agoTracked down a very fiddly bug :-). If no PDC available, cli_shutdown was
Jeremy Allison [Thu, 18 Apr 2002 23:01:16 +0000 (23:01 +0000)]
Tracked down a very fiddly bug :-). If no PDC available, cli_shutdown was
closing fd 0 due to the cli_struct never being initialised.... This was
upsetting a tdb that happened to be using fd 0 at the time :-).
Jeremy.

22 years agoFixes for HPUX from Don.
Jeremy Allison [Thu, 18 Apr 2002 20:46:52 +0000 (20:46 +0000)]
Fixes for HPUX from Don.
Jeremy.

22 years agoFix for HPUX compile from Don.
Jeremy Allison [Thu, 18 Apr 2002 19:41:48 +0000 (19:41 +0000)]
Fix for HPUX compile from Don.
Jeremy.

22 years agoBack out the wrong changes I made yesterday ...
Richard Sharpe [Thu, 18 Apr 2002 18:36:17 +0000 (18:36 +0000)]
Back out the wrong changes I made yesterday ...

22 years agofixed the fallback to a BDC for ADS connections
Andrew Tridgell [Thu, 18 Apr 2002 06:56:44 +0000 (06:56 +0000)]
fixed the fallback to a BDC for ADS connections

22 years agonicer strndup() function
Andrew Tridgell [Thu, 18 Apr 2002 03:59:02 +0000 (03:59 +0000)]
nicer strndup() function

22 years agoStarted working on setprinter code.
Tim Potter [Thu, 18 Apr 2002 03:35:05 +0000 (03:35 +0000)]
Started working on setprinter code.

22 years agomake proto
Tim Potter [Thu, 18 Apr 2002 03:24:02 +0000 (03:24 +0000)]
make proto

22 years ago- fixed the is_mangled() interface to handle multiple components
Andrew Tridgell [Thu, 18 Apr 2002 02:13:55 +0000 (02:13 +0000)]
- fixed the is_mangled() interface to handle multiple components
- fixed the no-extension case of reverse mangling

22 years agoFix found by Li Shao @ HP - XP clients don't bother to set the devmode_ptr
Jeremy Allison [Thu, 18 Apr 2002 01:48:45 +0000 (01:48 +0000)]
Fix found by Li Shao @ HP - XP clients don't bother to set the devmode_ptr
in the SetPrinter() call - they send it in the devmode_ctr instead.
Jeremy.

22 years agoFix for CR#569 found by Li - XP clients don't bother to set the devmode_ptr
Jeremy Allison [Thu, 18 Apr 2002 01:46:47 +0000 (01:46 +0000)]
Fix for CR#569 found by Li - XP clients don't bother to set the devmode_ptr
in the SetPrinter() call - they send it in the devmode_ctr instead.
Jeremy.

22 years agoFound that with XP, clients have started using infolevel 1005 (0x3ED) of
Shirish Kalele [Thu, 18 Apr 2002 00:59:40 +0000 (00:59 +0000)]
Found that with XP, clients have started using infolevel 1005 (0x3ED) of
NetShareGetInfo to determine offline caching policy for a share. This infolevel
used to return only dfs rootness before.
Added code to return the policy value as expected by XP. If this is absent,
roaming profiles give warnings on XP.

22 years agoFix smbtorture so it can handle collisions etc ...
Richard Sharpe [Wed, 17 Apr 2002 22:50:02 +0000 (22:50 +0000)]
Fix smbtorture so it can handle collisions etc ...

22 years agoAdded log file needed for build process on OpenServer.
John Terpstra [Wed, 17 Apr 2002 22:34:45 +0000 (22:34 +0000)]
Added log file needed for build process on OpenServer.

22 years agoAdding new packaging control files for SCO/Caldera OpenServer.
John Terpstra [Wed, 17 Apr 2002 22:33:05 +0000 (22:33 +0000)]
Adding new packaging control files for SCO/Caldera OpenServer.

22 years agoUpdating SCO/Caldera OpenServer config files.
John Terpstra [Wed, 17 Apr 2002 22:30:56 +0000 (22:30 +0000)]
Updating SCO/Caldera OpenServer config files.

22 years agoFixed the AFP_Resource:$DATA filename creation bug.
Jeremy Allison [Wed, 17 Apr 2002 21:59:55 +0000 (21:59 +0000)]
Fixed the AFP_Resource:$DATA filename creation bug.
Jeremy.

22 years agoFixed the AFP_Resource:$DATA filename creation bug.
Jeremy Allison [Wed, 17 Apr 2002 21:53:35 +0000 (21:53 +0000)]
Fixed the AFP_Resource:$DATA filename creation bug.
Jeremy.

22 years agolibsmb/cli_netlogon.c: Fixed confusing debug messages.
Jeremy Allison [Wed, 17 Apr 2002 17:34:40 +0000 (17:34 +0000)]
libsmb/cli_netlogon.c: Fixed confusing debug messages.
param/loadparm.c: Added missing debugs that would have helped me find a misconfiguration
I lost a day on....
Jeremy.

22 years agolibsmb/cli_netlogon.c: Fixed confusing debug messages.
Jeremy Allison [Wed, 17 Apr 2002 17:34:38 +0000 (17:34 +0000)]
libsmb/cli_netlogon.c: Fixed confusing debug messages.
param/loadparm.c: Added missing debugs that would have helped me find a misconfiguration
I lost a day on....
Jeremy.