1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-16 09:57:47 +03:00

2789 Commits

Author SHA1 Message Date
Gerald Carter
4d6c97edb2 remove --with-tdbsam since it is always built now
(This used to be commit f277cd54ea6be5cad6ea765d992bc4133765ef92)
2003-04-29 06:03:04 +00:00
Simo Sorce
67a5f62e43 ok next_rid out as well local_*id_to*id functions
reverted user making function, did not pass the abartlet test :-)
idmap is now fully integrated, we only miss user creation and removal of uid
and gid from SAM_ACCOUNT
(This used to be commit 67af8c26586c4829166795813a373bf9be27b753)
2003-04-29 03:31:00 +00:00
Jelmer Vernooij
81256ecbb9 Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
(This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1)
2003-04-28 18:33:25 +00:00
Jelmer Vernooij
17a3acafa8 Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
(This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
2003-04-28 17:48:48 +00:00
Tim Potter
03412f056d Whitespace syncup.
(This used to be commit 7fd7af121ee8ba4f9540394f64fe3c78e2e96cd2)
2003-04-28 05:47:07 +00:00
Andrew Bartlett
3f03ecf562 Irix CC reminds us that this is non-standard.
Andrew Bartlett
(This used to be commit 748ed3552b2be1d86387dc3628107375104d8f50)
2003-04-24 11:52:00 +00:00
Jelmer Vernooij
d13f5f85fe Patch from Stefan Metzmacher to add default parameters to the lp_parm()
smb.conf parameters along with some other small fixes. Binary
compatible with older modules.
(This used to be commit aa07b12fda732ca19d8dc41cebc7bb09e2549a30)
2003-04-24 03:54:54 +00:00
Jelmer Vernooij
1f008c1203 Patch from Stephan Metzmacher to add default arguments to lp_parm() smb.conf
parameters. Does not break binary compatibility with older modules.
(This used to be commit 147c4d56d873a20a49194c5b036a3694299b1b48)
2003-04-24 03:46:17 +00:00
Andrew Bartlett
4f0381bb96 Start merging mimir's trusted domain code from HEAD to 3.0. (for HEAD trusting
NT).
(This used to be commit 76cd4a8901a8ac1c3691bc89e496bbb493e5c234)
2003-04-22 12:13:13 +00:00
Andrew Bartlett
f071020f5e Merge from HEAD - save the type of channel used to contact the DC.
This allows us to join as a BDC, without appearing on the network as one
until we have the database replicated, and the admin changes the configuration.

This also change the SID retreval order from secrets.tdb, so we no longer
require a 'net rpc getsid' - the sid fetch during the domain join is sufficient.
Also minor fixes to 'net'.

Andrew Bartlett
(This used to be commit 876e00fd112e4aaf7519eec27f382eb99ec7562a)
2003-04-21 14:09:03 +00:00
Andrew Bartlett
029f0ab20b Header updates for smb signing merge
(This used to be commit 2e4b45cd2efe46477c2849faffe0e8401132ef88)
2003-04-21 13:04:39 +00:00
Jim McDonough
bdaac40746 Move PAC decoding over from HEAD.
(This used to be commit b0fd4e5555dd93c584cd86eaac080663b9e4031f)
2003-04-16 16:57:01 +00:00
Jeremy Allison
8f25fd3d72 Fixes to make SCHANNEL work against a W2K DC. Still need to fix
multi-PDU encode/decode with SCHANNEL. Also need to test against WNT DC.
Jeremy.
(This used to be commit ec82e8e9f4a6bf807a91ac265af39a516c7ab631)
2003-04-16 15:54:00 +00:00
Jeremy Allison
09a50497d1 Fixes to make SCHANNEL work in 3.0 against a W2K DC. Still need to fix
multi-PDU encode/decode with SCHANNEL. Also need to test against WNT DC.
Jeremy.
(This used to be commit ff66d4097088409205b6bad5124a78ef9946010d)
2003-04-16 15:39:57 +00:00
Jelmer Vernooij
ddf662d118 More merges from HEAD:
- Stephan Kulow's changes (fixing warnings in libsmbclient)
 - VFS modules
 - Seperating libs
(This used to be commit 6e9b7802335428c88ecf4e44a0e2395ac58e96b5)
2003-04-16 14:45:11 +00:00
Andrew Bartlett
8cb0672c58 Merge valgrind header usage from HEAD.
(This used to be commit 5c978e39f2879d900a1bcad535b489f4cd440906)
2003-04-16 13:19:51 +00:00
Jelmer Vernooij
004502551b Add support for the new modules system to lib/iconv.c (merge from HEAD)
(This used to be commit 64a357017a897d1920c06fc19453470ee517470d)
2003-04-16 13:09:00 +00:00
Jelmer Vernooij
a8c95d79f8 Add support for the new modules system to auth/ (merge from HEAD)
(This used to be commit c7a1de090db35835be1a1623bfc80c04065c5dd9)
2003-04-16 12:13:07 +00:00
Andrew Bartlett
2cb0b91ed1 Store the type of 'sec channel' that we establish to the DC. If we are a
workstation, we have to use the workstation type, if we have a BDC account,
we must use the BDC type - even if we are pretending to be a workstation
at the moment.

Also actually store and retreive the last change time, so we can do
periodic password changes again (for RPC at least).

And finally, a couple of minor fixes to 'net'.

Andrew Bartlett
(This used to be commit 6e6b7b79edae3efd0197651e9a8ce6775c001cf2)
2003-04-16 10:20:14 +00:00
Gerald Carter
d15cd357c7 merge in metze' smbcquotas patch from HEAD
(This used to be commit b6a77048886151435a4a5eeb9a04be44d397c504)
2003-04-15 19:51:17 +00:00
Jelmer Vernooij
9c3cecbdac Use the new modules system for passdb (merge from HEAD)
(This used to be commit 1755d5f66221a910863cfc8a197f8d792e6b6e3d)
2003-04-15 16:01:14 +00:00
Tim Potter
8eca6c1bac Merge:
>A struct must contain at least one declaration according to C99, but
>gcc allows it to be empty.  Should fix miscellaneous breakage on
>the compile farm.
(This used to be commit ad42419a840dc94dfd35a083e08a0ad9cbd8f2bf)
2003-04-15 03:09:35 +00:00
Tim Potter
c34e823fe4 A struct must contain at least one declaration according to C99, but
gcc allows it to be empty.  Should fix miscellaneous breakage on
the compile farm.
(This used to be commit b92d57f784fb43e420cf65b9392d175ad4483f28)
2003-04-15 02:47:01 +00:00
Jelmer Vernooij
7fcbdf00f6 Add some more functions for the modules (backport from HEAD):
- init_modules()
 - smb_probe_module()
(This used to be commit b3328dab2fa069af300b4076695bf6c359501111)
2003-04-14 22:23:02 +00:00
Jelmer Vernooij
10bf059b62 Backport my backtrace patch from HEAD
(This used to be commit 66fcf6b4938a87e5ded7c7e5830a6a54e4439544)
2003-04-14 21:49:49 +00:00
Jeremy Allison
8403454aae Fix _smb_setlen to be non {} safe.
Jeremy.
(This used to be commit 7cb060e821691abf5d58d273cb523ee310656185)
2003-04-14 10:35:50 +00:00
Jeremy Allison
245397cc0d Fix _smb_setlen to be non {} safe.
Jeremy.
(This used to be commit 35d1e3a5e08d075e7e7d9f7f62d36730853f648a)
2003-04-14 10:30:38 +00:00
Tim Potter
b4bc001d96 Merge: remove tallocdump messages.
(This used to be commit f49c0f6c8716a5c1aff7613d7b59f312a2abdfb3)
2003-04-14 03:51:29 +00:00
Tim Potter
5e1789d5d4 Merge new popt_common.h include file.
(This used to be commit 1fb4b8fe4310dd15c1842935871ead0745859a54)
2003-04-14 02:36:12 +00:00
Tim Potter
886d4e6fe2 Merge of new sid type (SID_NAME_COMPUTER) and tidyup.
(This used to be commit c91cf2b38df9f51dd6cb46f0742e1c57bb36b508)
2003-04-14 02:26:41 +00:00
Tim Potter
3b865c7398 Merge of rpcecho pipe for testing large dcerpc requests and responses.
Only compiled in when --enable-developer argument passed to configure.
(This used to be commit 017da9393bab276543d0d5c50df8c760780f2450)
2003-04-14 02:08:03 +00:00
Tim Potter
0fa29335dc Merge of TRUE/FALSE preprocessor traps from HEAD.
(This used to be commit 2a962393017e65cb67944740e4faaad9902764e8)
2003-04-14 01:19:58 +00:00
Tim Potter
41ba585429 Remove duplicate forward reference of smb_ldap_privates.
(This used to be commit e9beb6cc95b83958af4fe4fce292f831304ae8a4)
2003-04-14 00:41:44 +00:00
cvs2svn Import User
a47d06a2c2 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 381649916ecbaddefbb6ee0e6137b7cc73eb54b1) 2003-04-13 13:50:46 +00:00
Gerald Carter
5b51fc4f06 smbcquota patch from metze
(This used to be commit 74fab8f0d24004b1dfd5ce0fd7402895652f941f)
2003-04-11 23:32:00 +00:00
Tim Potter
065561932c A new RPC pipe! The \pipe\echo named pipe is for testing large RPC
requests and responses and is only compiled in when --enable-developer
is passed to configure.  It includes server and client side code for
generating and responding to functions on this pipe.  The functions are:

 - AddOne: add one to the uint32 argument and return ig
 - EchoData: echo back a variable sized char array to the caller
 - SourceData: request a variable sized char array
 - SinkData: send a variable sized char array and throw it away

There's a win32 implementation of the client and server in the
junkcode CVS repository in the rpcecho-win32 subdirectory.
(This used to be commit 4ccd34ef836eba05f81dc2da73fd7cfaac201798)
2003-04-11 04:09:14 +00:00
Jeremy Allison
045db5d045 Ensure we have WinXP-like semantics for checking TIDs and FIDs.
Jeremy.
(This used to be commit 52e44dde4ef9717eae7cf454f56d309fdd4b7d1f)
2003-04-09 22:31:37 +00:00
Jim McDonough
1f04eb2e26 Complete what I've seen (and then some)t of the PAC.
I haven't seen the rid+attr arrays for group membership, nor sids or the same
kind of arrays for resource domains, so I don't know how that will work.

Also, the PAC info type 10 is now decoded, but I don't know what it's for.
It has an NTTIME, a 16-bit name length, and a username.  According to M$,
it's not needed, because they didn't doc it...
(This used to be commit 28ab8504cf6c181866106e5cc626a5896283d0a9)
2003-04-09 16:48:59 +00:00
Volker Lendecke
7238bf5f40 This is the netlogon schannel client code. Try a
rpcclient -S pdc -U% -c "samlogon user password"

and it should work with the schannel. Needs testing against platforms
different from NT4SP6.

Volker
(This used to be commit eaef0d8aeff1aa5a067679be3f17e08d7434e1e8)
2003-04-09 15:54:17 +00:00
Volker Lendecke
803e23f403 This is the netlogon schannel client code. Try a
rpcclient -S pdc -U% -c "samlogon user password"

and it should work with the schannel. Needs testing platforms
different from NT4SP6.

Volker
(This used to be commit ecd0ee4d248e750168597ccf79c389513bb0f740)
2003-04-09 15:47:06 +00:00
Gerald Carter
83479a9dc9 no needed anymore
(This used to be commit 8fd9450c8363021e23256903578fabbf77083978)
2003-04-09 15:34:12 +00:00
Gerald Carter
f0121aa901 no needed anymore
(This used to be commit 9d0a82078ce94367992a1bfb8cb7cac8e7e0f525)
2003-04-09 15:33:59 +00:00
Volker Lendecke
42c18d5299 A little clarification in the rpc auth header struct.
Volker
(This used to be commit 36362c602ba03ae5e89956b16820d5dff580bee7)
2003-04-09 09:54:26 +00:00
Volker Lendecke
d9440df579 A little clarification in the rpc auth header struct.
Volker
(This used to be commit 9fc3e4bf9fa7845b5d4a7eb4cacfec586045ebd0)
2003-04-09 09:52:57 +00:00
Tim Potter
09e9e5a2fd Added some preprocessor tricks to stop TRUE and FALSE from continually
creeping back in to the source.  Use True and False instead.
(This used to be commit 5a5a7ce7479a56ca2d472658511a47c9147c0d5b)
2003-04-08 04:07:22 +00:00
Jim McDonough
1d247da97a Some comment updates, notably that I haven't seen the group membership arrays
yet (the ones that are rid-only).
(This used to be commit 0a5b5d00db42de868c72ec3d9d1d747c9ef391e4)
2003-04-07 20:34:46 +00:00
Jim McDonough
31e21b67d9 Decode the PAC! This patch just decodes it and then frees it, so it's just
for doc purposes right now (you can see it in the debug logs).
(This used to be commit 046c2087a11b9ce7a02aece34ffb129ce0d66b08)
2003-04-07 18:01:40 +00:00
cvs2svn Import User
951aec08e8 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 43f21c87e12fe88dab6ccba13c2e54161cf87093) 2003-04-07 15:02:52 +00:00
Tim Potter
25b1c37f6f Remove duplicate "tallocdump" message from tdb messaging system. The
same functionality exists as "pool-usage".

Move initialisation of this and dmalloc messages inside message_init().
(This used to be commit af6ecafcbbf65dbedc49b3a86da39ce608bdadac)
2003-04-07 06:13:36 +00:00
Simo Sorce
df883f35b2 fix commit
(This used to be commit ad1a2ab0d6330a0b0fbce7b30ec5f6f502133921)
2003-04-06 16:01:18 +00:00