1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-01 05:47:28 +03:00

10409 Commits

Author SHA1 Message Date
Jeremy Allison
120ead2f94 Added "kernel change notify" boolean to allow easier valgrind testing.
Jeremy.
(This used to be commit ac856fbb96e5ed21992972805b27cc8c3f9377df)
2002-12-12 02:01:53 +00:00
Jeremy Allison
7dd847ba9c Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy.
(This used to be commit ff3a8d37289216a2cb808406044a7abef1e564d0)
2002-12-11 23:54:46 +00:00
Jeremy Allison
f7267c1235 Fix write error returning EFBIG - found by Conrad.
Jeremy.
(This used to be commit 2d63fc7760634308cc280e4d745a6f7398f75d20)
2002-12-11 18:52:32 +00:00
Richard Sharpe
58ea9ea449 Fix a small bug.
(This used to be commit 16e0a3cc0834b691fcfec75d20dfdd5fa4d0afa6)
2002-12-11 07:55:44 +00:00
Richard Sharpe
f31ec23cf9 Improve the iterator wrt values ... Now prints keys and value names.
Does not print value values, yet.
(This used to be commit fbdd850e5a53e6e2c60dbf1eb6cdcf732307135f)
2002-12-11 07:51:07 +00:00
Tim Potter
fad3464ffe Some more tweaking for compilation of py_tdbpack.
(This used to be commit 89be695b2997e97dfc40afd17bb61b59b85634e4)
2002-12-11 01:25:18 +00:00
Jeremy Allison
89ef861b4b Fix client large file reporting.
Jeremy
(This used to be commit 185804ac945e717a5e3d3602e8118b35080f6251)
2002-12-10 23:27:12 +00:00
Richard Sharpe
3f501f0e31 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)
2002-12-10 23:25:11 +00:00
Herb Lewis
2ce7686a45 fix broken incremental tar - merge from 2.2
found by "Jacob Anawalt" <anawaltaj@hotmail.com>
(This used to be commit 52fdb787d426976941080acff126d592b288f301)
2002-12-10 21:50:44 +00:00
Richard Sharpe
117589526f Add support to Makefile.in for editreg
Fix a couple of duplicated macros.
(This used to be commit 5273844a748230f710d860e33bdcde1c0b1e6c6f)
2002-12-10 21:29:03 +00:00
Richard Sharpe
c12b8d89e3 Complete more of the code. An iterator is close to complete. Compiles,
but not tested as yet.
(This used to be commit 6b2943122a5008e0b06b52fcefd5e88326d9ecaa)
2002-12-10 08:17:40 +00:00
Richard Sharpe
a5ba65ca37 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)
2002-12-10 06:20:53 +00:00
Jeremy Allison
7c83af93e9 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)
2002-12-10 00:46:47 +00:00
Simo Sorce
6265861252 finnally put in Alexander parametric pacth
(This used to be commit e6ae8b4eac66637d398406545654bba960d9e6b8)
2002-12-09 13:02:27 +00:00
Simo Sorce
e6e3b79f74 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)
2002-12-09 12:06:15 +00:00
Richard Sharpe
2ad2557d11 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)
2002-12-09 09:26:17 +00:00
Richard Sharpe
c5d23bdb80 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)
2002-12-09 09:07:00 +00:00
Richard Sharpe
4d9784b3c4 Begin to decode Value Keys, names and values ...
(This used to be commit 0ee49da74d357cc73ff4c7e4ee5659a35d085d4c)
2002-12-09 07:55:13 +00:00
Richard Sharpe
cedd02aaab Add some more handling of Key records ...
(This used to be commit 738a82110893b08fc701fbf7b639fa8cb6e116c7)
2002-12-09 06:39:54 +00:00
Jelmer Vernooij
6a35fc93e7 Fix example command (reported by Cameron Maxwell)
(This used to be commit 29bda72da0902b721a56e3afa62d2c537598b26c)
2002-12-08 20:36:52 +00:00
Richard Sharpe
f3237d343e Commit some more changes ... Start processing the sub-keys, recursively.
(This used to be commit bab2b240ec9a04b636c80599489746529cdd9d57)
2002-12-08 19:50:40 +00:00
Richard Sharpe
98da55e973 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)
2002-12-08 19:30:16 +00:00
Richard Sharpe
2a8b92abd3 A small fix to Makefile.in from Bradley Longhurst.
Less Fir needed.
(This used to be commit 481fa87154a15eebd5a59ac4de9912fa932a42e7)
2002-12-08 18:48:48 +00:00
Richard Sharpe
b09f6f386a 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)
2002-12-08 17:04:23 +00:00
Richard Sharpe
1d44520de8 Add definitions of the various NT Registry on-disk structures ...
(This used to be commit a4f9b9effc9491bdc4d0fe4bea3d25d7436e6a71)
2002-12-08 15:32:02 +00:00
Richard Sharpe
0670d6b156 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)
2002-12-08 14:50:06 +00:00
Simo Sorce
a543e6ea62 make querygroup in rpcclient working, same fix as per 2.2 tree
(This used to be commit 8877ff2482bfa880614a9f40eed448d60216419d)
2002-12-08 11:56:45 +00:00
Richard Sharpe
eeeb898fef Some more updates ...
(This used to be commit 92697adcd72434bcc38b98d618f013746a4db2ed)
2002-12-08 08:27:58 +00:00
Richard Sharpe
355b0e271b The beginnings of a registry editing program.
(This used to be commit b9cb3e6f2acc3e439e2fe99c750ab32983357d8f)
2002-12-08 07:53:35 +00:00
Jeremy Allison
8c13b09b9d Ensure global_scope() returns "", not the NULL string. Froma tpot fix.
Jeremy.
(This used to be commit 7185b846e41da2bf7edaa7f3edeff1cc1486d28b)
2002-12-06 19:58:27 +00:00
Jeremy Allison
1815dad960 Fix debugs for rap mapping. Delete job on map fail.
Jeremy.
(This used to be commit 631d6066981c58f61d7fed4376b0254544eede84)
2002-12-05 22:32:25 +00:00
Jim McDonough
90d9cf973e More printer data to publish
(This used to be commit 82f3a786bf01878629fe4c05b028ae8d58eb4394)
2002-12-05 19:13:20 +00:00
Jim McDonough
b3bc5738bd Add some const
(This used to be commit 1426a5ca4f1457be22891544df685e8f841c6337)
2002-12-05 19:11:40 +00:00
Jeremy Allison
76e685e628 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)
2002-12-05 03:59:56 +00:00
Herb Lewis
c77586e297 fix stat reporting on put command
(This used to be commit c53e10ff879535e931cb3267d9190fd798d85b31)
2002-12-05 00:47:41 +00:00
Tim Potter
89a08b1df3 Rerun configure.
(This used to be commit 18afae7b7a3a81c184aec5304fd2adda752d3992)
2002-12-05 00:06:12 +00:00
Tim Potter
bb2aa240de Remove FILE_MACRO as __FILE__ is ANSI C.
(This used to be commit 2a9d183cf6ae8333dc7d9d9445c17dce005c1d24)
2002-12-04 23:57:15 +00:00
Tim Potter
8623ca6f82 FUNCTION_MACRO change broke the Python modules.
Also fix up string pasting (I thought this should only be a warning?)
(This used to be commit 739285ff694e9ffd317ad47aec373e2007c20f45)
2002-12-04 23:31:47 +00:00
Jeremy Allison
39734e2be8 Added Volker's directory fix - save the attributes
from the first call.
Jeremy.
(This used to be commit 2fe7504a08b692ec791c853e7a260a06142b7595)
2002-12-04 22:48:25 +00:00
Jim McDonough
6d66efe6c2 More attributes to publish. All DsSpooler attributes except REG_MULTI_SZ ones should be published now.
(This used to be commit 4fc602fd7da4b216748b005f62b14be0cfdddd63)
2002-12-04 21:30:52 +00:00
Jeremy Allison
cf7f1d5de0 Janitor for tpot yet again... Merging in memory leak fix.
Jeremy.
(This used to be commit a2ab78d68d269e77d55bf4b6929cf512a28f0708)
2002-12-04 21:28:23 +00:00
Gerald Carter
4ba8936707 change_trust_account_password() must always use the PDC for rpc
password changes.

jerry
(This used to be commit 974822526f90aee9b43e75fc7fd5d48fe91add99)
2002-12-04 20:13:29 +00:00
Jeremy Allison
3cb1f90578 Make sure we have a default st_blocksize.
Jeremy.
(This used to be commit 9cf56dc97733589d5591990b44c883c7c61d1ea2)
2002-12-04 19:47:18 +00:00
Gerald Carter
2aaf0ea146 cleaning up some friendly error messages
(This used to be commit f978387e789eeaf9b53a21231d4cdc7cf3ea6db3)
2002-12-04 19:03:32 +00:00
Gerald Carter
c73c3e1daa [merge] remove assert(count ==1) for multi-homed PDCs; CR 1277
(This used to be commit 157b5ab198670c6999f22d6b49072fdebc84be0d)
2002-12-04 19:00:29 +00:00
Jeremy Allison
a6a0b156bd Need brackets around macro args. Spotted by Patrick Welche <prlw1@newn.cam.ac.uk>.
Jeremy.
(This used to be commit 51c2cf3a9ccf0bf89520588530e04b965ae509f7)
2002-12-04 18:44:21 +00:00
Jeremy Allison
64c9679191 Doing janitorial duty for tpot - memory leak fix.
Jeremy.
(This used to be commit c6da50def80e64226c7e5b310dce30d0490512cb)
2002-12-04 18:40:01 +00:00
Jim McDonough
2dd0e949d0 Automatic printer publishing when using APW or choosing 'list in the directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients.
(This used to be commit bbd7c8071a095c4e410f92489050b677a0f0ace1)
2002-12-04 17:28:51 +00:00
Gerald Carter
32750d6f7d ln -s /lib/libns_winbind.so /lib/libnss_winbind.so.2
(This used to be commit 5bfa2e901cbe550990a42544878719c51853548a)
2002-12-04 13:25:51 +00:00
Jeremy Allison
d67ec06b7b Missed the removal of the incorrect ifdef.
Jeremy.
(This used to be commit 9cfa245bba2a116b7364ea22feaf6f63b362f5d7)
2002-12-04 03:21:18 +00:00