summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-01s3:winbind Ensure we always init idmap_passdb before we use itAndrew Bartlett1-0/+4
It seems that it is possible for idmap_init_passdb_domain() to be run before idmap_init_domain(), so ensure we run the static init functions in both. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
2010-06-01s3:idmap Use idmap.idl defined structures and constantsAndrew Bartlett1-24/+1
This allows these structures to be shared across all of Samba The additional name type ID_TYPE_BOTH is unused in source3 code at this time. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
2010-06-01s4-configure: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2010-06-01selftest: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2010-06-01s4-heimdal: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2010-06-01s4-cracknames: Fix typo in debug message.Karolin Seeger1-1/+1
Karolin
2010-06-01s3:auth Rename wksta_name -> workstation_name in auth_usersupplied_infoAndrew Bartlett10-34/+34
2010-06-01s4:ntlmssp Use common code for ntlmssp_sign.cAndrew Bartlett4-526/+21
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-01s4:ntlmssp Use the new common ntlmssp.hAndrew Bartlett1-117/+1
2010-06-01s4:ntlmssp Merge ntlmssp structures with version from source3/Andrew Bartlett2-74/+21
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-01s3:param Put 'server_role' functions in another file.Andrew Bartlett4-86/+117
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01s3:param Add helper function to get at Gobals.iDomainMasterAndrew Bartlett2-0/+13
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-01s3-waf: Check for device major and minor macrosKai Blin1-0/+8
2010-06-01s3-waf: Add check for asm/types.hKai Blin1-0/+2
2010-05-31pyldb_util: Remove dependency on LIBPYTHON - it's already thereJelmer Vernooij1-2/+1
implicitly and not available in the standalone build.
2010-05-31s4:samldb LDB module - start on a sequential trigger implementationMatthias Dieter Wallnöfer1-10/+26
This is a start to allow the triggers to be called sequentially.
2010-05-31ldb:ldb_msg_add_steal_string - prevent also there the addition of strings ↵Matthias Dieter Wallnöfer1-0/+5
with length 0
2010-05-31s4:dsdb_load_udv_v1 - "uint32_t" counter type fits better than "unsigned int"Matthias Dieter Wallnöfer1-1/+1
2010-05-31s3-waf: Check if compiler supports LL suffixKai Blin1-0/+6
2010-05-31s3-waf: Check for broken nisplus include filesKai Blin1-0/+3
2010-05-31s3-smbd: remove unused sconn from token_contains_name().Günther Deschner1-1/+0
Guenther
2010-05-31s3:winbindd move reinit_after_fork() back out of winbindd_register_handlersAndrew Bartlett1-12/+12
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-31s3:winbind Make state->mem_ctx a talloc child of stateAndrew Bartlett1-1/+1
This way everything is destoryed at the conclusion of the connection correctly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-31s3:winbind tidy up connecting the winbind sockets.Andrew Bartlett3-49/+20
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-31Revert "s3:winbindd Split helper functions to allow s3compat to call them"Andrew Bartlett2-30/+22
I'm experimenting with a different entry point This reverts commit f5c0f90da5f5372ca6b7a72daa8d073a2444a068.
2010-05-31s3-netlogon: Fix crash bug in _netr_NetrEnumerateTrustedDomains().Günther Deschner1-18/+11
Guenther
2010-05-31Revert "ldb: Remove Samba-specific symbols."Simo Sorce1-0/+5
This reverts commit fe8302b235197e359a20ba0489eb72b54793963e. Jelmer, please do not re-re-revert this until we can properly handle *both* s4 and standalone ldb builds.
2010-05-31wafsamba: Only try to build manpages if XSLTPROC was actually found.Jelmer Vernooij1-2/+2
2010-05-31pyldb: Remove duplicate copy of function.Jelmer Vernooij1-28/+0
2010-05-31ldb: Remove unexisting and mistyped function from headerSimo Sorce1-2/+0
2010-05-31ldb: Install ldb_handlers.h header.Jelmer Vernooij1-3/+3
2010-05-31ldb: Remove Samba-specific symbols.Jelmer Vernooij1-5/+0
2010-05-31ldb: Move utility functions to separate file.Jelmer Vernooij2-4/+88
2010-05-31ldb: Fix dependencies when building with system ldb.Jelmer Vernooij8-13/+37
2010-05-31s3:smbd map_username() doesn't need sconn anymoreSimo Sorce7-19/+12
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s3:smbd user_ok doesn't need sconn anymoreSimo Sorce1-7/+6
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s3:smbd user_in_list() doesn't need sconn anymoreSimo Sorce3-8/+6
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s3:smbd user_in_network() doesn't need sconn anymoreSimo Sorce3-9/+7
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s3:smbd make yp cache local.Simo Sorce3-20/+8
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-31buildtools/wafsamba: use build group 'final' for the creation of manpagesStefan Metzmacher1-0/+1
This way we don't try to build manpages just for waf build --target=smbtorture metze
2010-05-31s3-waf: Fix build after ntlmssp_sign.c movedKai Blin1-1/+2
2010-05-31ldb: Revert signature file changes made in ↵Kai Blin1-0/+5
151e239bcf2860411527a953d627b2d724c0a57e
2010-05-31s3-netlogon: use LSA in _netr_NetrEnumerateTrustedDomains.Günther Deschner1-18/+66
Guenther
2010-05-31s3-netlogon: use SAMR in _netr_ServerAuthenticate3.Günther Deschner1-33/+73
Guenther
2010-05-31s3-samr: give the system user a free pass for _samr_QueryUserInfo{2} level 18.Günther Deschner1-0/+5
Guenther
2010-05-31s3-auth: add "system" bool flag to auth_serversupplied_info.Günther Deschner2-1/+11
Guenther
2010-05-31s3-netlogon: use SAMR in _netr_ServerPasswordSet{2}.Günther Deschner1-111/+165
Guenther
2010-05-31s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.Andrew Bartlett7-75/+127
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-31s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet()Andrew Bartlett7-26/+67
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-31ntlmssp: Make the ntlmssp.h from source3/ a common headerAndrew Bartlett15-14/+14
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>