summaryrefslogtreecommitdiff
path: root/source4/auth
AgeCommit message (Collapse)AuthorFilesLines
2008-05-18Use variables for source directory in a couple more places.Jelmer Vernooij5-27/+28
(This used to be commit 2860a7db5968c7007522cdb300eba390da929ab8)
2008-05-10Clean up some git merges gone wrong.Jelmer Vernooij1-1/+1
(This used to be commit 42eb6b33462228467e65a51bbf624c481802b090)
2008-05-10Merge branch 'v4-0-test' into v4-0-gmake3Jelmer Vernooij26-479/+572
Conflicts: source/auth/config.mk source/auth/gensec/config.mk source/torture/smbtorture.c (This used to be commit edfd02e59bba86b977bd60848f57a614691fff7a)
2008-05-08Install session.h, required by OpenChange's proxy.Jelmer Vernooij1-1/+1
(This used to be commit 44d8b70004247729862b194ea66444e0cf296660)
2008-05-06Tiago Batista posted a patch to fix the build:Tiago Batista1-1/+1
Trying to compile the latest git tree, I got some errors "auth/pam_error.h not found" errors, it looks like it moved to auth/ntlm/pam_errors.h. Andrew Bartlett (This used to be commit 95831a015ae076b52256961f771f50dd9b278e33)
2008-05-05Fix the build after the auth/ -> auth/ntlm/ renameAndrew Bartlett8-8/+8
I need to fix up the header inclusion, but this fixes things for now. Andrew Bartlett (This used to be commit 7c07edb24b31e7dc3e9b836ec4a6680ee2b04276)
2008-05-05Move NTLM authentication details into auth/ntlmAndrew Bartlett16-82/+256
This should help clarify the role of the various files around here (done on Jelmer's request). Andrew Bartlett (This used to be commit efa399037511ced8978f2e7661a71aac7a384883)
2008-05-05Add a new implementation of security=server.Andrew Bartlett3-323/+184
This is not intended for general use, and will not be easily exposed (if I have anything to do with it), but should allow the CIFS proxy to re-use the connection. A work in progress. Andrew Bartlett (This used to be commit a1e60ebc6d1e794011df5f69f691f4ec8622e991)
2008-05-05Allow an NTLM response to be specified into the auth subsystem.Andrew Bartlett3-18/+63
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-04-26Fix dependencies on gensec_krb5 and the NTLMSSP code.Andrew Bartlett2-2/+2
This is so that gensec_krb5 does not depend on the NTLM authentication code. Andrew Bartlett (This used to be commit 71ec5bfb3e973bd68649a598d006efcdda18f1b6)
2008-04-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij20-114/+173
Conflicts: source/Makefile source/auth/config.mk source/auth/gensec/config.mk source/build/m4/public.m4 source/build/make/python.mk source/build/make/rules.mk source/build/smb_build/header.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/dsdb/samdb/ldb_modules/config.mk source/kdc/config.mk source/lib/events/config.mk source/lib/events/events.c source/lib/ldb/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/util/config.mk source/libcli/smb2/config.mk source/libnet/config.mk source/librpc/config.mk source/nbt_server/config.mk source/ntptr/ntptr_base.c source/ntvfs/posix/config.mk source/ntvfs/sysdep/config.mk source/param/config.mk source/rpc_server/config.mk source/rpc_server/service_rpc.c source/scripting/ejs/config.mk source/scripting/python/config.mk source/smb_server/config.mk source/smbd/server.c source/torture/config.mk source/torture/smb2/config.mk source/wrepl_server/config.mk (This used to be commit 13bbd420681519894a4036729c43273912c9b402)
2008-04-24Add documentation to session token functions.Andrew Bartlett2-5/+16
(This used to be commit ec4a108d1d35cd4bb2170f1bb122546266b9b745)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-17/+5
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij10-16/+28
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-04-17Remove event context tracking from the credentials struct.Jelmer Vernooij7-50/+60
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
2008-04-15Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables ↵Jelmer Vernooij1-3/+4
directly instead. (This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)
2008-04-15Fix the build.Jelmer Vernooij1-1/+1
(This used to be commit ecaa5bb83b5cf319718d15aff96152d70fa19f7f)
2008-04-14Fix unresolved symbols.Jelmer Vernooij1-1/+1
(This used to be commit 8573e828d1b68c47b3c1754e9be230b2e78d9d52)
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij2-9/+8
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-14Move object files lists to makefile rather than smb_build.Jelmer Vernooij5-46/+59
(This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)
2008-04-14Remove prototypes from build.h in preparation of removing build.hJelmer Vernooij2-0/+11
altogether. (This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij37-121/+523
Conflicts: source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/makefile.pm source/heimdal_build/config.mk source/lib/events/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/registry/config.mk source/lib/socket_wrapper/config.mk source/lib/tdb/config.mk source/lib/tls/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/libnet/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/scripting/ejs/config.mk source/smbd/process_model.mk (This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
2008-04-05Extend credentials python API to include set_machine_account.Andrew Bartlett4-29/+78
Andrew Bartlett (This used to be commit 88b7a3980c7be90ea0099a3ecf08ad00fa89ea1a)
2008-04-02Reduce the number of installed headers.Jelmer Vernooij3-4/+4
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij30-102/+408
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-03-28Fix and test python scripts and kerberosAndrew Bartlett4-15/+111
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-28Merge v4.0-testJelmer Vernooij5-13/+26
(This used to be commit 977dbdeaf363c8905ed9fd0570eba4be80582833)
2008-03-25Remove useless extra argument to samdb_result_account_expires().Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit bc607c334ff86624b891886a6f874da2bcff113e)
2008-03-17Don't require users of credentials.h to have krb5.h and gssapi.hAndrew Bartlett4-11/+24
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-09Move PC_FILE out of the perl code.Jelmer Vernooij1-1/+1
(This used to be commit ca8d4260ada9f74ebc406714ca70d20be09b194b)
2008-03-08Fix the build.Jelmer Vernooij1-1/+1
(This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
2008-03-08Push SOVERSION and VERSION out of perl code.Jelmer Vernooij1-2/+2
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-03-07Fix the build.Jelmer Vernooij1-1/+1
(This used to be commit 3b7940d531a30098ca9a09e9c83dc4d223d1fe8f)
2008-03-07Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-2/+2
(This used to be commit e4da851bd7e7620bbf99efe20a496b1be78ba4e2)
2008-03-07Update account expiration to use new samdb_result_account_expires() function.Andrew Kroeger1-2/+2
(This used to be commit 2b6b4e5a1611744eea5dd9ec17c416916d7edab4)
2008-03-04Fix the build.Jelmer Vernooij2-16/+11
(This used to be commit 49ef8d0c197fa61dc5c524e4a0f569af72d3c0e9)
2008-03-04Fix some paths.Jelmer Vernooij1-2/+2
(This used to be commit bb16e51e60df296fa7b89eeeba6b80908099dda6)
2008-03-04Fix includes.Jelmer Vernooij2-0/+4
(This used to be commit 99e61dade2bd9ae2a5dfe17f766528012c09e46c)
2008-03-03Fix some syntax errors.Jelmer Vernooij2-2/+2
(This used to be commit 906148bf87ae278c6f6232675bd6aaf4d1e33e6c)
2008-03-03Move object file lists to the Makefile.Jelmer Vernooij5-40/+52
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
2008-02-29Change remaining prototype headers to be private.Jelmer Vernooij1-3/+3
(This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)
2008-02-29Move public header accumulation out of the perl code.Jelmer Vernooij3-6/+10
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-29Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2-20/+25
Conflicts: source/scripting/python/config.mk (This used to be commit 0ac0ea660ab63eca764149f1d2828d0238a57289)
2008-02-29Simplify the 'password must change' logicAndrew Bartlett1-5/+6
This takes the previous patches further, so we catch all the cases (the KDC looked at the time directly). Andrew Bartlett (This used to be commit cda4642a937d249399e25eaa6e5e20a0d440bcbf)
2008-02-28Generate ACB_PW_EXPIRED correctlyAndrew Bartlett2-18/+22
More correctly handle expired passwords, and do not expire machine accounts. Test that the behaviour is consistant with windows, using the RPC-SAMR test. Change NETLOGON to directly query the userAccountControl, just because we don't want to do the extra expiry processing here. Andrew Bartlett (This used to be commit acda1f69bc9b9c43e157e254d0bae54d11363661)
2008-02-26Move public header accumulation out of the perl code.Jelmer Vernooij3-4/+8
(This used to be commit 89f7c74924965071981bbe7e05ff69847b0a3a03)
2008-02-26Fix the build (again).Jelmer Vernooij2-0/+11
(This used to be commit ef00f6b5817107738dc44367838095896af4e77d)
2008-02-25Remove public prototype headers. Generating both public and private ↵Jelmer Vernooij3-5/+5
prototype headers is tricky with gmake and it's easy to break backwards compatibility for the public API with them. (This used to be commit dee1cb6b08aa0a3e24372e052729121c11280971)
2008-02-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij13-16/+27
Conflicts: source/build/smb_build/header.pm source/build/smb_build/makefile.pm source/lib/ldb/include/ldb_private.h (This used to be commit 1a646af0647f021d99473a8991c35e616a423ea6)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit a1715b1f48ba44bd94844418cc9299649aaf1a5e)