1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

4262 Commits

Author SHA1 Message Date
Jeremy Allison
5107a7a96a Ok - we're now sending back policy handles to bigendian AS/U correctly.
Jeremy.
(This used to be commit 67e09aea47b73e5a72aae638a58b56f2ef67f8af)
2001-03-12 20:19:31 +00:00
Jeremy Allison
7c99297ea1 Looks like AS/U doesn't set the FIRST flag in a BIND packet.
Jeremy.
(This used to be commit a8df5e04b5bc22aa4324e3b1b5dd78bf0e1c566f)
2001-03-12 16:43:01 +00:00
Jeremy Allison
b840dce676 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)
2001-03-11 22:26:28 +00:00
Jeremy Allison
02fe94f865 Removed JRATEST line.
Jeremy.
(This used to be commit be9933ce353d0ad607c55e6e02aae09627bf9dd9)
2001-03-11 22:03:42 +00:00
Jeremy Allison
24993180ab Dead code removal. Not used anywhere.
Jeremy.
(This used to be commit 90f334be23c20aa2a8a947e58907bd7854148574)
2001-03-11 22:02:48 +00:00
Jeremy Allison
b2bc2bfaf0 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)
2001-03-11 04:33:05 +00:00
Jeremy Allison
1f467d3200 Sync include files between 2.2 and HEAD except for acoount info.
Jeremy.
(This used to be commit 73c7ace168e4aa6a47b366cf40ed6743a21d3638)
2001-03-11 01:08:10 +00:00
Jeremy Allison
a2e5dbb112 Remove "BYTE" - we already have uint8 - don't need more conflicts with
system header files...
Jeremy.
(This used to be commit 31e0ce310ec38b3a3a05b344d6450d442c6be471)
2001-03-11 00:51:54 +00:00
Jeremy Allison
c4a84783a6 Added JF's new util.
Jeremy.
(This used to be commit 96bcfdcded7202a7bced58fae6534f1fcd4c4e36)
2001-03-11 00:45:07 +00:00
Jeremy Allison
ce069f4132 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)
2001-03-11 00:44:30 +00:00
Jeremy Allison
d47ee4bffc No longer used...
Jeremy.
(This used to be commit d23b9be1ba15bedac046319e8f15e60b481d057b)
2001-03-11 00:38:02 +00:00
Jeremy Allison
da3053048c Merge of 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)
2001-03-11 00:32:10 +00:00
Jeremy Allison
1af77d39fa Notused.
Jeremy.
(This used to be commit 635c4cd8e6d29a1fe5043838ae1cb3028e66d060)
2001-03-10 20:11:49 +00:00
Jeremy Allison
a9855dedea Sync up Urbans changes from 2.2 into HEAD.
Jeremy.
(This used to be commit d0fcd9144363acb4136af9d82f25980bd837d73c)
2001-03-10 19:50:36 +00:00
Jeremy Allison
aa567e9c75 Merge .cvsignore between 2.2 and HEAD.
Jeremy.
(This used to be commit d386b9223feecdf801f86bbf4bc0d92b2f6ecb6a)
2001-03-10 19:39:09 +00:00
Andrew Tridgell
20d3a2986e converted reply_open, reply_open_and_x and reply_fclose
(This used to be commit 2c8da0ae22309f153bde4e29095b60996fa8fcc5)
2001-03-10 11:57:38 +00:00
Andrew Tridgell
b08b70faf8 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)
2001-03-10 11:38:27 +00:00
Andrew Tridgell
45c2ee3ff2 to use the same macros in the client and server rename the CLISTR_
macros to STR_
(This used to be commit 95c9e4e0ba8f37f565aaf136f41eb76489441ff7)
2001-03-10 11:35:25 +00:00
Richard Sharpe
9579f927dc More documentation in the header in doxygen format
(This used to be commit db2e712ad3ccfceb87d36e59d5f2e18a992b3e72)
2001-03-10 01:29:20 +00:00
Jeremy Allison
2a490ed2a0 Missed some prs_inits.
Jeremy.
(This used to be commit 7a8a7a24d4c328d26d34c3b3ac28af39e6acd32c)
2001-03-09 23:58:26 +00:00
Jeremy Allison
00ab9021b0 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)
2001-03-09 23:48:58 +00:00
Gerald Carter
0bfc10011b merge of 'lanman auth' and 'min protocol' from 2.2
(This used to be commit 1d84da779a0fe3219d77686a493d2b2fa1f8072a)
2001-03-09 18:59:16 +00:00
Richard Sharpe
e8fcbc5df1 More SGI type fixes ...
(This used to be commit 26d7d8af2903b1f24da51c78e12f54a1d42ed798)
2001-03-09 05:47:48 +00:00
Richard Sharpe
632ed01166 Fixes to testsmbc to ensure it will compile on SGI ...
(This used to be commit ad3a21b2810883ec38f58bf8f8996a376536c762)
2001-03-09 03:59:45 +00:00
Jeremy Allison
6c99c38cbf Fixed double fclose() call (I love insure :-).
Jeremy.
(This used to be commit 0a84839dc046c17375daea4ed18ef118887ef421)
2001-03-08 22:29:39 +00:00
Jeremy Allison
25db9b02ba Fix for AS/U not liking it's own assoc_gid.
Jeremy.
(This used to be commit 81fe571daf62ff3f53d7137dcd30312b6874b786)
2001-03-08 05:01:20 +00:00
Jeremy Allison
393bede7db 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)
2001-03-07 23:59:13 +00:00
Richard Sharpe
2b22019e42 Fix the definition and implementation of smbc_lseekdir ...
(This used to be commit e628d80d1e0f6ec87b61baeaf64019b43bf7dac8)
2001-03-07 04:39:31 +00:00
Richard Sharpe
5bf5952fd6 Implement smbc_lseekdir, but it will have to change ... because it has the
wrong interface defn.
(This used to be commit 317e369c3e20206c9f8b36a91dc666ebeede68ec)
2001-03-06 14:00:48 +00:00
Richard Sharpe
134c0d27cc 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)
2001-03-05 13:34:48 +00:00
Jeremy Allison
e2e56e84f0 Fixed up overrun read when marshelling SYSTEMTIME struct. This was a subtle one...
Jeremy.
(This used to be commit 65275e73ee7c58352ee20175cbbb43378e16f417)
2001-03-03 06:47:37 +00:00
Jeremy Allison
93169a1f34 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)
2001-03-03 05:27:26 +00:00
Jeremy Allison
e9f555e4bd Merged JF's fixes into HEAD. These are for string parsing and SAMR fixes.
Jeremy.
(This used to be commit c3a1904564175a7a5cf71e88540b96f7daa59730)
2001-03-02 19:29:02 +00:00
Jeremy Allison
28c43a3cd5 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)
2001-03-02 02:59:17 +00:00
Jeremy Allison
74294f5a96 Move to talloc controlled NT forms.
Jeremy.
(This used to be commit 3e190e693375c6032dd64bf8dd3c90f90dc4e3b4)
2001-03-02 00:20:43 +00:00
Richard Sharpe
1b476b12d9 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)
2001-03-01 19:21:57 +00:00
Tim Potter
ff2616aaf9 Fixed compiler warning.
(This used to be commit 33e5c56ab049fe5e156579dbf2f9cd54897f1dd3)
2001-03-01 06:36:57 +00:00
Jeremy Allison
5161c61bc7 Fixed a couple of getpwXX calls that were not going through the sys_getpwXX
cache.
Jeremy.
(This used to be commit a648935ae93f781aedba8f89b0071a24e42f4543)
2001-03-01 05:21:19 +00:00
Jeremy Allison
865e8a3910 Don't return stack structures...
Jeremy.
(This used to be commit 94b72c19fe435d31e14e69a3fc9808e75638726a)
2001-03-01 04:01:23 +00:00
Jeremy Allison
fe4d6cd3bb Fix memory leaks introduced in restructure.
Jeremy.
(This used to be commit a355e11201e4dcb495b65b86e79de40d94c52a5b)
2001-03-01 04:00:45 +00:00
Jeremy Allison
5fa70d7747 When opening a printserver use a global snum of -1.
Jeremy
(This used to be commit 3f44cb6103fe8df9182fbbca7dc7888171b4352a)
2001-03-01 03:36:02 +00:00
Jeremy Allison
7d85361533 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)
2001-03-01 03:04:13 +00:00
Jeremy Allison
c014d3b709 Remove unused code.
Jeremy.
(This used to be commit 3495d5cc3ba0f380fc78389b9ba17235ccd97ae4)
2001-03-01 00:40:25 +00:00
Jeremy Allison
011422ab5a 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)
2001-03-01 00:14:45 +00:00
Jeremy Allison
30d74f54e6 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)
2001-02-28 21:19:31 +00:00
Jeremy Allison
bd228fb059 Fix for stack return from "Jim McDonough" <jmcdough@hotmail.com>.
Jeremy.
(This used to be commit 7f45836c85df9cb04d062b71afa5e55014841859)
2001-02-28 20:35:08 +00:00
Jeremy Allison
acc06fc7a8 More converted to canonical format. Home now - do the rest tomorrow...
Jeremy.
(This used to be commit 9d5979f51ec7b2a62fb9b290eb0393594cfa6224)
2001-02-28 02:38:09 +00:00
Jeremy Allison
2a258f7a64 Converted more to canonical format... save as I go.,
Jeremy.
(This used to be commit 1d4ff7a81bccce0e5701102314af4f9c64c55cd6)
2001-02-28 02:03:02 +00:00
Jeremy Allison
6ed9b52862 Ooops - forgot to check the rpcclient and smbcacls compile with the new
code :-(.
Jeremy.
(This used to be commit 70beabf73bdaad7b6a60e24b7a11798a411bed02)
2001-02-28 01:38:12 +00:00
Jeremy Allison
403562cb94 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)
2001-02-28 01:24:55 +00:00