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

129 Commits

Author SHA1 Message Date
Andrew Bartlett
fe7d460671 Allow an NTLM response to be specified into the auth subsystem.
This allows it to be proxied for NTLM pass-though authentication (aka
security=server and associated man-in-the-middle attacks).

Andrew Bartlett
(This used to be commit 6ffabb38d03ad90d8731ab3e0eb692438db967ee)
2008-05-05 12:58:15 +10:00
Jelmer Vernooij
1efbd5fbf6 Remove event context tracking from the credentials struct.
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
2008-04-17 01:03:18 +02:00
Jelmer Vernooij
ffc5cbfe80 Move object files lists to makefile rather than smb_build.
(This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)
2008-04-14 16:53:00 +02:00
Andrew Bartlett
4c449fe95f Extend credentials python API to include set_machine_account.
Andrew Bartlett
(This used to be commit 88b7a3980c7be90ea0099a3ecf08ad00fa89ea1a)
2008-04-05 21:39:26 +11:00
Jelmer Vernooij
236fc02913 Reduce the number of installed headers.
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
2008-04-02 13:41:10 +02:00
Jelmer Vernooij
afe3e8172d Install public header files again and include required prototypes.
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-02 04:53:27 +02:00
Andrew Bartlett
142fbfb3c1 Fix and test python scripts and kerberos
This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option.  (This
enables the use of kerberos).

As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.

The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.

Andrew Bartlett
(This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
2008-03-28 21:57:15 +11:00
Andrew Bartlett
87e6d7eab1 Don't require users of credentials.h to have krb5.h and gssapi.h
Rather than require users of Samba4's headers to have krb5-devel
installed (presumably in their system paths), don't expose the minor
functions which require this by default.

Andrew Bartlett
(This used to be commit f14737e4d2040d2f401a3b20c5e78d0d793cfc3a)
2008-03-17 15:22:52 +11:00
Jelmer Vernooij
1ada710840 Move public header accumulation out of the perl code.
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.

Conflicts:

	source/auth/config.mk
	source/auth/credentials/config.mk
	source/auth/gensec/config.mk
	source/build/smb_build/config_mk.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/lib/charset/config.mk
	source/lib/tdr/config.mk
	source/lib/util/config.mk
	source/libcli/config.mk
	source/libcli/ldap/config.mk
	source/librpc/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/torture/config.mk
(This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
2008-02-29 14:23:38 +01:00
Jelmer Vernooij
9a3cbd276b python: Add bindings for cli_credentials_set_cmdline_callbacks().
(This used to be commit 557207f86ba901262e76704df5c51888b2737ddf)
2008-01-24 01:05:19 +01:00
Jelmer Vernooij
7af1c83e45 Default to creating anonymous credentials.
(This used to be commit f93bd899f1402a9d89f55d5dca67318a60f5a72b)
2008-01-23 23:38:58 +01:00
Jelmer Vernooij
3b16c532f2 pidl/python: Pass credentials and loadparm context when connecting using DCE/RPC.
(This used to be commit 4c87af95310e4aaee3f2e2da02d0ea70ed1ec25b)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
be33f4c611 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
(This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
d0ba9f0014 r26572: Fix warnings in the Python code.
(This used to be commit 15038d9586d0b58f301ca8c39c21ef10c4283f28)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
aa0a06f13c r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
(This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
c260454229 r26504: Don't rely on system-provided kerberos headers.
(This used to be commit c4b1df047663519300370508761c70b0c096b7f2)
2007-12-21 05:51:07 +01:00
Jelmer Vernooij
be99991267 r26484: Don't rely on removed header.
(This used to be commit 6ca2b350858c0747449671234d54584635512705)
2007-12-21 05:50:42 +01:00
Jelmer Vernooij
71e2cafe96 r26483: Merge ldb module dependency fixes, fix auth python module.
(This used to be commit 85eeecf997a071ca7e7ad0247e8d34d49b7ffcbb)
2007-12-21 05:50:41 +01:00
Jelmer Vernooij
1afe054916 r26474: Move credentials-specific kerberos file to credentials subsystem. Fixes missing symbols in some of the python bindings.
(This used to be commit e26d0fff6d40899113196ac35a86a9baa10cc9c2)
2007-12-21 05:50:34 +01:00
Jelmer Vernooij
1bc38f9fb3 r26464: Tighten dependencies.
(This used to be commit 2b7cfa5d9ab94e1ff2d60719cd3749810463ab15)
2007-12-21 05:50:29 +01:00
Jelmer Vernooij
df8c7da800 r26454: Add simple SWIG macro for wrapping talloced types.
(This used to be commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75)
2007-12-21 05:50:22 +01:00
Jelmer Vernooij
93b570616d r26445: Fix credentials python bindings.
(This used to be commit 7a78d4cbedbe03ea227e66e6f573fca7519fbf67)
2007-12-21 05:50:12 +01:00
Jelmer Vernooij
a2cea02584 r26430: require explicit specification of loadparm context.
(This used to be commit 1b947fe0e6e16318e5a8127bb4932d6b5d20bcf6)
2007-12-21 05:49:58 +01:00
Jelmer Vernooij
68dc2dc526 r26399: Use -O option for SWIG (less evil generated code).
(This used to be commit 3378b6a559272cb702b52966692bf423f67a2b41)
2007-12-21 05:49:29 +01:00
Jelmer Vernooij
3da665e9ac r26385: Integrate gensec-socket into gensec.
(This used to be commit 78bb444b4b73df9a84f8702814f9b30b32ffd885)
2007-12-21 05:49:19 +01:00
Jelmer Vernooij
f055893ca5 r26382: Remove more uses of global_loadparm.
(This used to be commit 6d4c59853481855c232e7cf97264a391f40af2b5)
2007-12-21 05:49:17 +01:00
Jelmer Vernooij
b4e6090d42 r26323: Regenerated credentials SWIG.
(This used to be commit 0bd01aca00eab5f6801db03a5e6cd91ec0339bbb)
2007-12-21 05:48:34 +01:00
Jelmer Vernooij
bd9e8e9ae1 r26321: Fix python tests.
(This used to be commit f9bf02fd5ce76dfb08950dc4a016fa886f2f4dd5)
2007-12-21 05:48:34 +01:00
Jelmer Vernooij
9976886710 r26320: Clean up properly after error.
(This used to be commit 9fdfe1ad8c7b76e521a683b4afa7b324d15d55b5)
2007-12-21 05:48:33 +01:00
Jelmer Vernooij
fc2f06d31b r26274: Some syntax fixes, remove more global_loadparm instances.
(This used to be commit 3809113d86dbd35b906356a05bb481a1e2bfe4b7)
2007-12-21 05:47:58 +01:00
Jelmer Vernooij
509e82e402 r26272: Remove global_loadparm in some more places.
(This used to be commit 1ab76ecc5311fa863e5d04899b6f110899818f55)
2007-12-21 05:47:55 +01:00
Jelmer Vernooij
da0f222f43 r26271: Remove some more uses of global_loadparm.
(This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)
2007-12-21 05:47:53 +01:00
Jelmer Vernooij
5b357ca877 r26270: Require specifying the loadparm_context or NULL to cli_credentials_guess().
(This used to be commit e52710d6794a25ba697f8c26b43784226964f9cb)
2007-12-21 05:47:50 +01:00
Jelmer Vernooij
0184e5ef2d r26269: Fix a couple more references to global_loadparm.
(This used to be commit 1cb849dfba21b9b5d00b20ba8201f0e142bfeb07)
2007-12-21 05:47:49 +01:00
Jelmer Vernooij
53ae9bc9f6 r26248: Check in SWIG output so SWIG is not required when running out of svn.
(This used to be commit 08501fbef38f81ce5ff4885a1696f9cb392fd631)
2007-12-21 05:47:26 +01:00
Jelmer Vernooij
120ecdb5cb r26233: Pass loadparm context when creating krb5 contexts.
(This used to be commit 7780bf285fdfc30f89409d0436bad0d4b6de5cd4)
2007-12-21 05:47:11 +01:00
Jelmer Vernooij
fface33dd7 r26231: Spell check: credentails -> credentials.
(This used to be commit 4b46888bd0195ab12190f76868719fc018baafd6)
2007-12-21 05:47:09 +01:00
Jelmer Vernooij
cc04f143dc r26229: Set loadparm context as opaque pointer in ldb, remove more uses of global_loadparm.
(This used to be commit 37d05fdc7b0e6b3211ba6ae56b1b5da30a6a392a)
2007-12-21 05:47:06 +01:00
Jelmer Vernooij
991ee1aff0 r26205: Pass loadparm_context to secrets_db_connect() rather than using global context.
(This used to be commit 5718b6cfee86ddfc9cf405c98c68ba848df4d9d7)
2007-12-21 05:46:51 +01:00
Jelmer Vernooij
0e191fa26a r26204: Binsings for some more functions.
(This used to be commit ab6be3086f7ad8c22e6f4805bccad5a04c0325f2)
2007-12-21 05:46:50 +01:00
Jelmer Vernooij
f6322e4b96 r26069: Import python bindings for credentials.
(This used to be commit 97bb235cc8c2855a0903bbd9dee53f0e03c4adc0)
2007-12-21 05:45:52 +01:00
Jelmer Vernooij
afafeca814 r26004: Add some simple credentials tests.
(This used to be commit e96c722cbfe30a4f9c1f843b48e8cf5b78aa13e7)
2007-12-21 05:45:40 +01:00
Jelmer Vernooij
ca0b72a1fd r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21 05:45:40 +01:00
Andrew Bartlett
e85370e703 r25703: Use less entropy by using the pointer value as a process-unique token.
Andrew Bartlett
(This used to be commit 3480dc71a9f969909b984855d546a1974593368f)
2007-12-21 05:43:21 +01:00
Jelmer Vernooij
3642f3b40d r25552: Convert to standard bool type.
(This used to be commit b8d6b82f1248d36a0aa91a1c58d06b4f7c66d245)
2007-10-10 15:07:54 -05:00
Jelmer Vernooij
2f3551ca7c r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
(This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
ffbb7e4060 r25193: Update headers to easy use by external apps.
(This used to be commit 20b70fbb7af6b6759c3b8c8aa56e10944b32bfdf)
2007-10-10 15:06:50 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10 15:05:38 -05:00
Andrew Bartlett
362ff06690 r24730: Allow secrets entries to be for service principals.
Andrew Bartlett
(This used to be commit 7865d10a299a84ed42de4435b7e6400d56161ac5)
2007-10-10 15:02:59 -05:00