summaryrefslogtreecommitdiff
path: root/source4/auth
AgeCommit message (Collapse)AuthorFilesLines
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-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-07Update account expiration to use new samdb_result_account_expires() function.Andrew Kroeger1-2/+2
(This used to be commit 2b6b4e5a1611744eea5dd9ec17c416916d7edab4)
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-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-21Remove more uses of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit a1715b1f48ba44bd94844418cc9299649aaf1a5e)
2008-02-21Avoid use of global_loadparm.Jelmer Vernooij4-5/+16
(This used to be commit c5a95bbe0ce55c29e135a9c6058bf192ec3bb546)
2008-02-20Make more module init functions public, since they are compiled with ↵Jelmer Vernooij5-5/+5
-fvisibility=hidden. Not doing this causes failures on Mac OS X. (This used to be commit da1a9438bd89569077ef1eaa9dc977b5f9d62836)
2008-02-20Make all auth module init functions public, since they are compiled with ↵Jelmer Vernooij5-5/+5
-fvisibility=hidden. Not doing this causes failures on Mac OS X. (This used to be commit 675bab738085cb5a9f17c1f159fbd97c4daafed2)
2008-02-18Rename include to mkinclude to emphasize it is different from make's include.Jelmer Vernooij1-4/+4
(This used to be commit 0e1d0a874ae3d22b8f97a79b81fe0af3ef53a771)
2008-02-18Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ'Jelmer Vernooij2-2/+2
(This used to be commit 269cbf84d8b7dbf3bc88adc04ae283dc908af5ac)
2008-02-15cyrus_sasl: fix compiler warningsStefan Metzmacher1-1/+4
metze (This used to be commit 558c717c6c279b739633e26855910b61b792e7b6)
2008-01-24Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij1-1/+1
(This used to be commit d4d4120b715dc37b708b1c6074eab4f5c23d6b8f)
2008-01-24netlogon.idl: make use of bitmap samr_GroupAttrsStefan Metzmacher1-1/+1
metze (This used to be commit 6d68161e676d381600c77c3f862bd7e013968724)
2008-01-24python: Add bindings for cli_credentials_set_cmdline_callbacks().Jelmer Vernooij5-1/+38
(This used to be commit 557207f86ba901262e76704df5c51888b2737ddf)
2008-01-23Default to creating anonymous credentials.Jelmer Vernooij2-2/+2
(This used to be commit f93bd899f1402a9d89f55d5dca67318a60f5a72b)
2008-01-22build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-22gensec: Use manually written .pc file.Jelmer Vernooij2-0/+12
(This used to be commit 96a5ac9db2399019518e134a00c564ec1066f536)
2008-01-15util: Move asn1 to lib/util to trim down the number of subsystems.Jelmer Vernooij2-2/+2
(This used to be commit 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)
2008-01-14pidl/python: Pass credentials and loadparm context when connecting using ↵Jelmer Vernooij2-0/+33
DCE/RPC. (This used to be commit 4c87af95310e4aaee3f2e2da02d0ea70ed1ec25b)
2008-01-03r26652: msrpc_parse/msrpc_gen: Add iconv_convenience argument.Jelmer Vernooij5-11/+31
(This used to be commit e886f1bc0dc694971979716d1991535c7d2e08de)
2008-01-02r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij1-3/+3
functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
2008-01-01r26640: Janitorial: Remove some more uses of global_loadparm.Jelmer Vernooij1-2/+3
(This used to be commit c863f4ebde8efa1a695b4469142d6719e30bc419)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij3-9/+17
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij2-7/+21
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-29r26626: Install auth/session.hJelmer Vernooij1-0/+1
(This used to be commit 57bf390068d36d85819dac561bdf1224db5c071b)
2007-12-24r26580: Include sentinel in build.h, in case the list is empty.Jelmer Vernooij2-2/+2
(This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
2007-12-24r26576: Allow the static module loading code to be used for the Python modules.Jelmer Vernooij4-4/+4
Simplify the way module initialization functions are handled. (This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
2007-12-24r26572: Fix warnings in the Python code.Jelmer Vernooij3-5/+6
(This used to be commit 15038d9586d0b58f301ca8c39c21ef10c4283f28)
2007-12-24r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij4-100/+58
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-21r26540: Revert my previous commit after concerns raised by Andrew.Jelmer Vernooij3-6/+6
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
2007-12-21r26539: Remove unnecessary statics.Jelmer Vernooij3-6/+6
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
2007-12-21r26504: Don't rely on system-provided kerberos headers.Jelmer Vernooij3-4/+6
(This used to be commit c4b1df047663519300370508761c70b0c096b7f2)
2007-12-21r26484: Don't rely on removed header.Jelmer Vernooij2-1/+5
(This used to be commit 6ca2b350858c0747449671234d54584635512705)
2007-12-21r26483: Merge ldb module dependency fixes, fix auth python module.Jelmer Vernooij6-46/+61
(This used to be commit 85eeecf997a071ca7e7ad0247e8d34d49b7ffcbb)
2007-12-21r26477: Allow setting loadparm context for a ldb context in python, plus ↵Jelmer Vernooij1-1/+1
some other minor improvements. (This used to be commit d88527a9d6435203faa8273347d5aa41937e5395)
2007-12-21r26474: Move credentials-specific kerberos file to credentials subsystem. ↵Jelmer Vernooij3-4/+5
Fixes missing symbols in some of the python bindings. (This used to be commit e26d0fff6d40899113196ac35a86a9baa10cc9c2)
2007-12-21r26464: Tighten dependencies.Jelmer Vernooij2-2/+2
(This used to be commit 2b7cfa5d9ab94e1ff2d60719cd3749810463ab15)
2007-12-21r26460: Enable ldb python tests.Jelmer Vernooij1-1/+1
(This used to be commit 25e982453142eb7d2f68c0751d641581b46fbb49)
2007-12-21r26454: Add simple SWIG macro for wrapping talloced types.Jelmer Vernooij2-49/+97
(This used to be commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75)
2007-12-21r26449: Support configuration without a known configuration dir.Jelmer Vernooij1-1/+1
(This used to be commit d3643c2152a490952e59ee15b7a62ad3ad465462)
2007-12-21r26445: Fix credentials python bindings.Jelmer Vernooij3-4/+11
(This used to be commit 7a78d4cbedbe03ea227e66e6f573fca7519fbf67)
2007-12-21r26430: require explicit specification of loadparm context.Jelmer Vernooij7-34/+54
(This used to be commit 1b947fe0e6e16318e5a8127bb4932d6b5d20bcf6)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij1-6/+7
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26427: Avoid global_smb_iconv_convenience.Jelmer Vernooij1-1/+1
(This used to be commit bf072c6fb37b3e6a71c0c747b9fbeaa01480229e)
2007-12-21r26418: Janitorial: Kill pstring in ntlmssp_parse.cKai Blin1-28/+55
(This used to be commit 718a5a1f3c4195dac8ec780b18f2037ed48a39d2)
2007-12-21r26416: Janitorial: Fix warnings in auth/gensec/Kai Blin2-11/+15
As per metze's suggestion, the "unused variables" warning is left in to remind us to fix the #else part of the #if 1 (This used to be commit e9ef98b06466486d3b8a68a76a29728b9bffbe29)