1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

7192 Commits

Author SHA1 Message Date
Andrew Bartlett
6efaf588a9 r11321: Fix typos in warnings.
Andrew Bartlett
(This used to be commit 81f020d3a4982842b770b9eeb82851cf2cd35fe2)
2007-10-10 13:45:19 -05:00
Tim Potter
1fb7a5348b r11318: Tweak import statement for decoding KeySecurityData as a NT security
descriptor in ethereal.
(This used to be commit 5af1b6df0afac28fb041b5b374b5c5b5e4ef15b3)
2007-10-10 13:45:19 -05:00
Andrew Bartlett
1244a97dbe r11317: An ugly hack to setup the global gssapi_krb5_context early, when we
have easy access to the event context.

This stops Samba dead-locking against itself when the winbindd client
tries to contact the KDC.

Andrew Bartlett
(This used to be commit 57f811115ed768ea1f170dcd71038398bf2ab6e9)
2007-10-10 13:45:19 -05:00
Andrew Bartlett
e5445967bc r11316: Kill off a bit more of the old secrets system...
Andrew Bartlett
(This used to be commit c46ef43224ce0384297ffe1934f9ff0a00a4be45)
2007-10-10 13:45:19 -05:00
Andrew Bartlett
040add3d07 r11315: Sorry gd, I just removed all of your code that I just merged...
(We now ask the kerberos libraries to handle getting and unwapping the PAC).

Andrew Bartlett
(This used to be commit 6a0beb29da2aaa4d432cf9643924db3c2e77a858)
2007-10-10 13:45:18 -05:00
Andrew Bartlett
14a3abd559 r11314: Use a patch from lha to have the kerberos libs extract the PAC, rather
than doing ASN.1 parsing in Samba.

Also use the API function for getting a client from a ticket, rather
than just digging in the structure.

Andrew Bartlett
(This used to be commit 25d5ea6d724bd2b64a6086ae6e2e1c5148b8ca4a)
2007-10-10 13:45:18 -05:00
Andrew Bartlett
22c9123296 r11313: Typo
(This used to be commit 204185576c6a4df5e43e5a97cb13227407c09e6e)
2007-10-10 13:45:18 -05:00
Andrew Bartlett
15f8a34a56 r11312: Make it clear we are looking at the 'domain ref', not the domain
itself in the auth_sam module.

Andrew Bartlett
(This used to be commit 0800942dbb1511586a896c6376c436a4552c54be)
2007-10-10 13:45:18 -05:00
Jelmer Vernooij
1437535a24 r11311: Move some more logic to env
(This used to be commit 990419bac7ce335ffcec84017614eb9642a6ece6)
2007-10-10 13:45:18 -05:00
Andrew Bartlett
4dc5da1335 r11310: Free the 'if_relevent' portion of the PAC when we build it.
Andrew Bartlett
(This used to be commit ede638c00b574bf4149d11844c0adf8e0f5c4efb)
2007-10-10 13:45:17 -05:00
Rafal Szczesniak
6386f31317 r11309: A trivial test script for ejs libnet interface.
rafal
(This used to be commit deb561ea4a00730787d129ae5eda38ceefe129f6)
2007-10-10 13:45:17 -05:00
Rafal Szczesniak
b22bda7533 r11308: Correctly return status code in case of js error or libnet
function execution error.

rafal
(This used to be commit a50a5bef6e4c0051d13ed59fe5ddade709a98ba7)
2007-10-10 13:45:17 -05:00
Jelmer Vernooij
b89c019824 r11307: Add support for generating pkg-config files
(This used to be commit 9c211507c15092ce09fd519cd0ffadf4b9f69492)
2007-10-10 13:45:17 -05:00
Jelmer Vernooij
344a0ebb43 r11306: Move more static Makefile data to main.mk
Clean up smb_build::makefile a bit
(This used to be commit 28931219a19317f6c7208086416bc675bb259179)
2007-10-10 13:45:16 -05:00
Jelmer Vernooij
a04f48cd46 r11305: Use more recent guess and sub files
(This used to be commit 20870508dd3e3a41b8a531b0830003735803fddf)
2007-10-10 13:45:16 -05:00
Jelmer Vernooij
67c808f5ff r11304: Add support back in for loading shared modules (not used yet)
(This used to be commit 90f49b6f70c4aaf0e4ab4fad2e6f9caeb0f6f3a6)
2007-10-10 13:45:16 -05:00
Jelmer Vernooij
8ee1ee66ed r11303: Support defining and installing public headers for libraries.
Support installing libraries.
Get rid of pkg-config file (will be autogenerated later on).
(This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
2007-10-10 13:45:16 -05:00
Jelmer Vernooij
bf300c8687 r11300: Treat libraries as a special kind of subsystem
(one that can also be built as a library and installed).
(This used to be commit 98d1f9b1dc523ed88c5aa8d066030b33d74f62bf)
2007-10-10 13:45:15 -05:00
Jelmer Vernooij
78696ddcb2 r11299: Try to fix build on Stratos VOS (doesn't support ld -r)
(This used to be commit 65c71bf354612a589049753d854e154482957573)
2007-10-10 13:45:15 -05:00
Andrew Bartlett
0511b5df16 r11298: Consolidate the 'short' samlogon tests, and move to using the
credentials system for password -> NTLM translation.

Andrew Bartlett
(This used to be commit d22cbf1b0cae9ca211c916320754d5edfe360c30)
2007-10-10 13:45:15 -05:00
Andrew Bartlett
861fdd902a r11297: Move the RPC-SCHANNEL test to using the credentials system for
converting username/pass into the NTLM responses.

Andrew Bartlett
(This used to be commit 272861b8ede591073cc3a26635fefbc784976764)
2007-10-10 13:45:15 -05:00
Andrew Bartlett
4019064c5d r11294: Update Heimdal in Samba4 to lorikeet-heimdal (which is in turn updated
to CVS of 2005-10-24).

Andrew Bartlett
(This used to be commit 939d4f340feaad15d0a6a5da79feba2b2558f174)
2007-10-10 13:45:15 -05:00
Andrew Bartlett
d27ffc27ff r11293: Use the right search when forming the data for the PAC.
Andrew Bartlett
(This used to be commit ecacef213b28adb84d3ffb5b76bf1b079e25426c)
2007-10-10 13:45:14 -05:00
Andrew Bartlett
7a7a52948d r11291: Fix implementation of LookupNames4.
Andrew Bartlett
(This used to be commit aef6800548e320c2ebb20ae345566a774d6acf8b)
2007-10-10 13:45:14 -05:00
Andrew Bartlett
f3cac0433d r11290: Make it clear that Heimdal is always included, no need for the test
any more.

Andrew Bartlett
(This used to be commit ec56590b063caa99f29be2b18409a69c3f22cf29)
2007-10-10 13:45:14 -05:00
Andrew Bartlett
1e7bc73e00 r11289: Fix comment.
Andrew Bartlett
(This used to be commit fc18276389d17684bd14a2012d18fb7a9695f69e)
2007-10-10 13:45:14 -05:00
Andrew Bartlett
c6f8330098 r11288: Fill out LSA LookupNames4 and LookupSids3, including a server-side
implementation.

Andrew Bartlett
(This used to be commit a6a615cc997cd3a71ea0d63994f6cd97096afc30)
2007-10-10 13:45:14 -05:00
Andrew Bartlett
2a2a350057 r11287: Understand the new behaviour of the LSA pipe on ncacn_ip_tcp in Win2k3 SP1.
Only a few operations are supported (LookupSids3 and LookupNames4),
and these are only supported under schannel.  This appears to be the
operations Win2k3 SP1 uses to verify part of the PAC back to the
server.

The test is setup to pass, but not enforce (so far) this new
behaviour.

Andrew Bartlett
(This used to be commit e15e39866e9775ba662f669a19836d33f7633f6f)
2007-10-10 13:45:13 -05:00
Andrew Tridgell
75d3a8f6dc r11285: fixed winreg.js for the recent change to winreg.idl
(This used to be commit 27f46b4f18346ea03d8626a380e417b00f7a88d1)
2007-10-10 13:45:13 -05:00
Andrew Bartlett
b0044d1950 r11282: Fix memory leak in LOCAL-PAC test.
Andrew Bartlett
(This used to be commit c8bf7d32ebdc9bc795ce45a6d250a2378ac803aa)
2007-10-10 13:45:13 -05:00
Rafal Szczesniak
ab6ae6838e r11281: Initial ejs interface for libnet functions.
rafal
(This used to be commit f9c436bbdf0f071247da025f6984f9ee1c48dca8)
2007-10-10 13:45:13 -05:00
Stefan Metzmacher
3aae4d0224 r11279: it should be only possible to register a 0x1C name, when the NBT_NM_GROUP flag is set
metze
(This used to be commit 81447f440cb339bf8c72706a752b853d3acb0e2d)
2007-10-10 13:45:13 -05:00
Stefan Metzmacher
7751bd939f r11278: fix compiler warnings
metze
(This used to be commit 716e6b0c883836e50400413cccbeb6fab5cb5744)
2007-10-10 13:45:12 -05:00
Stefan Metzmacher
6fa65899d5 r11277: fix compiler warning
metze
(This used to be commit 4d956b17c1f9e0d7a3c275b621380f1bc821b56e)
2007-10-10 13:45:12 -05:00
Stefan Metzmacher
228e07a6fe r11276: fix compiler warnings
metze
(This used to be commit 2f1930fb62011303abf930da6b57e73b1b9601de)
2007-10-10 13:45:12 -05:00
Volker Lendecke
d6e070b74a r11274: Start a connection attempt to the DC's port 389. To do this properly, make
socket_connect and ldap_connect properly async.

Volker
(This used to be commit bcc71fc1deeed443d7cf00220ce264011ddf588d)
2007-10-10 13:45:12 -05:00
Andrew Bartlett
ef57650d6e r11273: Initialise the new server_info->logon_server element.
Andrew Bartlett
(This used to be commit bc6f6f9381b1038273f87feb35484dc61dd8bd8e)
2007-10-10 13:45:11 -05:00
Andrew Bartlett
a0647a89a8 r11272: In trying to track down why Win2k3 is again rejecting our PAC, ensure
we can round-trip all the way back to a server_info structure, not
just a filled in PAC_DATA. (I was worried about generated fields being
incorrect, or some other logical flaw).

Andrew Bartlett
(This used to be commit 11b1d78cc550c60201d12f8778ca8533712a5b1e)
2007-10-10 13:45:11 -05:00
Volker Lendecke
ca40d0a6fe r11271: Fix a warning and an infinite recursion
(This used to be commit 7bc855359a82010fefa9fd1d4c719292bfc83528)
2007-10-10 13:45:11 -05:00
Andrew Bartlett
db4b95827e r11270: Move the core CrackNames code from rpc_server/drsuapi to dsdb/samdb.
I'm sure this will not be the final resting place, but it will do for
now.

Use the cracknames code in auth/ for creating a server_info given a
principal name only (should avoid assumtions about spliting a
user@realm principal).

Andrew Bartlett
(This used to be commit c9d5d8e45dd7b7c99b6cf35b087bc18012f31222)
2007-10-10 13:45:11 -05:00
Volker Lendecke
28a3bc645b r11267: Fix a memleak and an uninitialized variable. Andrew Bartlett, this was the one
I sent to you. Sorry for bothering you.

Volker
(This used to be commit 3a9f2291ae6e96a715f463899957c6c598fc7627)
2007-10-10 13:45:10 -05:00
Stefan Metzmacher
2d1aa2954b r11265: add a bunch of owned vs. replica conflict tests
metze
(This used to be commit c8d3c2f1a1231de49bca1a72e696a833366a0493)
2007-10-10 13:45:10 -05:00
Volker Lendecke
3608b6af42 r11264: Winbind does not rely on the hostname resolution mechanisms of
composite_connect, so in io.in.dest_host I'm setting the IP address. Gensec
does not like that as a target hostname, so if a called name is present, use
that. So we can session setup using kerberos now.

Volker
(This used to be commit c26b432c27954c8dc6ac8e702bd5e34a351d15bd)
2007-10-10 13:45:10 -05:00
Volker Lendecke
e2e2bb9245 r11263: Some cleanup
(This used to be commit 4fe3c9871bff512a464c688a5f6fdb37387833ed)
2007-10-10 13:45:10 -05:00
Tim Potter
79b667eda9 r11262: Try to get the equivalent of a subcontext in pidl ethereal conformance
files working.  It doesn't quite work though.  (-:

This patch also allows a struct.field format to be used in an IMPORT
statement instead of a type name.

Jelmer, what do you think?
(This used to be commit d770f853475d12a33d23fc86ab30223dfde22dd7)
2007-10-10 13:45:10 -05:00
Tim Potter
9759d435ca r11261: Rename access_required field in winreg idl to access_mask so it matches
the other interfaces.
(This used to be commit 8eb582b5780188b6304c560b3e84fd7d75c483f8)
2007-10-10 13:45:09 -05:00
Tim Potter
a1444159a9 r11260: Delete a leftover scons file.
(This used to be commit 7b750a785bd2c77f4a299a5cb77a2c456b9c6610)
2007-10-10 13:45:09 -05:00
Tim Potter
f501b04a6c r11259: Map system_name and handle fields to new hf fields.
(This used to be commit 9be707bc4d07ef47f332ef5019549044bc239e03)
2007-10-10 13:45:09 -05:00
Tim Potter
da55f56b8c r11258: Dissect all access_required fields as hex using the same hf.
(This used to be commit 4365462dc62d78eb433748262c5ca7feb16be785)
2007-10-10 13:45:09 -05:00
Jelmer Vernooij
d316c68cf3 r11257: Add and use output function
(This used to be commit 734da63a4e7ff44d9417066300383bbf7cd08d8f)
2007-10-10 13:45:09 -05:00