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

63533 Commits

Author SHA1 Message Date
Karolin Seeger
1cad4304bf s4-heimdal: Fix typo in comment.
Karolin
2010-06-01 09:35:53 +02:00
Karolin Seeger
3eab655e54 s4-cracknames: Fix typo in debug message.
Karolin
2010-06-01 09:33:53 +02:00
Andrew Bartlett
a6e07c22a3 s3:auth Rename wksta_name -> workstation_name in auth_usersupplied_info 2010-06-01 17:11:25 +10:00
Andrew Bartlett
fdc6db34ca s4:ntlmssp Use common code for ntlmssp_sign.c
The common code does not have a mem_ctx on ntlmssp_check_packet() and
ntlmssp_unseal_packet().

We do however need some internal working of the code exposed, so some
structures are moved to ntlmssp_sign.h

Andrew Bartlett
2010-06-01 17:11:24 +10:00
Andrew Bartlett
38a26f1073 s4:ntlmssp Use the new common ntlmssp.h 2010-06-01 17:11:24 +10:00
Andrew Bartlett
bc8d12e593 s4:ntlmssp Merge ntlmssp structures with version from source3/
Use this as an excuse to get rid of ntlmssp_set_domain() etc, which
don't do anything useful now that msrpc_parse() use talloc anyway.

Andrew Bartlett
2010-06-01 17:11:24 +10:00
Andrew Bartlett
dfb206f47e s3:param Put 'server_role' functions in another file.
Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01 17:11:24 +10:00
Andrew Bartlett
6d2e796f35 s3:param Add helper function to get at Gobals.iDomainMaster
This is needed for a future split out of the server_role code.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01 17:11:24 +10:00
Kai Blin
458b2484c7 s3-waf: Check for device major and minor macros 2010-06-01 07:55:06 +02:00
Kai Blin
b497447e17 s3-waf: Add check for asm/types.h 2010-06-01 07:55:06 +02:00
Jelmer Vernooij
5a3e744394 pyldb_util: Remove dependency on LIBPYTHON - it's already there
implicitly and not available in the standalone build.
2010-05-31 23:10:59 +02:00
Matthias Dieter Wallnöfer
83788988cb s4:samldb LDB module - start on a sequential trigger implementation
This is a start to allow the triggers to be called sequentially.
2010-05-31 22:43:29 +02:00
Matthias Dieter Wallnöfer
a8788ce523 ldb:ldb_msg_add_steal_string - prevent also there the addition of strings with length 0 2010-05-31 22:43:28 +02:00
Matthias Dieter Wallnöfer
0fce829de4 s4:dsdb_load_udv_v1 - "uint32_t" counter type fits better than "unsigned int" 2010-05-31 22:43:28 +02:00
Kai Blin
0fddbe472e s3-waf: Check if compiler supports LL suffix 2010-05-31 22:26:31 +02:00
Kai Blin
3811fdab5c s3-waf: Check for broken nisplus include files 2010-05-31 22:26:30 +02:00
Günther Deschner
e80301eded s3-smbd: remove unused sconn from token_contains_name().
Guenther
2010-05-31 22:18:30 +02:00
Andrew Bartlett
d33c41fbf5 s3:winbindd move reinit_after_fork() back out of winbindd_register_handlers
This particular init function needs to be done in a native Samba3
build, but it turns out to be difficult for s3compat, which has other
code listening on the sockets.

Andrew Bartlett
2010-05-31 21:36:56 +02:00
Andrew Bartlett
19f4229fff s3:winbind Make state->mem_ctx a talloc child of state
This way everything is destoryed at the conclusion of
the connection correctly.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-31 21:36:55 +02:00
Andrew Bartlett
61eb56be4e s3:winbind tidy up connecting the winbind sockets.
By putting this code inline in winbindd_setup_listeners() we remove 2
static variables and simplify the code.

By putting the get_winbind_priv_pipe_dir() in the same file, we allow
it to be reimplemented in s3compat.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-31 21:36:55 +02:00
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