nivanova/samba-autobuild/.git
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)

21 years agofix stat reporting on put command
Herb Lewis [Thu, 5 Dec 2002 00:47:41 +0000 (00:47 +0000)]
fix stat reporting on put command
(This used to be commit c53e10ff879535e931cb3267d9190fd798d85b31)

21 years agoRerun configure.
Tim Potter [Thu, 5 Dec 2002 00:06:12 +0000 (00:06 +0000)]
Rerun configure.
(This used to be commit 18afae7b7a3a81c184aec5304fd2adda752d3992)

21 years agoRemove FILE_MACRO as __FILE__ is ANSI C.
Tim Potter [Wed, 4 Dec 2002 23:57:15 +0000 (23:57 +0000)]
Remove FILE_MACRO as __FILE__ is ANSI C.
(This used to be commit 2a9d183cf6ae8333dc7d9d9445c17dce005c1d24)

21 years agoFUNCTION_MACRO change broke the Python modules.
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?)
(This used to be commit 739285ff694e9ffd317ad47aec373e2007c20f45)

21 years agoAdded Volker's directory fix - save the attributes
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.
(This used to be commit 2fe7504a08b692ec791c853e7a260a06142b7595)

21 years agoMore attributes to publish. All DsSpooler attributes except REG_MULTI_SZ ones should...
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.
(This used to be commit 4fc602fd7da4b216748b005f62b14be0cfdddd63)

21 years agoJanitor for tpot yet again... Merging in memory leak fix.
Jeremy Allison [Wed, 4 Dec 2002 21:28:23 +0000 (21:28 +0000)]
Janitor for tpot yet again... Merging in memory leak fix.
Jeremy.
(This used to be commit a2ab78d68d269e77d55bf4b6929cf512a28f0708)

21 years agochange_trust_account_password() must always use the PDC for rpc
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
(This used to be commit 974822526f90aee9b43e75fc7fd5d48fe91add99)

21 years agoMake sure we have a default st_blocksize.
Jeremy Allison [Wed, 4 Dec 2002 19:47:18 +0000 (19:47 +0000)]
Make sure we have a default st_blocksize.
Jeremy.
(This used to be commit 9cf56dc97733589d5591990b44c883c7c61d1ea2)

21 years agocleaning up some friendly error messages
Gerald Carter [Wed, 4 Dec 2002 19:03:32 +0000 (19:03 +0000)]
cleaning up some friendly error messages
(This used to be commit f978387e789eeaf9b53a21231d4cdc7cf3ea6db3)

21 years ago[merge] remove assert(count ==1) for multi-homed PDCs; CR 1277
Gerald Carter [Wed, 4 Dec 2002 19:00:29 +0000 (19:00 +0000)]
[merge] remove assert(count ==1) for multi-homed PDCs; CR 1277
(This used to be commit 157b5ab198670c6999f22d6b49072fdebc84be0d)

21 years agoNeed brackets around macro args. Spotted by Patrick Welche <prlw1@newn.cam.ac.uk>.
Jeremy Allison [Wed, 4 Dec 2002 18:44:21 +0000 (18:44 +0000)]
Need brackets around macro args. Spotted by Patrick Welche <prlw1@newn.cam.ac.uk>.
Jeremy.
(This used to be commit 51c2cf3a9ccf0bf89520588530e04b965ae509f7)

21 years agoDoing janitorial duty for tpot - memory leak fix.
Jeremy Allison [Wed, 4 Dec 2002 18:40:01 +0000 (18:40 +0000)]
Doing janitorial duty for tpot - memory leak fix.
Jeremy.
(This used to be commit c6da50def80e64226c7e5b310dce30d0490512cb)

21 years agoAutomatic printer publishing when using APW or choosing 'list in the directory' in...
Jim McDonough [Wed, 4 Dec 2002 17:28:51 +0000 (17:28 +0000)]
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)

21 years agoln -s /lib/libns_winbind.so /lib/libnss_winbind.so.2
Gerald Carter [Wed, 4 Dec 2002 13:25:51 +0000 (13:25 +0000)]
ln -s /lib/libns_winbind.so /lib/libnss_winbind.so.2
(This used to be commit 5bfa2e901cbe550990a42544878719c51853548a)

21 years agoMissed the removal of the incorrect ifdef.
Jeremy Allison [Wed, 4 Dec 2002 03:21:18 +0000 (03:21 +0000)]
Missed the removal of the incorrect ifdef.
Jeremy.
(This used to be commit 9cfa245bba2a116b7364ea22feaf6f63b362f5d7)

21 years agoFix for 64 bit issues with oplocks and allocation size.
Jeremy Allison [Wed, 4 Dec 2002 03:12:28 +0000 (03:12 +0000)]
Fix for 64 bit issues with oplocks and allocation size.
Jeremy.
(This used to be commit 4a9c995e50b24e6ee6ec58c46da32100a8197724)

21 years agoTHIS FILE IS NOT OBSOLETE JELMER. DO NOT REMOVE ! Removing it breaks
Jeremy Allison [Wed, 4 Dec 2002 02:37:47 +0000 (02:37 +0000)]
THIS FILE IS NOT OBSOLETE JELMER. DO NOT REMOVE ! Removing it breaks
autoconf 2.13.
Jeremy.
(This used to be commit 81be3a142925956fec6e2f0609420b7f15356613)

21 years ago[merge from app_head]
Gerald Carter [Wed, 4 Dec 2002 01:14:34 +0000 (01:14 +0000)]
[merge from app_head]

XP sends GetPrinterData("ChangeId"). So we now respond accordingly.
Possible fix for CR 1147.
(This used to be commit 42a2e7d701fd342f2553660eb5094af8723fb50e)

21 years agoReformat of reply.c before Volker's patch.
Jeremy Allison [Tue, 3 Dec 2002 23:57:55 +0000 (23:57 +0000)]
Reformat of reply.c before Volker's patch.
Jeremy.
(This used to be commit d41858b9e6a21f6e01305c33d107d16f2b587d37)

21 years agoRerun autoconf.
Tim Potter [Tue, 3 Dec 2002 22:32:44 +0000 (22:32 +0000)]
Rerun autoconf.
(This used to be commit aa496524ccef4dd882f7dfa890fab4cbea0cae64)

21 years agoDefaulting python breaks the clean target it python isn't installed.
Tim Potter [Tue, 3 Dec 2002 22:04:54 +0000 (22:04 +0000)]
Defaulting python breaks the clean target it python isn't installed.
(This used to be commit 5739ee4e63a35d7778506047ae3ad2ddceb69ec5)

21 years agouse FILE_MACRO instead of __FILE__
Herb Lewis [Tue, 3 Dec 2002 21:49:00 +0000 (21:49 +0000)]
use FILE_MACRO instead of __FILE__
use FUNCTION_MACRO instead of __FUNCTION_
(This used to be commit 243763d6eb107ab2444d81025232c8fe795baaf1)

21 years agouse the new IVAL_TO_SMB_OFF_T for file_info size member
Herb Lewis [Tue, 3 Dec 2002 20:00:31 +0000 (20:00 +0000)]
use the new IVAL_TO_SMB_OFF_T for file_info size member
dir now shows correct size on large files
(This used to be commit ce7d421ba9cfa65e3ed404f18e8b3b4cf4730593)

21 years agoSupport printer info 7, used for publishing
Jim McDonough [Tue, 3 Dec 2002 19:48:18 +0000 (19:48 +0000)]
Support printer info 7, used for publishing
(This used to be commit 3c9726454ea6beb8d5d308805caecb86395c7ad2)

21 years agoStop using hardcoded key/value strings, be more forgiving of dsspooler/dsdriver info...
Jim McDonough [Tue, 3 Dec 2002 19:41:43 +0000 (19:41 +0000)]
Stop using hardcoded key/value strings, be more forgiving of dsspooler/dsdriver info existence.
(This used to be commit ca8735532cb656a09c1586326cdce33984fe38b4)

21 years agoStop using hacks for dns host/domain names.
Jim McDonough [Tue, 3 Dec 2002 19:37:42 +0000 (19:37 +0000)]
Stop using hacks for dns host/domain names.
(This used to be commit 1d0086aadb4fa57b127e80e455835dd6eb387f71)

21 years agofns for retrieving dns host name and domain name (get rid of lp_realm hacks).
Jim McDonough [Tue, 3 Dec 2002 19:35:46 +0000 (19:35 +0000)]
fns for retrieving dns host name and domain name (get rid of lp_realm hacks).
(This used to be commit 456813308d8542211183f9655b7fe598144f7bfc)

21 years agoAdd defines for standard DsSpooler/DsDriver values that get published.
Jim McDonough [Tue, 3 Dec 2002 19:26:47 +0000 (19:26 +0000)]
Add defines for standard DsSpooler/DsDriver values that get published.
(This used to be commit 2b152addf49f0ede001b263174d2eaab2600e933)

21 years agoDon't segfault when trying to delete a key when none exist.
Jim McDonough [Tue, 3 Dec 2002 19:24:51 +0000 (19:24 +0000)]
Don't segfault when trying to delete a key when none exist.
(This used to be commit 1bf36d3fc69b8129fff08f5a735e27a94eb46d49)

21 years agoFixed nasty bug where file writes with start offsets in the range
Jeremy Allison [Tue, 3 Dec 2002 08:02:21 +0000 (08:02 +0000)]
Fixed nasty bug where file writes with start offsets in the range
0x80000000 -> 0xFFFFFFFF would fail as they were being cast
from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types).
The sign extension would cause the offset to be treated as negative.
Thanks to Herb for helping me track this one down (IRIX is good for large
file tests :-).
Jeremy.
PS. That horrid EXEXIST thing has broken configure.....
(This used to be commit fc7d3faed798e7496f2991ec7d795c3b1a3758f5)

21 years agoFixes for EXEEXT - must use \$ signs when you want an actual $ sign to
Tim Potter [Tue, 3 Dec 2002 05:44:36 +0000 (05:44 +0000)]
Fixes for EXEEXT - must use \$ signs when you want an actual $ sign to
be used.
(This used to be commit 8c306804c6f3f0523ff5347e4b9360474d696a50)

21 years agoAs per Jeremy's request back this out, so as to re-gain the implicit length
Andrew Bartlett [Sun, 1 Dec 2002 19:52:09 +0000 (19:52 +0000)]
As per Jeremy's request back this out, so as to re-gain the implicit length
check.

Andrew Bartlett
(This used to be commit 323088259f19f59008160d56fbcb9df6a6cd0d98)

21 years agoLink less with smbmnt and smbumount. Also change from a pstrcpy() to a
Andrew Bartlett [Sun, 1 Dec 2002 04:11:20 +0000 (04:11 +0000)]
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
(This used to be commit 49d9698ef08d66dc238b2e3469da8944b444dfa1)

21 years agoNo need for fstring manipulation here (Tcon&X), just use string pointers.
Andrew Bartlett [Sun, 1 Dec 2002 03:16:59 +0000 (03:16 +0000)]
No need for fstring manipulation here (Tcon&X), just use string pointers.

Andrew Bartlett
(This used to be commit b072bb9c8469799734507bcdffd4be29211e2610)

21 years agoRemove extra headers, and ensure that we correctly bail out of winbindd if we
Andrew Bartlett [Sun, 1 Dec 2002 03:14:30 +0000 (03:14 +0000)]
Remove extra headers, and ensure that we correctly bail out of winbindd if we
can't create the socket.

Andrew Bartlett
(This used to be commit 13b9af53bff8e42126a38f93c3bdd5b4d9b20aba)

21 years agoDereference the correct thing here, so we don't segfault
Andrew Bartlett [Sun, 1 Dec 2002 03:12:50 +0000 (03:12 +0000)]
Dereference the correct thing here, so we don't segfault
(This used to be commit ea18d02036b4e0502e5ecb057c9fe381709a07d8)

21 years agoMake it clear that we might not be talking to a PDC here.
Andrew Bartlett [Sun, 1 Dec 2002 03:11:53 +0000 (03:11 +0000)]
Make it clear that we might not be talking to a PDC here.
(This used to be commit 7d099e9a5b7164e8cdbdb93d8c4527f02c8bdefd)

21 years agoPOSIX indicates that this is always in network byte order, so we don't need the
Andrew Bartlett [Sun, 1 Dec 2002 03:02:50 +0000 (03:02 +0000)]
POSIX indicates that this is always in network byte order, so we don't need the
little-endian case (tested on Intel-linux).

Andrew Bartlett
(This used to be commit 281b713b12ece63d499652df193509c57312b749)

21 years agoPatch from Paul Green to detect exe extensions, needed for Stratus VOS.
Andrew Bartlett [Sun, 1 Dec 2002 01:35:40 +0000 (01:35 +0000)]
Patch from Paul Green to detect exe extensions, needed for Stratus VOS.

Andrew Bartlett
(This used to be commit 3f5608c7e0175184fa599176178d391d54087b3d)

21 years agoFixup of ordered cleanup of get_dc_list - bug found by Dominik 'Aeneas' Schnitzer...
Jeremy Allison [Sun, 1 Dec 2002 00:46:50 +0000 (00:46 +0000)]
Fixup of ordered cleanup of get_dc_list - bug found by Dominik 'Aeneas' Schnitzer <dominik@schnitzer.at>
Jeremy.
(This used to be commit 7ba051a830a7dc96e3860a87643a3ac99cdf5836)

21 years agoIgnore ntlm_auth binary.
Tim Potter [Fri, 29 Nov 2002 02:46:33 +0000 (02:46 +0000)]
Ignore ntlm_auth binary.
(This used to be commit 25bbd0d1f90f819fcc7d9446f4f7e75e2434a639)

21 years agoFixed silly bug.
Tim Potter [Fri, 29 Nov 2002 02:44:09 +0000 (02:44 +0000)]
Fixed silly bug.
(This used to be commit 191c1596f5e939e733c9262c3beaf956328c7be6)

21 years agoRerun autoconf.
Tim Potter [Fri, 29 Nov 2002 01:21:14 +0000 (01:21 +0000)]
Rerun autoconf.
(This used to be commit d9644ea3edb085c5eb72593cef8f167fce6464c9)