Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 4 | -18/+18 | |
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-24 | s4-python: python is not always in /usr/bin | Andrew Tridgell | 1 | -1/+1 | |
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-19 | python: Use samba.tests.TestCase, make sure base class tearDown and | Jelmer Vernooij | 1 | -2/+4 | |
setUp methods are called, fix formatting. | |||||
2010-05-30 | s4:auth/credentials/credentials.c - initialise "password_last_changed_time" | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
Otherwise it could remain uninitialised. | |||||
2010-05-18 | s4:credentials Add in tracking of the password last set time | Andrew Bartlett | 3 | -1/+33 | |
We perhaps need a more general API here, but for now extend the credentials API to return the password last changed time that the s3compat layer will need. Andrew Bartlett | |||||
2010-05-14 | s4:credentials Allow setting of an empty Kerberos CCACHE | Andrew Bartlett | 1 | -18/+12 | |
This allows us to tell the credentials code where we want the credentials put. Andrew Bartlett | |||||
2010-05-02 | s4:credentials Make the CCACHE in credentials depend on the things that built it | Andrew Bartlett | 3 | -20/+81 | |
This means that we consider the ccache only as reliable as the least specified of the inputs we used. This means that we will regenerate the ccache if any of the inputs change. Andrew Bartlett | |||||
2010-04-27 | s4:kerberos Give a better error message than "Could not allocate memory" | Andrew Bartlett | 1 | -3/+3 | |
Andrew Bartlett | |||||
2010-04-20 | pytalloc: ensure talloc_ctx is directly after PyObject_HEAD | Andrew Tridgell | 1 | -1/+1 | |
the talloc python interface for tp_alloc and tp_dealloc relies on a cast to a py_talloc_Object to find the talloc_ctx (see py_talloc_dealloc). This means we rely on the talloc_ctx for the object being directly after the PyObject_HEAD This fixes the talloc free with references bug in samba_dnsupdate The actual problem was the tp_alloc() call in PyCredentialCacheContainer_from_ccache_container() which used a cast from a py_talloc_Object to a PyCredentialCacheContainerObject. That case effectively changed the parent/child relationship between the talloc_ctx and the ccc ptr. This patch changes all the structures that follow this pattern to put the TALLOC_CTX directly after the PyObject_HEAD, to ensure that if anyone else decides to do a dangerous cast like this that it won't cause the same sort of subtle breakage. Pair-Programmed-With: Rusty Russell <rusty@samba.org> | |||||
2010-04-19 | s4-python: PyErr_SetString() will crash on NULL strings | Andrew Tridgell | 1 | -1/+1 | |
use nt_errstr() when no error available | |||||
2010-04-10 | s4:credentials Add the functions needed to do S4U2Self with cli_credentials | Andrew Bartlett | 3 | -0/+47 | |
A torture test to demonstrate will be added soon. Andrew Bartlett | |||||
2010-04-10 | s4:credentials talloc_free() any previous salt_principal | Andrew Bartlett | 2 | -1/+2 | |
This isn't used often, but it is generally better not to leak it onto what may be a longer-term context. Andrew Bartlett | |||||
2010-04-08 | pynet: Create a net class. | Jelmer Vernooij | 1 | -6/+17 | |
2010-04-06 | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 1 | -4/+0 | |
we won't be using the mk -> wscript generator again | |||||
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 1 | -0/+2 | |
them | |||||
2010-04-06 | build: commit all the waf build files in the tree | Andrew Tridgell | 1 | -0/+19 | |
2010-04-04 | s4-python: Remove convenience macro PyErr_SetStringError. | Jelmer Vernooij | 1 | -1/+1 | |
This macro assumed that all errors were runtime errors. | |||||
2010-03-29 | pytalloc: allow for using a system libtalloc-dev with pytalloc | Andrew Tridgell | 1 | -1/+1 | |
When we have a system talloc library, we still need to grab pytalloc.h from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise we'll get the in-tree talloc.h which may not be compatible with the system talloc.h So we need to give the path to pytalloc.h | |||||
2010-03-26 | s4:auth/credentials/credentials.c - initialise more content | Matthias Dieter Wallnöfer | 1 | -0/+3 | |
Now all data should be initialised | |||||
2010-02-26 | s4:python Add bindings to set GENSEC flags on credentials in python | Andrew Bartlett | 1 | -0/+23 | |
This should allow these to be manipulated by python scripts that need encrypted connections. Andrew Bartlett | |||||
2010-02-26 | s4-krb5: propogate errors from a lot more kerberos functions | Andrew Tridgell | 5 | -56/+91 | |
We need to be able to give sensible error messages when a kerberos calls fails. This propogates the kerberos error up the stack to the caller. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-20 | s4:credentials Add hooks to extract a named Kerberos credentials cache | Andrew Bartlett | 5 | -63/+162 | |
This allows the integration of external tools that can't be linked into C or python, but need to authenticate as the local machine account. The machineaccountccache script demonstrates this, and debugging has been improved in cli_credentials_set_secrets() by passing back and error string. Andrew Bartlett | |||||
2010-02-12 | s4:auth/credentials/credentials.c - Initialise the "lm_response" and ↵ | Matthias Dieter Wallnöfer | 1 | -0/+5 | |
"nt_response" structures In some cases those structures are not initialised and the whole authentication system crashes with a SIGSEGV. Bug discovered by Matthieu Patou in bug #6755. | |||||
2010-02-09 | s4:Remove "Py_RETURN_NONE" compatibility code | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
This was needed only by Python 2.3 which we no longer support. | |||||
2009-12-29 | dsdb: Fix dependencies when building against system ldb. | Jelmer Vernooij | 1 | -1/+1 | |
2009-11-02 | s4:credentials Put the 'secrets.keytab' in the same directory as secrets.ldb | Andrew Bartlett | 1 | -1/+3 | |
This avoids trouble when the secrets.ldb is updated with ldbedit but an smb.conf is not specified. Andrew Bartlett | |||||
2009-10-23 | s4-python: we need to include Python.h first | Andrew Tridgell | 1 | -1/+1 | |
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes. | |||||
2009-10-16 | s4:auth - fixed problem reading bind DN from secrets database | Endi S. Dewata | 2 | -0/+8 | |
2009-10-15 | s4:auth/credentials/credentials - fix uninitalised pointers | Matthias Dieter Wallnöfer | 1 | -7/+35 | |
This should fix bug #6755. | |||||
2009-06-17 | pycredentials: Raise MemoryError when unable to create objects. | Jelmer Vernooij | 1 | -1/+6 | |
2009-06-17 | pycredentials: Fix memory leak. | Jelmer Vernooij | 1 | -1/+7 | |
2009-06-12 | s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵ | Andrew Bartlett | 1 | -3/+0 | |
904d0124b46eed7a8ad6e5b73e892ff34b6865ba) Also including the supporting changes required to pass make test A number of heimdal functions and constants have changed since we last imported a tree (for the better, but inconvenient for us). Andrew Bartlett | |||||
2009-06-02 | Fix more unresolved symbols. | Jelmer Vernooij | 2 | -10/+1 | |
2009-06-02 | python: Move helper functions for using param into a separate file rather | Jelmer Vernooij | 1 | -1/+1 | |
than linking against the python module. | |||||
2009-04-14 | Rework Samba4 to use the new common libcli/auth code | Andrew Bartlett | 2 | -5/+5 | |
In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett | |||||
2009-03-26 | s4:auth/credentials: include gssapi/gssapi_krb5.h | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-02-05 | s4:pycredentials: fix compiler warnings | Stefan Metzmacher | 2 | -26/+25 | |
metze | |||||
2009-02-02 | s4:auth/credentials: the python bindings don't use swig anymore | Stefan Metzmacher | 1 | -4/+2 | |
metze | |||||
2009-01-25 | Add prototypes required by samba-gtk. | Jelmer Vernooij | 1 | -0/+9 | |
2009-01-08 | Avoid using a utility header for Python replacements included in Samba, | Jelmer Vernooij | 1 | -1/+5 | |
since this will not be shipped with talloc/tdb/tevent/etc. | |||||
2009-01-07 | s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4 | Tim Prouty | 1 | -0/+1 | |
2009-01-06 | py: Properly increase the reference counter of Py_None. | Jelmer Vernooij | 1 | -6/+6 | |
2008-12-29 | s4:lib/tevent: rename structs | Stefan Metzmacher | 4 | -25/+25 | |
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze | |||||
2008-12-22 | Add header for pyparam. | Jelmer Vernooij | 1 | -3/+1 | |
2008-12-21 | Include errors.i verbatim in security.i, as it's the only file still using it. | Jelmer Vernooij | 1 | -4/+2 | |
2008-12-21 | Convert credentials Python module to "manual" C - no SWIG used to generate | Jelmer Vernooij | 6 | -4719/+350 | |
the C code. | |||||
2008-10-20 | Make sure prototypes are always included, make some functions static and | Jelmer Vernooij | 2 | -0/+2 | |
remove some unused functions. | |||||
2008-10-12 | Use common util_file code. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-11 | Fix include paths to new location of libutil. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-11 | Move lib/util from source4 to top-level libutil. | Jelmer Vernooij | 1 | -1/+1 | |
Conflicts: source4/Makefile |