summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:lib add some more well-known sidsChristian Ambach2011-08-311-0/+3
| | | | | add S-1-3-2/Creator Owner Server, S-1-3-3/Creator Group Server and S-1-3-4/Owner Rights to the well-known SID list
* s3:lib add new well-known SIDs for BUILTINChristian Ambach2011-08-311-0/+8
| | | | | | Distributed COM Users, Cryptographic Operators, Event Log Readers and Certificate Service DCOM Access were missing from the BUILTIN well-known SID list
* tdb2: fix build with --enable-tdb2Rusty Russell2011-08-311-3/+2
| | | | | | | | tdb2 doesn't expost tdb_jenkins_hash; go straight to the source in ccan/hash. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3:include: add CAP_LWIO and CAP_DYNAMIC_REAUTH definesStefan Metzmacher2011-08-301-0/+2
| | | | metze
* s3-build: move libsmb/clisigning.c to LIBSMB_SRCStefan Metzmacher2011-08-302-4/+5
| | | | | | It's only needed in the client library. metze
* s3:smb2 fix Bug 8428 - wrong reply to DHnC (durable handle reconnect)Christian Ambach2011-08-301-6/+6
| | | | | | | | | | | | | | | | | | According to [MS-SMB2] 3.3.5.9.7 (http://msdn.microsoft.com/en-us/library/cc246784%28v=PROT.13%29.aspx), smbd must reply with NT_STATUS_OBJECT_NAME_NOT_FOUND as it does not support durable file-handles yet. I have seen w2k8r2 running xcopy /C ending up in an endless loop trying to get back the original file handle from smbd sending the same requests over and over. Metze, Jeremy, please check! Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Aug 30 22:20:36 CEST 2011 on sn-devel-104
* s3-rpc_server: Make sure we switch always the connecting user.Andreas Schneider2011-08-301-13/+11
| | | | | | | | | | We always have a valid session info and if it is a anonymous connection we have a session info of the guest user. This means we should always call become_authenticated_pipe_user() else and anonymous user could do things as root. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Aug 30 20:50:54 CEST 2011 on sn-devel-104
* s3: Silence some warningsVolker Lendecke2011-08-303-0/+56
| | | | | | | | | | | Rusty, please suggest a proper fix for this. Thanks, Volker Lendecke Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 30 19:16:14 CEST 2011 on sn-devel-104
* Fix bug 8412 - Microsoft Office 2007 (Microsoft Word) fails to save as on a ↵Jeremy Allison2011-08-292-6/+46
| | | | Samba share with SMB2.
* Fix bug Bug 8422 - Infinite loop in ACL module code.Jeremy Allison2011-08-291-1/+1
| | | | | Missing assignment means this loop will never terminate. Need to be applied to 3.5.x and 3.6.1.
* s3: Fix getent group if trusted domains are not reachableVolker Lendecke2011-08-291-2/+7
|
* s3:rpc_server: fix two debug messages in svcctl_add_service()Michael Adam2011-08-291-2/+2
| | | | | | | (copy and paste from eventlog?) Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Aug 29 15:30:33 CEST 2011 on sn-devel-104
* s3-lib: If we create a pipe socket, don't start to listen.Andreas Schneider2011-08-294-6/+31
| | | | | | | | | The create_pipe_sock() function should only create the socket as the name states and not start to listen on it too. We should start to listen on in the individual places as we need different backlog values. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Aug 29 13:21:43 CEST 2011 on sn-devel-104
* s3:libsmb: make cli_session_request_send/recv() staticStefan Metzmacher2011-08-282-13/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Aug 28 20:29:01 CEST 2011 on sn-devel-104
* s3:libsmb: move cli_session_request*() to smbsock_connect.cStefan Metzmacher2011-08-282-127/+129
| | | | metze
* s3:libsmb: move cli_smb_oplock_break_waiter*() to clioplock.cStefan Metzmacher2011-08-284-86/+86
| | | | metze
* s3:libsmb: use cli_smb_req_set_mid() in cli_smb_oplock_break_waiter_send()Stefan Metzmacher2011-08-281-3/+1
| | | | metze
* s3:libsmb: let cli_smb_req_mid() return the mid set by cli_smb_req_set_mid()Stefan Metzmacher2011-08-281-0/+5
| | | | metze
* s3: Fix a winbind race leading to 100% CPUVolker Lendecke2011-08-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | | This fixes a race condition that leads to the winbindd_children list becoming corrupted. It happens when on a busy winbind SIGCHLD is a bit late. Imagine a winbind with multiple requests in the queue for a single child. Child dies, and before the SIGCHLD handler is called we find the socket to be dead. wb_child_request_done is called, receiving an error from wb_simple_trans_recv. It closes the socket. Then immediately the wb_child_request_trigger will do another fork_domain_child before the signal handler is called. This means that we do another fork_domain_child, we have child->sock==-1 at this point. fork_domain_child will do a DLIST_ADD(winbindd_children, child) a second time where the child is already part of that list. This corrupts the list. Then the signal handler kicks in, spinning in for (child = winbindd_children; child != NULL; child = child->next) { forever. Not good. This patch makes sure that both conditions (sock==-1 and not part of the list) for a winbindd_child struct match up. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Aug 26 18:51:24 CEST 2011 on sn-devel-104
* s3: Fix two int/enum mixupsVolker Lendecke2011-08-261-2/+2
|
* s3-passdb: Allocate talloc stackframe before calling pdb_get_group_sid()Amitay Isaacs2011-08-261-5/+6
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-param: Allocate talloc stackframe before calling s3 param routinesAmitay Isaacs2011-08-261-2/+26
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3: Use sys_write in fork_domain_childVolker Lendecke2011-08-261-1/+1
| | | | | | | Counterpart for last checkin. A lot less likely, but not impossible in a child. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Aug 26 13:14:27 CEST 2011 on sn-devel-104
* s3: Use sys_read in fork_domain_childVolker Lendecke2011-08-261-1/+1
| | | | | | | | | I've seen [2011/08/26 01:44:10.872057, 1] winbindd/winbindd_dual.c:1336(fork_domain_child) fork_domain_child: Could not read child status: nread=-1, error=Interrupted system call on a customer box. Not good.
* s3-passdb: Make domain_sid argument optional for search_aliases methodAmitay Isaacs2011-08-261-5/+10
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Return assigned number of hours and not MAX_HOURS_LENAmitay Isaacs2011-08-261-3/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Convert lm_pw and nt_pw to python string using lengthAmitay Isaacs2011-08-261-2/+2
| | | | | | | lm_pw and nt_pw are fixed length strings and convert them to python strings as fixed length strings. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-param: Add a dump() method to output parametersAmitay Isaacs2011-08-261-0/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3:dbwrap_tdb: correctly catch the error from the return code of tdb_parse ↵Michael Adam2011-08-251-1/+6
| | | | in db_tdb_fetch()
* s3:smbd: remove an unused variable in dptr_create()Michael Adam2011-08-251-1/+0
|
* s3:registry: fix the v2_to_v3 upgrade code so that it does not create value ↵Michael Adam2011-08-251-0/+6
| | | | list security records for the INFO/version key ...
* s3:registry: fix the v1_to_v2 upgrade code so that it does not normalize the ↵Michael Adam2011-08-251-0/+6
| | | | INFO/version key ...
* s3:registry: define a constant REGDB_VERSION_KEYNAME for the key ↵Michael Adam2011-08-251-7/+6
| | | | INFO/version (and use it)
* s3:registry: hand db context in to v2_to_v3 upgrade code via private_dataMichael Adam2011-08-251-4/+9
| | | | | This also fixes the earlier faulty handing in of a useless stackframe memory context via private_data.
* s3:registry: fix broken use of dbwrap store record in v1_to_v2 upgrade codeMichael Adam2011-08-251-8/+10
| | | | | This also fixes broken private_data parameter for the traverse function (making use of it): Originally a memory context was handed in but was not used.
* s3: Fix the build of vfs_aixacl2.cSATOH Fumiyasu2011-08-251-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Aug 25 23:06:12 CEST 2011 on sn-devel-104
* s3: Remove a bogus commentVolker Lendecke2011-08-251-4/+0
|
* s3: Pass smbd_server_connection to (unused) server_encryption_shutdownVolker Lendecke2011-08-252-2/+2
|
* s3: Pass smbd_server_connection to srv_encrypt_bufferVolker Lendecke2011-08-253-3/+5
|
* s3: Pass smbd_server_connection to srv_decrypt_bufferVolker Lendecke2011-08-253-4/+3
|
* s3: Pass smbd_server_connection to srv_free_enc_bufferVolker Lendecke2011-08-253-4/+4
|
* s3: Pass smbd_server_connection to is_encrypted_packetVolker Lendecke2011-08-254-8/+11
|
* s3: Pass sconn to valid_smb_headerVolker Lendecke2011-08-251-4/+5
|
* s3: Explicitly pass smb_srv_trans_enc_ctx to srv_enc_ctxVolker Lendecke2011-08-251-3/+3
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-08-252-6/+6
|
* s3-waf: fix some unresolved symbols in idmap ad modules.Günther Deschner2011-08-251-0/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Aug 25 15:15:57 CEST 2011 on sn-devel-104
* s3-registry: fix bug #8401 - registry/reg_format.c must include includes.h.Günther Deschner2011-08-251-0/+1
| | | | Guenther
* pdb-samba4: use ldb_get_default_basedn() instead of NULLAndrew Tridgell2011-08-251-3/+3
| | | | | | this makes pdb-samba4 safe for multi-domain setups Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3:winbindd fix a return code checkChristian Ambach2011-08-241-2/+2
| | | | | | | | | talloc_traverse_dict will return with -1 in case of an error and might return positive values that indicate the count of found entries Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed Aug 24 18:09:11 CEST 2011 on sn-devel-104
* s3: Fix an uninitialized variableVolker Lendecke2011-08-241-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Aug 24 00:34:04 CEST 2011 on sn-devel-104