cvs2svn Import User [Mon, 16 Dec 2002 17:26:02 +0000 (17:26 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Jim McDonough [Mon, 16 Dec 2002 17:26:01 +0000 (17:26 +0000)]
Add win32 utility to query driver capabilities to publish
Gerald Carter [Mon, 16 Dec 2002 16:49:51 +0000 (16:49 +0000)]
fix usage message
Gerald Carter [Mon, 16 Dec 2002 16:48:23 +0000 (16:48 +0000)]
fix usage message
Simo Sorce [Mon, 16 Dec 2002 12:11:02 +0000 (12:11 +0000)]
updates to the gums
introduce genparser will be used by tdbsam2
Richard Sharpe [Mon, 16 Dec 2002 03:23:25 +0000 (03:23 +0000)]
We now read in the whole of the registry, including security bits.
Still have to make sure that the datastructure is correct, though.
Then on to writing it out and editing/changing keys, values and sec_descriptors
Tim Potter [Sun, 15 Dec 2002 23:24:08 +0000 (23:24 +0000)]
Fix fnum leak under error condition in cacl_dump.
Richard Sharpe [Sun, 15 Dec 2002 08:35:19 +0000 (08:35 +0000)]
All the code for reading in the registy is done, but I have a malloc'd
area overrun somewhere :-(
Richard Sharpe [Sun, 15 Dec 2002 06:39:17 +0000 (06:39 +0000)]
Almost finished processing the registry encoded SEC DESC ...
Soon to move onto writing these things out.
Richard Sharpe [Sat, 14 Dec 2002 07:36:34 +0000 (07:36 +0000)]
More code to read in and create security descriptor entries ...
Jeremy Allison [Sat, 14 Dec 2002 01:33:02 +0000 (01:33 +0000)]
Ensure talloc pool query messages are reserved.
Jeremy.
Jeremy Allison [Sat, 14 Dec 2002 01:32:59 +0000 (01:32 +0000)]
Ensure talloc pool query messages are reserved.
Jeremy.
Jeremy Allison [Sat, 14 Dec 2002 00:57:45 +0000 (00:57 +0000)]
The name pointer in the talloc context must not be a talloced entry as
calling talloc_destroy_pool(as we do sometimes) will destroy it.
Jeremy.
Jeremy Allison [Sat, 14 Dec 2002 00:57:01 +0000 (00:57 +0000)]
The name pointer in the talloc context must not be a talloced entry as
calling talloc_destroy_pool(as we do sometimes) will destroy it.
Jeremy.
Jim McDonough [Fri, 13 Dec 2002 21:56:34 +0000 (21:56 +0000)]
Store printer guid in the dsspooler registry key so we don't have to
query the directory server every time someone asks
Jim McDonough [Fri, 13 Dec 2002 21:54:09 +0000 (21:54 +0000)]
Store printer guid in the dsspooler registry key so we don't have to
query the directory server every time someone asks
Jeremy Allison [Fri, 13 Dec 2002 19:07:37 +0000 (19:07 +0000)]
Fix for old DOS client when veto files is set to /.*/
Jeremy.
Jeremy Allison [Fri, 13 Dec 2002 19:07:25 +0000 (19:07 +0000)]
Fix for old DOS client when veto files is set to /.*/
Jeremy.
Jim McDonough [Fri, 13 Dec 2002 19:01:27 +0000 (19:01 +0000)]
More printer publishing code.
- Add published attribute to info2, needed for win clients to work properly
- Return proper info on getprinter 7
This means you can now look at the sharing tab of a printer and get correct
info about whether it is published or not, and change it.
Jim McDonough [Fri, 13 Dec 2002 18:56:48 +0000 (18:56 +0000)]
More printer publishing code.
- Add published attribute to info2, needed for win clients to work properly
- Return proper info on getprinter 7
This means you can now look at the sharing tab of a printer and get correct
info about whether it is published or not, and change it.
Richard Sharpe [Fri, 13 Dec 2002 08:46:26 +0000 (08:46 +0000)]
Begin to handle Security descriptors for keys.
Tim Potter [Fri, 13 Dec 2002 04:41:59 +0000 (04:41 +0000)]
Guy Harris points out that the level and ptr fields in a
SPOOL_USER_CTR look like they should be transposed. We don't make use
of the user level information (what is it used for??) so I haven't
changed any code, just added a comment.
Gerald Carter [Fri, 13 Dec 2002 02:07:05 +0000 (02:07 +0000)]
Merge ... get_dc_name()-like code from APP_HEAD; better support password server = DC1 *
cvs2svn Import User [Thu, 12 Dec 2002 23:35:56 +0000 (23:35 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Gerald Carter [Thu, 12 Dec 2002 23:35:55 +0000 (23:35 +0000)]
Merge ... get_dc_name()-like code from APP_HEAD; better support password server = DC1 *
Gerald Carter [Thu, 12 Dec 2002 20:52:21 +0000 (20:52 +0000)]
ignore editreg
Gerald Carter [Thu, 12 Dec 2002 20:50:31 +0000 (20:50 +0000)]
merge of smbpasswd segfault from SAMBA_2_2
Gerald Carter [Thu, 12 Dec 2002 20:49:38 +0000 (20:49 +0000)]
merge of smbpasswd segfault from SAMBA_2_2
Martin Pool [Thu, 12 Dec 2002 05:24:55 +0000 (05:24 +0000)]
CR1333: Fix memory leak when unpacking some structures.
* (pytdbunpack_item): PyList_Append creates an additional reference to
the appended object. Therefore, release the initial reference after
it's added to the list.
Martin Pool [Thu, 12 Dec 2002 04:44:47 +0000 (04:44 +0000)]
* Ignore .pyc and .pyo files produced as a side-effect of running
Python examples.
Tim Potter [Thu, 12 Dec 2002 02:56:15 +0000 (02:56 +0000)]
Merge of #include <smb.h> removals.
Jeremy Allison [Thu, 12 Dec 2002 02:01:56 +0000 (02:01 +0000)]
Added "kernel change notify" boolean to allow easier valgrind testing.
Jeremy.
Jeremy Allison [Thu, 12 Dec 2002 02:01:53 +0000 (02:01 +0000)]
Added "kernel change notify" boolean to allow easier valgrind testing.
Jeremy.
Tim Potter [Thu, 12 Dec 2002 00:08:55 +0000 (00:08 +0000)]
Merge of compile tweaks for python tdbpack module.
Jeremy Allison [Wed, 11 Dec 2002 23:54:46 +0000 (23:54 +0000)]
Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy.
Jeremy Allison [Wed, 11 Dec 2002 23:54:40 +0000 (23:54 +0000)]
Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy.
Jeremy Allison [Wed, 11 Dec 2002 18:52:32 +0000 (18:52 +0000)]
Fix write error returning EFBIG - found by Conrad.
Jeremy.
Jeremy Allison [Wed, 11 Dec 2002 18:52:21 +0000 (18:52 +0000)]
Fix write error returning EFBIG - found by Conrad.
Jeremy.
Richard Sharpe [Wed, 11 Dec 2002 07:55:44 +0000 (07:55 +0000)]
Fix a small bug.
Richard Sharpe [Wed, 11 Dec 2002 07:51:07 +0000 (07:51 +0000)]
Improve the iterator wrt values ... Now prints keys and value names.
Does not print value values, yet.
Tim Potter [Wed, 11 Dec 2002 01:25:18 +0000 (01:25 +0000)]
Some more tweaking for compilation of py_tdbpack.
Jeremy Allison [Tue, 10 Dec 2002 23:44:33 +0000 (23:44 +0000)]
Fix client reporting of 64 bit files.
Jeremy.
Jeremy Allison [Tue, 10 Dec 2002 23:27:12 +0000 (23:27 +0000)]
Fix client large file reporting.
Jeremy
Richard Sharpe [Tue, 10 Dec 2002 23:25:11 +0000 (23:25 +0000)]
Tidy up some bits. We can now at least list all the keys.
More work to do on the iterators and access functions.
Still not King. Stinks really.
John Terpstra [Tue, 10 Dec 2002 23:19:18 +0000 (23:19 +0000)]
Updating changes from HEAD.
Herb Lewis [Tue, 10 Dec 2002 21:56:21 +0000 (21:56 +0000)]
fix broken incremental tar - merge from 2.2
found by "Jacob Anawalt" <anawaltaj@hotmail.com>
Herb Lewis [Tue, 10 Dec 2002 21:50:44 +0000 (21:50 +0000)]
fix broken incremental tar - merge from 2.2
found by "Jacob Anawalt" <anawaltaj@hotmail.com>
Richard Sharpe [Tue, 10 Dec 2002 21:29:03 +0000 (21:29 +0000)]
Add support to Makefile.in for editreg
Fix a couple of duplicated macros.
Richard Sharpe [Tue, 10 Dec 2002 08:17:40 +0000 (08:17 +0000)]
Complete more of the code. An iterator is close to complete. Compiles,
but not tested as yet.
Richard Sharpe [Tue, 10 Dec 2002 06:20:53 +0000 (06:20 +0000)]
Clean up the code some more. Create more elements of the tree.
Security Descriptors/Keys not yet processed.
Make debugging printfs only occur if verbose is set.
Create an iterator for the registry key.
Still not King. Bother!
Jeremy Allison [Tue, 10 Dec 2002 00:46:52 +0000 (00:46 +0000)]
The _abs time functions should not be converting from/to GMT.
Patch from "Jordan Russell" <jr-list-samba-technical@quo.to>
Jeremy.
Jeremy Allison [Tue, 10 Dec 2002 00:46:47 +0000 (00:46 +0000)]
The _abs time functions should not be converting from/to GMT.
Patch from "Jordan Russell" <jr-list-samba-technical@quo.to>
Jeremy.
Simo Sorce [Mon, 9 Dec 2002 13:02:27 +0000 (13:02 +0000)]
finnally put in Alexander parametric pacth
Simo Sorce [Mon, 9 Dec 2002 12:06:15 +0000 (12:06 +0000)]
make vfs recycle use vfs facilities correctly!
WARNING: every vfs module maintainer should look at these changes to understand how to properly write a vfs module in head!!
also make installmodules work correctly when the directory structure is not yet in place.
Simo.
Richard Sharpe [Mon, 9 Dec 2002 09:26:17 +0000 (09:26 +0000)]
Handle the creation of more parts of the tree ... Still have to do SK records
and the data parts of the VK records.
Also have to code up routines that can iterate across keys and values, as
well as return values associated with a particular key, etc.
Richard Sharpe [Mon, 9 Dec 2002 09:07:00 +0000 (09:07 +0000)]
Start allocating structures to keep the in memory copy of the registry tree
in. Don't yet handle the SK records (security descriptors), but will soon.
It still compiles on Linux, but I am still not King.
Richard Sharpe [Mon, 9 Dec 2002 07:55:13 +0000 (07:55 +0000)]
Begin to decode Value Keys, names and values ...
Richard Sharpe [Mon, 9 Dec 2002 06:39:54 +0000 (06:39 +0000)]
Add some more handling of Key records ...
John Terpstra [Sun, 8 Dec 2002 21:20:07 +0000 (21:20 +0000)]
Fixed Typo.
Jelmer Vernooij [Sun, 8 Dec 2002 20:37:05 +0000 (20:37 +0000)]
Fix example command (reported by Cameron Maxwell)
Jelmer Vernooij [Sun, 8 Dec 2002 20:36:52 +0000 (20:36 +0000)]
Fix example command (reported by Cameron Maxwell)
Richard Sharpe [Sun, 8 Dec 2002 19:50:40 +0000 (19:50 +0000)]
Commit some more changes ... Start processing the sub-keys, recursively.
Richard Sharpe [Sun, 8 Dec 2002 19:30:16 +0000 (19:30 +0000)]
Fix the breakage, and start processing the first key record:
./editreg ~rsharpe/profile/NTUSER.DAT
NK HDR: Name len: 12, class name len: 0
Key name: $$$PROTO.HIV
Richard Sharpe [Sun, 8 Dec 2002 18:48:48 +0000 (18:48 +0000)]
A small fix to Makefile.in from Bradley Longhurst.
Less Fir needed.
Richard Sharpe [Sun, 8 Dec 2002 17:04:23 +0000 (17:04 +0000)]
Define some macros for accessing shorts and ints in an endian independent manner.
Start processing the header and etc.
Make sure it compiles on Linux, and runs on Linux for the code that is there.
Will try FreeBSD soon, and maybe Slowaris.
Richard Sharpe [Sun, 8 Dec 2002 15:32:02 +0000 (15:32 +0000)]
Add definitions of the various NT Registry on-disk structures ...
Richard Sharpe [Sun, 8 Dec 2002 14:50:06 +0000 (14:50 +0000)]
Fix DAT_TIME so it becomes NTTIME and matches Samba source.
Add code to start reading the registry file.
Simo Sorce [Sun, 8 Dec 2002 12:03:42 +0000 (12:03 +0000)]
fix rpcclient querygroup command (from 2.2 and head)
Simo Sorce [Sun, 8 Dec 2002 11:56:45 +0000 (11:56 +0000)]
make querygroup in rpcclient working, same fix as per 2.2 tree
Richard Sharpe [Sun, 8 Dec 2002 08:27:58 +0000 (08:27 +0000)]
Some more updates ...
Richard Sharpe [Sun, 8 Dec 2002 07:53:35 +0000 (07:53 +0000)]
The beginnings of a registry editing program.
Jeremy Allison [Fri, 6 Dec 2002 19:59:04 +0000 (19:59 +0000)]
Ensure global_scope() returns "", not the NULL string. Froma tpot fix.
Jeremy.
Jeremy Allison [Fri, 6 Dec 2002 19:58:27 +0000 (19:58 +0000)]
Ensure global_scope() returns "", not the NULL string. Froma tpot fix.
Jeremy.
Tim Potter [Thu, 5 Dec 2002 23:30:49 +0000 (23:30 +0000)]
Merge from HEAD:
>Remove FILE_MACRO as __FILE__ is ANSI C.
Tim Potter [Thu, 5 Dec 2002 23:05:28 +0000 (23:05 +0000)]
Merge from HEAD:
>FUNCTION_MACRO change broke the Python modules.
>
>Also fix up string pasting (I thought this should only be a warning?)
Tim Potter [Thu, 5 Dec 2002 23:02:17 +0000 (23:02 +0000)]
Merge from HEAD, Revision 1.379:
>Defaulting python breaks the clean target it python isn't installed.
Merge from HEAD, Revision 1.378:
>Fixes for EXEEXT - must use \$ signs when you want an actual $ sign to
>be used.
Tim Potter [Thu, 5 Dec 2002 22:56:25 +0000 (22:56 +0000)]
Merge from appliance, Revision 1.223.2.41:
>Add -a flag to setup.py when making python_clean. This will delete the
>python compiled binaries and .so files rather than only the temporary
>compile directory.
>
>This fixes a PSA build bug.
Merge from HEAD, Revision 1.587:
>Link less with smbmnt and smbumount. Also change from a pstrcpy() to a
>strncpy() to make it clear that we must operate on a PATH_MAX sized buffer.
>
>Andrew Bartlett
Plus some bits from the AC_SUBST target cleanup that got missed last time
I ran dirdiff.
John Terpstra [Thu, 5 Dec 2002 22:38:55 +0000 (22:38 +0000)]
Added another email - this stuff needs to go into a new chapter
in the Entire-HOWTO-Collection.
Jeremy Allison [Thu, 5 Dec 2002 22:32:25 +0000 (22:32 +0000)]
Fix debugs for rap mapping. Delete job on map fail.
Jeremy.
Jeremy Allison [Thu, 5 Dec 2002 22:32:15 +0000 (22:32 +0000)]
Fix debugs for rap mapping. Delete job on map fail.
Jeremy.
Jim McDonough [Thu, 5 Dec 2002 19:13:40 +0000 (19:13 +0000)]
More printer data to publish
Jim McDonough [Thu, 5 Dec 2002 19:13:20 +0000 (19:13 +0000)]
More printer data to publish
Jim McDonough [Thu, 5 Dec 2002 19:12:19 +0000 (19:12 +0000)]
Add some const
Jim McDonough [Thu, 5 Dec 2002 19:11:40 +0000 (19:11 +0000)]
Add some const
Jeremy Allison [Thu, 5 Dec 2002 04:00:16 +0000 (04:00 +0000)]
The element in fsp->print_job should be a RAP jobid, not a uint32 RPC
jobid. This was causing Win9x client "set name" calls to fail.
Still need one cleanup fix to finish.
Jeremy.
Jeremy Allison [Thu, 5 Dec 2002 03:59:56 +0000 (03:59 +0000)]
The element in fsp->print_job should be a RAP jobid, not a uint32 RPC
jobid. This was causing Win9x client "set name" calls to fail.
Still need one cleanup fix to finish.
Jeremy.
Herb Lewis [Thu, 5 Dec 2002 00:50:29 +0000 (00:50 +0000)]
fix stat reporting on put command
Herb Lewis [Thu, 5 Dec 2002 00:47:41 +0000 (00:47 +0000)]
fix stat reporting on put command
Tim Potter [Thu, 5 Dec 2002 00:06:12 +0000 (00:06 +0000)]
Rerun configure.
Tim Potter [Wed, 4 Dec 2002 23:57:15 +0000 (23:57 +0000)]
Remove FILE_MACRO as __FILE__ is ANSI C.
Tim Potter [Wed, 4 Dec 2002 23:31:47 +0000 (23:31 +0000)]
FUNCTION_MACRO change broke the Python modules.
Also fix up string pasting (I thought this should only be a warning?)
Jeremy Allison [Wed, 4 Dec 2002 22:48:25 +0000 (22:48 +0000)]
Added Volker's directory fix - save the attributes
from the first call.
Jeremy.
Jeremy Allison [Wed, 4 Dec 2002 22:48:13 +0000 (22:48 +0000)]
Added Volker's directory fix - save the attributes
from the first call.
Jeremy.
Jim McDonough [Wed, 4 Dec 2002 21:30:52 +0000 (21:30 +0000)]
More attributes to publish. All DsSpooler attributes except REG_MULTI_SZ ones should be published now.
Jeremy Allison [Wed, 4 Dec 2002 21:28:23 +0000 (21:28 +0000)]
Janitor for tpot yet again... Merging in memory leak fix.
Jeremy.
Jeremy Allison [Wed, 4 Dec 2002 21:28:11 +0000 (21:28 +0000)]
Janitor for tpot yet again... Merging in memory leak fix.
Jeremy.
Gerald Carter [Wed, 4 Dec 2002 20:57:48 +0000 (20:57 +0000)]
merges from HEAD - change_trust_account_password() must always talk to PDC
Gerald Carter [Wed, 4 Dec 2002 20:13:29 +0000 (20:13 +0000)]
change_trust_account_password() must always use the PDC for rpc
password changes.
jerry
Jeremy Allison [Wed, 4 Dec 2002 19:47:18 +0000 (19:47 +0000)]
Make sure we have a default st_blocksize.
Jeremy.
Jeremy Allison [Wed, 4 Dec 2002 19:47:01 +0000 (19:47 +0000)]
Make sure we have a default st_blocksize.
Jeremy.