Gerald Carter [Wed, 14 Mar 2001 20:22:57 +0000 (20:22 +0000)]
set of changes in the beginning of bringing rpcclient changes
back to working order. The main change is that the cli_*() RPC
functions from libsmb/*.c now should accept a struct cli_state*.
The reason for this is that rpcclient should establish the
connection to the server at startup so that it is not necessary
to keep the clear test or password hash in memory for each command.
enumports and enumprinters now works as well. lsa* functions
have been tested. SAMR calls may or may not work (one of the core
dumps I know), but it compiles :-)
jerry
(This used to be commit
d98ac8852ae6b39b6fcff92c346ba56d9e63c518)
Gerald Carter [Wed, 14 Mar 2001 20:17:27 +0000 (20:17 +0000)]
patches from Simo. Couple of snity things
(This used to be commit
af3f2a30c657fc42171bbf7da2354bc4cc7b088d)
Andrew Tridgell [Wed, 14 Mar 2001 12:45:46 +0000 (12:45 +0000)]
don't need srvstr_push_size or srvstr_pull_size
(This used to be commit
d5b39a1d435f7fe79eb556f7e6b55276ac68a73d)
Andrew Tridgell [Wed, 14 Mar 2001 12:42:43 +0000 (12:42 +0000)]
simpler clistr interface which handles individual packets having
unicode bit set differently to capabilities
(This used to be commit
34a0821e087810381996f5ff6cf3b4d7b9bb53a0)
Andrew Tridgell [Wed, 14 Mar 2001 11:55:08 +0000 (11:55 +0000)]
converted the smb messaging code to unicode
(This used to be commit
54bde1b3aec829ba55b8a6c946424fdaf38803a9)
Andrew Tridgell [Wed, 14 Mar 2001 07:29:53 +0000 (07:29 +0000)]
converted a bunch more trans2 calls for unicode. This got quite tricky :(
(This used to be commit
ddee55087756db2a2ac0ee92471d9fea53f38bee)
Andrew Tridgell [Tue, 13 Mar 2001 23:25:48 +0000 (23:25 +0000)]
fixed srvstr_push() call
(This used to be commit
dca433d035dfb6e94ee659477c71edaa4549644d)
Andrew Tridgell [Tue, 13 Mar 2001 23:17:45 +0000 (23:17 +0000)]
converted a bunch more fns to unicode
(This used to be commit
fbb3bf12df5c79cac9445be21f1997234479b472)
Jeremy Allison [Tue, 13 Mar 2001 23:16:39 +0000 (23:16 +0000)]
Fix from Jim McDonough of IBM for using Win9x user manager.
Jeremy.
(This used to be commit
f1839d469e1fc6054b407bd8c4d7c505d4212b45)
Andrew Tridgell [Tue, 13 Mar 2001 22:00:46 +0000 (22:00 +0000)]
simpler and more correct srvstr_push()
it now uses outbuf not inbuf for the unicode flag, which
allows for some server fns to be ascii and means one less
parameter in push calls
(This used to be commit
a6dd6662267eeddf368ff0ffba76b45761bf4eeb)
Jeremy Allison [Tue, 13 Mar 2001 20:18:45 +0000 (20:18 +0000)]
Move to a handle database per pipe name, not per pipe.
Jeremy.
(This used to be commit
a24b248a77ccac364832ff7d4df083d437caf9ed)
Jeremy Allison [Tue, 13 Mar 2001 20:13:20 +0000 (20:13 +0000)]
rpc_parse/parse_samr.c: Removed unneeded deubg.
rpc_server/srv_netlog_nt.c: Ensure we marshall a bad password return correctly
to a w2k client.
Jeremy.
(This used to be commit
500c7bc0fed16713401643bdede67cc0c8044d52)
Jeremy Allison [Tue, 13 Mar 2001 19:21:51 +0000 (19:21 +0000)]
AS/U does setuserinfo2, level 0x12 when joining a domain - identical to setuserinfo level 0x12.
Jeremy.
(This used to be commit
d4ad197f711d5c5f2f60083b396f6dd7e6eca8c0)
Jeremy Allison [Tue, 13 Mar 2001 19:15:48 +0000 (19:15 +0000)]
We were mismarshalling a netlogon reply for bad password to W2K.
Jeremy.
(This used to be commit
017a6a9868eb5237a715a0d7bf4784863f40a2f4)
Gerald Carter [Tue, 13 Mar 2001 18:48:26 +0000 (18:48 +0000)]
move charset_initialize() up in the food chain so that lp_load_services
and stuff will work....
(This used to be commit
e652a14264cf6bed6c6563ad090f645f386d903f)
Andrew Tridgell [Tue, 13 Mar 2001 06:55:47 +0000 (06:55 +0000)]
converted reply_tcon()
(This used to be commit
1e92d340ceb5be8e7d50cc7c889b2053ed67bad3)
Andrew Tridgell [Tue, 13 Mar 2001 06:37:12 +0000 (06:37 +0000)]
converted a bunch more server functions to unicode
(This used to be commit
a074600a09387c2034ffb6651abad69bdc14145e)
Andrew Tridgell [Tue, 13 Mar 2001 03:45:29 +0000 (03:45 +0000)]
added STR_ASCII flag to srvstr_pull()
(This used to be commit
e54d37903013df1c799ab3aaa10f10df24e3de61)
Andrew Tridgell [Tue, 13 Mar 2001 03:45:09 +0000 (03:45 +0000)]
- convert chkpath
- devicename in tconx is always ascii
(This used to be commit
242a6a96d10beeb54e93226ae50bd361486e1c0d)
Andrew Tridgell [Tue, 13 Mar 2001 01:51:44 +0000 (01:51 +0000)]
converted findnext to unicode
(This used to be commit
84fc5a7795fe6e3b993649ecc05f6685f8295c02)
Jeremy Allison [Tue, 13 Mar 2001 01:44:05 +0000 (01:44 +0000)]
Fixed reading of strings from big-endian RPC clients.
Jeremy.
(This used to be commit
e7ecb9410ff2e4fcd33bca9f82e14c060590942a)
Andrew Tridgell [Tue, 13 Mar 2001 00:55:19 +0000 (00:55 +0000)]
this patch does a number of things:
- removes SMB_ALIGNMENT. That macro caused all sorts of problems with
getting unicode aligned right in sub-protocols (such as SMBtrans and
SMBtrans2). I believe the performance reasons for having
SMB_ALIGNMENT has gone away with the new variants of the SMB
protocol anyway, as newer commands tend to have their own internal
alignment.
- fix the locations where we set smb_flg2 to absolute values. We must
never do this if we want a hope of coping with unicode.
- add initial support for unicode on the wire in smbd. Currently
enabled using SMBD_USE_UNICODE environment variable.
(This used to be commit
b98b1435e9d8f8622444c9ff33082977e661f16b)
Jeremy Allison [Tue, 13 Mar 2001 00:32:43 +0000 (00:32 +0000)]
Ensure we never return passwords from a user query.
Jeremy.
(This used to be commit
37248e99e8b8d8a7e247d968b93a7d0cf5f63c8e)
Jeremy Allison [Tue, 13 Mar 2001 00:31:53 +0000 (00:31 +0000)]
Ensure we return the correct names/sids on query info. AS/U showed us what
we should return here.
Jeremy.
(This used to be commit
d22c6067032e167d4558f4954c58d87404de6d9d)
Jeremy Allison [Tue, 13 Mar 2001 00:31:07 +0000 (00:31 +0000)]
Added ADMIN$ share as alias for IPC$ except no guest connect. AS/U wants
to do RPC calls down this treeid.
Jeremy.
(This used to be commit
83133bab0ed59e303a183fd91812165f08e88484)
Jeremy Allison [Mon, 12 Mar 2001 21:09:55 +0000 (21:09 +0000)]
We copy the RPC header directly from the incoming client - remember to
set little-endian flag on marshalling. AS/U now correctly tries to join
our domain !
Jeremy.
(This used to be commit
0185f8159dbd30820d1ec9ce2aec8eb1cddcfc0b)
Jeremy Allison [Mon, 12 Mar 2001 20:19:31 +0000 (20:19 +0000)]
Ok - we're now sending back policy handles to bigendian AS/U correctly.
Jeremy.
(This used to be commit
67e09aea47b73e5a72aae638a58b56f2ef67f8af)
Jeremy Allison [Mon, 12 Mar 2001 16:43:01 +0000 (16:43 +0000)]
Looks like AS/U doesn't set the FIRST flag in a BIND packet.
Jeremy.
(This used to be commit
a8df5e04b5bc22aa4324e3b1b5dd78bf0e1c566f)
Jeremy Allison [Sun, 11 Mar 2001 22:26:28 +0000 (22:26 +0000)]
Moved cruft out of smb.h into ntdomain.h where it belongs. dc struct
now in pipe struct (where used) rather than user_struct.
Secured machine account password changing in srv_netlog_nt.c - ensure
that only the given machine can change its own password. May need to
free this up later for NT admin tools, but this is a fail-safe secure
position for now.
Jeremy.
(This used to be commit
46b12f2275dcd4b3114085160cd456441f9e921e)
Jeremy Allison [Sun, 11 Mar 2001 22:03:42 +0000 (22:03 +0000)]
Removed JRATEST line.
Jeremy.
(This used to be commit
be9933ce353d0ad607c55e6e02aae09627bf9dd9)
Jeremy Allison [Sun, 11 Mar 2001 22:02:48 +0000 (22:02 +0000)]
Dead code removal. Not used anywhere.
Jeremy.
(This used to be commit
90f334be23c20aa2a8a947e58907bd7854148574)
Jeremy Allison [Sun, 11 Mar 2001 04:33:05 +0000 (04:33 +0000)]
Ensure we're checking for the "FIRST" flag in other types of PDU than "REQUEST"
(ie. BIND, BINDRESP and ALTERCONTEXT) - if we don't do this then we don't set
the endianness flag correctly for these PDU's.
Herb - this should fix the bug you reported to me today.
Jeremy.
(This used to be commit
dde795154cdc33cb8d6f0dfe9ae2712f7f8be3a7)
Jeremy Allison [Sun, 11 Mar 2001 01:08:10 +0000 (01:08 +0000)]
Sync include files between 2.2 and HEAD except for acoount info.
Jeremy.
(This used to be commit
73c7ace168e4aa6a47b366cf40ed6743a21d3638)
Jeremy Allison [Sun, 11 Mar 2001 00:51:54 +0000 (00:51 +0000)]
Remove "BYTE" - we already have uint8 - don't need more conflicts with
system header files...
Jeremy.
(This used to be commit
31e0ce310ec38b3a3a05b344d6450d442c6be471)
Jeremy Allison [Sun, 11 Mar 2001 00:45:07 +0000 (00:45 +0000)]
Added JF's new util.
Jeremy.
(This used to be commit
96bcfdcded7202a7bced58fae6534f1fcd4c4e36)
Jeremy Allison [Sun, 11 Mar 2001 00:44:30 +0000 (00:44 +0000)]
Ok - everything now compiles in HEAD (at least the default stuff). We
should now be ready for the trivial winbindd port..... (Tim ? :-).
Jeremy.
(This used to be commit
85021b16388e8efc15ac57bf1a7c01bba552bf41)
Jeremy Allison [Sun, 11 Mar 2001 00:38:02 +0000 (00:38 +0000)]
No longer used...
Jeremy.
(This used to be commit
d23b9be1ba15bedac046319e8f15e60b481d057b)
Jeremy Allison [Sun, 11 Mar 2001 00:32:10 +0000 (00:32 +0000)]
Merge ... new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMR
RPC code to merge with new passdb code.
Currently rpcclient doesn't compile. I'm working on it...
Jeremy.
(This used to be commit
0be41d5158ea4e645e93e8cd30617c038416e549)
Jeremy Allison [Sat, 10 Mar 2001 20:11:49 +0000 (20:11 +0000)]
Notused.
Jeremy.
(This used to be commit
635c4cd8e6d29a1fe5043838ae1cb3028e66d060)
Jeremy Allison [Sat, 10 Mar 2001 19:50:36 +0000 (19:50 +0000)]
Sync up Urbans changes from 2.2 into HEAD.
Jeremy.
(This used to be commit
d0fcd9144363acb4136af9d82f25980bd837d73c)
Jeremy Allison [Sat, 10 Mar 2001 19:39:09 +0000 (19:39 +0000)]
Merge .cvsignore between 2.2 and HEAD.
Jeremy.
(This used to be commit
d386b9223feecdf801f86bbf4bc0d92b2f6ecb6a)
Andrew Tridgell [Sat, 10 Mar 2001 11:57:38 +0000 (11:57 +0000)]
converted reply_open, reply_open_and_x and reply_fclose
(This used to be commit
2c8da0ae22309f153bde4e29095b60996fa8fcc5)
Andrew Tridgell [Sat, 10 Mar 2001 11:38:27 +0000 (11:38 +0000)]
started support for unicode on the wire in smbd. Using a very similar
method to what was used in the client I now have session setup and
tconx working.
Currently this is enabled with SMBD_USE_UNICODE environment
variable. Once the code is complete this will become a smb.conf
option.
(This used to be commit
7684c1e67294266d018c6f0cab58f1a9d797174f)
Andrew Tridgell [Sat, 10 Mar 2001 11:35:25 +0000 (11:35 +0000)]
to use the same macros in the client and server rename the CLISTR_
macros to STR_
(This used to be commit
95c9e4e0ba8f37f565aaf136f41eb76489441ff7)
Richard Sharpe [Sat, 10 Mar 2001 01:29:20 +0000 (01:29 +0000)]
More documentation in the header in doxygen format
(This used to be commit
db2e712ad3ccfceb87d36e59d5f2e18a992b3e72)
Jeremy Allison [Fri, 9 Mar 2001 23:58:26 +0000 (23:58 +0000)]
Missed some prs_inits.
Jeremy.
(This used to be commit
7a8a7a24d4c328d26d34c3b3ac28af39e6acd32c)
Jeremy Allison [Fri, 9 Mar 2001 23:48:58 +0000 (23:48 +0000)]
Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.
We were reading the endainness in the RPC header and then never propagating
it to the internal parse_structs used to parse the data.
Also removed the "align" argument to prs_init as it was *always* set to
4, and if needed can be set differently on a case by case basis.
Now ready for AS/U testing when Herb gets it set up :-).
Jeremy.
(This used to be commit
0cd37c831d79a12a10e479bf4fa89ffe64c1292a)
Gerald Carter [Fri, 9 Mar 2001 18:59:16 +0000 (18:59 +0000)]
merge of 'lanman auth' and 'min protocol' from 2.2
(This used to be commit
1d84da779a0fe3219d77686a493d2b2fa1f8072a)
Richard Sharpe [Fri, 9 Mar 2001 13:29:06 +0000 (13:29 +0000)]
Bulk add of the test suite for libsmbclient ...
(This used to be commit
adef47b5173b9a028224307490960ce89762709b)
Richard Sharpe [Fri, 9 Mar 2001 05:47:48 +0000 (05:47 +0000)]
More SGI type fixes ...
(This used to be commit
26d7d8af2903b1f24da51c78e12f54a1d42ed798)
Richard Sharpe [Fri, 9 Mar 2001 03:59:45 +0000 (03:59 +0000)]
Fixes to testsmbc to ensure it will compile on SGI ...
(This used to be commit
ad3a21b2810883ec38f58bf8f8996a376536c762)
Jeremy Allison [Thu, 8 Mar 2001 22:29:39 +0000 (22:29 +0000)]
Fixed double fclose() call (I love insure :-).
Jeremy.
(This used to be commit
0a84839dc046c17375daea4ed18ef118887ef421)
Jeremy Allison [Thu, 8 Mar 2001 05:01:20 +0000 (05:01 +0000)]
Fix for AS/U not liking it's own assoc_gid.
Jeremy.
(This used to be commit
81fe571daf62ff3f53d7137dcd30312b6874b786)
Jeremy Allison [Wed, 7 Mar 2001 23:59:13 +0000 (23:59 +0000)]
Sync up handle creation with 2.2 branch. We can now join AS/U domains and
authenticate against them. Big/little endian issues fixed.
Jeremy.
(This used to be commit
0e6a34510ed598eaec7fe71a9c91fda528a4675c)
Richard Sharpe [Wed, 7 Mar 2001 04:39:31 +0000 (04:39 +0000)]
Fix the definition and implementation of smbc_lseekdir ...
(This used to be commit
e628d80d1e0f6ec87b61baeaf64019b43bf7dac8)
Richard Sharpe [Tue, 6 Mar 2001 14:00:48 +0000 (14:00 +0000)]
Implement smbc_lseekdir, but it will have to change ... because it has the
wrong interface defn.
(This used to be commit
317e369c3e20206c9f8b36a91dc666ebeede68ec)
Richard Sharpe [Mon, 5 Mar 2001 13:34:48 +0000 (13:34 +0000)]
smb.h: add one error code for no such printer job
libsmbclient.c: fix problems with return codes on smbc_unlink_print_job
(This used to be commit
7557f9145ccdced3fcebdd20e1eb6fc5a27abda2)
Jeremy Allison [Sat, 3 Mar 2001 06:47:37 +0000 (06:47 +0000)]
Fixed up overrun read when marshelling SYSTEMTIME struct. This was a subtle one...
Jeremy.
(This used to be commit
65275e73ee7c58352ee20175cbbb43378e16f417)
Jeremy Allison [Sat, 3 Mar 2001 05:27:26 +0000 (05:27 +0000)]
Roll back to using malloc/realloc on some of spoolss in head.
I'm having problems with talloc_realloc in the 2.2 branch and I
want a stable reference.
The only problem is this breaks the clean auto-generated code
in *one* call in srv_spoolss.c (the rfnpcnex call).
Jeremy.
(This used to be commit
57a9340cbafa40f3a41e6c676c6f2477855fd799)
Jeremy Allison [Fri, 2 Mar 2001 19:29:02 +0000 (19:29 +0000)]
Merged JF's fixes into HEAD. These are for string parsing and SAMR fixes.
Jeremy.
(This used to be commit
c3a1904564175a7a5cf71e88540b96f7daa59730)
Jeremy Allison [Fri, 2 Mar 2001 02:59:17 +0000 (02:59 +0000)]
Arrgggh. Returning the SPOOL_INFO stuff requires that the realloced
data be realloced between different functions. This took a *long*
time to track down (even with insure :-).
Jeremy.
(This used to be commit
e61899f490e0d4109a5fc2faa04eefb934e8448c)
Jeremy Allison [Fri, 2 Mar 2001 00:20:43 +0000 (00:20 +0000)]
Move to talloc controlled NT forms.
Jeremy.
(This used to be commit
3e190e693375c6032dd64bf8dd3c90f90dc4e3b4)
Richard Sharpe [Thu, 1 Mar 2001 19:21:57 +0000 (19:21 +0000)]
Fix two problems identified by the test suite, one a major one
where I was indexing through a NULL pointer :-(
(This used to be commit
5f1ea70e110bd3b97a4c75b2fe0edef22847550b)
Tim Potter [Thu, 1 Mar 2001 06:36:57 +0000 (06:36 +0000)]
Fixed compiler warning.
(This used to be commit
33e5c56ab049fe5e156579dbf2f9cd54897f1dd3)
Jeremy Allison [Thu, 1 Mar 2001 05:21:19 +0000 (05:21 +0000)]
Fixed a couple of getpwXX calls that were not going through the sys_getpwXX
cache.
Jeremy.
(This used to be commit
a648935ae93f781aedba8f89b0071a24e42f4543)
Jeremy Allison [Thu, 1 Mar 2001 04:01:23 +0000 (04:01 +0000)]
Don't return stack structures...
Jeremy.
(This used to be commit
94b72c19fe435d31e14e69a3fc9808e75638726a)
Jeremy Allison [Thu, 1 Mar 2001 04:00:45 +0000 (04:00 +0000)]
Fix memory leaks introduced in restructure.
Jeremy.
(This used to be commit
a355e11201e4dcb495b65b86e79de40d94c52a5b)
Jeremy Allison [Thu, 1 Mar 2001 03:36:02 +0000 (03:36 +0000)]
When opening a printserver use a global snum of -1.
Jeremy
(This used to be commit
3f44cb6103fe8df9182fbbca7dc7888171b4352a)
Jeremy Allison [Thu, 1 Mar 2001 03:04:13 +0000 (03:04 +0000)]
rpc_parse/parse_spoolss.c: Fixed memory leak introduced by restructuring.
rpc_server/srv_spoolss_nt.c: Fixed problem with printer snum being read uninitialised.
Jeremy.
(This used to be commit
1552db715da576b41060f0d31d2c4cdec790c1d4)
Jeremy Allison [Thu, 1 Mar 2001 00:40:25 +0000 (00:40 +0000)]
Remove unused code.
Jeremy.
(This used to be commit
3495d5cc3ba0f380fc78389b9ba17235ccd97ae4)
Jeremy Allison [Thu, 1 Mar 2001 00:14:45 +0000 (00:14 +0000)]
Ensure that SPOOL_NOTIFY_OPTION structs are safely copied out of the talloc
area into the Printer_entry struct - these are used for changenotification.
Jeremy.
(This used to be commit
4c2a49168e53b5ed96d61c6bae908086c3852f64)
Jeremy Allison [Wed, 28 Feb 2001 21:19:31 +0000 (21:19 +0000)]
Finished converion of spoolss code to canonical format. Now to work on the
PRINT_XX struct alloc/free issues.
Jeremy.
(This used to be commit
db98d4b020032b2a934b21bfdf9082765692fc5a)
Jeremy Allison [Wed, 28 Feb 2001 20:35:08 +0000 (20:35 +0000)]
Fix for stack return from "Jim McDonough" <jmcdough@hotmail.com>.
Jeremy.
(This used to be commit
7f45836c85df9cb04d062b71afa5e55014841859)
Gerald Carter [Wed, 28 Feb 2001 18:36:45 +0000 (18:36 +0000)]
Gerald Carter [Wed, 28 Feb 2001 18:36:11 +0000 (18:36 +0000)]
Gerald Carter [Wed, 28 Feb 2001 18:35:51 +0000 (18:35 +0000)]
updated Makefile to generate howto's and the FAQ
(This used to be commit
c71e99556b32c5932ccd3b599f4402679828ef21)
Gerald Carter [Wed, 28 Feb 2001 14:45:29 +0000 (14:45 +0000)]
added so that it is not necessary for autoconf to be locally installed
for CVS users
(This used to be commit
a8ec2901d42f4a3a69b0a5aac9f9d5906e2017c2)
Gerald Carter [Wed, 28 Feb 2001 14:44:31 +0000 (14:44 +0000)]
some updates and reorganization
(This used to be commit
a6d65d79642d0e2dfc7137d62eb0578c1cec15fb)
Jeremy Allison [Wed, 28 Feb 2001 02:38:09 +0000 (02:38 +0000)]
More converted to canonical format. Home now - do the rest tomorrow...
Jeremy.
(This used to be commit
9d5979f51ec7b2a62fb9b290eb0393594cfa6224)
Jeremy Allison [Wed, 28 Feb 2001 02:03:02 +0000 (02:03 +0000)]
Converted more to canonical format... save as I go.,
Jeremy.
(This used to be commit
1d4ff7a81bccce0e5701102314af4f9c64c55cd6)
Jeremy Allison [Wed, 28 Feb 2001 01:38:12 +0000 (01:38 +0000)]
Ooops - forgot to check the rpcclient and smbcacls compile with the new
code :-(.
Jeremy.
(This used to be commit
70beabf73bdaad7b6a60e24b7a11798a411bed02)
Jeremy Allison [Wed, 28 Feb 2001 01:24:55 +0000 (01:24 +0000)]
Partial conversion of SPOOLSS code to canonical format. More to follow.
Once complete then the PRINTER_XX functions and structures will be converted
to talloc control.
Jeremy.
(This used to be commit
8171cc56428920d8b765d077198893201f68766e)
Jeremy Allison [Wed, 28 Feb 2001 00:51:02 +0000 (00:51 +0000)]
Move to talloc control of SPOOL_XXX structs. Move to talloc control of
security descriptors and pointers. Syncup with 2.2 tree.
Jeremy.
(This used to be commit
14d5997dc841e78a619e865288486d50c245896d)
Gerald Carter [Tue, 27 Feb 2001 22:09:24 +0000 (22:09 +0000)]
more updates and autogen
(This used to be commit
2d3429cfe2d19b667400e408a4947efd160d99c0)
Jeremy Allison [Tue, 27 Feb 2001 21:46:01 +0000 (21:46 +0000)]
Fixes from Toomas Soome <tsoome@ut.ee> code unicode problems, plus
a solaris quota update fix.
Jeremy.
(This used to be commit
9efd7a778b7b172d76af922c3dda8ec31d74bd7d)
Gerald Carter [Tue, 27 Feb 2001 21:03:02 +0000 (21:03 +0000)]
Gerald Carter [Tue, 27 Feb 2001 21:02:37 +0000 (21:02 +0000)]
another conversion
(This used to be commit
eda9d9ac044f9bc243b128c41927426742c71fc8)
Jeremy Allison [Tue, 27 Feb 2001 20:17:32 +0000 (20:17 +0000)]
Don't marshal data from a stack frame.....
Jeremy.
(This used to be commit
86ee091b3b5814813fbabd20f6de77ed94049ca3)
Jeremy Allison [Tue, 27 Feb 2001 19:22:02 +0000 (19:22 +0000)]
Added total memory allocated counter to talloc, so we can tell if a talloc
pool is getting bloated. Also added a talloc_zero function to return zeroed memory.
Added debug in rpc_server/srv_pipe_hnd.c so we know when a talloc pool is being
freed. Syncup with srv_pipe_hnd.c from 2.2 so we are freeing memory at the same time.
Jeremy.
(This used to be commit
d3a56c6042acf037bbd53de88d7636a5803ead20)
Jeremy Allison [Tue, 27 Feb 2001 18:22:39 +0000 (18:22 +0000)]
Hmmm. I thought I'd added these files to CVS head.....
Jeremy.
(This used to be commit
d573700a9218bce8efd21f0be70afec6b460f8b9)
Andrew Tridgell [Tue, 27 Feb 2001 12:04:49 +0000 (12:04 +0000)]
better handling of '.'
better verbose print
(This used to be commit
1f8b8a7189fb8c142801d679cf53c586aee74740)
Andrew Tridgell [Tue, 27 Feb 2001 06:13:32 +0000 (06:13 +0000)]
remove some test code
(This used to be commit
2c509c9860fdcf4d2b3bb35e12f9fedbb77bd17e)
Andrew Tridgell [Tue, 27 Feb 2001 06:11:59 +0000 (06:11 +0000)]
almost there with lanman1 wildcards. We now seem to correctly handle
'<', '>', '"' and '?' when combined with '.'. The '*' character is
proving troublesome.
(This used to be commit
0a55d9a17b5d98c7e151bb2ee014cfb0b3660400)
Andrew Tridgell [Tue, 27 Feb 2001 04:18:12 +0000 (04:18 +0000)]
I have now found that despite initial appearences the lanman1 wildcard
algorithm does *not* match separately on base and extension.
I also added a -v option to masktest for verbose output
(This used to be commit
76c8fa5cd1ce9095583f818d100cd0f2116ddc62)
Jeremy Allison [Tue, 27 Feb 2001 03:37:29 +0000 (03:37 +0000)]
Added patch from Urban Widmark <urban@teststation.com> modified by me to
enable large file support on Linux if glibc >= 2.2 and kernel >= 2.4.
Jeremy.
(This used to be commit
c59a5db9c21d5642aa9ea2a5270343c7a52cf779)
Jeremy Allison [Tue, 27 Feb 2001 02:18:37 +0000 (02:18 +0000)]
As prs_alloc_mem now zeros memory, remove superfluous memsets after it.
Jeremy.
(This used to be commit
94fdffb3557fa68d634d6c402751f5bcb1f6a656)
Jeremy Allison [Tue, 27 Feb 2001 02:09:50 +0000 (02:09 +0000)]
Separated dfs pipe into implementation and interface modules.
rpc_parse/parse_dfs.c: Had to add buffer overrun checking ! HOW DID THIS GET IN HERE !
rpc_parse/parse_prs.c: Ensure prs_alloc_mem does a memset of zero before returning.
Jeremy.
(This used to be commit
c9a6a17025f4a6850cd2b9a9ddb48bdeec8b3ffe)
Jeremy Allison [Tue, 27 Feb 2001 00:32:11 +0000 (00:32 +0000)]
Implementation module for netlog pipe. Can't be easily integrated into
HEAD right now due to passdb changes - placeholder added.
Jeremy.
(This used to be commit
eb88512cff67200f95213db5c1340ceb448af57c)
Jeremy Allison [Mon, 26 Feb 2001 22:05:41 +0000 (22:05 +0000)]
Split srvsvc pipe into interface and implementation modules.
Jeremy.
(This used to be commit
e14c88ddf466f17a710724fb4fc273d37a244d77)
Jeremy Allison [Mon, 26 Feb 2001 20:06:25 +0000 (20:06 +0000)]
Split wks pipe into interface and implementation modules.
Jeremy.
(This used to be commit
6a16b3850fdc4d6750ef2046f1db934f1ef92f17)