1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

49932 Commits

Author SHA1 Message Date
Volker Lendecke
4abdd3981e Pass "bytes_alignment" up through cli_request_send
This parameter makes smb_spice_chain add padding before the bytes field
2008-12-19 14:53:29 +01:00
Björn Jacke
1aff97bc48 correct the description of the "ldap timeout" parameter 2008-12-19 14:23:11 +01:00
Volker Lendecke
2504d78c82 Fix a "ignoring function call result" warning 2008-12-19 13:57:32 +01:00
Volker Lendecke
2fe7d5936a Prefer network writes over reads
If we really want to keep the pipe busy, we need to write everything we have as
early as possible, giving the kernel the chance to get rid of the buffers
quickly :-)
2008-12-19 13:46:52 +01:00
Volker Lendecke
3c6d070595 Move some bytes from data to text, make use of the ARRAY_SIZE macro
Probably pointless, but it doesn't add complexity and it is fun to see bss and
data shrink :-)
2008-12-19 13:38:54 +01:00
Volker Lendecke
42e407b300 Factor out cli_write_max_bufsize 2008-12-19 13:34:26 +01:00
Volker Lendecke
7c3497ef5e Remove two write-only variables
If someone wants those stats, please don't use globals :-)
2008-12-19 13:18:57 +01:00
Volker Lendecke
f87da49830 Make cli_negprot async 2008-12-19 10:50:52 +01:00
Volker Lendecke
bb8ca0fdbf Make cli_negprot return NTSTATUS instead of bool 2008-12-19 10:28:30 +01:00
Volker Lendecke
96a3d7be31 cli_negprot_send -> cli_negprot_sendsync 2008-12-19 10:28:20 +01:00
Andrew Bartlett
cbddddb6cd Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel 2008-12-19 11:01:25 +11:00
Sreepathi Pai
43f232fcc9 Fix errors in MS-AD_Schema_Attributes_v20080618.txt
- Remove spurious line breaks
 - Add missing attributeId from docs
 - Remove incorrect multiple values of systemFlags
 - Fix duplicate attributeId
 - Fix schemaIdGuid syntax

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2008-12-19 10:56:09 +11:00
Stefan (metze) Metzmacher
a937a68826 Here's the prefixMap from w2k8.
We need to move 1.3.6.1.4.1.7165.4.1 and 1.3.6.1.4.1.7165.4.2 to the
end...(if we still need them, which we should avoid)

metze

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2008-12-19 10:55:56 +11:00
Jeremy Allison
4283ae489b Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2008-12-18 15:40:05 -08:00
Jeremy Allison
f9bb8fbe83 Comment out the parent inheritance code (this is incorrect) as was
done for POSIX ACLs.
Jeremy.
2008-12-18 15:38:28 -08:00
Tim Prouty
d031472227 s4: Fix include path to work with tevent 2008-12-18 15:03:37 -08:00
Andrew Bartlett
f52fc2f90e Move aggregate schema stub to it's own file
This should make it easier to import just the schema entries from the
WSPP docs.

Andrew Bartlett
2008-12-19 09:51:42 +11:00
Jeremy Allison
6f9e7505b2 Fix bug #5980 - Race condition when granting level2 oplocks can cause break notify to be missed.
Jeremy.
2008-12-18 13:27:42 -08:00
Andrew Bartlett
ff98d7f9ce Fix failures setting a random password
The test in extract_pw_from_buffer was incorrect: It tested if the
first byte of the new password was 0 (a 1/256 chance for the random
passwords), not if the password was allocated.

Andrew Bartlett
2008-12-19 08:18:57 +11:00
Jelmer Vernooij
21702bfcde Cope with slight changes in tdb API. 2008-12-18 20:43:05 +00:00
Jelmer Vernooij
6fe6983e4c Make sure to not close tdb database more than once. 2008-12-18 20:42:50 +00:00
Jelmer Vernooij
8c1ede0b32 Remove swig use from tdb standalone build. 2008-12-18 19:49:53 +00:00
Jelmer Vernooij
2da551bbcc Implement missing functions in pytdb. 2008-12-18 19:41:02 +00:00
Jelmer Vernooij
2a61fd41e9 Add simple manually written replacement for the tdb module. 2008-12-18 18:57:21 +00:00
Jelmer Vernooij
7f148a2cf8 Fix Python event tests after rename to tevent. 2008-12-18 16:51:59 +00:00
Jelmer Vernooij
01c22153a9 Fix samba3sam test after removal of dom_sid IDL file. 2008-12-18 16:50:54 +00:00
Jelmer Vernooij
61a2d5c878 Use plain Python C API for registry module, rather than SWIG. 2008-12-18 16:49:33 +00:00
Jelmer Vernooij
49d522fe38 Add convenience macro for raising exceptions for NTSTATUS / WERROR. 2008-12-18 15:32:58 +00:00
Jelmer Vernooij
d14c860465 Merge branch 'master' of ssh://git.samba.org/data/git/samba into pyregistry 2008-12-18 14:54:57 +00:00
Stefan Metzmacher
fc31f2c526 s4:lib/socket: socket_connect_send() and socket_connect_ev() should only wrok with addresses
metze
2008-12-18 13:32:51 +01:00
Stefan Metzmacher
4c2a113dd0 s4:librpc/rpc: remove we should not redo the name resolving for secondary tcp connections
metze
2008-12-18 13:32:51 +01:00
Stefan Metzmacher
4f5b8b68d5 s4:libcli/wrepl: we don't need to resolve names
metze
2008-12-18 13:32:50 +01:00
Stefan Metzmacher
a60159c873 s4:libcli/replace: add some RESOLVE_NAME_FLAG* flags
metze
2008-12-18 13:32:50 +01:00
Stefan Metzmacher
9f8dfb0a52 s4:selftest: we pass raw.delete.delete21
metze
2008-12-18 13:32:50 +01:00
Stefan Metzmacher
71b3582fe4 s4:ntvfs_generic: pass RAW-OPEN again
This is the samba4 version of commit
9391dad85d08bb0939f4db1472c6cf063ebea892

metze
2008-12-18 13:32:49 +01:00
Stefan Metzmacher
0df3036730 RAW-CHKPATH: not every server behaves like samba3...
metze
2008-12-18 13:31:41 +01:00
Stefan Metzmacher
79351f75fe BASE-LOCK: fix LOCK5
We need to close all 3 file handle to make the unlink work.

metze
2008-12-18 13:31:41 +01:00
Andrew Bartlett
7a5b6a2ea1 Handle different failure modes when we wipe the db in provision
We didn't handle the mode where we can't load the main sam.ldb due to
the modules being 'wrong', and when we did remove the file, we didn't
wipe the partitions.
2008-12-18 17:17:56 +11:00
Andrew Bartlett
1a399db01c Parse options (and open the database) before starting transactions 2008-12-18 14:36:20 +11:00
Andrew Bartlett
a9cf61dbdd Print error strings when transactions fail in ldb tools 2008-12-18 14:36:20 +11:00
Andrew Bartlett
8deded43ba Rename ldb index pointer wrapper function
This also asserts that it is used only for index records.

Andrew Bartlett
2008-12-18 14:36:20 +11:00
Aravind Srinivasan
28894f9b82 s3: Add statvfs implementation to the onefs vfs module 2008-12-17 18:13:20 -08:00
Jeremy Allison
55620b4e3c Samba3 smbd now passes test BATCH23 (with the fix for bug #5979), only BATCH22 left to fix.
Jeremy.
2008-12-17 17:30:18 -08:00
Jeremy Allison
f00d9cbfd7 Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2008-12-17 17:24:54 -08:00
Jeremy Allison
1a5fc6d4bc Fix bug #5979 - Level 2 oplocks being granted improperly,
Jeremy.
2008-12-17 17:23:13 -08:00
Michael Adam
8f2e7041a0 packaging(RHEL-CTDB): fix typo in [u]mount.cifs installation
Michael
(cherry picked from commit 835108bcf84a5f47f46d237c7a93c572348125a1)

Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-18 01:51:06 +01:00
Michael Adam
5b2d2ff9d8 packaging(RHEL-CTDB): fix build of [u]mount.cifs
mount.cifs is now built by make everything.
And it needs extra objects anyways (mtab.o),
which is why the build of mount.cifs failed.

Michael
(cherry picked from commit 96c811cf222be5463a6705feae73d6215685c5f1)

Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-18 01:50:56 +01:00
Michael Adam
b139ad71e3 packaging(RHEL-CTDB): Fix accidential linebreak
Michael
(cherry picked from commit 5cd8ff8a2aba6b1d6821d4ebb986449b03d40542)

Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-18 01:50:47 +01:00
Günther Deschner
43d0a4813b s3-ntsvcs: remove last traces of hand-marshalled NTSVCS.
Guenther
2008-12-17 23:52:42 +01:00
Günther Deschner
934b90c17c s3-ntsvcs: remove old _PNP_GetDeviceList.
Guenther
2008-12-17 23:52:41 +01:00