Andrew Tridgell
2814868e93
don't alter the in blobs in a SMB2 create, otherwise two calls in a
...
row will fail
(This used to be commit 3b811a52fe
)
2008-05-27 12:42:19 +10:00
Jelmer Vernooij
dce310ef4e
Remove evil hack which breaks Python bindings.
...
(This used to be commit 1c179566cb
)
2008-05-26 13:31:57 +02:00
Andrew Tridgell
2ad2bdda89
stricter checks for valid inputs in SMB2 open and lock
...
(This used to be commit a7b5689a73
)
2008-05-26 15:02:43 +10:00
Jelmer Vernooij
75e7962d2e
Add convenience functions for setting Python objects from errors.
...
(This used to be commit f1de723b89
)
2008-05-24 22:13:32 +02:00
Jelmer Vernooij
f9c36fae75
Export functions for setting NTSTATUS and WERRORs in python.
...
(This used to be commit 4bcb92d2d4
)
2008-05-24 21:38:33 +02:00
Jelmer Vernooij
73b789b6d2
Add docstrings to a couple more python modules.
...
(This used to be commit b4560c90e5
)
2008-05-24 04:01:57 +02:00
Jelmer Vernooij
a46450810b
Regenerate with SWIG 1.3.35.
...
(This used to be commit ce063eca49
)
2008-05-23 03:22:56 +02:00
Andrew Tridgell
ec7a6ee8ab
fix make test for EAs again
...
- go back to 4 byte alignment until I work out the rules that Vista
wants more exactly
- add the zero sized EA handling for SMB2 more generically
(This used to be commit 326b69bc80
)
2008-05-23 00:07:12 +10:00
Andrew Tridgell
d5def936fe
pass in the required alignment to the EA construction routines
...
(This used to be commit af31030e0b
)
2008-05-22 22:46:29 +10:00
Andrew Tridgell
a6e5c70da7
added a define for all valid file attributes
...
(This used to be commit 198ed93367
)
2008-05-22 17:54:06 +10:00
Andrew Tridgell
fd7dc46f50
Merge commit 'origin/v4-0-test' into v4-0-test
...
(This used to be commit d7f3348c89
)
2008-05-22 16:09:10 +10:00
Andrew Tridgell
dec930448f
fixed parsing of the SMB2 ALL_INFO qfileinfo level
...
(This used to be commit a7be5ba22e
)
2008-05-22 14:49:21 +10:00
Jelmer Vernooij
5ce59419a0
Fix CFLAGS for SWIG files.
...
(This used to be commit 8ee4f07504
)
2008-05-22 02:13:26 +02:00
Jelmer Vernooij
49706ab19b
Move more modules inside of the samba package.
...
(This used to be commit 9b39e99f48
)
2008-05-21 23:59:34 +02:00
Jelmer Vernooij
b1fc7bab11
Move some python files into the samba package.
...
(This used to be commit ed38c668cd
)
2008-05-21 21:50:56 +02:00
Jelmer Vernooij
82bcf967b7
Move CFLAGS overrides for SWIG modules to Makefile.
...
(This used to be commit 58665a8a8e
)
2008-05-21 21:32:53 +02:00
Jelmer Vernooij
2914b0ca04
Remove support for .py files from smb_build - deal with it only in the makefiles.
...
(This used to be commit b865249efa
)
2008-05-21 21:24:48 +02:00
Jelmer Vernooij
a1411c1a26
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into nosmbpython
...
(This used to be commit f29e900931
)
2008-05-21 15:45:04 +02:00
Andrew Tridgell
aed93a238e
fixed SMB2 flush call, and added flush to gentest_smb2
...
(This used to be commit c52fe1fe1c
)
2008-05-21 22:51:21 +10:00
Jelmer Vernooij
721332411a
Regenerate with newer version of swig.
...
(This used to be commit 034c68bea9
)
2008-05-21 14:29:05 +02:00
Andrew Tridgell
4d39976ddd
fixed SMB2 locking
...
- SMB2 locking is different in several ways from SMB locking. To fix
it properly we will need a new generic mapping structure for
locking, but for now do a best effort mapping
- added locking to gentest_smb2
(This used to be commit ea6d9cf602
)
2008-05-21 22:12:20 +10:00
Andrew Bartlett
2f5a1d2b1c
Manually handle the NETLOGON_SAM_LOGON_REQUEST too.
...
With the sid structure being both optional and aligned, it was too
hard to do this in just IDL.
This requried moving some things around, as otherwise we would have a
dependency loop.
Andrew Bartlett
(This used to be commit e28790ba48
)
2008-05-21 14:26:38 +10:00
Andrew Tridgell
cd167fd44b
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit e360be0b99
)
2008-05-20 15:35:49 +10:00
Andrew Tridgell
2214e6d9bf
added smb2_util_setatr
...
(This used to be commit d4f41db964
)
2008-05-20 13:37:51 +10:00
Andrew Tridgell
d6f1dd1a42
added SMB2 setpathinfo composite wrapper
...
(This used to be commit e90c758738
)
2008-05-20 13:37:27 +10:00
Andrew Tridgell
803c076450
added some SMB2 utility functions
...
(This used to be commit 6a3b1cd669
)
2008-05-20 11:58:04 +10:00
Andrew Tridgell
9c6a35ad9b
remember the server time fields on negotiate. Needed for gentest
...
(This used to be commit 7989ca861d
)
2008-05-20 11:57:43 +10:00
Andrew Bartlett
aa90730e0c
Revert addition of 'mailslot' parameter.
...
It turns out that the mailslot name (and a useful private prointer) is
provided in the struct dgram_mailslot_handler.
Andrew Bartlett
(This used to be commit e17804b885
)
2008-05-20 11:54:50 +10:00
Andrew Tridgell
9551d4027d
Merge commit 'origin/v4-0-test' into vfs_smb2
...
(This used to be commit ffbd222d65
)
2008-05-20 11:37:23 +10:00
Andrew Bartlett
e533e7a7eb
Fix prototype generation in new syntax for netlogon.c
...
Andrew Bartlett
(This used to be commit b6f91ce75a
)
2008-05-20 11:24:38 +10:00
Andrew Bartlett
8052309d5a
Add the core of the new CLDAP/NBT 'netlogon' parsing library.
...
This uses some hand-adjusted PIDL output to cope with some 'oddities'
in the parsing of the _EX varient of the netlogon packet.
Andrew Bartlett
(This used to be commit 6e357d0047
)
2008-05-20 10:58:43 +10:00
Andrew Bartlett
343fea32cc
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
Fix config.mk due to changing syntax.
Conflicts:
source/libcli/config.mk
source/nbt_server/config.mk
(This used to be commit 6a1c76f29f
)
2008-05-20 08:03:35 +10:00
Andrew Tridgell
e7d993b8b2
added SMB2 proxying of rmdir
...
(This used to be commit 1e0c24b276
)
2008-05-19 13:05:08 +10:00
Andrew Tridgell
03eb236f20
Merge commit 'origin/v4-0-test' into vfs_smb2
...
(This used to be commit 733937e87a
)
2008-05-19 11:40:25 +10:00
Andrew Tridgell
66cbf7eb59
added mkdir to SMB2 proxy
...
(This used to be commit 1323aab11f
)
2008-05-19 11:39:16 +10:00
Jelmer Vernooij
60ae8f0657
Fix a bunch of dependencies.
...
(This used to be commit a63f458462
)
2008-05-18 23:40:23 +02:00
Jelmer Vernooij
4c70cda986
Fix a couple (well, little more than that..) of typos.
...
(This used to be commit a6b5211994
)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147
Create prototype headers from Makefile directory, without smb_build in the middle.
...
(This used to be commit f4a77b96f9
)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
03643aec88
Use variables for source directory in a couple more places.
...
(This used to be commit c41bd3005f
)
2008-05-18 19:54:27 +02:00
Andrew Bartlett
38c68f1d5b
Ensure we don't send a reply if we couldn't push the CLDAP blob
...
Andrew Bartlett
(This used to be commit a8ec36eba7
)
2008-05-17 21:30:36 +10:00
Andrew Bartlett
4f557d7954
Show that the NTLOGON and NETLOGON mailslots are *very* similar.
...
Rework the mailslot infrustructure to cope, passing down the mailslot
name so that we can implement both in the same callback function.
Andrew Bartlett
(This used to be commit 89fdd77891
)
2008-05-17 13:24:29 +10:00
Andrew Bartlett
7c0eea48f3
Put back the old netlogn parsing code - for the request only
...
This gives us seperate parsing functions for requests and replies.
Andrew Bartlett
(This used to be commit d2d3d15a8e
)
2008-05-17 12:38:58 +10:00
Andrew Tridgell
c7d7577fb9
private -> private_data for struct smb2_request
...
(This used to be commit 67290e0ad6
)
2008-05-16 15:03:58 +10:00
Andrew Tridgell
9bfafcfc21
build the smb2 composite calls
...
(This used to be commit ac10e3ad15
)
2008-05-16 15:03:24 +10:00
Andrew Tridgell
c02b0f47a0
declare composite_wait_free()
...
(This used to be commit 5b6f80aba3
)
2008-05-16 15:03:12 +10:00
Andrew Tridgell
14ca2b5b5d
- added a composite_wait_free() call
...
- allow composite_error() to take NT_STATUS_OK
(This used to be commit 5240e1e256
)
2008-05-16 15:02:58 +10:00
Andrew Tridgell
de99db1084
started adding SMB2 composite functions that emulate common SMB calls
...
(such as unlink)
(This used to be commit 433038f3fe
)
2008-05-16 15:02:14 +10:00
Andrew Bartlett
58e7f253ea
Rework the CLDAP and NBT netlogon requests and responses.
...
This now matches section 7.3.3 of the MS-ATDS specification, and all
our current tests pass against windows. There is still more testing
to do, and the server implementation to complete.
Andrew Bartlett
(This used to be commit 431d0c0396
)
2008-05-16 13:03:01 +10:00
Andrew Tridgell
8846981807
update some SMB2 find flags
...
(This used to be commit b7560afd4b
)
2008-05-15 20:46:10 +10:00
Andrew Tridgell
0abc2e2020
use a newer fsinfo level in smbclient, to support larger disks
...
(This used to be commit 1acc8077fb
)
2008-05-15 20:45:30 +10:00
Volker Lendecke
8113bb07a8
Fix an uninitialized variable introduced by 3045d391
...
Simo, please check!
Volker
(This used to be commit 0c09d28acf
)
2008-05-14 19:51:29 +02:00
Andrew Bartlett
f8fb5d8c4d
Reorder this function in the file, so it reads bottom-up.
...
The rest of this file reads bottom-up, but this function
(connect_send_negprot()) was out of place.
Andrew Bartlett
(This used to be commit f0c95cd74f
)
2008-05-05 12:57:23 +10:00
Andrew Bartlett
35e45534c6
Revert to using the old CIFS connection API.
...
Rather than add a new 'out' member to the API, simply fill in the
'tree' early enough that we can access the server challenge there.
Andrew Bartlett
(This used to be commit 6dbbcf8aaf
)
2008-04-25 15:59:22 +01:00
Andrew Bartlett
c4219fd803
Make the composite 'connect to server' code useful for security=server
...
The ability to short-circuit the connection code to only do a negprot
allows us to do the rest once we have the user's password. We return
the 8 byte challenge so we can pass it to the client.
Andrew Bartlett
(This used to be commit 40fe386b03
)
2008-04-25 15:08:52 +01:00
Andrew Bartlett
d67e47e5cd
Add comment explaining why io.in.workgroup isn't important.
...
This protocol feild isn't used by servers (apparently), so we might be
able to get rid of it.
Andrew Bartlett
(This used to be commit 58935acc7c
)
2008-04-24 16:27:36 +01:00
Björn Jacke
996d1bc090
fix an extrasemi compile warning
...
(This used to be commit 47e8ef4f6a
)
2008-04-22 15:13:36 +02:00
Simo Sorce
4e83011f72
Remove more event_context_init() uses from function calls within deep down the code.
...
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d39162
)
2008-04-21 18:12:33 -04:00
Stefan Metzmacher
132852f44a
libcli/smb2: make it possible to handle incoming oplock requests
...
metze
(This used to be commit 58189b87ea
)
2008-04-19 01:54:44 +02:00
Stefan Metzmacher
0f4a60ff24
libcli/smb2: add smb2_break() calls
...
metze
(This used to be commit 7f545dbbf0
)
2008-04-19 01:54:44 +02:00
Stefan Metzmacher
670b7dcae3
libcli: define structure for SMB2 Break
...
metze
(This used to be commit 5ffea702c3
)
2008-04-19 01:54:44 +02:00
Andrew Tridgell
11703b2986
fix the overflow/wrap checks in Samba4 for new gcc optimisation behavior
...
The approach I have used is as set out in
https://www.securecoding.cert.org/confluence/display/seccode/ARR38-C.+Do+not+add+or+subtract+an+integer+to+a+pointer+if+the+resulting+value+does+not+refer+to+an+element+within+the+array
(This used to be commit 92d5fb531d
)
2008-04-17 15:20:39 +02:00
Stefan Metzmacher
578539216f
libcli/smb2: make it possible to pass additional extra blobs in smb2_create()
...
This also fixes the alignment from 8 to 4 byte bounderies.
metze
(This used to be commit e0a0d8e36a
)
2008-04-17 01:58:25 +02:00
Stefan Metzmacher
b0f34bc8ca
libcli/smb2: also offer the SMB2 dialect that what used in longhorn beta3
...
With this smbtorture works against longhorn beta3 again,
hopefully it still works with new versions...
metze
(This used to be commit 874924a85a
)
2008-04-17 01:58:24 +02:00
Jelmer Vernooij
1a8bfba545
Fix warnings.
...
(This used to be commit 88013ca977
)
2008-04-15 12:15:43 +02:00
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
Andrew Tridgell
ccc27e681c
fixed up the .in side of SMB2 negprot
...
fixed the input side of the SMB2 negprot structure and parsers according to the documentation
(This used to be commit 55af8acc7b
)
2008-02-12 12:54:44 +11:00
Jelmer Vernooij
a259547786
build: Remove support for DESCRIPTION setting that is now unused.
...
(This used to be commit 91d7ba5202
)
2008-01-22 18:49:51 +01:00
Jelmer Vernooij
b126f1ca4d
python: Reenable modules for libcli_nbt and libcli_smb.
...
(This used to be commit 4fa8a2789c
)
2008-01-21 03:54:42 +01:00
Jelmer Vernooij
939edd0eb7
util: Move asn1 to lib/util to trim down the number of subsystems.
...
(This used to be commit 44e1cfd2d0
)
2008-01-15 01:04:38 +01:00
Jelmer Vernooij
cef40813fa
r26694: asn1: Fix header and some typo's.
...
(This used to be commit f9988734bb
)
2008-01-08 08:33:04 -06:00
Jelmer Vernooij
9d09a06920
r26676: libcli: Fill in lp_workgroup() again, should fix my breakage of cifsdd tests. Thanks to Andrew for catching this.
...
Also fixes a typo in sessetup.c.
(This used to be commit b97de4a655
)
2008-01-06 16:06:04 -06:00
Jelmer Vernooij
b7e34eb625
r26674: smb_composite: Avoid use of global_loadparm.
...
Hopefully this fixes OpenChange's mapiadmin.
(This used to be commit 2df0f7016e
)
2008-01-05 13:36:02 -06:00
Jelmer Vernooij
2da3464080
r26670: Janitorial: Remove global_loadparm uses.
...
(This used to be commit 13cc6ca1d3
)
2008-01-05 09:42:02 -06:00
Jelmer Vernooij
2c8c9a5355
r26669: Janitorial: Remove uses of global_loadparm.
...
(This used to be commit 50c46160d9
)
2008-01-05 09:42:02 -06:00
Jelmer Vernooij
dcc282590b
r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct.
...
(This used to be commit 8a97886e24
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
6f79af9d13
r26652: msrpc_parse/msrpc_gen: Add iconv_convenience argument.
...
(This used to be commit e886f1bc0d
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
425732f688
r26651: libsmb: Allow specifying signing policy from higher up.
...
The number of arguments is getting a bit excessive now, so it
probably makes sense to pass in the smbcli_options struct rather than
all members individually and add a convenience function for obtaining a
smbcli_options struct from a loadparm context.
(This used to be commit 9f64213463
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
969b8579c7
r26646: libcli/smb_composite: Allow specifying SMB parameters in smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections.
...
(This used to be commit 0ef75e4e3c
)
2008-01-02 12:48:04 -06:00
Jelmer Vernooij
771b347f9b
r26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should help fix the build for OpenChange.
...
(This used to be commit 385ffe4f4c
)
2008-01-02 12:48:03 -06:00
Jelmer Vernooij
7d5f0e0893
r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
...
(This used to be commit 2f29f80e07
)
2008-01-01 16:12:15 -06:00
Jelmer Vernooij
86dc05e99f
r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob().
...
(This used to be commit 61ad78ac98
)
2008-01-01 16:12:11 -06:00
Andrew Bartlett
70cb5ac03c
r26613: Add a function to write a DATA_BLOB into an LDAPString.
...
This respects the length set in the DATA_BLOB, rather than hoping to
see NULL termination of the data pointer.
(found testing the Ambigious Name Resolution code against OpenLDAP).
Andrew Bartlett
(This used to be commit bc0022e8c7
)
2007-12-27 01:51:05 -06:00
Kai Blin
3c744ddd2c
r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
...
Also rename the corresponding wrap_ functions.
(This used to be commit e59c2eaf68
)
2007-12-26 11:57:05 -06:00
Jelmer Vernooij
d0ba9f0014
r26572: Fix warnings in the Python code.
...
(This used to be commit 15038d9586
)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
3ee442c54f
r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files.
...
(This used to be commit cb76c60007
)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
aa0a06f13c
r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
...
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
(This used to be commit c550c03372
)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
249cc734ce
r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.
...
(This used to be commit 485d1fa3d1
)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
0500b87092
r26540: Revert my previous commit after concerns raised by Andrew.
...
(This used to be commit 6ac86f8be7
)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc
r26539: Remove unnecessary statics.
...
(This used to be commit e53e79eebe
)
2007-12-21 05:52:05 +01:00
Jelmer Vernooij
c260454229
r26504: Don't rely on system-provided kerberos headers.
...
(This used to be commit c4b1df0476
)
2007-12-21 05:51:07 +01:00
Jelmer Vernooij
71e2cafe96
r26483: Merge ldb module dependency fixes, fix auth python module.
...
(This used to be commit 85eeecf997
)
2007-12-21 05:50:41 +01:00
Jelmer Vernooij
1bc38f9fb3
r26464: Tighten dependencies.
...
(This used to be commit 2b7cfa5d9a
)
2007-12-21 05:50:29 +01:00
Jelmer Vernooij
5b7ed0cd7f
r26463: Tighten dependencies.
...
(This used to be commit d98ac96dfe
)
2007-12-21 05:50:28 +01:00
Jelmer Vernooij
b04bae8715
r26461: Tighten dependencies.
...
(This used to be commit a07050be33
)
2007-12-21 05:50:27 +01:00
Jelmer Vernooij
2b021f7f59
r26459: Build ildap module as shared module by default.
...
(This used to be commit 91cff7dad2
)
2007-12-21 05:50:26 +01:00
Jelmer Vernooij
df8c7da800
r26454: Add simple SWIG macro for wrapping talloced types.
...
(This used to be commit 760fcc8bfa
)
2007-12-21 05:50:22 +01:00
Jelmer Vernooij
e8f46760e0
r26437: remove another use of global_loadparm.
...
(This used to be commit 703f17bc09
)
2007-12-21 05:50:05 +01:00
Jelmer Vernooij
70ccac0f05
r26435: Remove global_loadparm instance.
...
(This used to be commit 66fd8d480b
)
2007-12-21 05:50:04 +01:00
Jelmer Vernooij
d1e716cf43
r26432: Require ndr_pull users to specify iconv_convenience.
...
(This used to be commit 28b1d36551
)
2007-12-21 05:50:02 +01:00
Jelmer Vernooij
61873ce94c
r26431: Require ndr_push creators to specify a iconv_convenience context.
...
(This used to be commit 7352206f44
)
2007-12-21 05:50:00 +01:00
Jelmer Vernooij
d891c0c74a
r26429: Avoid use of global_smb_iconv_convenience.
...
(This used to be commit d37136b7ab
)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
aa32619c5c
r26426: Remove uses of global_loadparm.
...
(This used to be commit e1d177c8c1
)
2007-12-21 05:49:52 +01:00
Jelmer Vernooij
4b0199a549
r26409: Pass smb ports along.
...
(This used to be commit 2833f320de
)
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
33582dffcc
r26408: Remove use of global_loadparm.
...
(This used to be commit f933b43621
)
2007-12-21 05:49:39 +01:00
Jelmer Vernooij
70f1f33af8
r26402: Require a talloc context in libnetif.
...
(This used to be commit a35e51871b
)
2007-12-21 05:49:33 +01:00
Jelmer Vernooij
6f2252dace
r26401: Don't cache interfaces context in libnetif.
...
(This used to be commit 9f975417cc
)
2007-12-21 05:49:32 +01:00
Jelmer Vernooij
68dc2dc526
r26399: Use -O option for SWIG (less evil generated code).
...
(This used to be commit 3378b6a559
)
2007-12-21 05:49:29 +01:00
Jelmer Vernooij
1ea47faa97
r26397: Fix circular dependency in samba-socket.
...
(This used to be commit 801c8c766c
)
2007-12-21 05:49:26 +01:00
Stefan Metzmacher
6a56c111d7
r26391: samba4 doesn't support 'lmhosts' as resolve module
...
metze
(This used to be commit cdb64b4101
)
2007-12-21 05:49:21 +01:00
Jelmer Vernooij
3da665e9ac
r26385: Integrate gensec-socket into gensec.
...
(This used to be commit 78bb444b4b
)
2007-12-21 05:49:19 +01:00
Jelmer Vernooij
3971827b6e
r26384: Fix another global_loadparm instance.
...
(This used to be commit 881ec40d7a
)
2007-12-21 05:49:18 +01:00
Jelmer Vernooij
f055893ca5
r26382: Remove more uses of global_loadparm.
...
(This used to be commit 6d4c598534
)
2007-12-21 05:49:17 +01:00
Jelmer Vernooij
274d07ddff
r26381: Move global_loadparm higher up the call stack.
...
(This used to be commit 9922967674
)
2007-12-21 05:49:16 +01:00
Jelmer Vernooij
237059838c
r26380: Specify port number higher up the call stack.
...
(This used to be commit 77273e250c
)
2007-12-21 05:49:13 +01:00
Jelmer Vernooij
eede6b87e1
r26378: Remove use of global_loadparm.
...
(This used to be commit 81333de535
)
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
51ef1b606f
r26377: Specify port explicitly.
...
(This used to be commit 8c767ca139
)
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
5f4842cf65
r26376: Add context for libcli_resolve.
...
(This used to be commit 459e1466a4
)
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
b65dba2245
r26355: Eliminate global_loadparm in more places.
...
(This used to be commit 5d589a0d94
)
2007-12-21 05:49:01 +01:00
Jelmer Vernooij
a72c5053c5
r26353: Remove use of global_loadparm.
...
(This used to be commit 17637e4490
)
2007-12-21 05:48:57 +01:00
Jelmer Vernooij
da2ae49953
r26337: Move global_loadparm to a higher caller.
...
(This used to be commit baa5bcd303
)
2007-12-21 05:48:47 +01:00
Jelmer Vernooij
01d2acfdb4
r26335: Specify name_resolve_order to socket code.
...
(This used to be commit b03e5d0011
)
2007-12-21 05:48:46 +01:00
Jelmer Vernooij
949f3c7264
r26333: No more global_loadparm in finddcs.
...
(This used to be commit 0c91026e58
)
2007-12-21 05:48:45 +01:00
Jelmer Vernooij
c5bf20c5fe
r26325: Remove use of global_loadparm in netif.
...
(This used to be commit e452cb2859
)
2007-12-21 05:48:37 +01:00
Jelmer Vernooij
41db2ab12c
r26319: Split encoding functions out of libcli_ldap.
...
(This used to be commit 95a6ef7fc8
)
2007-12-21 05:48:33 +01:00
Jelmer Vernooij
39ee38d9c1
r26316: Use contexts for conversion functions.
...
(This used to be commit f6420d933b
)
2007-12-21 05:48:30 +01:00
Jelmer Vernooij
0f21c092d6
r26311: Move port number specification higher up the call stack.
...
(This used to be commit ef946ff093
)
2007-12-21 05:48:23 +01:00
Jelmer Vernooij
d378cf4c15
r26310: Remove more uses of global_loadparm.
...
(This used to be commit 9d806da113
)
2007-12-21 05:48:22 +01:00
Jelmer Vernooij
b84be078c1
r26309: Move specification of port higher up the all stack.
...
(This used to be commit 7de55cde7c
)
2007-12-21 05:48:21 +01:00
Jelmer Vernooij
9ebcd7a0df
r26277: Move loadparm context higher up the stack.
...
(This used to be commit 38fa08310c
)
2007-12-21 05:48:03 +01:00
Jelmer Vernooij
da0f222f43
r26271: Remove some more uses of global_loadparm.
...
(This used to be commit e9875fcd56
)
2007-12-21 05:47:53 +01:00
Jelmer Vernooij
2f8dc4f48f
r26266: Remove more global_loadparm uses.
...
(This used to be commit 99113075c4
)
2007-12-21 05:47:42 +01:00
Jelmer Vernooij
1fbdd6ef1d
r26264: pass name resolve order explicitly, use torture context for settings in dssync tests.
...
(This used to be commit c7eae1c784
)
2007-12-21 05:47:39 +01:00
Jelmer Vernooij
ecea5ce245
r26260: Store loadparm context in gensec context.
...
(This used to be commit b9e3a4862e
)
2007-12-21 05:47:34 +01:00
Jelmer Vernooij
53ae9bc9f6
r26248: Check in SWIG output so SWIG is not required when running out of svn.
...
(This used to be commit 08501fbef3
)
2007-12-21 05:47:26 +01:00
Jelmer Vernooij
bbdfbf8d9d
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
...
(This used to be commit a33a553054
)
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
6c999cd123
r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
...
(This used to be commit 5b29ef7c03
)
2007-12-21 05:47:15 +01:00
Jelmer Vernooij
fface33dd7
r26231: Spell check: credentails -> credentials.
...
(This used to be commit 4b46888bd0
)
2007-12-21 05:47:09 +01:00
Jelmer Vernooij
8d8ad81437
r26224: Remove another use of global_loadparm.
...
(This used to be commit bd12560432
)
2007-12-21 05:47:00 +01:00
Jelmer Vernooij
25f286fdfe
r26223: Move loadparm context up in the stack.
...
(This used to be commit 152e2b1a28
)
2007-12-21 05:46:59 +01:00
Jelmer Vernooij
4004de7b7d
r26199: Allow constructing new sids, implement __eq__ for sids.
...
(This used to be commit 87472e35c0
)
2007-12-21 05:46:47 +01:00
Jelmer Vernooij
f2f16b45b5
r26197: Add bindings for libsecurity.
...
(This used to be commit 8625cd403b
)
2007-12-21 05:46:47 +01:00
Jelmer Vernooij
e1733d7244
r26194: Wrap the events subsystem in a separate file.
...
(This used to be commit cfb6bbdc31
)
2007-12-21 05:46:45 +01:00
Andrew Bartlett
364266e22a
r26192: Handle, test and implement the style of extended_dn requiest that MMC uses.
...
It appears that the control value is optional, implying type 0 responses.
Failing to parse this was causing LDAP disconnects with 'unavailable
critical extension'.
Andrew Bartlett
(This used to be commit 833dfc2f2a
)
2007-12-21 05:46:44 +01:00
Günther Deschner
018a61a711
r26160: Add WERR_NAME_NOT_FOUND.
...
Guenther
(This used to be commit 66be960c67
)
2007-12-21 05:46:29 +01:00
Jelmer Vernooij
0ac6bffdf4
r26136: Attempt to fix dependencies for auth.
...
(This used to be commit abf2600a04
)
2007-12-21 05:46:18 +01:00
Günther Deschner
017ee87485
r26133: Add some more error codes from wkssvc testing.
...
Guenther
(This used to be commit 0cf974ee33
)
2007-12-21 05:46:16 +01:00
Jelmer Vernooij
c14de3fd89
r26100: Also check for SWIG.
...
(This used to be commit 1755adffec
)
2007-12-21 05:46:03 +01:00
Jelmer Vernooij
39adc2418a
r26088: Import some native-python python modules and move original python swig torture code to common python directory as well.
...
(This used to be commit cbf656ff05
)
2007-12-21 05:45:59 +01:00
Jelmer Vernooij
d3a13a16ff
r26076: Remove some SWIG code that is already commonly available.
...
(This used to be commit e6cd16d0fb
)
2007-12-21 05:45:54 +01:00
Jelmer Vernooij
4cb790b768
r26074: Add SWIG magic for NTSTATUS and WERROR return codes.
...
(This used to be commit 0bee7cb92e
)
2007-12-21 05:45:54 +01:00
Günther Deschner
e66d7d8074
r26060: Add some error codes from remote join api.
...
Guenther
(This used to be commit 73f231cba3
)
2007-12-21 05:45:49 +01:00