summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* s4: Mark the winsreplication test as knownfailVolker Lendecke2011-08-291-1/+1
| | | | | | | | This continues to break my autobuild even if I just check something into source3. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Aug 29 21:04:06 CEST 2011 on sn-devel-104
* 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
* dnspython: Update to latest upstream snapshot.Jelmer Vernooij2011-08-27109-858/+1197
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Aug 27 17:40:39 CEST 2011 on sn-devel-104
* subunit: Update to latest upstream snapshot.Jelmer Vernooij2011-08-2722-609/+1281
|
* testtools: Update to latest upstream snapshot.Jelmer Vernooij2011-08-2759-876/+5255
|
* RAW_SFILEINFO_RENAME_INFORMATION_SMB2 sends 4 bytes of uninitialized data ↵Jeremy Allison2011-08-271-0/+1
| | | | | | | out on the network. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Aug 27 07:48:30 CEST 2011 on sn-devel-104
* 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
|
* s4-drsuapi Allow DsAddEntry of normal objectsAndrew Bartlett2011-08-261-1/+6
| | | | | | | | | We previously only allowed objects of class ntDSDSA Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Aug 26 15:34:21 CEST 2011 on sn-devel-104
* s4-messaging ensure we do not segfault on a NULL msg context in cleanupAndrew Bartlett2011-08-261-0/+4
|
* selftest: Allow a krb5.conf to be generated that covers multiple realmsAndrew Bartlett2011-08-263-23/+38
|
* build: Add dcerpc-binding to dcerpc.pcAndrew Bartlett2011-08-261-1/+1
| | | | | | | This will help projects like OpenChange that depend on this code, now that it has been split between two libraries. Andrew Bartlett
* s4-dsdb Return ACL errors as ldb_errstring()Andrew Bartlett2011-08-263-17/+33
| | | | | | This string is reported to the caller, which makes debugging much easier. Andrew Bartlett
* s4-provision Use samba.dns_name_to_dnAndrew Bartlett2011-08-262-2/+6
|
* 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.
* py-samba3-test: Copy sample database in tempdir before running testAmitay Isaacs2011-08-261-7/+11
| | | | | | | | | | | Samba3 python module using passdb api modifies the database files, to upgrade them to latest version. So copy the sample database before running tests on it. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Aug 26 07:04:15 CEST 2011 on sn-devel-104
* samba3dump: Update the code using modified samba3 module with passdb apiAmitay Isaacs2011-08-261-40/+53
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3_upgrade: Set lock directory to correct directoryAmitay Isaacs2011-08-262-1/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* py-samba3-test: Set lock directory to the datadirAmitay Isaacs2011-08-261-0/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* testdata: Set netbios name in the samba3 configuationAmitay Isaacs2011-08-261-0/+1
| | | | | | | | | To correctly find the domain sid, passdb api uses netbios name to look up secrets database. If no nebios name is configured, passdb uses current hostname and adds entry for hostname in secrets and uses that instead of the intended one. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3_upgrade: Update commandline options and use updated samba3 python moduleAmitay Isaacs2011-08-263-166/+140
| | | | | | | | | | | | | | | | | | | | | | | upgrade_from_s3 script now requires samba3 configuration file and target directory for samba4 database. In addition, it either uses --libdir option or --testparm option to correctly guess the paths for samba3 databases (private dir and state directory). Usage: upgrade_from_s3 [options] <configuration_file> <targetdir> Input arguments are: <configuration_file> - path to existing smb.conf <targetdir> - directory in which samba4 database will be created In addition, specify either samba3 database directory (with --libdir) or samba3 testparm utility (with --testparm). Before using passdb interface, initialize s3 loadparm context using correct path settings for private dir and state directory. Export account policy from s3 to s4. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* py-samba3: Use passdb/param wrapper for samba3 moduleAmitay Isaacs2011-08-262-567/+117
| | | | | | | | | | | Instead of parsing samba3 database files (password, group mapping, account policy, secrets), use passdb python wrapper. Similarly for parsing configuration, use samba3 param python wrapper. Other databases (idmap, registry, wins) are still parsed in python. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* 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>
* script: Fix the name of the script in autogenerated header fileAmitay Isaacs2011-08-261-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-param: Use s3 dump method if s3 context is definedAmitay Isaacs2011-08-261-0/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-param: Add a dump() method to output parametersAmitay Isaacs2011-08-262-0/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3_upgrade: Let python generate backtrace for unknown exceptionsAmitay Isaacs2011-08-261-15/+4
| | | | | | Catch known exceptions only. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3_upgrade: Add document strings for python methodsAmitay Isaacs2011-08-261-9/+23
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* werror: remove duplicate definition of WERR_INVALID_OWNERMichael Adam2011-08-261-1/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Aug 26 01:23:52 CEST 2011 on sn-devel-104
* 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.