Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-05-31 | s3:smbd user_ok doesn't need sconn anymore | Simo Sorce | 1 | -7/+6 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-05-31 | s3:smbd user_in_list() doesn't need sconn anymore | Simo Sorce | 3 | -8/+6 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-05-31 | s3:smbd user_in_network() doesn't need sconn anymore | Simo Sorce | 3 | -9/+7 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-05-31 | s3:smbd make yp cache local. | Simo Sorce | 3 | -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-31 | s3-waf: Fix build after ntlmssp_sign.c moved | Kai Blin | 1 | -1/+2 | |
2010-05-31 | s3-netlogon: use LSA in _netr_NetrEnumerateTrustedDomains. | Günther Deschner | 1 | -18/+66 | |
Guenther | |||||
2010-05-31 | s3-netlogon: use SAMR in _netr_ServerAuthenticate3. | Günther Deschner | 1 | -33/+73 | |
Guenther | |||||
2010-05-31 | s3-samr: give the system user a free pass for _samr_QueryUserInfo{2} level 18. | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2010-05-31 | s3-auth: add "system" bool flag to auth_serversupplied_info. | Günther Deschner | 2 | -1/+11 | |
Guenther | |||||
2010-05-31 | s3-netlogon: use SAMR in _netr_ServerPasswordSet{2}. | Günther Deschner | 1 | -111/+165 | |
Guenther | |||||
2010-05-31 | s3:ntlmssp Move ntlmssp_sign.c from source3 to common code. | Andrew Bartlett | 4 | -647/+3 | |
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 | s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet() | Andrew Bartlett | 7 | -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-31 | ntlmssp: Make the ntlmssp.h from source3/ a common header | Andrew Bartlett | 15 | -153/+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> | |||||
2010-05-31 | s3:ntlmssp Add two unused variables to match the Samba4 ntlmssp.h | Andrew Bartlett | 1 | -0/+4 | |
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-31 | s3:auth Remove AUTH_NTLMSSP_STATE typedef. | Andrew Bartlett | 8 | -27/+26 | |
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 | s3:auth Make AUTH_NTLMSSP_STATE a private structure. | Andrew Bartlett | 7 | -73/+171 | |
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 | s3:configre: work around shell problem on HP-UX in AC macro | Björn Jacke | 1 | -1/+3 | |
2010-05-31 | s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" result | Matthias Dieter Wallnöfer | 2 | -20/+16 | |
See MS-NRPC 3.5.5.6.3. | |||||
2010-05-31 | s3: Fix some debug messages | Volker Lendecke | 1 | -4/+4 | |
2010-05-31 | s3: Don't announce readraw and writeraw with the async echo responder | Volker Lendecke | 2 | -2/+20 | |
2010-05-31 | s3: use shared security defines. | Günther Deschner | 2 | -29/+14 | |
Guenther | |||||
2010-05-31 | s3: only use netlogon/nbt header when needed. | Günther Deschner | 14 | -26/+40 | |
Guenther | |||||
2010-05-31 | s3-build: only use ndr_security.h where needed. | Günther Deschner | 21 | -0/+22 | |
Guenther | |||||
2010-05-31 | s3: remove prototype of non-existsing function idmap_tdb_tdb_close(). | Michael Adam | 1 | -1/+0 | |
2010-05-31 | s3: use PICFLAG instead of PIE_FLAGS | Björn Jacke | 1 | -1/+1 | |
2010-05-31 | s3: final test for working shlib support requires PIE_LDFLAGS | Björn Jacke | 1 | -1/+1 | |
2010-05-30 | s3: use autoconf macro to get some debug output in config.log | Björn Jacke | 1 | -4/+7 | |
2010-05-30 | s3-waf: Fix the build after rebase | Kai Blin | 1 | -3/+3 | |
2010-05-30 | s3-waf: support avahi builds | Kai Blin | 2 | -3/+19 | |
2010-05-30 | s3-waf: Add more darwin-specific options | Kai Blin | 1 | -0/+2 | |
2010-05-30 | s3-waf: Set HAVE_GSSAPI if gssapi libs were found | Kai Blin | 1 | -1/+2 | |
2010-05-30 | s3: define timespec before we use it | Joachim Schmitz | 1 | -7/+8 | |
this fixes #7464 Signed-off-by: Björn Jacke <bj@sernet.de> | |||||
2010-05-30 | s3: set pthread cflags in a more portable fashion | Björn Jacke | 1 | -4/+33 | |
this avoids one place of a GNU make dependency. Portable make sucks a bit as it has no way of defining variables for a limited set of targets only. Manual duplication of target rules is the only way to achieve what we need. If someone actually knows a trick how to do this without target duplication, let me know. | |||||
2010-05-30 | Revert "s3: Attempt to fix the non-gnumake build" | Björn Jacke | 1 | -2/+1 | |
This reverts commit 086c6c0e9a56f7e6dca6c1398e210b8c6225e4ed, it broke some builds. The following commit should also remove the gmake dependency. | |||||
2010-05-30 | s3: fix check for pie compiler flags | Björn Jacke | 1 | -2/+2 | |
some compilers (HP and Sun e.g.) output warning messages on stderr for unknown options and we ended up partly using some unwanted random compile flags we did't intend to use. | |||||
2010-05-30 | s3: add m4 macro to check if stderr is empty or not | Björn Jacke | 1 | -0/+13 | |
2010-05-29 | s3:auth make it easier to trace auth modules | Simo Sorce | 8 | -0/+21 | |
2010-05-29 | s3:auth fix info3 duplication function | Simo Sorce | 1 | -3/+8 | |
2010-05-29 | s3:smbd Use the right num_sids | Simo Sorce | 1 | -1/+1 | |
We use s_i->ptok->num_sids everywhere else in this call and then suddenly we reference s_i->num_sids | |||||
2010-05-29 | s3:passdb Fix memory leak | Simo Sorce | 1 | -0/+1 | |
We were allocating this passwd structure on sampass, but never freeing it nor assigning it to unix_pw where it could be reused. | |||||
2010-05-29 | s3:auth Fix segfault when the user cannot be found by getpwnam() | Andrew Bartlett | 1 | -3/+10 | |
Add comment to notify when getpwnam() fails. Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-05-28 | s3:winbind Kill amusing but un-used winbindd_kill_all_clients | Andrew Bartlett | 2 | -18/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-28 | s3:lib s3:lib move get_global_sam_name to util_names.c | Andrew Bartlett | 3 | -14/+14 | |
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 | s3:lib split out global workgroup and netbios name functions. | Andrew Bartlett | 4 | -47/+82 | |
Having these in their own file allows easier selective inclusion. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-28 | s3:smbd move messaging_context and memcache into globals.c | Andrew Bartlett | 3 | -50/+27 | |
This helps vfstest, which previously had duplicate copies of these functions. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-28 | s3:smbd split reload services/printers functions from server.c | Andrew Bartlett | 4 | -139/+111 | |
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 | s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.c | Andrew Bartlett | 3 | -147/+174 | |
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-28 | s3-waf: Support builds with utmp accounting | Kai Blin | 1 | -3/+34 | |
2010-05-28 | s3-waf: Match the defines from the autotools build on PACKAGE_* | Kai Blin | 1 | -5/+5 | |
2010-05-28 | s3-auth: Added a function to get the server_info from the system user. | Andreas Schneider | 3 | -0/+47 | |
Signed-off-by: Günther Deschner <gd@samba.org> |