summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-waf: Fixed dependencies of the the avahi subsystem.Andreas Schneider2010-06-021-0/+1
|
* SMB2: Fix rename on Windows 7.Ira Cooper2010-06-011-8/+0
| | | | | | | This removes some code Jeremy (jra) suspected was bad. It turns out that the command window rename command will not work with the offending code in place. With it removed the bug is gone, and rename works.
* Don't use sigev_value.sival_int to just store the mid, use ↵Jeremy Allison2010-06-011-38/+26
| | | | | | | | | sigev_value.sival_ptr to store the private data structure. This allows easier use from SMB2. Ensure aio is initialized before the aio_pending_size check else aio will never be used. Jeremy.
* s3-eventlog: try to pass RPC-EVENTLOG during make test as non-root.Günther Deschner2010-06-011-5/+22
| | | | Guenther
* s3-vfs: Send the share name instead of the path in smb_traffic_analyzer.Holger Hetterich2010-06-011-2/+5
| | | | | | | In protocol v2, the name of the service should be sent instead of the path. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-waf: Fix the buildKai Blin2010-06-011-1/+2
|
* s3: remove unused prototype for lp_idmap_domains().Michael Adam2010-06-011-1/+0
|
* s3-waf: Add check for dirent.d_off memberKai Blin2010-06-011-0/+4
|
* s3:winbindd: make sure we only call static_init_idmap onceStefan Metzmacher2010-06-011-7/+18
| | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:winbind Ensure we always init idmap_passdb before we use itAndrew Bartlett2010-06-011-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>
* s3:idmap Use idmap.idl defined structures and constantsAndrew Bartlett2010-06-011-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>
* s3:auth Rename wksta_name -> workstation_name in auth_usersupplied_infoAndrew Bartlett2010-06-0110-34/+34
|
* s3:param Put 'server_role' functions in another file.Andrew Bartlett2010-06-014-86/+117
| | | | | | Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:param Add helper function to get at Gobals.iDomainMasterAndrew Bartlett2010-06-012-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>
* s3-waf: Check for device major and minor macrosKai Blin2010-06-011-0/+8
|
* s3-waf: Add check for asm/types.hKai Blin2010-06-011-0/+2
|
* s3-waf: Check if compiler supports LL suffixKai Blin2010-05-311-0/+6
|
* s3-waf: Check for broken nisplus include filesKai Blin2010-05-311-0/+3
|
* s3-smbd: remove unused sconn from token_contains_name().Günther Deschner2010-05-311-1/+0
| | | | Guenther
* s3:winbindd move reinit_after_fork() back out of winbindd_register_handlersAndrew Bartlett2010-05-311-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
* s3:winbind Make state->mem_ctx a talloc child of stateAndrew Bartlett2010-05-311-1/+1
| | | | | | | | | This way everything is destoryed at the conclusion of the connection correctly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:winbind tidy up connecting the winbind sockets.Andrew Bartlett2010-05-313-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>
* Revert "s3:winbindd Split helper functions to allow s3compat to call them"Andrew Bartlett2010-05-312-30/+22
| | | | | | I'm experimenting with a different entry point This reverts commit f5c0f90da5f5372ca6b7a72daa8d073a2444a068.
* s3-netlogon: Fix crash bug in _netr_NetrEnumerateTrustedDomains().Günther Deschner2010-05-311-18/+11
| | | | Guenther
* s3:smbd map_username() doesn't need sconn anymoreSimo Sorce2010-05-317-19/+12
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:smbd user_ok doesn't need sconn anymoreSimo Sorce2010-05-311-7/+6
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:smbd user_in_list() doesn't need sconn anymoreSimo Sorce2010-05-313-8/+6
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:smbd user_in_network() doesn't need sconn anymoreSimo Sorce2010-05-313-9/+7
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:smbd make yp cache local.Simo Sorce2010-05-313-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>
* s3-waf: Fix build after ntlmssp_sign.c movedKai Blin2010-05-311-1/+2
|
* s3-netlogon: use LSA in _netr_NetrEnumerateTrustedDomains.Günther Deschner2010-05-311-18/+66
| | | | Guenther
* s3-netlogon: use SAMR in _netr_ServerAuthenticate3.Günther Deschner2010-05-311-33/+73
| | | | Guenther
* s3-samr: give the system user a free pass for _samr_QueryUserInfo{2} level 18.Günther Deschner2010-05-311-0/+5
| | | | Guenther
* s3-auth: add "system" bool flag to auth_serversupplied_info.Günther Deschner2010-05-312-1/+11
| | | | Guenther
* s3-netlogon: use SAMR in _netr_ServerPasswordSet{2}.Günther Deschner2010-05-311-111/+165
| | | | Guenther
* s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.Andrew Bartlett2010-05-314-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>
* s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet()Andrew Bartlett2010-05-317-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>
* ntlmssp: Make the ntlmssp.h from source3/ a common headerAndrew Bartlett2010-05-3115-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>
* s3:ntlmssp Add two unused variables to match the Samba4 ntlmssp.hAndrew Bartlett2010-05-311-0/+4
| | | | | | | Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
* s3:auth Remove AUTH_NTLMSSP_STATE typedef.Andrew Bartlett2010-05-318-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>
* s3:auth Make AUTH_NTLMSSP_STATE a private structure.Andrew Bartlett2010-05-317-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>
* s3:configre: work around shell problem on HP-UX in AC macroBjörn Jacke2010-05-311-1/+3
|
* s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" resultMatthias Dieter Wallnöfer2010-05-312-20/+16
| | | | See MS-NRPC 3.5.5.6.3.
* s3: Fix some debug messagesVolker Lendecke2010-05-311-4/+4
|
* s3: Don't announce readraw and writeraw with the async echo responderVolker Lendecke2010-05-312-2/+20
|
* s3: use shared security defines.Günther Deschner2010-05-312-29/+14
| | | | Guenther
* s3: only use netlogon/nbt header when needed.Günther Deschner2010-05-3114-26/+40
| | | | Guenther
* s3-build: only use ndr_security.h where needed.Günther Deschner2010-05-3121-0/+22
| | | | Guenther
* s3: remove prototype of non-existsing function idmap_tdb_tdb_close().Michael Adam2010-05-311-1/+0
|
* s3: use PICFLAG instead of PIE_FLAGSBjörn Jacke2010-05-311-1/+1
|