Andrew Bartlett
e5ebc52e9f
Revert "s3:winbindd Split helper functions to allow s3compat to call them"
...
I'm experimenting with a different entry point
This reverts commit f5c0f90da5
.
2010-05-31 21:36:55 +02:00
Günther Deschner
fca69a9e2f
s3-netlogon: Fix crash bug in _netr_NetrEnumerateTrustedDomains().
...
Guenther
2010-05-31 21:27:29 +02:00
Simo Sorce
cf727404f4
Revert "ldb: Remove Samba-specific symbols."
...
This reverts commit fe8302b235
.
Jelmer, please do not re-re-revert this until we can properly handle
*both* s4 and standalone ldb builds.
2010-05-31 14:53:22 -04:00
Jelmer Vernooij
a22d7db308
wafsamba: Only try to build manpages if XSLTPROC was actually found.
2010-05-31 20:45:14 +02:00
Jelmer Vernooij
41cdac9c3e
pyldb: Remove duplicate copy of function.
2010-05-31 20:45:14 +02:00
Simo Sorce
38dfc48033
ldb: Remove unexisting and mistyped function from header
2010-05-31 13:54:00 -04:00
Jelmer Vernooij
7f75ee025f
ldb: Install ldb_handlers.h header.
2010-05-31 19:22:04 +02:00
Jelmer Vernooij
fe8302b235
ldb: Remove Samba-specific symbols.
2010-05-31 19:22:04 +02:00
Jelmer Vernooij
1bc53f0213
ldb: Move utility functions to separate file.
2010-05-31 19:22:04 +02:00
Jelmer Vernooij
82d56b9374
ldb: Fix dependencies when building with system ldb.
2010-05-31 19:22:03 +02:00
Simo Sorce
471ed70c49
s3:smbd map_username() doesn't need sconn anymore
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31 18:21:29 +02:00
Simo Sorce
6a25668e55
s3:smbd user_ok doesn't need sconn anymore
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31 18:21:29 +02:00
Simo Sorce
94bf9ce48a
s3:smbd user_in_list() doesn't need sconn anymore
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31 18:21:29 +02:00
Simo Sorce
7747dd82f7
s3:smbd user_in_network() doesn't need sconn anymore
...
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31 18:21:29 +02:00
Simo Sorce
b32b59d47f
s3:smbd make yp cache local.
...
The my_yp_domain variable is just a static cache needed to avoid
making over and over expensive and potentially blocking calls to
yp_get_default_domain().
Instead of keeping this onto the smbd_server_connection struct, just
keep it local to the only function ever using this variable.
This disentagle this function (and a number of calling functions)
from having to pass around smbd_server_connection and thus having
to link against smbd. It also removes a few ifdefs.
Nothing changes from a global/local pov, as the smbd_server_connection
variable passed around is also a global one.
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31 18:21:29 +02:00
Stefan Metzmacher
1da4153459
buildtools/wafsamba: use build group 'final' for the creation of manpages
...
This way we don't try to build manpages just for waf build --target=smbtorture
metze
2010-05-31 17:52:31 +02:00
Kai Blin
c866920c3d
s3-waf: Fix build after ntlmssp_sign.c moved
2010-05-31 15:56:30 +02:00
Kai Blin
6af6b96b57
ldb: Revert signature file changes made in 151e239bcf
2010-05-31 15:40:20 +02:00
Günther Deschner
98641648d8
s3-netlogon: use LSA in _netr_NetrEnumerateTrustedDomains.
...
Guenther
2010-05-31 15:31:00 +02:00
Günther Deschner
4bb7e91cfd
s3-netlogon: use SAMR in _netr_ServerAuthenticate3.
...
Guenther
2010-05-31 15:31:00 +02:00
Günther Deschner
db5730cac4
s3-samr: give the system user a free pass for _samr_QueryUserInfo{2} level 18.
...
Guenther
2010-05-31 15:30:59 +02:00
Günther Deschner
3f24f8d2c6
s3-auth: add "system" bool flag to auth_serversupplied_info.
...
Guenther
2010-05-31 15:30:59 +02:00
Günther Deschner
a7805811c4
s3-netlogon: use SAMR in _netr_ServerPasswordSet{2}.
...
Guenther
2010-05-31 15:30:59 +02:00
Andrew Bartlett
62708fbd1b
s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.
...
This needs a small re-arrangement of the supporting code.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:11:36 +02:00
Andrew Bartlett
d6fa371b92
s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet()
...
This ensures the results can't be easily left to leak.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:11:27 +02:00
Andrew Bartlett
ebae21f023
ntlmssp: Make the ntlmssp.h from source3/ a common header
...
The code is not yet in common, but I hope to fix that soon.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:10:56 +02:00
Andrew Bartlett
9a76932ccf
s3:ntlmssp Add two unused variables to match the Samba4 ntlmssp.h
...
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:10:48 +02:00
Andrew Bartlett
723ea68d3b
s3:auth Remove AUTH_NTLMSSP_STATE typedef.
...
typedefs are no longer preferred Samba style.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:10:44 +02:00
Andrew Bartlett
3b706865f6
s3:auth Make AUTH_NTLMSSP_STATE a private structure.
...
This makes it a little easier for it to writen in terms of GENSEC in future.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:10:33 +02:00
Björn Jacke
a950c6c600
s3:configre: work around shell problem on HP-UX in AC macro
2010-05-31 14:33:51 +02:00
Jelmer Vernooij
8c017022db
talloc: Don't set is_bundled for standalone build.
2010-05-31 13:57:03 +02:00
Jelmer Vernooij
151e239bcf
ldb/waf: Fix build with system and bundled ldb.
2010-05-31 13:57:03 +02:00
Jelmer Vernooij
f89e390fbc
waf: Refactor manpage building code.
2010-05-31 13:56:25 +02:00
Jelmer Vernooij
f98bb7ffc3
Add manpages argument to SAMBA_LIBRARY().
2010-05-31 13:56:25 +02:00
Stefan Metzmacher
cc77e7966e
s4-waf: Fixed the ldb build.
2010-05-31 12:51:58 +02:00
Matthias Dieter Wallnöfer
11e2608ba9
s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" result
...
See MS-NRPC 3.5.5.6.3.
2010-05-31 12:08:59 +02:00
Matthias Dieter Wallnöfer
0eec33417e
s4:dcesrv_netr_DsrEnumerateDomainTrusts - fix an integer type
2010-05-31 12:08:58 +02:00
Matthias Dieter Wallnöfer
aaf1c751f4
s4:torture/rpc/netlogon.c - add another "LogonGetDomainInfo" testcase
...
Mark it as dangerous since it does break some target systems.
2010-05-31 12:08:32 +02:00
Volker Lendecke
3e0b2c8c9a
s3: Fix some debug messages
2010-05-31 12:04:28 +02:00
Volker Lendecke
2e4c41431e
s3: Don't announce readraw and writeraw with the async echo responder
2010-05-31 12:04:28 +02:00
Günther Deschner
82e140c045
s3: use shared security defines.
...
Guenther
2010-05-31 11:53:00 +02:00
Günther Deschner
fbb7814f91
s3: only use netlogon/nbt header when needed.
...
Guenther
2010-05-31 11:32:37 +02:00
Günther Deschner
f9f8007361
s3-build: only use ndr_security.h where needed.
...
Guenther
2010-05-31 11:32:37 +02:00
Günther Deschner
c00407bd35
libcli/nbt/lmhosts: fix missing prototype warning.
...
Andrew, please check.
Guenther
2010-05-31 11:25:24 +02:00
Michael Adam
7426cf4306
s3: remove prototype of non-existsing function idmap_tdb_tdb_close().
2010-05-31 10:30:15 +02:00
Kai Blin
e3997c2a6d
wafsamba: Correctly detect if bld.env.XSLTPROC is not set
...
This fixes the build on some build farm hosts and my machine.
Jelmer, please check.
2010-05-31 09:40:14 +02:00
Jelmer Vernooij
cd2dd33103
ldb: Support building with system ldb library
2010-05-31 04:48:00 +02:00
Jelmer Vernooij
04fc459a30
tdb-waf: Don't install binaries when using system tdb.
2010-05-31 04:20:44 +02:00
Jelmer Vernooij
e6129bd596
tdb-waf: Simplify manpage handling.
2010-05-31 04:16:19 +02:00
Jelmer Vernooij
1d1d31f703
wafsamba: Default blacklist to an empty list rather than None.
2010-05-31 03:59:50 +02:00