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
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
Jeremy Allison
9dc3ec5af3
Fix for 64 bit issues with oplocks and allocation size.
...
Jeremy.
(This used to be commit 4a9c995e50b24e6ee6ec58c46da32100a8197724)
2002-12-04 03:12:28 +00:00
Jeremy Allison
f23eae814d
THIS FILE IS NOT OBSOLETE JELMER. DO NOT REMOVE ! Removing it breaks
...
autoconf 2.13.
Jeremy.
(This used to be commit 81be3a142925956fec6e2f0609420b7f15356613)
2002-12-04 02:37:47 +00:00
Gerald Carter
1ad8139ef1
[merge from app_head]
...
XP sends GetPrinterData("ChangeId"). So we now respond accordingly.
Possible fix for CR 1147.
(This used to be commit 42a2e7d701fd342f2553660eb5094af8723fb50e)
2002-12-04 01:14:34 +00:00
Jeremy Allison
e7f2ae9c7f
Reformat of reply.c before Volker's patch.
...
Jeremy.
(This used to be commit d41858b9e6a21f6e01305c33d107d16f2b587d37)
2002-12-03 23:57:55 +00:00
Tim Potter
b0b3ea1a7f
Rerun autoconf.
...
(This used to be commit aa496524ccef4dd882f7dfa890fab4cbea0cae64)
2002-12-03 22:32:44 +00:00
Tim Potter
2872557a69
Defaulting python breaks the clean target it python isn't installed.
...
(This used to be commit 5739ee4e63a35d7778506047ae3ad2ddceb69ec5)
2002-12-03 22:04:54 +00:00
Herb Lewis
73bf5369b8
use FILE_MACRO instead of __FILE__
...
use FUNCTION_MACRO instead of __FUNCTION_
(This used to be commit 243763d6eb107ab2444d81025232c8fe795baaf1)
2002-12-03 21:49:00 +00:00
Herb Lewis
db9686ff89
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)
2002-12-03 20:00:31 +00:00
Jim McDonough
34c7d48033
Support printer info 7, used for publishing
...
(This used to be commit 3c9726454ea6beb8d5d308805caecb86395c7ad2)
2002-12-03 19:48:18 +00:00
Jim McDonough
2e6c2a1456
Stop using hardcoded key/value strings, be more forgiving of dsspooler/dsdriver info existence.
...
(This used to be commit ca8735532cb656a09c1586326cdce33984fe38b4)
2002-12-03 19:41:43 +00:00
Jim McDonough
fc67cd8bf3
Stop using hacks for dns host/domain names.
...
(This used to be commit 1d0086aadb4fa57b127e80e455835dd6eb387f71)
2002-12-03 19:37:42 +00:00
Jim McDonough
ce397dbf04
fns for retrieving dns host name and domain name (get rid of lp_realm hacks).
...
(This used to be commit 456813308d8542211183f9655b7fe598144f7bfc)
2002-12-03 19:35:46 +00:00
Jim McDonough
d9f51cd143
Add defines for standard DsSpooler/DsDriver values that get published.
...
(This used to be commit 2b152addf49f0ede001b263174d2eaab2600e933)
2002-12-03 19:26:47 +00:00
Jim McDonough
8bd12bc330
Don't segfault when trying to delete a key when none exist.
...
(This used to be commit 1bf36d3fc69b8129fff08f5a735e27a94eb46d49)
2002-12-03 19:24:51 +00:00
Jeremy Allison
9a0b6a2273
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)
2002-12-03 08:02:21 +00:00
Tim Potter
e21df94c52
Fixes for EXEEXT - must use \$ signs when you want an actual $ sign to
...
be used.
(This used to be commit 8c306804c6f3f0523ff5347e4b9360474d696a50)
2002-12-03 05:44:36 +00:00
Andrew Bartlett
a65dc990f8
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)
2002-12-01 19:52:09 +00:00
Andrew Bartlett
9de7abd8db
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)
2002-12-01 04:11:20 +00:00
Andrew Bartlett
3924f97eac
No need for fstring manipulation here (Tcon&X), just use string pointers.
...
Andrew Bartlett
(This used to be commit b072bb9c8469799734507bcdffd4be29211e2610)
2002-12-01 03:16:59 +00:00
Andrew Bartlett
8f84d170af
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)
2002-12-01 03:14:30 +00:00
Andrew Bartlett
f634f24cf8
Dereference the correct thing here, so we don't segfault
...
(This used to be commit ea18d02036b4e0502e5ecb057c9fe381709a07d8)
2002-12-01 03:12:50 +00:00
Andrew Bartlett
969b569d84
Make it clear that we might not be talking to a PDC here.
...
(This used to be commit 7d099e9a5b7164e8cdbdb93d8c4527f02c8bdefd)
2002-12-01 03:11:53 +00:00
Andrew Bartlett
d1438c4b20
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)
2002-12-01 03:02:50 +00:00
Andrew Bartlett
f238a3e58b
Patch from Paul Green to detect exe extensions, needed for Stratus VOS.
...
Andrew Bartlett
(This used to be commit 3f5608c7e0175184fa599176178d391d54087b3d)
2002-12-01 01:35:40 +00:00
Jeremy Allison
fe768c3315
Fixup of ordered cleanup of get_dc_list - bug found by Dominik 'Aeneas' Schnitzer <dominik@schnitzer.at>
...
Jeremy.
(This used to be commit 7ba051a830a7dc96e3860a87643a3ac99cdf5836)
2002-12-01 00:46:50 +00:00
Tim Potter
899582f0f1
Ignore ntlm_auth binary.
...
(This used to be commit 25bbd0d1f90f819fcc7d9446f4f7e75e2434a639)
2002-11-29 02:46:33 +00:00
Tim Potter
9c7891e964
Fixed silly bug.
...
(This used to be commit 191c1596f5e939e733c9262c3beaf956328c7be6)
2002-11-29 02:44:09 +00:00
Tim Potter
bd1b785e46
Rerun autoconf.
...
(This used to be commit d9644ea3edb085c5eb72593cef8f167fce6464c9)
2002-11-29 01:21:14 +00:00
Tim Potter
7916923943
Fix up smbwrapper target.
...
(This used to be commit f5fa4801ceb56b21facccb382db09165936df319)
2002-11-29 01:19:27 +00:00
Jelmer Vernooij
ad4849825e
merge in some changes from metze's patches (rest follows later, after
...
some issues in the new module system have been resolved)
(This used to be commit 5b4d03fc8549696baebc0b4417582203ad7ba88e)
2002-11-28 18:45:11 +00:00
Jelmer Vernooij
fcbd2693c9
Add PDBLIBDIR, just like VFSLIBDIR
...
(This used to be commit 3d0735e6b03ae77af42135a7f1aebb4206ae6655)
2002-11-28 14:26:32 +00:00
Jeremy Allison
f069aaa671
Fix comment - 850 -> iso8859-1
...
Jeremy.
(This used to be commit 6639693746ba4c8f6622325ac143f8b1b3bd7538)
2002-11-27 21:00:55 +00:00
Jeremy Allison
cb51beac60
Remove use of 'F' - make 'f' and 'p' do unix (iso8859-1) encoding.
...
Jeremy.
(This used to be commit e88bbec2a06bd92b8cfa33efdf166c4fa72cb656)
2002-11-27 20:58:45 +00:00
Jeremy Allison
e65e16fdf6
Test was reversed for ERRmoredata in cli_read.
...
Jeremy.
(This used to be commit 1a36ac60bef8de5368860478c268ba1671bb4825)
2002-11-27 19:09:48 +00:00
Gerald Carter
4060d198bf
merging changes from SAMBA_3_0 relating to RPM packaging
...
(This used to be commit 1cf0cfa1b7f00946c439b2b1a30ab3981df4a459)
2002-11-27 16:59:31 +00:00
Gerald Carter
bea9e3416f
removing inet_aton()
...
(This used to be commit 08ac3610f9ef7e1c37541729441acfa13b48d34c)
2002-11-27 04:45:12 +00:00
Gerald Carter
e6f956f9b4
fix cli_ds_getprimarydominfo(); merge from SAMBA_3_0
...
(This used to be commit 481a8a8aa9dff336929cb168302f3faa3f046aa8)
2002-11-27 02:23:25 +00:00
Andrew Bartlett
8963cf1e58
After consultation with tpot, remove the 'winbind_domain' environment
...
variable hack, the feild on the pipe, and the server-side.
It only controlled some enum operations in any case.
This is to try and have less 'magic' environment variables.
Andrew Bartlett
(This used to be commit e4be82e4e2c7cdf15f3e20f73fe9f281f6384423)
2002-11-26 12:04:16 +00:00