samba.git
21 years agoFixed some simple typos, including one that would have resulted in a
Christopher R. Hertel [Fri, 3 Jan 2003 04:32:23 +0000 (04:32 +0000)]
Fixed some simple typos, including one that would have resulted in a
DEBUG() message printing the wrong value.
(This used to be commit 42a4e5b851aa7c9fd9dca5a6f8f42e5d91246c76)

21 years agopstring/fstring missmatches found by Andrew Bartlett.
Jeremy Allison [Thu, 2 Jan 2003 20:43:27 +0000 (20:43 +0000)]
pstring/fstring missmatches found by Andrew Bartlett.
Jeremy.
(This used to be commit 585a73b810389129f380cfab1b1b52700b350055)

21 years agoWITH_SENDFILE #ifdef merged from SAMBA_2_2
Gerald Carter [Thu, 2 Jan 2003 18:20:42 +0000 (18:20 +0000)]
WITH_SENDFILE #ifdef merged from SAMBA_2_2
(This used to be commit 5023aec5ada4a0d84878440ed67411b6a6b97ca2)

21 years agoWe still have 'ldap server' and 'ldap port'. Could somebody please
Volker Lendecke [Thu, 2 Jan 2003 16:12:39 +0000 (16:12 +0000)]
We still have 'ldap server' and 'ldap port'. Could somebody please
regen the docs?

Thanks,

Volker
(This used to be commit 0c04c660c5eff282e8bc44de58fa5dcf90201148)

21 years agoWe already have one function to move unistr2 -> multibyte-static, so we
Andrew Bartlett [Thu, 2 Jan 2003 13:10:25 +0000 (13:10 +0000)]
We already have one function to move unistr2 -> multibyte-static, so we
don't need a second just for pdb.

Also, remove magic 'is lp_guest_account' test - the magic RID should be
up to the passdb backend to set.

Andrew Bartlett
(This used to be commit f71c8338d35a2e8c73c3d8006ea6858cb522c715)

21 years agoBecouse these functions return a size_t, they can't return negitive numbers.
Andrew Bartlett [Thu, 2 Jan 2003 13:01:44 +0000 (13:01 +0000)]
Becouse these functions return a size_t, they can't return negitive numbers.
So a < 0 check is pointless, instead check against -1, which will be cast to
unsigned.

Andrew Bartlett
(This used to be commit c7e5797a95804d5779cdfc93795adcdf2fe82a59)

21 years agodebugparse is a seperate utility, no need to include it in the main ubiqx
Andrew Bartlett [Thu, 2 Jan 2003 12:58:23 +0000 (12:58 +0000)]
debugparse is a seperate utility, no need to include it in the main ubiqx
objects.

Andrew Bartlett
(This used to be commit 23abf75adef2f400414dfafa1248f5f886ae27c0)

21 years agoAdd PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids in
Andrew Bartlett [Thu, 2 Jan 2003 12:54:02 +0000 (12:54 +0000)]
Add PRINTF_ATTRIBUTE() to a few more printf() style functions.  Aids in
compiler-based argument checking.
(This used to be commit 16fe928e68623a878b125910ff83df500a29d0ce)

21 years agoCall me parinoid, but I don't like the idea that we could ever have dbf point
Andrew Bartlett [Thu, 2 Jan 2003 12:53:04 +0000 (12:53 +0000)]
Call me parinoid, but I don't like the idea that we could ever have dbf point
to a closed file.  Swap the assign and the close around.

Andrew Bartlett
(This used to be commit ceb2a7984910533187d3345440c24b605306e3cb)

21 years agoAdd a dash of static.
Andrew Bartlett [Thu, 2 Jan 2003 12:39:36 +0000 (12:39 +0000)]
Add a dash of static.
(This used to be commit 6d201c9616c5c30234c0d0d6cd9e2ca60bf736c5)

21 years agoOne more const. Andrew, you seem to have krb5 :-)
Volker Lendecke [Thu, 2 Jan 2003 09:40:10 +0000 (09:40 +0000)]
One more const. Andrew, you seem to have krb5 :-)

Volker
(This used to be commit f5494f5ef6a14020bd31541b1f87d48111f60ad8)

21 years agoBIG patch...
Andrew Bartlett [Thu, 2 Jan 2003 09:07:17 +0000 (09:07 +0000)]
BIG patch...

This patch makes Samba compile cleanly with -Wwrite-strings.
 - That is, all string literals are marked as 'const'.  These strings are
always read only, this just marks them as such for passing to other functions.

What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables).  The rest
is just adding a lot of 'const'.

As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).

Andrew Bartlett
(This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)

21 years agoDocument the size constraints on a write request.
Richard Sharpe [Wed, 1 Jan 2003 21:54:00 +0000 (21:54 +0000)]
Document the size constraints on a write request.
(This used to be commit 5d6c1810330b38e48355078b7a5d53e7b5076f74)

21 years agoMove our password change code along a little - use NTSTATUS, and implmenet
Andrew Bartlett [Wed, 1 Jan 2003 04:19:34 +0000 (04:19 +0000)]
Move our password change code along a little - use NTSTATUS, and implmenet
minimum password age and min password length for all password changes.

Andrew Bartlett
(This used to be commit 028f808c032becfa4618924cb301a4af2708fa96)

21 years agofix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
Simo Sorce [Tue, 31 Dec 2002 10:23:37 +0000 (10:23 +0000)]
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
(This used to be commit 63a669475b0ea319da12a87ee4635b1d071ff29f)

21 years agoignore tdbsam2_parse_info.h
Simo Sorce [Tue, 31 Dec 2002 00:45:35 +0000 (00:45 +0000)]
ignore tdbsam2_parse_info.h
(This used to be commit 1a1c746c9fde965d2ad3f8fb9c1b0263754745e8)

21 years agoCatching up with old patches. Add define for VERITAS quota support.
Jeremy Allison [Mon, 30 Dec 2002 23:55:58 +0000 (23:55 +0000)]
Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
(This used to be commit e789edbb287319f52f49f2999917a610565144d9)

21 years agofix also net rpc shutdown
Simo Sorce [Mon, 30 Dec 2002 23:38:17 +0000 (23:38 +0000)]
fix also net rpc shutdown
sorry
(This used to be commit 1eff36ff2fd20ff1844800acefb31972ad865527)

21 years agothe shutdown call does not have a 16 bit flags, but 2 byte representing booleans
Simo Sorce [Mon, 30 Dec 2002 04:41:27 +0000 (04:41 +0000)]
the shutdown call does not have a 16 bit flags, but 2 byte representing booleans
this commit change the structure and code to reflect this

some test revelead I'm right.

some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation
(This used to be commit c5892b656dedd0367adc33d9606311d1dde99a58)

21 years agoPort the fix to cli_setup_write to handle offsets greater than 32-bits from
Richard Sharpe [Mon, 30 Dec 2002 04:25:30 +0000 (04:25 +0000)]
Port the fix to cli_setup_write to handle offsets greater than 32-bits from
Samba 2.2.x ...
(This used to be commit 4201038588bab8674b73371a5eac70a412c5dd6c)

21 years agoAdd a new VFS module, that just fiddles the file permissions. Still need to
Andrew Bartlett [Mon, 30 Dec 2002 04:19:57 +0000 (04:19 +0000)]
Add a new VFS module, that just fiddles the file permissions.  Still need to
make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up).

The idea here is that Samba reports an NT ACL to Windows clients, which use
that ACL in downloaded profiles.

If the user doesn't have write permissions on the directories being downloaded,
then it cant put the subfolders in (yes, NT will set perms so that it can't
access the dir as the user the created it) and the profile download fails.

The current solution it to give the user unix write perms to the folders, but
this is rather dangerous - sombody could trojen the profile.  This should
avoid that mess.

I'll test this out properly next week, but it works in vfstest (thanks idra!).

Andrew Bartlett
(This used to be commit 1ad782282a3eb4f89c489a77ad8404099d41d0f9)

21 years agoAdd msdfs proxy functionality to HEAD.
Shirish Kalele [Sun, 29 Dec 2002 23:29:08 +0000 (23:29 +0000)]
Add msdfs proxy functionality to HEAD.
(This used to be commit 9df93b1ffc9ce98302540cc3d2cbd66787abc4fd)

21 years agoRevert by Simo's request. HEAD and 3.0 should be in sync for
Jeremy Allison [Sat, 28 Dec 2002 19:48:56 +0000 (19:48 +0000)]
Revert by Simo's request. HEAD and 3.0 should be in sync for
this except for the modules load.
Jeremy.
(This used to be commit c7c3afbd0de8bd8797f91d350368a2419fcede0e)

21 years agosome more work on gums.
Simo Sorce [Sat, 28 Dec 2002 13:42:54 +0000 (13:42 +0000)]
some more work on gums.
- Building a tdbsam2 backend to see what I got right and what not about the proposed API
- Corrections to API based on tdbsam2 work
(This used to be commit 54f11b7de84233209b7db2d01d876f9c6c6340d6)

21 years agoPatch for coredump with missing arg from "Bradley W. Langhorst" <brad@langhorst.com>
Jeremy Allison [Sat, 28 Dec 2002 01:23:34 +0000 (01:23 +0000)]
Patch for coredump with missing arg from "Bradley W. Langhorst" <brad@langhorst.com>
Jeremy.
(This used to be commit 5914c38a54fcfdb007352b152dc2206708d59af6)

21 years agoFor some reason, the configure tests for sendfile support in FreeBSD
Richard Sharpe [Fri, 27 Dec 2002 22:55:11 +0000 (22:55 +0000)]
For some reason, the configure tests for sendfile support in FreeBSD
were broken. This works for 4.3 and 4.6.2.
(This used to be commit 91e2d21bd1401ca874c59f4d93f8b429c38b642d)

21 years agoUpdate link
Jelmer Vernooij [Tue, 24 Dec 2002 02:04:09 +0000 (02:04 +0000)]
Update link
(This used to be commit 03d8d0285e86bd4ee35f6efec835171eb28502da)

21 years agoPut in actual status
Jelmer Vernooij [Tue, 24 Dec 2002 02:01:35 +0000 (02:01 +0000)]
Put in actual status
(This used to be commit 36722b02b0fb494151bc1ab28ba28b09b298e38e)

21 years agoAdd note about storing mysql passwords in smb.conf
Jelmer Vernooij [Tue, 24 Dec 2002 01:41:10 +0000 (01:41 +0000)]
Add note about storing mysql passwords in smb.conf
(This used to be commit a2de27a6846e3e05778fa7f0af0dbc76e82b52b3)

21 years agoFinish adding strings to all talloc_init() calls.
Jeremy Allison [Mon, 23 Dec 2002 23:53:56 +0000 (23:53 +0000)]
Finish adding strings to all talloc_init() calls.
Jeremy.
(This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)

21 years agothe 'padding' field in the query domain info reply is not a padding
Andrew Tridgell [Mon, 23 Dec 2002 20:22:20 +0000 (20:22 +0000)]
the 'padding' field in the query domain info reply is not a padding
field at all. It seems to be an optional 12 byte structure of some
kind. mkaplan found a situation where the structure was not present at
all (depending on ptr_0)
(This used to be commit d7f18c60f73a3acb00ec9b1f9c605cc8c9d690a7)

21 years agotalloc_init_named -> talloc_init.
Jeremy Allison [Sun, 22 Dec 2002 16:02:36 +0000 (16:02 +0000)]
talloc_init_named -> talloc_init.
Jeremy.
(This used to be commit 20a44d4cf11d91e7a09176bfe673ad0cb230dffe)

21 years agoForward port the change to talloc_init() to make all talloc contexts
Jeremy Allison [Fri, 20 Dec 2002 20:23:06 +0000 (20:23 +0000)]
Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
(This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)

21 years agoFixed bug in debug statement when tconX fails.
Tim Potter [Fri, 20 Dec 2002 01:07:09 +0000 (01:07 +0000)]
Fixed bug in debug statement when tconX fails.
(This used to be commit a2159610b9d38cc7cfa7cb877ccee816cd2206b8)

21 years agoProtect nmbd against malformed reply packets. Some reports on the lists showing
Jeremy Allison [Thu, 19 Dec 2002 22:14:53 +0000 (22:14 +0000)]
Protect nmbd against malformed reply packets. Some reports on the lists showing
these.
Jeremy.
(This used to be commit 65d5bf65c439aee1450e330a9f2bd829d9b2c2d0)

21 years agomerge from 2.2 fix for smbclient large files
Herb Lewis [Thu, 19 Dec 2002 20:23:45 +0000 (20:23 +0000)]
merge from 2.2 fix for smbclient large files
(This used to be commit 723c4caf64c56b78052c52fec78c7143ec19e944)

21 years agomerge from 2.2
Herb Lewis [Thu, 19 Dec 2002 19:56:31 +0000 (19:56 +0000)]
merge from 2.2
actually print args for %g and %e
(This used to be commit 47a0ba53fdf52fb4d269b1ff95491e73e47423be)

21 years agoapp_head merge for get_friendly_nt_err()
Gerald Carter [Tue, 17 Dec 2002 22:53:56 +0000 (22:53 +0000)]
app_head merge for get_friendly_nt_err()
(This used to be commit 3ceff08eb75ecd70dcf10d033c7451d87b659c0b)

21 years agofix make proto to work with SGI smake
Herb Lewis [Tue, 17 Dec 2002 21:45:50 +0000 (21:45 +0000)]
fix make proto to work with SGI smake
(This used to be commit 773e5af6eb61fc38f8e45ea0a2afd6922cc71fd5)

21 years ago* fix memory leak when constructing an driver_level_6 structure
Gerald Carter [Tue, 17 Dec 2002 21:35:56 +0000 (21:35 +0000)]
* fix memory leak when constructing an driver_level_6 structure
  and no dependent files (working on smbd memory leak).  No CR# yet.
(This used to be commit f017fa7c478f87165b7b6aa83059fe6fad29ac15)

21 years agoStart adding code to allow the in memory version of the registry tree
Richard Sharpe [Tue, 17 Dec 2002 07:45:14 +0000 (07:45 +0000)]
Start adding code to allow the in memory version of the registry tree
structure to be manipulated. Keys can be partially deleted now.
(This used to be commit 9181ba0c682c3f37bbbaab96928c39757491d225)

21 years agoit's getting comic ...
Simo Sorce [Tue, 17 Dec 2002 01:38:48 +0000 (01:38 +0000)]
it's getting comic ...
yet another missing piece :-O
(This used to be commit eb595efa7e6c260092478564e5fb3fdefcc120d8)

21 years agoUhmm a bad day to commit changes :-((
Simo Sorce [Mon, 16 Dec 2002 23:40:15 +0000 (23:40 +0000)]
Uhmm a bad day to commit changes :-((
(This used to be commit 5320d54b901b92a3a8cdf9a407651713826c6c9f)

21 years agomerge smbtar fixes from 2.2
Herb Lewis [Mon, 16 Dec 2002 21:30:20 +0000 (21:30 +0000)]
merge smbtar fixes from 2.2
(This used to be commit f3b994326ea4bfc9a74acb2901c733c35900af53)

21 years agooh god, I will forgot my name one of these days :-/
Simo Sorce [Mon, 16 Dec 2002 21:22:09 +0000 (21:22 +0000)]
oh god, I will forgot my name one of these days :-/
(This used to be commit 0b2591cc4001dd5430591f1871b76c1a6d133b43)

21 years agoforgont genstruct.pl is needed to build new include files for genparse
Simo Sorce [Mon, 16 Dec 2002 17:51:40 +0000 (17:51 +0000)]
forgont genstruct.pl is needed to build new include files for genparse
sorry
(This used to be commit 4029dae9064e10a02006e9d0a5d8cf93e22eaed5)

21 years agoAdd win32 utility to query driver capabilities to publish
Jim McDonough [Mon, 16 Dec 2002 17:26:01 +0000 (17:26 +0000)]
Add win32 utility to query driver capabilities to publish
(This used to be commit c09c1e090525aeccb9ee7762a44aba286c4d71f9)

21 years agofix usage message
Gerald Carter [Mon, 16 Dec 2002 16:48:23 +0000 (16:48 +0000)]
fix usage message
(This used to be commit e68c7e0ebc053b97abf9c8a8213f305679ef000d)

21 years agoupdates to the gums
Simo Sorce [Mon, 16 Dec 2002 12:11:02 +0000 (12:11 +0000)]
updates to the gums
introduce genparser will be used by tdbsam2
(This used to be commit 831d3d1ec751f23481f26b31d22b09f3d9c0709a)

21 years agoWe now read in the whole of the registry, including security bits.
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
(This used to be commit 8686b551cd0158a72c1ba4dfea6af5d0d7049210)

21 years agoFix fnum leak under error condition in cacl_dump.
Tim Potter [Sun, 15 Dec 2002 23:24:08 +0000 (23:24 +0000)]
Fix fnum leak under error condition in cacl_dump.
(This used to be commit ab337572b82a0b40b56f055cdbb2f5864ef10c87)

21 years agoAll the code for reading in the registy is done, but I have a malloc'd
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 :-(
(This used to be commit 330012a4d787c8b4a2eb6a4b77f53110815e073e)

21 years agoAlmost finished processing the registry encoded SEC DESC ...
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.
(This used to be commit eb2f1c826b28647fc99b46e203fe90147f7f3d05)

21 years agoMore code to read in and create security descriptor entries ...
Richard Sharpe [Sat, 14 Dec 2002 07:36:34 +0000 (07:36 +0000)]
More code to read in and create security descriptor entries ...
(This used to be commit 3564565d33e0e3a691e5014e39ab2e5156112a08)

21 years agoEnsure talloc pool query messages are reserved.
Jeremy Allison [Sat, 14 Dec 2002 01:33:02 +0000 (01:33 +0000)]
Ensure talloc pool query messages are reserved.
Jeremy.
(This used to be commit 3520195523c629c4d936db6b0112bd4bd4426ad7)

21 years agoThe name pointer in the talloc context must not be a talloced entry as
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.
(This used to be commit 63f344e27be5aaf2204899fea7d53a7302001108)

21 years agoStore printer guid in the dsspooler registry key so we don't have to
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
(This used to be commit f0fc4e30f6284565de404a20450a587cd3fe00a5)

21 years agoFix for old DOS client when veto files is set to /.*/
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.
(This used to be commit 636ab292db8816663c507dd8dbf85078392af5f8)

21 years agoMore printer publishing code.
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.
(This used to be commit adda04379ee46f105436262663652f3f576fa3cf)

21 years agoBegin to handle Security descriptors for keys.
Richard Sharpe [Fri, 13 Dec 2002 08:46:26 +0000 (08:46 +0000)]
Begin to handle Security descriptors for keys.
(This used to be commit eca76f2f6609c9decd5cb9dcf7ab9b75c2a805a6)

21 years agoGuy Harris points out that the level and ptr fields in a
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.
(This used to be commit bbb0b2ee40acfeb8cd91a55feb1db0c1e2d9ced5)

21 years agomerge of get_dc_name()-like code from APP_HEAD; better support password server =...
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 *
(This used to be commit 6b18ca9511ddcf1718f222af3f61491d1e5f3b60)

21 years agoignore editreg
Gerald Carter [Thu, 12 Dec 2002 20:52:21 +0000 (20:52 +0000)]
ignore editreg
(This used to be commit a48d8d3f118261a8e632a7e9c80f3cda4afdfaa1)

21 years agomerge 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
(This used to be commit 8311c4bf8d9697f5a65a00300b60dfde12e46ae7)

21 years agoCR1333: Fix memory leak when unpacking some structures.
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.
(This used to be commit 1e63dc101a5085a46b9632ba657e5d5cd7505751)

21 years ago* Ignore .pyc and .pyo files produced as a side-effect of running
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.
(This used to be commit 3bb4bd3ed642a61e54c44c40c31f0e2242977614)

21 years agoAdded "kernel change notify" boolean to allow easier valgrind testing.
Jeremy Allison [Thu, 12 Dec 2002 02:01:53 +0000 (02:01 +0000)]
Added "kernel change notify" boolean to allow easier valgrind testing.
Jeremy.
(This used to be commit ac856fbb96e5ed21992972805b27cc8c3f9377df)

21 years agoFixed auth module code. Added VALGRIND defines to reduce spurious warnings.
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.
(This used to be commit ff3a8d37289216a2cb808406044a7abef1e564d0)

21 years agoFix write error returning EFBIG - found by Conrad.
Jeremy Allison [Wed, 11 Dec 2002 18:52:32 +0000 (18:52 +0000)]
Fix write error returning EFBIG - found by Conrad.
Jeremy.
(This used to be commit 2d63fc7760634308cc280e4d745a6f7398f75d20)

21 years agoFix a small bug.
Richard Sharpe [Wed, 11 Dec 2002 07:55:44 +0000 (07:55 +0000)]
Fix a small bug.
(This used to be commit 16e0a3cc0834b691fcfec75d20dfdd5fa4d0afa6)

21 years agoImprove the iterator wrt values ... Now prints keys and value names.
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.
(This used to be commit fbdd850e5a53e6e2c60dbf1eb6cdcf732307135f)

21 years agoSome more tweaking for compilation of py_tdbpack.
Tim Potter [Wed, 11 Dec 2002 01:25:18 +0000 (01:25 +0000)]
Some more tweaking for compilation of py_tdbpack.
(This used to be commit 89be695b2997e97dfc40afd17bb61b59b85634e4)

21 years agoFix client large file reporting.
Jeremy Allison [Tue, 10 Dec 2002 23:27:12 +0000 (23:27 +0000)]
Fix client large file reporting.
Jeremy
(This used to be commit 185804ac945e717a5e3d3602e8118b35080f6251)

21 years agoTidy up some bits. We can now at least list all the keys.
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.
(This used to be commit f4235ae1e6e691436d3b6dc2e903950b514a7601)

21 years agofix broken incremental tar - merge from 2.2
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>
(This used to be commit 52fdb787d426976941080acff126d592b288f301)

21 years agoAdd support to Makefile.in for editreg
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.
(This used to be commit 5273844a748230f710d860e33bdcde1c0b1e6c6f)

21 years agoComplete more of the code. An iterator is close to complete. Compiles,
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.
(This used to be commit 6b2943122a5008e0b06b52fcefd5e88326d9ecaa)

21 years agoClean up the code some more. Create more elements of the tree.
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!
(This used to be commit 8bc6aa72f533976493dba7c70a95cdfc8856f0d4)

21 years agoThe _abs time functions should not be converting from/to GMT.
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.
(This used to be commit aecc9db60a3c8227e2d24c775282cf6c1a37efaa)

21 years agofinnally put in Alexander parametric pacth
Simo Sorce [Mon, 9 Dec 2002 13:02:27 +0000 (13:02 +0000)]
finnally put in Alexander parametric pacth
(This used to be commit e6ae8b4eac66637d398406545654bba960d9e6b8)

21 years agomake vfs recycle use vfs facilities correctly!
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.
(This used to be commit 6dfa46098679681a6d2c931395d6eeae2a978466)

21 years agoHandle the creation of more parts of the tree ... Still have to do SK records
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.
(This used to be commit 8dd608f7adeab33655b7eb139185108a69f64906)

21 years agoStart allocating structures to keep the in memory copy of the registry tree
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.
(This used to be commit b51bb89841b7251b90a7a58f0a046d87803223a9)

21 years agoBegin to decode Value Keys, names and values ...
Richard Sharpe [Mon, 9 Dec 2002 07:55:13 +0000 (07:55 +0000)]
Begin to decode Value Keys, names and values ...
(This used to be commit 0ee49da74d357cc73ff4c7e4ee5659a35d085d4c)

21 years agoAdd some more handling of Key records ...
Richard Sharpe [Mon, 9 Dec 2002 06:39:54 +0000 (06:39 +0000)]
Add some more handling of Key records ...
(This used to be commit 738a82110893b08fc701fbf7b639fa8cb6e116c7)

21 years agoFix 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)
(This used to be commit 29bda72da0902b721a56e3afa62d2c537598b26c)

21 years agoCommit some more changes ... Start processing the sub-keys, recursively.
Richard Sharpe [Sun, 8 Dec 2002 19:50:40 +0000 (19:50 +0000)]
Commit some more changes ... Start processing the sub-keys, recursively.
(This used to be commit bab2b240ec9a04b636c80599489746529cdd9d57)

21 years agoFix the breakage, and start processing the first key record:
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
(This used to be commit 63efb7ab2f4d010d6df97c539c6225093cdbbdb1)

21 years agoA small fix to Makefile.in from Bradley Longhurst.
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.
(This used to be commit 481fa87154a15eebd5a59ac4de9912fa932a42e7)

21 years agoDefine some macros for accessing shorts and ints in an endian independent manner.
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.
(This used to be commit ee998438618c088d04ddfed05a9ba2d65f36e4ac)

21 years agoAdd definitions of the various NT Registry on-disk structures ...
Richard Sharpe [Sun, 8 Dec 2002 15:32:02 +0000 (15:32 +0000)]
Add definitions of the various NT Registry on-disk structures ...
(This used to be commit a4f9b9effc9491bdc4d0fe4bea3d25d7436e6a71)

21 years agoFix DAT_TIME so it becomes NTTIME and matches Samba source.
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.
(This used to be commit 10bc459dd9d3b5e695f9e18624200705a1bf33dc)

21 years agomake querygroup in rpcclient working, same fix as per 2.2 tree
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
(This used to be commit 8877ff2482bfa880614a9f40eed448d60216419d)

21 years agoSome more updates ...
Richard Sharpe [Sun, 8 Dec 2002 08:27:58 +0000 (08:27 +0000)]
Some more updates ...
(This used to be commit 92697adcd72434bcc38b98d618f013746a4db2ed)

21 years agoThe beginnings of a registry editing program.
Richard Sharpe [Sun, 8 Dec 2002 07:53:35 +0000 (07:53 +0000)]
The beginnings of a registry editing program.
(This used to be commit b9cb3e6f2acc3e439e2fe99c750ab32983357d8f)

21 years agoEnsure global_scope() returns "", not the NULL string. Froma tpot fix.
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.
(This used to be commit 7185b846e41da2bf7edaa7f3edeff1cc1486d28b)

21 years agoFix debugs for rap mapping. Delete job on map fail.
Jeremy Allison [Thu, 5 Dec 2002 22:32:25 +0000 (22:32 +0000)]
Fix debugs for rap mapping. Delete job on map fail.
Jeremy.
(This used to be commit 631d6066981c58f61d7fed4376b0254544eede84)

21 years agoMore printer data to publish
Jim McDonough [Thu, 5 Dec 2002 19:13:20 +0000 (19:13 +0000)]
More printer data to publish
(This used to be commit 82f3a786bf01878629fe4c05b028ae8d58eb4394)

21 years agoAdd some const
Jim McDonough [Thu, 5 Dec 2002 19:11:40 +0000 (19:11 +0000)]
Add some const
(This used to be commit 1426a5ca4f1457be22891544df685e8f841c6337)

21 years agoThe element in fsp->print_job should be a RAP jobid, not a uint32 RPC
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.
(This used to be commit 15f0bad1fc72ff44cd195d34fd530c25a739f42d)