Kamen Mazdrashki
0f2263016f
s4/test-libnet-utils: refactor test_user_create()
...
- param names made more clear what they stand for
- user RID out param is now optional, so that this function may
be used in cases where we don't need user RID
- SAMR connection handle is closed as it is not used further
(we should play nice with servers)
2010-05-28 22:30:09 +03:00
Kamen Mazdrashki
8dedb4d06e
s4/test: remove local impl for open_domain and use common one
2010-05-28 22:30:09 +03:00
Kamen Mazdrashki
fce427134d
s4/test: remove torture/libnet/utils.h as we are using proto.h now
2010-05-28 22:30:09 +03:00
Kamen Mazdrashki
1118c7b0e4
s4/test: change prototype for test_opendomain()
...
- name changed to test_domain_open to be more alike athore functions
in utils.c file
- output parameters moved to the end param list definition just
after mem_ctx so it is somehow more clear those params are OUT
2010-05-28 22:30:08 +03:00
Kamen Mazdrashki
8e3a433f93
s4/test: Refactor test_opendomain to address following
...
- param names made more clear what they stand for
- dom_sid out param is now optional, so that this function may
be used in cases where we don't need dom_sid
- SAMR connection handle is closed as it is not used further
2010-05-28 22:30:08 +03:00
Kamen Mazdrashki
3a899e24d5
s4/test: make samr_close handle functio public
...
It is to be used further for closing opened handles when testing
using SAMR interface
2010-05-28 22:30:08 +03:00
Kamen Mazdrashki
cf79435545
s4/test: refactor NET-USERINFO test to be more 'torture' friendly
...
Test may be further refactored to be converted as a test case
(what it is actually)
2010-05-28 22:30:07 +03:00
Kamen Mazdrashki
2053403045
s4/test: test_userinfo/_async tests should use passed user_name param value
2010-05-28 22:30:07 +03:00
Matthias Dieter Wallnöfer
f11cf62016
s4:web_server/wsgi.c - provide a better out-of-memory handling for an "asprintf" call
2010-05-28 18:58:45 +02:00
Andrew Bartlett
8d6f88b469
s3:winbind Kill amusing but un-used winbindd_kill_all_clients
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:28 +02:00
Andrew Bartlett
d266f8fdf1
s3:lib s3:lib move get_global_sam_name to util_names.c
...
This doesn't really belong in util_sid.c, and has much more in common
with the other functions in util_names.c
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:28 +02:00
Andrew Bartlett
539ef13bfe
s3:lib split out global workgroup and netbios name functions.
...
Having these in their own file allows easier selective inclusion.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:27 +02:00
Andrew Bartlett
59422efca9
s3:smbd move messaging_context and memcache into globals.c
...
This helps vfstest, which previously had duplicate copies of these functions.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:27 +02:00
Andrew Bartlett
6f279de0e6
s3:smbd split reload services/printers functions from server.c
...
This helps vfstest, as it previously had duplicate copies of these
functions.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:26 +02:00
Andrew Bartlett
8bc32513da
s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.c
...
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:25 +02:00
Kai Blin
f7333629f8
s3-waf: Support builds with utmp accounting
2010-05-28 15:17:35 +02:00
Kai Blin
4eba4b07c6
s3-waf: Match the defines from the autotools build on PACKAGE_*
2010-05-28 14:35:45 +02:00
Andreas Schneider
93ac516e15
s3-auth: Added a function to get the server_info from the system user.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 14:31:39 +02:00
Günther Deschner
87037006bd
s3-samr: Fix crash bug in _samr_QueryUserInfo{2} level 18.
...
Guenther
2010-05-28 14:30:03 +02:00
Andrew Bartlett
e5fca6aebf
s4:build Don't automatically mark as 'not a git snapshot'.
...
If we generate a tarball, it may well be a git snapshot - we will
change the VERSION file if it really is a release.
Andrew Bartlett
2010-05-28 21:59:14 +10:00
Andrew Bartlett
b088a27551
s4:build use autotools for mkrelease.sh
...
The mkrelease.sh script only works with the autotools build. However,
it isn't recommended.
Andrew Bartlett
2010-05-28 21:59:12 +10:00
Andrew Bartlett
7ea7b23413
waf Provide release signing capability in 'waf dist'
...
This helps ensure the release is signed correctly - the .tar file, not
the .tar.gz must be signed, and it's easy to forget this.
Andrew Bartlett
2010-05-28 21:59:08 +10:00
Andrew Bartlett
708d6fc5b0
s4:waf Exclude the autotools based build environment from a Samba4 release
2010-05-28 21:59:07 +10:00
Andrew Bartlett
b50c006e20
waf Add DIST_BLACKLIST to list files that we cannot include in a release
...
This currently includes the source3 directory for Samba4 releases (per
past practice in mkrelease.sh), but also could include things like
DFSG-unfree RFC files in the future.
Andrew Barltett
2010-05-28 21:59:07 +10:00
Andrew Bartlett
e5232bdc69
s4:kdc Remove special talloc_free of the ldb context
...
I can see no reason not to just let this go with the talloc tree that
created it, and avoid a talloc_free with references.
Andrew Bartlett
2010-05-28 21:59:04 +10:00
Kai Blin
d0e131ee4e
s3-waf: Fix the smbclient build with libcap
2010-05-28 13:20:10 +02:00
Kai Blin
3d2c99f13b
s3-waf: Detect which version of krb5_enctype_to_string is used
...
Pair-Programmed-With: Günther Deschner <gd@samba.org>
2010-05-28 12:59:29 +02:00
Kai Blin
da0e0efe87
s3-waf: Fix the build of swat with --enable-cups
2010-05-28 12:58:23 +02:00
Matthias Dieter Wallnöfer
76f804af10
s4:client/client.c - we don't need "&ctx" for talloc calls
...
Simply use "ctx".
2010-05-28 10:39:54 +02:00
Matthias Dieter Wallnöfer
ce99f9e734
s4:web_server/wsgi.c - fix "asprintf" call
2010-05-28 10:04:48 +02:00
Matthias Dieter Wallnöfer
fe2a607640
s4:utils/ntlm_auth.c - fix "asprintf" calls
2010-05-28 10:04:48 +02:00
Matthias Dieter Wallnöfer
a64262697a
s4:smbd/pidfile.c - fix "asprintf" calls
2010-05-28 10:04:47 +02:00
Matthias Dieter Wallnöfer
67b2c424ce
s4:scripting/python/modules.c - fix "asprintf" calls
2010-05-28 10:04:47 +02:00
Matthias Dieter Wallnöfer
e831af7f07
s4:param/loadparm.c - fix "asprintf" call
2010-05-28 10:04:47 +02:00
Matthias Dieter Wallnöfer
7a3a1cb5a7
s4:ntvfs/simple/svfs_util.c - change an "asprintf" into a "talloc_asprintf"
2010-05-28 10:04:47 +02:00
Matthias Dieter Wallnöfer
69166d3ebb
s4:ntvfs/nbench/vfs_bench.c - change a "asprintf" into a "talloc_asprintf"
2010-05-28 10:04:46 +02:00
Matthias Dieter Wallnöfer
315ae8ae97
s4:libcli/clideltree.c - fix "asprintf"s
2010-05-28 10:04:46 +02:00
Matthias Dieter Wallnöfer
2c325236be
s4:regshell - fix an "asprintf"
2010-05-28 10:04:46 +02:00
Matthias Dieter Wallnöfer
8ddb4f6c84
s4:regshell - don't use negative exit codes
2010-05-28 10:04:45 +02:00
Matthias Dieter Wallnöfer
3318459fdc
s4:client/client.c - fix "asprintf"s
...
Fix the result values or change them into "talloc_asprintf"s where possible
see bug #6404
2010-05-28 10:04:45 +02:00
Andrew Bartlett
892a4b24e7
waf Read VERSION file inside WAF to set package version
...
This replaces the call to mkversion.sh in both the Samba3 and Samba4
WAF builds.
Andrew Bartlett
2010-05-28 15:20:03 +10:00
Günther Deschner
0ca8e2252b
s3-lanman: Fix api_RNetUserGetInfo level 2 marshalling offset calculation.
...
54 + 4 = 58 (and not 60).
Found by torture test.
Guenther
2010-05-28 02:49:37 +02:00
Günther Deschner
c5eeb0d155
s3-auth: fix c++ buildwarnings.
...
Guenther
2010-05-28 02:49:37 +02:00
Günther Deschner
38d69ca547
s3-build: remove duplicate ndr_krb5pac.h inclusion.
...
Guenther
2010-05-28 02:49:37 +02:00
Günther Deschner
6d194756e0
s3-build: use ndr_misc.h where needed.
...
Guenther
2010-05-28 02:49:36 +02:00
Günther Deschner
66adb84e46
s3-build: only use ndr_samr.h where needed.
...
Guenther
2010-05-28 02:49:36 +02:00
Günther Deschner
60079f59b0
s3-idl: fix some missing dependencies to other IDL files.
...
Guenther
2010-05-28 02:49:36 +02:00
Günther Deschner
30eeb1e3d9
s3-rpc_client: move protos to init_netlogon.h
...
Guenther
2010-05-28 02:49:36 +02:00
Simo Sorce
f888c82fe0
s3:auth Add comment to clarify usage of session keys.
...
Explain why we have what looks like a duplicate of session keys.
It is in fact not a duplicate.
2010-05-27 20:40:22 -04:00
Simo Sorce
20fb373202
s3:auth remove login_server from server info
...
It is not used anymore, we have that information in
info3->base.logon_server already
2010-05-27 19:41:07 -04:00