Tim Prouty
61a23c5eea
s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4
2009-01-07 15:03:16 -08:00
Jelmer Vernooij
ee9dff71e1
When loading the default configuration, allow the configuration file to be
...
missing.
2009-01-06 22:38:44 +01:00
Jelmer Vernooij
d2c70d24e1
py: Properly increase the reference counter of Py_None.
2009-01-06 04:13:57 +01:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
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-29 20:46:40 +01:00
Jelmer Vernooij
58cfb1a9e1
python: Define Py_ssize_t if the Python library doesn't.
2008-12-23 11:26:31 +01:00
Jelmer Vernooij
b86b2ce662
Fix two remaining missing symbols in smbtorture4.
2008-12-22 23:00:10 +01:00
Jelmer Vernooij
c023828962
Fix missing symbols issues when building with shared libraries.
2008-12-22 21:03:09 +01:00
Jelmer Vernooij
b682b0feb0
Fix function name in error message when failing to load module.
2008-12-22 19:17:13 +01:00
Jelmer Vernooij
84501f6b59
Raise proper exceptions when lp file can't be found, be a
...
bit less strict when no file was specified.
2008-12-22 06:34:18 +01:00
Jelmer Vernooij
d58270c537
Add header for pyparam.
2008-12-22 04:38:57 +01:00
Jelmer Vernooij
2227860a79
Fix more tests, improve repr() functions for various Python types.
2008-12-21 23:05:35 +01:00
Jelmer Vernooij
a32194033a
Move tests for ParamFile.
2008-12-21 16:39:17 +01:00
Jelmer Vernooij
f06b083ff3
Convert param Python module to "manual" C.
2008-12-21 16:32:47 +01:00
Jelmer Vernooij
6efb7ff981
Fix various Python-related bugs.
2008-12-21 07:34:27 +01:00
Jelmer Vernooij
2e7a6cb6bf
py: Fix initialisation of subtypes, fix segfaults.
2008-12-21 03:08:14 +01:00
Jelmer Vernooij
bd41b4579c
Avoid linking in all Python modules to the samba binaries - we can just let Python dlopen() them.
2008-12-21 00:53:06 +01:00
Jelmer Vernooij
13fa639a29
Use plain C implementation for misc Python module rather than SWIG.
2008-12-20 23:38:30 +01:00
Jelmer Vernooij
04bef7fe2a
Fix more tests.
2008-12-19 16:08:35 +00:00
Stefan Metzmacher
a2700f3731
s4:secrets: remove unused structure
...
metze
2008-12-06 15:38:49 +01:00
Stefan Metzmacher
b7a1dd9a94
s4:loadparm: start 'browser' rpc_server
...
metze
2008-12-06 14:56:49 +01:00
Jelmer Vernooij
1575cae7e5
Fix memory leak.
2008-11-03 00:14:26 +01:00
Jelmer Vernooij
b45caa44e1
Fix the build.
2008-11-02 23:58:49 +01:00
Jelmer Vernooij
4147ad1e98
Remove global_loadparm.
2008-11-02 19:33:34 +01:00
Jelmer Vernooij
28d374ec15
Use environment variable rather than loadparm parameter when testing
...
nonblocking sockets.
2008-11-02 17:21:46 +01:00
Jelmer Vernooij
62c57cb400
Remove use of global_loadparm when comparing nt status error - use
...
global variable instead.
2008-11-02 17:11:20 +01:00
Jelmer Vernooij
e11a7b3a0b
Add utility function for getting the default loadparm context from a python module.
2008-11-02 16:48:48 +01:00
Jelmer Vernooij
ef915eff16
Move check of SMB_CONF_PATH to loadparm code.
2008-11-02 16:46:32 +01:00
Jelmer Vernooij
c537f7a914
Fix the build.
2008-11-02 05:49:36 +01:00
Jelmer Vernooij
b034c519f5
Add gensec_settings structure. This wraps loadparm_context for now, but
...
should in the future only contain some settings required for gensec.
2008-11-02 02:05:48 +01:00
Jelmer Vernooij
9265cb02d0
Use a separate global for nonblocking socket testing rather than global_loadparm.
2008-11-02 01:15:42 +01:00
Jelmer Vernooij
75819db083
Rename param_opt.flags to priority.
2008-11-01 15:09:26 +01:00
Jelmer Vernooij
069a6f0e4b
Disable lanman authentication by default in Samba 4.
2008-10-31 15:07:34 +01:00
Jelmer Vernooij
d6afe7c61a
Fix includes.
2008-10-24 18:06:57 +02:00
Jelmer Vernooij
0218669d62
Remove include/local.h and move defines to more appropriate places.
2008-10-24 17:53:38 +02:00
Jelmer Vernooij
23302413b3
Remove unused include param/param.h.
2008-10-24 16:37:56 +02:00
Jelmer Vernooij
a803525863
Regenerate SWIG files.
2008-10-24 15:30:43 +02:00
Jelmer Vernooij
12f7056aac
Remove access to global_loadparm from python module.
2008-10-24 15:00:09 +02:00
Jelmer Vernooij
e37ce5ba9f
Mark global_loadparm as deprecated.
2008-10-24 14:57:55 +02:00
Jelmer Vernooij
61013deff8
Remove dependency of charset code on loadparm.
2008-10-24 14:45:31 +02:00
Jelmer Vernooij
2d46992337
Remove const so return value can be freed.
2008-10-24 04:38:31 +02:00
Jelmer Vernooij
f18296151d
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-10-23 21:59:15 +02:00
Jelmer Vernooij
9d2d666109
Make lp_tls_* return absolute paths.
2008-10-23 21:49:40 +02:00
Jelmer Vernooij
09065795d6
Remove unused constants from local.h.
2008-10-23 18:13:25 +02:00
Jelmer Vernooij
87ec1d2532
Make sure prototypes are always included, make some functions static and
...
remove some unused functions.
2008-10-20 18:59:51 +02:00
Jelmer Vernooij
218f482fbf
Use common strlist implementation in Samba 3 and Samba 4.
2008-10-12 00:56:56 +02:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Jelmer Vernooij
c8a19f0b83
Pass options struct into session initialization functions rather than
...
using global_loadparm.
2008-09-30 01:29:53 +02:00
Simo Sorce
508527890a
Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.
...
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
2008-09-23 18:17:46 -04:00
Jelmer Vernooij
db0abee678
Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs
2008-09-19 00:06:14 +02:00
Jelmer Vernooij
6f6e42ce60
Generate with 1.3.36.
2008-09-18 23:55:50 +02:00