1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-30 13:18:05 +03:00
Commit Graph

5014 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 67e09aea47)
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 a8df5e04b5)
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 46b12f2275)
2001-03-11 22:26:28 +00:00
Jeremy Allison
02fe94f865 Removed JRATEST line.
Jeremy.
(This used to be commit be9933ce35)
2001-03-11 22:03:42 +00:00
Jeremy Allison
24993180ab Dead code removal. Not used anywhere.
Jeremy.
(This used to be commit 90f334be23)
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 dde795154c)
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 73c7ace168)
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 31e0ce310e)
2001-03-11 00:51:54 +00:00
Jeremy Allison
c4a84783a6 Added JF's new util.
Jeremy.
(This used to be commit 96bcfdcded)
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 85021b1638)
2001-03-11 00:44:30 +00:00
Jeremy Allison
d47ee4bffc No longer used...
Jeremy.
(This used to be commit d23b9be1ba)
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 0be41d5158)
2001-03-11 00:32:10 +00:00
Jeremy Allison
1af77d39fa Notused.
Jeremy.
(This used to be commit 635c4cd8e6)
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 d0fcd91443)
2001-03-10 19:50:36 +00:00
Jeremy Allison
aa567e9c75 Merge .cvsignore between 2.2 and HEAD.
Jeremy.
(This used to be commit d386b9223f)
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 2c8da0ae22)
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 7684c1e672)
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 95c9e4e0ba)
2001-03-10 11:35:25 +00:00
Richard Sharpe
9579f927dc More documentation in the header in doxygen format
(This used to be commit db2e712ad3)
2001-03-10 01:29:20 +00:00
Jeremy Allison
2a490ed2a0 Missed some prs_inits.
Jeremy.
(This used to be commit 7a8a7a24d4)
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 0cd37c831d)
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 1d84da779a)
2001-03-09 18:59:16 +00:00
Richard Sharpe
53a331cfb2 Bulk add of the test suite for libsmbclient ...
(This used to be commit adef47b517)
2001-03-09 13:29:06 +00:00
Richard Sharpe
e8fcbc5df1 More SGI type fixes ...
(This used to be commit 26d7d8af29)
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 ad3a21b281)
2001-03-09 03:59:45 +00:00
Jeremy Allison
6c99c38cbf Fixed double fclose() call (I love insure :-).
Jeremy.
(This used to be commit 0a84839dc0)
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 81fe571daf)
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 0e6a34510e)
2001-03-07 23:59:13 +00:00
Richard Sharpe
2b22019e42 Fix the definition and implementation of smbc_lseekdir ...
(This used to be commit e628d80d1e)
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 317e369c3e)
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 7557f9145c)
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 65275e73ee)
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 57a9340cba)
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 c3a1904564)
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 e61899f490)
2001-03-02 02:59:17 +00:00
Jeremy Allison
74294f5a96 Move to talloc controlled NT forms.
Jeremy.
(This used to be commit 3e190e6933)
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 5f1ea70e11)
2001-03-01 19:21:57 +00:00
Tim Potter
ff2616aaf9 Fixed compiler warning.
(This used to be commit 33e5c56ab0)
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 a648935ae9)
2001-03-01 05:21:19 +00:00
Jeremy Allison
865e8a3910 Don't return stack structures...
Jeremy.
(This used to be commit 94b72c19fe)
2001-03-01 04:01:23 +00:00
Jeremy Allison
fe4d6cd3bb Fix memory leaks introduced in restructure.
Jeremy.
(This used to be commit a355e11201)
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 3f44cb6103)
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 1552db715d)
2001-03-01 03:04:13 +00:00
Jeremy Allison
c014d3b709 Remove unused code.
Jeremy.
(This used to be commit 3495d5cc3b)
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 4c2a49168e)
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 db98d4b020)
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 7f45836c85)
2001-02-28 20:35:08 +00:00
Gerald Carter
8f873d5676 autogen stuff
(This used to be commit ce6777d119)
2001-02-28 18:36:45 +00:00
Gerald Carter
a5f2332065 fixed typo
(This used to be commit fb512aee76)
2001-02-28 18:36:11 +00:00
Gerald Carter
276ea81fd3 updated Makefile to generate howto's and the FAQ
(This used to be commit c71e99556b)
2001-02-28 18:35:51 +00:00