1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

63253 Commits

Author SHA1 Message Date
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
Simo Sorce
3bb819581b Fix Out of memory checks
Günther pushed an older version of the patch "s3:auth add function to copy a
netr_SamInfo3 structure" that was missing these fixes.
2010-05-27 19:23:54 -04:00
Simo Sorce
2a6a696e32 s3:auth add function to convert wbcAuthUserInfo to netr_SamInfo3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 01:20:09 +02:00
Simo Sorce
606be25ecf s3:auth Free sampass as soon as we have server_info
We don't keep sampass in server_info anymore
So it makes no sense to keep it around.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:56:02 +02:00
Simo Sorce
d9cffc01be s3:auth use info3 in auth_serversupplied_info
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:53 +02:00
Simo Sorce
6713f3d945 s3:auth add function to copy a netr_SamInfo3 structure
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:27 +02:00
Simo Sorce
605cfef56c s3:auth: add function to convert samu to netr_SamInfo3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:17 +02:00
Günther Deschner
667716d204 s4-smbtorture: finally test all levels in rap_NetUserGetInfo RAP-SAM test.
Guenther
2010-05-28 00:22:40 +02:00
Günther Deschner
7803bcdae6 s4-smbtorture: remove obsolete handmarshalled rap code.
Guenther
2010-05-28 00:22:18 +02:00
Günther Deschner
82982bd480 s4-smbtorture: we can fully use autogenerated code to pull info unions now.
Guenther
2010-05-28 00:17:45 +02:00
Günther Deschner
7bcd9c5583 libndr: add support for relative_rap_convert.
Will not harm anyone, is only used for rare short (2byte) relative pointers, and
relative_rap_convert is always 0 so far (as all init functions using struct
ndr_pull will zero the struct).

Guenther
2010-05-27 23:25:15 +02:00
Kai Blin
49a80fe671 s3-waf: Fix typo
Sorry for the noise
2010-05-27 22:45:13 +02:00
Kai Blin
21e8548c0a s3-waf: Also set "developer" env when building in developer mode 2010-05-27 22:42:59 +02:00
Volker Lendecke
abbf8efb24 s3: Fix a bad memleak in the async echo responder 2010-05-27 18:15:19 +02:00
Günther Deschner
eff13393b3 s3-waf: fix the build after tstream changes.
Guenther
2010-05-27 17:18:20 +02:00
Volker Lendecke
9b534ad145 s3: Remove an unused variable 2010-05-27 14:27:58 +02:00
Günther Deschner
869eed76e6 s3-lanman: use samr for api_RNetUserGetInfo.
Following MS-RAP 3.2.5.13 NetUserGetInfo Command.

Guenther
2010-05-27 13:37:40 +02:00