1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

1510 Commits

Author SHA1 Message Date
Jelmer Vernooij
08baea013b Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly instead.
(This used to be commit 9d0ae012b0)
2008-04-15 02:25:16 +02:00
Jelmer Vernooij
e9017ba418 Use _OBJ_FILES variables in a couple more places.
(This used to be commit 92856d5054)
2008-04-14 17:22:58 +02:00
Andrew Tridgell
275f32ae2d fill in unknown fields in SMB2 READ call
(This used to be commit 9b686c1380)
2008-04-14 11:31:17 +02:00
Simo Sorce
55809f5029 Make sure we do not reference req after it has been freed
(This used to be commit a13f64bf54)
2008-04-09 17:12:56 -04:00
Jelmer Vernooij
faa3dec34a Install pidl by default if ExtUtils::MakeMaker is available. This should make the build process for openchange users easier.
(This used to be commit 7fccd85cc6)
2008-04-04 16:03:54 +02:00
Kai Blin
6ce0781413 wbclient: Add an async winbind client library.
(This used to be commit 3e3563f284)
2008-04-02 23:06:27 +02:00
Jelmer Vernooij
4e5e7a7c68 Reintroduce header previously autogenerated but ignored by git.
Also fixed extra include in regpatch.
(This used to be commit 0e371cf169)
2008-04-02 16:47:17 +02:00
Jelmer Vernooij
236fc02913 Reduce the number of installed headers.
(This used to be commit 2243e24024)
2008-04-02 13:41:10 +02:00
Jelmer Vernooij
afe3e8172d Install public header files again and include required prototypes.
(This used to be commit 47ffbbf674)
2008-04-02 04:53:27 +02:00
Jelmer Vernooij
f41b9a9dde Rename libsamba-config to libsamba-hostconfig.
(This used to be commit c46b7e90e3)
2008-04-01 15:08:30 +02:00
Stefan Metzmacher
341c6b46b3 libcli/security: fix compiler warnings
metze
(This used to be commit 91dd223bd4)
2008-03-28 09:39:32 +01:00
Volker Lendecke
482f33077b Add my copyright
If I remember it right and when I look at the git log, then this way to do the
async functions was designed by me.
(This used to be commit 8d44f997c8)
2008-03-21 10:36:58 +01:00
Andrew Bartlett
9a1bec0801 More kludge ACLs!
Rather than killing off the nasty 'kludge ACLs' stuff, this patch
extends it, to ensure that LSA secrets and the registry are also
protected.

Andrew Bartlett
(This used to be commit 2f2b110fb8)
2008-03-20 12:12:10 +11:00
Stefan Metzmacher
2fd5992038 swig: regenerate _wrap.c files
metze
(This used to be commit 08b41e1069)
2008-03-14 14:33:55 +01:00
Stefan Metzmacher
25a3eb0436 swig: make the code more portable and use NT_STATUS_V() and W_ERROR_V()
metze
(This used to be commit d6fd98a307)
2008-03-14 14:33:54 +01:00
Stefan Metzmacher
6743de076d libcli/raw: add RAW_RENAME_NTTRANS support
metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit bfe773a620)
2008-03-11 11:49:00 -07:00
Stefan Metzmacher
3cbe47b2ae libcli/raw: make it possible to not send CAP_LEVEL_II_OPLOCKS
But the keep the default to always send it
when the server supports it too.

metze
(This used to be commit 33caaef2e4)
2008-03-06 16:31:25 +01:00
Jelmer Vernooij
489f66cd42 Change remaining prototype headers to be private.
(This used to be commit 2f7ff409e8)
2008-02-29 14:36:51 +01:00
Jelmer Vernooij
1ada710840 Move public header accumulation out of the perl code.
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.

Conflicts:

	source/auth/config.mk
	source/auth/credentials/config.mk
	source/auth/gensec/config.mk
	source/build/smb_build/config_mk.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/lib/charset/config.mk
	source/lib/tdr/config.mk
	source/lib/util/config.mk
	source/libcli/config.mk
	source/libcli/ldap/config.mk
	source/librpc/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/torture/config.mk
(This used to be commit 6c659689ed)
2008-02-29 14:23:38 +01:00
Jelmer Vernooij
7e04591520 Remove use of global_loadparm.
(This used to be commit 3cf3922c80)
2008-02-28 21:02:49 +01:00
Jelmer Vernooij
2946a11dc7 Remove use of global_loadparm.
(This used to be commit 4472d7e1e4)
2008-02-28 20:30:03 +01:00
Jelmer Vernooij
3101cb888d Remove uses of global_loadparm.
(This used to be commit a16c9a2129)
2008-02-25 12:51:55 +01:00
Jelmer Vernooij
4590432d62 Remove another global_loadparm instance.
(This used to be commit ccb29c0b46)
2008-02-21 18:43:02 +01:00
Jelmer Vernooij
3c20b3eeba Fix the build.
(This used to be commit f4b31ad767)
2008-02-21 18:11:44 +01:00
Jelmer Vernooij
299265d47b Remove yet more global_loadparm instances.
(This used to be commit 5de88728ac)
2008-02-21 18:09:47 +01:00
Jelmer Vernooij
10169a2030 Remove more global_loadparm instance.s
(This used to be commit a1280252ce)
2008-02-21 17:54:24 +01:00
Jelmer Vernooij
c38c2765d1 Remove yet more uses of global_loadparm.
(This used to be commit e01c1e87c0)
2008-02-21 17:17:37 +01:00
Jelmer Vernooij
5f9abf527a Remove more global_loadparm uses.
(This used to be commit 4d6fd9381f)
2008-02-21 16:18:23 +01:00
Jelmer Vernooij
263a77c561 Remove more uses of global_loadparm.
(This used to be commit a1715b1f48)
2008-02-21 15:45:32 +01:00
Jelmer Vernooij
921b176484 Remove more uses of global_loadparm.
(This used to be commit 47d05ecf6f)
2008-02-21 14:50:57 +01:00
Jelmer Vernooij
ff0315ba85 Rename include to mkinclude to emphasize it is different from make's include.
(This used to be commit 0e1d0a874a)
2008-02-18 20:04:18 +01:00
Jelmer Vernooij
80cbff3d01 Fix build with partial linking.
(This used to be commit bfad9610c4)
2008-02-18 16:02:33 +01:00
Jelmer Vernooij
51b0a285f0 Avoid redetermining paths; use already stored values.
(This used to be commit 0d223ddc39)
2008-02-18 15:31:15 +01:00
Jelmer Vernooij
e5d7bd3821 Reenable partial linking
(This used to be commit a7512fb059)
2008-02-18 13:10:30 +01:00
Andrew Tridgell
26b8701321 handle pushing of zero length smb2 strings
(This used to be commit 66d0502228)
2008-02-18 14:53:48 +11:00
Andrew Tridgell
afe8e5551e fixed RAW-READ after the bufinfo changes. Thanks to Metze for spotting
this.
(This used to be commit 3c9973b695)
2008-02-16 13:28:37 +11:00
Andrew Tridgell
2e4e06c6e6 fixed handling of zero sized buffers versus NULL buffers in
SMB2. Thanks to Metze for spotting this.
(This used to be commit fbcf3e65b9)
2008-02-16 07:25:38 +11:00
Jelmer Vernooij
e33177001c Remove type before variables in data.mk
(This used to be commit 3c1a7c0dcc)
2008-02-14 12:03:34 +01:00
Andrew Tridgell
b640f475be updated SMB2 code for getinfo according to WSPP docs
- Updated getinfo structures and field names
- also updated the protocol revision number handling to reflect
  new docs
(This used to be commit 3aaa2e86d9)
2008-02-14 17:11:36 +11:00
Andrew Tridgell
4a04a5e620 A better way to handle the different format of RenameInformation in SMB2
We now define a separate info level RAW_SFILEINFO_RENAME_INFORMATION_SMB2
and set that level when handling SMB2 packets. This makes the parsers clearer.
(This used to be commit f6cdf3f117)
2008-02-14 14:54:21 +11:00
Andrew Tridgell
839ab724dc Fixed SMB2 rename operations from Vista clients
We needed a flag in bufinfo to mark packets as SMB2, as it seems that
SMB2 uses a different format for the RenameInformation buffer than SMB
does

Also handle the fact that SMB2 clients give the full path to the
target file in the rename, not a relative path
(This used to be commit 52d7972d95)
2008-02-14 12:30:31 +11:00
Andrew Tridgell
e870cfec9f Convert SMB and SMB2 code to use a common buffer handling structure
This converts our SMB and SMB2 code to use a common structure "struct
request_bufinfo" for information on the buffer bounds of a packet,
alignment information and string handling. This allows us to use a
common backend for SMB and SMB2 code, while still using all the same
string and blob handling functions.

Up to now we had been passing a NULL req handle into these common
routines from the SMB2 side of the server, which meant that we failed
any operation which did a bounds checked string extraction (such as a
RenameInformation setinfo call, which is what Vista uses for renaming
files)

There is still some more work to be done on this - for example we can
now remove many of the SMB2 specific buffer handling functions that we
had, and use the SMB ones.
(This used to be commit ca6d9be6cb)
2008-02-14 10:12:33 +11:00
Andrew Tridgell
88d2e05227 updated SMB2 create operation to match WSPP.
Adding some defined for various new create options
(This used to be commit d037dc23ce)
2008-02-13 15:05:44 +11:00
Andrew Tridgell
7714a91f67 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 11102681bc)
2008-02-13 10:14:04 +11:00
Andrew Tridgell
e94d710b0b updated SMB2 tcon as per WSPP docs
(This used to be commit 5913e3e549)
2008-02-13 10:13:28 +11:00
Stefan Metzmacher
e08a78abcd [PATCH] composite: make it possible to call composite_is_ok() without callback fn
metze
(This used to be commit 4e459f1fb3)
2008-02-12 12:49:43 +01:00
Andrew Tridgell
a2505c5a2c updated SMB2 header defines to match WSPP docs
(This used to be commit d2c6ad55ec)
2008-02-12 17:00:35 +11:00
Andrew Tridgell
416360895f converted SMB2 session setup to use WSPP protocol field names
(This used to be commit 3c2af0fdc4)
2008-02-12 16:43:38 +11:00
Andrew Tridgell
8fdb9504dc converted the out side of SMB2 negprot handling
This follows the SMB2 PFIF docs. Current versions of Vista can now connect to Samba4 as a SMB2 server
and do basic operations
(This used to be commit 9dc284770d)
2008-02-12 16:20:13 +11:00
Andrew Tridgell
7b96c53bcb added some helper functions for GUID handling
(This used to be commit 7d3ffd4d2b)
2008-02-12 16:18:51 +11:00