Jelmer Vernooij
bfd4850636
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit cce1659d33
)
2008-05-10 21:29:42 +02:00
Jelmer Vernooij
3758dec7b1
Fix building with system-provided LDB without breaking anything else :-)
...
(This used to be commit ce9d759497
)
2008-05-10 21:29:09 +02:00
Jelmer Vernooij
e7910c6fcb
Revert "Fix building with system-provided LDB."
...
This reverts commit fbfbc1f163
.
(This used to be commit 9d1d2abed1
)
2008-05-10 20:59:48 +02:00
Jelmer Vernooij
6267dd7853
Clean up some git merges gone wrong.
...
(This used to be commit 42eb6b3346
)
2008-05-10 20:59:17 +02:00
Jelmer Vernooij
640792fb58
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit cca75ae22d
)
2008-05-10 20:44:59 +02:00
Jelmer Vernooij
69247584ea
Fix building with system-provided LDB.
...
(This used to be commit fbfbc1f163
)
2008-05-10 20:17:02 +02:00
Jelmer Vernooij
7b45a4d7fa
Merge branch 'v4-0-test' into v4-0-gmake3
...
Conflicts:
source/auth/config.mk
source/auth/gensec/config.mk
source/torture/smbtorture.c
(This used to be commit edfd02e59b
)
2008-05-10 18:08:00 +02:00
Jelmer Vernooij
bc4eacb5d8
Fix case.
...
(This used to be commit a90971ea0c
)
2008-05-10 14:26:08 +02:00
Jelmer Vernooij
acb037fb1b
Fix location of torture pc file.
...
(This used to be commit 3e2c067ec7
)
2008-05-10 00:48:11 +02:00
Jelmer Vernooij
d0096e90ba
Fix installation of pidl perl files, torture pc file.
...
(This used to be commit 32da606e37
)
2008-05-10 00:46:25 +02:00
Andrew Bartlett
00ebe3df81
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit 2db0e86fb4
)
2008-05-09 10:47:23 +10:00
Jelmer Vernooij
ca6ac11b46
Fix typo.
...
(This used to be commit bd089818a3
)
2008-05-08 13:43:45 +02:00
William Jojo
b3e1d69dcd
Add undefined symbol flag for AIX.
...
(This used to be commit dabdf24e86
)
2008-05-08 12:41:57 +02:00
Jelmer Vernooij
c68589a5dc
Fix typo.
...
(This used to be commit 1def988ef2
)
2008-05-08 12:40:56 +02:00
Jelmer Vernooij
4aba4d38c7
Fix link flags for ldb and tdb Python modules.
...
(This used to be commit 787a32fdef
)
2008-05-08 11:56:32 +02:00
Jelmer Vernooij
c3efee27b6
Install session.h, required by OpenChange's proxy.
...
(This used to be commit 44d8b70004
)
2008-05-08 10:53:03 +02:00
Stefan Metzmacher
10a208fc4f
libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build
...
metze
(This used to be commit 04f4523ed0
)
2008-05-07 17:38:41 +02:00
Stefan Metzmacher
63da424e81
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
...
metze
(This used to be commit 3451b54bf7
)
2008-05-07 17:15:36 +02:00
Stefan Metzmacher
a0c6043c34
libreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro
...
Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step
metze
(This used to be commit 55a904b1d7
)
2008-05-07 17:11:29 +02:00
Stefan Metzmacher
3e80085fb0
pvfs: remove XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME code
...
I'll fix this more correctly very soon,
so that we'll pass the BASE-DELAYWRITE test.
metze
(This used to be commit b09dd6b65d
)
2008-05-07 15:46:22 +02:00
Stefan Metzmacher
bbf4ce9146
libreplace: always provide utime() and utimes()
...
I'd like to also provide futimes(), but it seems
that some systems doesn't support a it at kernel level.
If someone knows how to write a portable replacement
for futimes() please tell me...
metze
(This used to be commit a9604fe4a3
)
2008-05-07 13:25:22 +02:00
Stefan Metzmacher
387c17685c
build: fix path to lex_compile.sh
...
metze
(This used to be commit 6a1b7f56af
)
2008-05-07 08:59:06 +02:00
Andrew Bartlett
f446bf59e3
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
...
(This used to be commit c21dd40bc7
)
2008-05-07 08:12:16 +10:00
Michael Adam
42059c7e76
torture: use dom_idx after determining it in samba3rpc.c:get_usr_handle()
...
Michael
(This used to be commit 334d76c355
)
2008-05-06 15:27:33 +02:00
Stefan Metzmacher
f51a79889c
libreplace: check how portable utimes() and futimes() are
...
metze
(This used to be commit 8798ce3c74
)
2008-05-06 12:38:55 +02:00
Andrew Bartlett
410115bb6b
Cope with an empty mapping file in ad2oLschema
...
(This used to be commit 5f36a605a9
)
2008-05-06 11:02:40 +10:00
Tiago Batista
674d089bea
Tiago Batista posted a patch to fix the build:
...
Trying to compile the latest git tree, I got some errors
"auth/pam_error.h not found" errors, it looks like it moved to
auth/ntlm/pam_errors.h.
Andrew Bartlett
(This used to be commit 95831a015a
)
2008-05-06 08:12:03 +10:00
Andrew Bartlett
714b3a87d2
Fix the build after the auth/ -> auth/ntlm/ rename
...
I need to fix up the header inclusion, but this fixes things for now.
Andrew Bartlett
(This used to be commit 7c07edb24b
)
2008-05-05 19:28:38 +10:00
Andrew Bartlett
7ee76eeae5
Move NTLM authentication details into auth/ntlm
...
This should help clarify the role of the various files around here
(done on Jelmer's request).
Andrew Bartlett
(This used to be commit efa3990375
)
2008-05-05 15:23:57 +10:00
Andrew Bartlett
2c95244f11
Add a new implementation of security=server.
...
This is not intended for general use, and will not be easily exposed
(if I have anything to do with it), but should allow the CIFS proxy to
re-use the connection.
A work in progress.
Andrew Bartlett
(This used to be commit a1e60ebc6d
)
2008-05-05 13:21:18 +10:00
Andrew Bartlett
fe7d460671
Allow an NTLM response to be specified into the auth subsystem.
...
This allows it to be proxied for NTLM pass-though authentication (aka
security=server and associated man-in-the-middle attacks).
Andrew Bartlett
(This used to be commit 6ffabb38d0
)
2008-05-05 12:58:15 +10: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
30a45df366
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 6bb4c1e6a3
)
2008-05-01 16:41:36 +10:00
Jelmer Vernooij
aedaba990f
Split up lcov target.
...
(This used to be commit 38f455e005
)
2008-04-27 23:29:50 +01:00
Jelmer Vernooij
86a22b6fad
Fix header locations.
...
(This used to be commit 4fc11bd97d
)
2008-04-27 15:04:33 +01:00
Jelmer Vernooij
1e973565b6
Move subunit infrastructure code into lib/torture.
...
(This used to be commit 5b44d8121d
)
2008-04-27 14:02:46 +01:00
Andrew Bartlett
7c5704499a
Fix dependencies on gensec_krb5 and the NTLMSSP code.
...
This is so that gensec_krb5 does not depend on the NTLM authentication
code.
Andrew Bartlett
(This used to be commit 71ec5bfb3e
)
2008-04-26 09:50:15 +01: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
ee70e01e3e
Don't compile files twice when the compilation fails.
...
Andrew Bartlett
(This used to be commit 53ea233649
)
2008-04-25 15:08:23 +01:00
Andrew Bartlett
ff1ad04300
When a test harness program fails, make the testsuite fail.
...
The problem fixed here is that pidl tests were not causing the 'number
of tests failing' count to increase, due to the way return codes are
processed on pipelines, in the shell.
By setting an exit code if we print 'failure', we ensure we fail
appropriately.
Andrew Bartlett
(This used to be commit 687e81883d
)
2008-04-25 15:05:07 +01:00
Jelmer Vernooij
cc9c4aaa8d
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/Makefile
source/auth/config.mk
source/auth/gensec/config.mk
source/build/m4/public.m4
source/build/make/python.mk
source/build/make/rules.mk
source/build/smb_build/header.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/dsdb/samdb/ldb_modules/config.mk
source/kdc/config.mk
source/lib/events/config.mk
source/lib/events/events.c
source/lib/ldb/config.mk
source/lib/nss_wrapper/config.mk
source/lib/policy/config.mk
source/lib/util/config.mk
source/libcli/smb2/config.mk
source/libnet/config.mk
source/librpc/config.mk
source/nbt_server/config.mk
source/ntptr/ntptr_base.c
source/ntvfs/posix/config.mk
source/ntvfs/sysdep/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/rpc_server/service_rpc.c
source/scripting/ejs/config.mk
source/scripting/python/config.mk
source/smb_server/config.mk
source/smbd/server.c
source/torture/config.mk
source/torture/smb2/config.mk
source/wrepl_server/config.mk
(This used to be commit 13bbd42068
)
2008-04-25 10:04:20 +01:00
Andrew Bartlett
0d1fe706e3
Remove vampire.py as the 'net' binary is the right interface.
...
As some future point we might get these scripting interfaces into
better shape, and provide a python interface to this functionality
again.
Andrew Bartlett
(This used to be commit 717dcb2c54
)
2008-04-25 09:25:14 +01:00
Andrew Bartlett
28c29e7ad3
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 2c3a3d0134
)
2008-04-25 09:24:12 +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
Jelmer Vernooij
d1432d617e
Distinguish between private and public dependencies in the dot file.
...
(This used to be commit 0690ce5211
)
2008-04-24 15:22:07 +01:00
Andrew Bartlett
ed5ddabc43
Add documentation to session token functions.
...
(This used to be commit ec4a108d1d
)
2008-04-24 13:30:36 +01:00
Andrew Bartlett
9b65a7c38f
Remove unused KANJI and terminal code options.
...
Someone can re-add this with tests and an actual implementation.
Andrew Bartlett
(This used to be commit 62136febe7
)
2008-04-24 11:49:41 +01:00
Kai Blin
240d959005
libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuid
...
(This used to be commit 5f3a70f285
)
2008-04-24 11:17:23 +02:00
James Peach
b8209978d7
testsuite: skip RAW-BENCH-LOOKUP by default.
...
(This used to be commit 8a8449c953
)
2008-04-23 11:26:38 -07:00
Simo Sorce
c33c614eb2
Revert "Add port number for ncacn_http epmapper."
...
This reverts commit 1304362b37
.
This was causing way too many tests to fail. The dcesrv server was failing
to start as the NCACN_HTTP transport is considered invalid.
Jelmer please check how to properly fix dcesrv server before re-committing
your change.
(This used to be commit 0c59b39ad8
)
2008-04-23 08:54:57 -04:00
Simo Sorce
7f464f0628
Fix more failing tests to pass the event context.
...
(This used to be commit d6c5d8baf0
)
2008-04-22 16:40:44 -04:00
Simo Sorce
89cac520d0
Remove temporary debug statement
...
(This used to be commit 10780e638a
)
2008-04-22 16:40:44 -04:00
Jelmer Vernooij
f1b76952c0
Fix event context initialization for Python bindings.
...
(This used to be commit 132efc779e
)
2008-04-22 22:33:34 +02:00
Jelmer Vernooij
f8dc2ca022
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 10a1a53d8b
)
2008-04-22 22:19:46 +02:00
Björn Jacke
996d1bc090
fix an extrasemi compile warning
...
(This used to be commit 47e8ef4f6a
)
2008-04-22 15:13:36 +02:00
Jelmer Vernooij
38a4f9df17
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 1e38de4564
)
2008-04-22 10:21:22 +02:00
Simo Sorce
7dddab3f6c
Make sure we have an event context available
...
(This used to be commit b7c96e0cc2
)
2008-04-21 19:53:29 -04:00
Simo Sorce
c8eb82816f
Fix build
...
(This used to be commit c16d1d430a
)
2008-04-21 19:53:15 -04:00
Jelmer Vernooij
54efc107e5
Add port number for ncacn_http epmapper.
...
(This used to be commit 1304362b37
)
2008-04-22 01:34:11 +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
James Peach
8a3e3391fb
smbtorture: Add RAW-BENCH-LOOKUP micro-benchmark.
...
This test samples the lookup rate for a non-existant filename in a
directory, while varying the number of files in the directory. The
lookup rate should continue to approximate the lookup rate for the
empty directory case.
(This used to be commit ca7e4d9166
)
2008-04-21 15:09:43 -07:00
Jelmer Vernooij
db30ff4bea
Load default smb.conf file if none was specified explicitly.
...
(This used to be commit 8fa23fac51
)
2008-04-21 17:59:08 +02:00
Andrew Bartlett
61fba82594
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 13a0941d34
)
2008-04-19 09:59:07 +02:00
Stefan Metzmacher
f0eb488d22
SMB2-PERSISTENT-HANDLES1: close the handle before deleting it
...
This means we no longer have a oplock break timing out
for the "delete".
metze
(This used to be commit 50f6a72b67
)
2008-04-19 02:06:44 +02:00
Stefan Metzmacher
95d111b7e4
torture/smb2: add a simple SMB2-OPLOCK-BATCH1 test
...
metze
(This used to be commit 914f0ac83b
)
2008-04-19 01:54:45 +02:00
Stefan Metzmacher
39d2302721
ntvfs_generic: map RAW_LOCK_SMB2_BREAK to RAW_LOCK_GENERIC
...
metze
(This used to be commit b781bb733c
)
2008-04-19 01:54:45 +02:00
Stefan Metzmacher
8b5f03a225
smb_server/smb2: handle incoming oplock releases
...
metze
(This used to be commit 2306394dcc
)
2008-04-19 01:54:45 +02: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
Stefan Metzmacher
b2f2c1486e
ntvfs_generic: fix mapping the granted oplocks for SMB2
...
metze
(This used to be commit 60c4a4fc1a
)
2008-04-19 01:54:42 +02:00
Stefan Metzmacher
08f83c59df
build: fix the build rule for .o files
...
metze
(This used to be commit c7f34f41c3
)
2008-04-19 01:10:39 +02:00
Amin Azez
b3f9740764
Flag smb messages array with AND_X and LARGE_REQUEST
...
If smb_messages flags show for which opcodes VWV(0)
signifies chaining modes, and also which opcodes can
have requests >64K then the bcc / req->in.data_size
fixup in smbsrv_recv_smb_request can be more safely
applied.
This fix permits nttrans requests >64K to be handled.
It is not yet clear if THAT is a good thing, but this
fix does the current thing more nicely.
(This used to be commit 8e4f16e975
)
2008-04-18 22:09:10 +02:00
Amin Azez
908d8daa21
Re-order smbsrv_recv_smb_request and smb_messages
...
No functional change, just re-ordering so that
smbsrv_recv_smb_request can refer to smb_messages
in a future patch
(This used to be commit d06eafea1a
)
2008-04-18 22:09:10 +02:00
Andrew Bartlett
0321bc0259
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit e8da1559f7
)
2008-04-18 18:21:52 +02:00
Andrew Tridgell
93c9de03af
fixed a double free in winbind
...
state->domain->netlogon_binding is a child of ctx, and ctx is freed by
the composite_is_ok failure callback
(This used to be commit 3c217518ba
)
2008-04-18 16:23:48 +02:00
Andrew Tridgell
09e1ed03c7
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit e2489de8de
)
2008-04-18 15:42:55 +02:00
Andrew Tridgell
6a40411fcc
change the default idmap range to 3M -> 4M
...
This gives us a lot more headroom, and means that we have a lower
chance of running into real local users
(This used to be commit b2dac6645c
)
2008-04-18 15:41:54 +02:00
Andrew Bartlett
bfbcfc41f5
Fix samba3 protocol to correctly include the NULL terminator
...
Andrew Bartlett
(This used to be commit fa45991303
)
2008-04-18 11:37:43 +02:00
Andrew Bartlett
22bbb0ebe6
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 43fc10aaa7
)
2008-04-17 18:44:48 +02:00
Andrew Bartlett
c9a12fa55d
More endian fixes in the registry
...
(This used to be commit b26662be19
)
2008-04-17 18:40:56 +02:00
Andrew Tridgell
3180cbbc5b
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit c73a3b837e
)
2008-04-17 16:53:36 +02:00
Andrew Bartlett
d0525ff0c2
Fix typo
...
(This used to be commit ba65465045
)
2008-04-17 16:44:55 +02:00
Andrew Bartlett
8582063e91
More work to avoid endian bugs in registry tests.
...
Andrew Bartlett
(This used to be commit 500544f412
)
2008-04-17 16:38:53 +02:00
Stefan Metzmacher
e0fe8613a3
nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
...
metze
(This used to be commit 0e2f6d481b
)
2008-04-17 16:28:59 +02:00
Stefan Metzmacher
aa51981e99
libndr: add dom_sid0 type that can later be used for CLDAP and MAILSLOT ntlogon packets
...
metze
(This used to be commit 690c12cd2a
)
2008-04-17 16:28:40 +02:00
Andrew Bartlett
e739fe91cf
Fix bug in registry test on big-endian machines.
...
Andrew Bartlett
(This used to be commit c74c67c383
)
2008-04-17 15:54:22 +02:00
Andrew Tridgell
dc74e0fad6
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 3ab9abf406
)
2008-04-17 15:21:08 +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
Andrew Bartlett
ef457187b4
Don't exclude all tests mentioning 'samba3', but only those actually
...
specific.
Andrew Bartlett
(This used to be commit a38f413c55
)
2008-04-17 14:59:16 +02:00
Andrew Tridgell
107ab090e2
use uintptr_t instead of intptr_t where appropriate
...
(This used to be commit d62f2bcc85
)
2008-04-17 14:47:07 +02:00
Andrew Bartlett
7d38a51af9
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 8d9812bada
)
2008-04-17 14:25:22 +02:00
Andrew Bartlett
ca2e4a0e14
Run samba3sam.js with bin/smbscript explicitly.
...
Andrew Bartlett
(This used to be commit 12fa307653
)
2008-04-17 14:23:50 +02:00
Andrew Bartlett
0b4c401f06
Fix build not to always use code coverage.
...
Somehow, the way this was structured before always did a gcov build.
Andrew Bartlett
(This used to be commit 052edb7864
)
2008-04-17 14:20:46 +02:00
Simo Sorce
d7034765b7
Add useful provisioning debugging options
...
(This used to be commit 3f46eb95e4
)
2008-04-17 08:04:57 -04:00
Jelmer Vernooij
dd0da89e84
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit ece878c1f9
)
2008-04-17 13:05:25 +02:00
Jelmer Vernooij
0197b8e0ff
Fix the build.
...
(This used to be commit 5632fe8c61
)
2008-04-17 13:04:04 +02:00
Jelmer Vernooij
21fc767378
Specify event_context to ldb_wrap_connect explicitly.
...
(This used to be commit b4e1ae07a2
)
2008-04-17 12:23:44 +02:00
Andrew Bartlett
4d8f3f1902
Fix the expectations on the unixinfo test.
...
Andrew Bartlett
(This used to be commit 0df2b3e0b5
)
2008-04-17 12:03:49 +02:00
Andrew Bartlett
eb8a4e2883
Run more tests that were previously skipped.
...
Andrew Bartlett
(This used to be commit 4e06b1d684
)
2008-04-17 11:25:19 +02:00
Andrew Bartlett
0236a50c11
Skip strcmp() on 2 NULL pointers.
...
Andrew Bartlett
(This used to be commit 7b9a647ebb
)
2008-04-17 11:22:23 +02:00
Andrew Bartlett
e1b3c0fa89
Use the struct based winbind tests, but mark as known fail.
...
Andrew Bartlett
(This used to be commit 85c9b21a45
)
2008-04-17 10:40:16 +02:00
Andrew Tridgell
769ebe9171
make smb2 read and write size configurable
...
(This used to be commit 2090e75e0c
)
2008-04-17 09:37:29 +02:00
Andrew Tridgell
30b9c37420
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
Conflicts:
source/ntvfs/ntvfs_generic.c
(This used to be commit a626a9c69c
)
2008-04-17 09:36:09 +02:00
Stefan Metzmacher
baad7a7e56
ntvfs_generic: map SMB2 oplock levels to the generic ones
...
metze
(This used to be commit 9013748273
)
2008-04-17 03:54:26 +02:00
Stefan Metzmacher
8d6af0a8ad
SMB2-PERSISTENT-HANDLES1: verify some more fields
...
metze
(This used to be commit ae0a7d0918
)
2008-04-17 03:52:45 +02:00
Stefan Metzmacher
4dc59022e8
torture/smb2: add SMB2-PERSISTENT-HANDLES1 test
...
This demonstrates that the file seek position
is still available on reconnected persistent handles.
metze
(This used to be commit 30e04ae3a0
)
2008-04-17 02:39:32 +02:00
Stefan Metzmacher
9064aad727
selftest: ignore failures in the SMB2-PERSISTENT-HANDLES1 test
...
metze
(This used to be commit 02bfe20fd3
)
2008-04-17 02:39:31 +02:00
Stefan Metzmacher
17e41720d9
torture/smb2: add torture_suite_add_2smb2_test() helper function
...
metze
(This used to be commit d70afbb067
)
2008-04-17 02:39:30 +02:00
Stefan Metzmacher
1fe057f2e8
torture/smb2: fix whitespaces
...
metze
(This used to be commit 66c0f331a2
)
2008-04-17 02:39:30 +02:00
Stefan Metzmacher
79b2980cf5
smb_server/smb2: initialize new create.in.blobs element untill it'll be supported
...
metze
(This used to be commit fbfbd74e65
)
2008-04-17 02:39:29 +02:00
Jelmer Vernooij
ab07a60d6e
Avoid recursive make for code coverage.
...
(This used to be commit 2d1ca8cb7a
)
2008-04-17 02:06:07 +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
bbb826bdac
Add convenience function for getting at event context from ejs code.
...
(This used to be commit b659e83cd6
)
2008-04-17 01:37:42 +02:00
Jelmer Vernooij
a145d21de6
Avoid using event_context_find where possible.
...
(This used to be commit 04420b4689
)
2008-04-17 01:37:02 +02:00
Jelmer Vernooij
9de0594175
Fix the build.
...
(This used to be commit 40b7b0e503
)
2008-04-17 01:30:21 +02:00
Jelmer Vernooij
14023e502b
Require explicit event context rather than looking if it is not specified.
...
(This used to be commit 1da0063bd5
)
2008-04-17 01:22:39 +02:00
Jelmer Vernooij
c15ffa27cb
Explicitly require event context to be specified.
...
(This used to be commit a95a71fe45
)
2008-04-17 01:19:53 +02:00
Jelmer Vernooij
06d06c6c94
Use provided event context rather than looking for it.
...
(This used to be commit fd0bb96ace
)
2008-04-17 01:19:20 +02:00
Jelmer Vernooij
f875669314
Require passing in an event context to endpoint mapper utility function.
...
(This used to be commit 906b9fe158
)
2008-04-17 01:09:33 +02:00
Jelmer Vernooij
1efbd5fbf6
Remove event context tracking from the credentials struct.
...
(This used to be commit 4d7fc946b2
)
2008-04-17 01:03:18 +02:00
Jelmer Vernooij
4b9c7df9b7
Avoid event_find_context when a event context is already available.
...
(This used to be commit 4ca264679e
)
2008-04-16 23:06:27 +02:00
Jelmer Vernooij
a195cd9d8f
Use readily available event context.
...
(This used to be commit 2823fca23a
)
2008-04-16 22:52:07 +02:00
Jelmer Vernooij
a5d52174bd
Avoid event_find_context() when the event context is already available
...
in the net utility.
(This used to be commit d40804777e
)
2008-04-16 22:30:15 +02:00
Jelmer Vernooij
b815b81fb0
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit b175e7bf16
)
2008-04-16 18:17:10 +02:00
Jelmer Vernooij
c47286e57a
Fix todo element on actually implemented function.
...
(This used to be commit dedbeea4d2
)
2008-04-16 18:11:37 +02:00
Andrew Bartlett
f9ca1a80c6
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit eab5f6a7f5
)
2008-04-16 17:35:32 +02:00
Andrew Bartlett
80ad7025cf
Adjust the expectations of the struct based winbind test.
...
These expectations (such as what happens when we have no trusted
domains) were incorrect, compared with Samba3 (which is the reference
for this protocol).
Andrew Bartlett
(This used to be commit 29d5de9e8f
)
2008-04-16 17:33:58 +02:00
Jelmer Vernooij
d49f94621b
Provide stubs when the [todo] attribute is set.
...
(This used to be commit 356a5d2474
)
2008-04-16 17:21:48 +02:00
Andrew Tridgell
4bbaf36f6f
fixed popt handling on 64bit boxes in gentest
...
(This used to be commit 40c93ffbe9
)
2008-04-16 17:11:21 +02:00
Andrew Bartlett
9586462b8f
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 18dd8120cc
)
2008-04-16 16:12:58 +02:00
Andrew Bartlett
a58df2f54c
Fix struct_based winbind test for 'check machine account'.
...
The problem here was that we did not fill in the error strings in the
success case, and the testsuite checked against the incorrect
'freindly' error string.
Andrew Bartlett
(This used to be commit df05f11883
)
2008-04-16 16:11:17 +02:00
Andrew Bartlett
008c8adfe3
Fix wbinfo --trusted-domains.
...
The problems here were that we did not bind to the LSA pipe, and we
did not consider it possible to have 0 trusted domains.
Andrew Bartlett
(This used to be commit 86694d429d
)
2008-04-16 16:10:16 +02:00
Jelmer Vernooij
68b2d9372f
Remove policy library - it's now in a separate git repository.
...
(This used to be commit 9b364bf390
)
2008-04-16 14:41:42 +02:00
Jelmer Vernooij
7c4a45de26
make sure header can be included more than once.
...
(This used to be commit 38ed501ac8
)
2008-04-16 11:43:37 +02:00
Andrew Bartlett
8eaf64b47b
Now that we don't create a new event context, don't free it.
...
This previously would free the torture provided global event context.
Andrew Bartlett
(This used to be commit 664f2fc49f
)
2008-04-16 09:02:12 +02:00
Jelmer Vernooij
2ef07ad551
Remove unused arguments from reg_open_local().
...
(This used to be commit fee7ea7080
)
2008-04-16 01:32:54 +02:00
Jelmer Vernooij
c60a914052
Mention the actual exit code when a suite failed.
...
(This used to be commit 46ad68ad0b
)
2008-04-16 00:17:03 +02:00
Jelmer Vernooij
f5c0be9208
Merge branch 'wbinfo-test' of git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest
...
(This used to be commit 56340a5fa1
)
2008-04-16 00:05:36 +02:00
Jelmer Vernooij
4b4a56fb1e
Provide the right error count to formatters.
...
(This used to be commit f22602797f
)
2008-04-16 00:04:11 +02:00
Jelmer Vernooij
8eb6d59a46
Properly warn about exit codes that indicate success while tests claim
...
failure.
(This used to be commit 92873264d7
)
2008-04-16 00:03:45 +02:00
Jelmer Vernooij
d3729a8efa
Support knownfail Subunit command.
...
(This used to be commit ad58a50854
)
2008-04-16 00:03:00 +02:00
Jelmer Vernooij
e4cfb2d316
Deal with commands not even starting.
...
(This used to be commit 0f789e6779
)
2008-04-15 23:52:06 +02:00
Kai Blin
3413cfefb8
blackbox: Add many more tests for wbinfo
...
(This used to be commit 0a2942f6e9
)
2008-04-15 23:36:41 +02:00
Jelmer Vernooij
8170956b68
Add some documentation about the expected testsuite output.
...
(This used to be commit a24651d649
)
2008-04-15 23:21:43 +02:00
Jelmer Vernooij
9062214d09
Add some documentation on test behaviour in selftest.
...
(This used to be commit e8e9f2cc7b
)
2008-04-15 22:42:52 +02:00
Jelmer Vernooij
b708a3d1e7
Split binding structure handling out into a separate file.
...
For easier synchronisation with Samba 3.
(This used to be commit b9cac469f3
)
2008-04-15 18:03:09 +02:00
Andrew Bartlett
2ddd23a875
Re-add 'db' subdirectory for LDAP backend provision
...
Andrew Bartlett
(This used to be commit 19890c0d15
)
2008-04-15 17:10:47 +02:00
Andrew Bartlett
dfedfae1cd
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 66327b8bd8
)
2008-04-15 16:56:15 +02:00
Andrew Bartlett
cb5873f36d
Fix some of the winbind tests.
...
Some of the test expectations were incorrect.
Andrew Bartlett
(This used to be commit bc0e94360e
)
2008-04-15 16:31:08 +02:00
Andrew Bartlett
e0eba5232d
Fix winbind to check machine account.
...
This enables 'wbinfo -t', by checking the machine account with a
SamLogon call.
Andrew Bartlett
(This used to be commit abefa12029
)
2008-04-15 16:29:13 +02:00
Jelmer Vernooij
7bb2ebb884
Fix size to memcpy call in generated Samba 3 client code.
...
Reported-By: vl
(This used to be commit a28807569d
)
2008-04-15 16:00:07 +02:00
Andrew Bartlett
f8f4856ab7
Fix provision-backend script
...
Andrew Bartlett
(This used to be commit ee6e4f8da2
)
2008-04-15 15:52:52 +02:00
Jelmer Vernooij
fd52fe8616
Fix pointers when pushing strings to python during pidl generation.
...
(This used to be commit ca72187b3e
)
2008-04-15 14:32:13 +02:00
Jelmer Vernooij
983b66b8f1
Saner names for Python objects.
...
(This used to be commit f4de8d2c1c
)
2008-04-15 12:51:31 +02:00
Jelmer Vernooij
1a8bfba545
Fix warnings.
...
(This used to be commit 88013ca977
)
2008-04-15 12:15:43 +02:00
Jelmer Vernooij
961f412190
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into HEAD
...
(This used to be commit a039acb915
)
2008-04-15 11:10:56 +02:00
Jelmer Vernooij
c937efc1a6
Attempt to fix the pidl installation on fedora.
...
(This used to be commit 4dd29284bd
)
2008-04-15 10:55:32 +02:00
Andrew Tridgell
b967afca64
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit e891157b4e
)
2008-04-15 09:54:41 +02:00
Andrew Bartlett
afaba23131
Add blackbox test for ndrdump, to ensure it at least does not
...
segfault.
Andrew Bartlett
(This used to be commit d2fe61a13a
)
2008-04-15 09:13:32 +02:00
Jelmer Vernooij
223df634c8
Work around 'test' quirks - use make's string comparison instead.
...
(This used to be commit 434b61623e
)
2008-04-15 04:08:28 +02:00
Jelmer Vernooij
98a4dd9b5e
Fix ALL_OBJS value.
...
(This used to be commit 8710087728
)
2008-04-15 03:59:56 +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
b62d7aa8eb
Make sure init function sentinels are set for modules.
...
(This used to be commit fac3463dd5
)
2008-04-15 01:52:55 +02:00
Jelmer Vernooij
d04926914a
Fix the build.
...
(This used to be commit ecaa5bb83b
)
2008-04-15 01:40:32 +02:00
Jelmer Vernooij
91baa45dfd
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 0239011ced
)
2008-04-14 23:30:17 +02:00
Jelmer Vernooij
1b5f32128d
Use RpcInterfaceTestCase everywhere.
...
(This used to be commit 799095b4e5
)
2008-04-14 23:28:14 +02:00
Jelmer Vernooij
b1bdcd4a8a
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 7fd98e492e
)
2008-04-14 22:57:07 +02:00
Jelmer Vernooij
9b50347076
Explicitly specify the paths when installing pidl.
...
(This used to be commit 5e988a34de
)
2008-04-14 22:43:08 +02:00
Jelmer Vernooij
7be47a3665
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into fixbuild
...
(This used to be commit d2d564ad2e
)
2008-04-14 22:34:22 +02:00
Jelmer Vernooij
2bc26db97f
Fix the build.
...
(This used to be commit a70cbd63d9
)
2008-04-14 20:39:12 +02:00
Jelmer Vernooij
18f8f5d656
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 1ef3830bb0
)
2008-04-14 20:00:32 +02:00
Jelmer Vernooij
a15b6f1606
Fix unresolved symbols.
...
(This used to be commit 8573e828d1
)
2008-04-14 20:00:04 +02:00
Jelmer Vernooij
43896320dd
Explicitly specify the paths when installing pidl.
...
(This used to be commit 1695e0e1ab
)
2008-04-14 19:41:13 +02:00
Andrew Bartlett
68a2c547d0
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 0f0c8519b8
)
2008-04-14 19:32:42 +02:00
Jelmer Vernooij
2cdfaedee2
Make sure credentials are specified when running the Python winreg RPC tests.
...
(This used to be commit 280339e3d1
)
2008-04-14 19:20:43 +02:00
Jelmer Vernooij
1bcbc4afcf
Allow command line options in the subunitrun script.
...
(This used to be commit 524ec0796e
)
2008-04-14 19:13:41 +02:00
Andrew Tridgell
9cd04363f5
make the SMB2 negotiated read and write size settable in smb.conf
...
parametic options:
smb2:max read size = NNN
smb2:max write size = NNN
The defaults are 65536, which is what Vista sets, and what we
previously set
(This used to be commit 9e60164cae
)
2008-04-14 19:09:57 +02:00
Jelmer Vernooij
c1d9167fbc
Also look in the environment for smb.conf path.
...
(This used to be commit 8be7d93735
)
2008-04-14 19:01:32 +02:00
Andrew Tridgell
79af7ff2f7
fixed a valgrind error in id mapping
...
the status field is sent on both call and reply, but was only being
initialised on reply
(This used to be commit 2ebd7b8099
)
2008-04-14 18:59:40 +02:00
Simo Sorce
4f51b0246d
Fix problems with event context not being the parent.
...
(This used to be commit 957c4d893a
)
2008-04-14 12:45:51 -04:00
Andrew Tridgell
292ed5d04f
fixed an unitialised write warning in valgrind
...
the 'reserved' field was not being initialised before being pushed to
the wire
(This used to be commit dfe4b50098
)
2008-04-14 18:44:43 +02:00
Jelmer Vernooij
02f3695897
Add convenience TestCase class for testing RPC interfaces.
...
(This used to be commit 2f19f98144
)
2008-04-14 18:30:07 +02:00
Andrew Bartlett
3170ae538a
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit f610862dc9
)
2008-04-14 18:01:40 +02:00
Andrew Bartlett
b54e6a8155
Ensure we initialise s->lp_ctx for the way into the provision.
...
Andrew Bartlett
(This used to be commit b191a1953c
)
2008-04-14 17:58:09 +02:00
Jelmer Vernooij
0fa663cc5d
Fix order of variables in the makefile.
...
(This used to be commit f64c1d53ba
)
2008-04-14 17:54:19 +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
Jelmer Vernooij
ffc5cbfe80
Move object files lists to makefile rather than smb_build.
...
(This used to be commit 5628d58990
)
2008-04-14 16:53:00 +02:00
Stefan Metzmacher
97e09c2f87
lib/events: fix missing prototype of s4_events_aio_init()
...
metze
(This used to be commit 8dca5b9bbb
)
2008-04-14 16:45:38 +02:00
Stefan Metzmacher
76a7ea3dc4
Makefile: fix variable name automatic_deps -> automatic_dependencies
...
metze
(This used to be commit 7ffc44b7c1
)
2008-04-14 16:41:46 +02:00
Andrew Bartlett
0fa62eb275
Include the smbconf parameter to the provision
...
Otherwise this fails, if the targetdir is not specified
Andrew Bartlett
(This used to be commit cd2d3d1c7a
)
2008-04-14 16:01:15 +02:00
Andrew Bartlett
5a73810e12
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 79854f0aa6
)
2008-04-14 15:26:26 +02:00
Jelmer Vernooij
f800cf250f
Move standard make compilation rules to build/make.
...
(This used to be commit ceda3312a9
)
2008-04-14 14:51:57 +02:00
Andrew Bartlett
a96bba21fa
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 92751a73cd
)
2008-04-14 13:49:47 +02:00
Jelmer Vernooij
7cf29ac84e
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 9d3d64e138
)
2008-04-14 11:55:19 +02:00
Jelmer Vernooij
f78bc8c489
Remove prototypes from build.h in preparation of removing build.h
...
altogether.
(This used to be commit dbeab2a9cd
)
2008-04-14 11:54:50 +02:00
Andrew Bartlett
ca78fa8cae
Re-run SWIG
...
(This used to be commit 2f80105826
)
2008-04-14 11:53:28 +02:00
Andrew Bartlett
5a37b3fc5d
Fix newuser and setpassword scripts, and port to idmap.
...
The new idmap world does not use the unixUser any more, so we need to
set up the entry (if wanted) in the idmap database. Users without a
backing unix user will get an allocated uid by idmap later.
Andrew Bartlett
(This used to be commit 8bd8bc1475
)
2008-04-14 11:51:02 +02:00
Andrew Bartlett
434e625e45
Add in a way to get at the private_path() function from python
...
Andrew Bartlett
(This used to be commit 416d2e3a52
)
2008-04-14 11:48:43 +02:00
Andrew Tridgell
7361899e80
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 068c973dbe
)
2008-04-14 11:32:04 +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
Andrew Tridgell
6abdaefb0f
show what type of idmapping has failed
...
(This used to be commit 8a22241952
)
2008-04-14 11:30:10 +02:00
James Peach
2bb20aa8a8
smb_build: Make sure LIBRARY_SONAME is never uninitialized.
...
(This used to be commit 2b8cf1b2a4
)
2008-04-13 14:09:09 -07:00
Jelmer Vernooij
60a6682c85
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
...
(This used to be commit 9b8448c1e4
)
2008-04-13 22:49:08 +02:00
Jelmer Vernooij
148d3b170a
Use torture_assert_mem_equal() in a couple more places.
...
(This used to be commit e2c3fab9d1
)
2008-04-13 22:00:36 +02:00
Jelmer Vernooij
ae553dfcec
Use new torture_assert_mem_equal.
...
(This used to be commit b6319b64d7
)
2008-04-13 21:33:59 +02:00
Jelmer Vernooij
225a65da2d
Attempt to fix get_value() test on sparc machines.
...
(This used to be commit 10102d80d0
)
2008-04-13 21:31:06 +02:00
Andrew Bartlett
6b013c90fd
Actually test the different 'fill levels' in the provision process.
...
This should cover a few more codepaths in the provision script.
Andrew Bartlett
(This used to be commit 75c8dc6c6f
)
2008-04-11 19:38:36 +10:00
Andrew Bartlett
6a7acf3952
Reuse the lp_ctx and samdb returned by the python provision.
...
Apply the same fix as in libnet_vampire in the old DRS test code.
Andrew Bartlett
(This used to be commit 34adb0e0bb
)
2008-04-11 19:37:23 +10:00
Andrew Bartlett
c82e9c9f6d
Don't specify the ntds_guid to the C -> python provision interface
...
This paramter was not used anyway.
Andrew Bartlett
(This used to be commit 6875e6823f
)
2008-04-11 19:35:15 +10:00
Andrew Bartlett
e44f0e7b75
Don't reopen the sam.ldb again
...
Andrew Bartlett
(This used to be commit b51b8a2d84
)
2008-04-11 19:33:52 +10:00
Andrew Bartlett
a1a3089199
Use the python-provided ldb and lp_ctx pointers in libnet_vampire.c
...
By using the already open smb.conf and sam.ldb, we not only avoid
overhead, but also remove the risk we could touch a different
database.
Andrew Bartlett
(This used to be commit 38634183a0
)
2008-04-11 19:15:24 +10:00
Andrew Bartlett
393007315d
Far less cryptic traceback when you have an existing smb.conf
...
When the user has an existing smb.conf, but no [netlogon] or [sysvol]
share, the provision script would trigger a traceback. While we still
need to abort in this situation, we do so now with a useful error.
Andrew Bartlett
(This used to be commit 10a8b7ea48
)
2008-04-11 19:04:43 +10:00
Andrew Bartlett
67faa71c5b
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit de5349cc7a
)
2008-04-11 14:35:26 +10:00
Andrew Tridgell
3d01c8eb6d
Fixed a crash bug in unixuid module on failed ID mapping
...
We need to intialise *ids regardless of the status of the call, as the
IDL specifies that the out[] array always exists. If we don't
initialise out then we get a segv when a id mapping fails.
This still doesn't explain why the idmapping is failing, but at least
the client now gets NT_STATUS_NONE_MAPPED rather than a crashed
server.
(This used to be commit 4449ce381a
)
2008-04-11 14:12:34 +10:00
Andrew Bartlett
ae977ef247
Fix merge errors on C provision interface after jelmer's good work.
...
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Conflicts:
source/torture/local/torture.c
(This used to be commit 5bf1c89cf8
)
2008-04-11 11:11:42 +10:00
Andrew Bartlett
9198a519be
Set a netbios name into provision, and zero the rest.
...
Remove dns_name initialisation.
Andrew Bartlett
(This used to be commit e77ab2fbd1
)
2008-04-11 11:09:34 +10:00
Jelmer Vernooij
8ed6f6d5a8
Return SAM ldb context and loadparm context as part of C provision
...
result.
(This used to be commit a3e1b83565
)
2008-04-11 00:43:23 +02:00
Jelmer Vernooij
574bf79f3b
Fix extra argument to provision_bare().
...
(This used to be commit 623f64a1a7
)
2008-04-10 06:07:46 +02:00
Jelmer Vernooij
73302b8b08
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
...
(This used to be commit 3522c7e2cf
)
2008-04-10 05:25:18 +02:00
Jelmer Vernooij
ad8e3e4192
Add infrastructure for returning ProvisionResult in C provision code.
...
(This used to be commit 98c3d34eb2
)
2008-04-10 05:23: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
12840597c8
No longer install unused smbscript binary.
...
(This used to be commit ca0e373e57
)
2008-04-09 17:43:37 +02:00
Jelmer Vernooij
a45f33f277
Fix so version of hostconfig library.
...
(This used to be commit 62322f302f
)
2008-04-09 17:14:01 +02:00
Andrew Bartlett
b202b6e7d4
Fix up provision to specify SERVERDN in more places.
...
Andrew Bartlett
(This used to be commit d01d542502
)
2008-04-09 15:32:49 +10:00
Andrew Bartlett
8a982108a4
Link the new vampire code togeather.
...
This adds in the newly attached secrets handling, as well as an
interface to the command line 'net' tool.
Andrew Bartlett
(This used to be commit 1282e3c394
)
2008-04-09 14:59:32 +10:00
Andrew Bartlett
9d2948f4bd
Don't fill in the secrets DB unless we make the entries.
...
Leave filling in (we still initialise it) the secrets DB for the join
or vampire code.
Andrew Bartlett
(This used to be commit c93208c13c
)
2008-04-09 14:57:57 +10:00
Andrew Bartlett
29b25a1b04
Factor out filling in the secrets database.
...
This allows the vampire code to start with a join, but fill in the
secrets only when the process is compleated.
Andrew Bartlett
(This used to be commit c90751040e
)
2008-04-09 14:56:24 +10:00
Andrew Bartlett
3f990fdf7c
Remove dns_name element
...
This is only used in the DEBUG() message, so let's remove it.
Andrew Bartlett
(This used to be commit 5ebb64bdad
)
2008-04-09 14:55:01 +10:00
Andrew Bartlett
e8a3621a8f
Be consistant in using ${SEVERDN}.
...
This ensures we don't fall out of sync with the provision scripts.
Andrew Bartlett
(This used to be commit 566c60b464
)
2008-04-09 14:51:22 +10:00
Andrew Bartlett
5eda5e5197
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 58e00594d8
)
2008-04-09 12:03:36 +10:00
Andrew Bartlett
2f8ac9a422
Start implementation of real 'net vampire' code.
...
This will use DRS Replication (metze's thesis work) and possibly
samsync, and will work outside the smbtorture process.
Andrew Bartlett
(This used to be commit 02a33165ca
)
2008-04-09 12:02:11 +10:00
Jelmer Vernooij
5c3e4797b6
Merge branch 'openchange' into cprovision
...
(This used to be commit 596fc05785
)
2008-04-09 03:51:54 +02:00
Jelmer Vernooij
ac10ac62c1
Add docstring, PEP8.
...
(This used to be commit f8cac3735c
)
2008-04-09 03:51:41 +02:00
Jelmer Vernooij
82c7872639
Move provision C bindings to param/.
...
(This used to be commit 7d45ed0c3e
)
2008-04-09 03:23:13 +02:00
Stefan Metzmacher
4677ac6e70
BASE-DELAYWRITE: be more friendly to filesystems without high resolution timestamps
...
metze
(This used to be commit 9c18cf6708
)
2008-04-08 19:42:06 +02:00
Stefan Metzmacher
edb3a83a06
BASE-DELAYWRITE: use timeval_* and make it possible to spefic the writetime update delay
...
metze
(This used to be commit 751ab2992a
)
2008-04-08 16:55:16 +02:00
Jelmer Vernooij
66b529029a
Clearer names for singleton return types.
...
(This used to be commit 19d0560464
)
2008-04-08 15:18:24 +02:00
Jelmer Vernooij
ad823b04da
Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.
...
(This used to be commit cae61e32e5
)
2008-04-08 14:58:38 +02:00
Jelmer Vernooij
90c8841bef
Fix bug handling size arguments in a direction without actual data.
...
(This used to be commit 169d505e9e
)
2008-04-08 14:56:09 +02:00
Jelmer Vernooij
5db62a16ff
Array lengths can be obtained from Python objects so remove them from the Python API.
...
(This used to be commit 652810ff46
)
2008-04-08 14:19:26 +02:00
Jelmer Vernooij
dcc44f1757
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pidldocs
...
(This used to be commit c8dbf00b44
)
2008-04-08 13:32:38 +02:00
Jelmer Vernooij
8dd6f735bc
Set VENDORPREFIX rather than PREFIX to try to fix installation on some
...
buildfarm hosts.
(This used to be commit 2d9bb0db6c
)
2008-04-08 13:31:07 +02:00
Andrew Bartlett
0e59c73fe3
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit c0416a0b73
)
2008-04-08 17:31:36 +10:00
Andrew Bartlett
b2805c50ee
Re-add support for the --ldap-backend-port option to provision-backend
...
This option allows Fedora DS multi-master replication to work. I've
tried to update the wiki and scripts to the largely consistant with
each other.
Andrew Bartlett
(This used to be commit 42393c8307
)
2008-04-08 17:28:25 +10:00
Andrew Bartlett
3f2e403a86
Rework talloc hirarchy for C provision setup.
...
This seems to fix (or sweep under the covers) a crash in this code.
Andrew Bartlett
(This used to be commit 2fcddfe583
)
2008-04-08 17:26:55 +10:00
Jelmer Vernooij
8db14bf26b
Add manually written Python binding for libnet_Join.
...
(This used to be commit 374654b43d
)
2008-04-08 05:16:07 +02:00
Jelmer Vernooij
b5d84a74d1
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/makefile.pm
source/heimdal_build/config.mk
source/lib/events/config.mk
source/lib/nss_wrapper/config.mk
source/lib/policy/config.mk
source/lib/registry/config.mk
source/lib/socket_wrapper/config.mk
source/lib/tdb/config.mk
source/lib/tls/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/libnet/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/scripting/ejs/config.mk
source/smbd/process_model.mk
(This used to be commit 760378e029
)
2008-04-08 03:45:06 +02:00