1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
Commit Graph

55528 Commits

Author SHA1 Message Date
Stefan Metzmacher
5feff0ba01 s3:smbd: parse context blobs in SMB2 Create
metze
2009-08-19 10:14:49 +02:00
Andrew Tridgell
a0df109d66 added basic support for rename in DRS replication
Added simple DRS rename support in replication. This should be done
async, and I'm not sure if we should also do any repl data updates to
indicate the rename. I'm still learning how this stuff works, but at
least this allows a rename on a DC to propogate correctly
2009-08-19 15:53:19 +10:00
Andrew Tridgell
e38f38fe48 we need the Deleted Objects container for replication
When objects are deleted they get renamed to this container. The
container needs to exist when we provision
2009-08-19 15:51:07 +10:00
Kai Blin
8d0345e5a0 wbinfo: Fix up s3 blackbox test. wbinfo no longer needs a config file. 2009-08-18 22:10:04 +02:00
Kai Blin
dd8d04f9fa s4 winbind: Quiet down the WINBINDD_DOMAIN_INFO handler stub warning 2009-08-18 21:48:41 +02:00
Kai Blin
fd2feab8f0 wbinfo: Reduce test noise in the wbinfo blackbox test
With the switch to libwbclient the previously stubbed out
--trusted-domains and --all-domains calls now fail. Set them to knownfail.

The previously knownfail -D test is now stubbed out, test it now.

This does not fix the issues with wbinfo -a and wbinfo -K not working on the
build farm. I have no idea whatsoever what is causing this, as those are broken
on my local machine even without my changes.
2009-08-18 21:42:37 +02:00
Kai Blin
b31f0de467 s4 winbind: Silence compile warning by adding new commands to the list 2009-08-18 20:26:10 +02:00
Kai Blin
7cafb65387 s4 winbind: Implement a stubbed out version of WINBINDD_DOMAIN_INFO 2009-08-18 20:26:10 +02:00
Kai Blin
bc0e0a4c69 wbinfo: Use one codebase for Samba3 and Samba4.
There can be only one....wbinfo that is.
2009-08-18 20:26:05 +02:00
Kai Blin
19855ca2bb s3 wbinfo: Only call afs_settoken_str if compiled with WITH_FAKE_KASERVER 2009-08-18 19:53:41 +02:00
Kai Blin
182c667b17 s3 wbinfo: use wbcSidTypeString instead of sid_type_lookup 2009-08-18 19:53:41 +02:00
Kai Blin
a7128709d2 libwbclient: Add wbcSidTypeString function. 2009-08-18 19:53:41 +02:00
Kai Blin
afb8f8eaa5 s3 wbinfo: Remove unused functions, use C99-types 2009-08-18 19:53:40 +02:00
Kai Blin
ab818cdf8b s3 wbinfo: Explicitly include popt header, remove unused common options. 2009-08-18 19:53:40 +02:00
Kai Blin
6d4fd3e0a2 s3 wbinfo: Use talloc_strdup instead of SMB_STRDUP 2009-08-18 19:53:40 +02:00
Kai Blin
0dae6f541f s3 wbinfo: Don't use global_myname() 2009-08-18 19:53:39 +02:00
Kai Blin
b6ea2ece09 s3 wbinfo: Avoid ADD_TO_ARRAY macro. 2009-08-18 19:53:39 +02:00
Kai Blin
90b6e41b83 s3 wbinfo: Use uint32_t instead of uint32 2009-08-18 19:53:39 +02:00
Kai Blin
fa7d7a49b8 s3 wbinfo: remove --get-auth-user and --set-auth-user functionality
Point to the corresponding commands in "net" instead.
2009-08-18 19:53:38 +02:00
Kai Blin
49d1eec8ea s3 net: Add getauthuser/setauthuser commands.
These replace the functionality of wbinfo --get-auth-user/--set-auth-user
2009-08-18 19:53:38 +02:00
Kai Blin
004494b84c s3 wbinfo: Get rid of lp_ functions
This commit also fixes a lot of line lengths to make the file more readable.
2009-08-18 19:53:38 +02:00
Kai Blin
f27bda63cd s4 ctags: Stop *_proto.h files from cluttering up the tags 2009-08-18 19:53:37 +02:00
Matthias Dieter Wallnöfer
61d4f8be60 s4: int32 handling: previous fix was not fully correct 2009-08-17 20:42:39 +02:00
Matthias Dieter Wallnöfer
2cf897b10a s4: Make the int32 problem more clear - and fix another error 2009-08-17 20:29:11 +02:00
Stefan Metzmacher
87737f8946 s4:librpc/rpc: fix DEBUG() message
metze
2009-08-18 11:58:18 +02:00
Günther Deschner
abe7648609 netlogon: document some more MSVC flags.
Some of these were observed during password changing
from win7 using a samba 3.4 PDC.

Guenther
2009-08-17 18:24:24 +02:00
Günther Deschner
53196955d4 s3-spoolss: remove another duplicate copy of print_architecture_table.
Guenther
2009-08-17 18:09:11 +02:00
Andrew Tridgell
1b09e36f0b fixed make test reporting success when provision fails
We were getting build test 'pass' on the build farm when the provision
is failing. The cause was the use of filter pipelines in the selftest
code in the makefile. A bourne shell will by default report the error
status of the last element of the pipeline, which means when provision
failed, make thought everything had passed.

We could use the bash 'pipefail' option to fix this, but it isn't
portable, so instead I've modified the makefile to touch st/st_done
when the first element in the pipeline completes successfully. That
means we now get errors in make test, at the expense of making the
makefile even more horrible than it was.
2009-08-17 22:46:47 +10:00
Matthias Dieter Wallnöfer
6cc9e4b900 s4: Fixed the int32 datatype support
Should finally fix bug #6136 ("groupType", "sAMAccountType" ... attributes).
2009-08-17 13:15:26 +02:00
Andrew Tridgell
3dee92fcb9 fixed the build
the changes from Matthias didn't take account of url and lp being None
in some ldb python instances in 'make test'
2009-08-17 21:40:19 +10:00
Matthias Dieter Wallnöfer
7a79d16183 s4: Major rework of the LDB/SAMDB/IDMAP python bindings
- Centralise the lookups for the default domain (root) in the call "domain_dn"
- Reduce the LDB connections attempts ("connect" calls) from three to one
  - tools should load faster
- Make the LDB connection init more like the "ldb_wrap_connection" call
- Load the right UTF8 casefolder which fixes up problems with special characters
  (discovered by me: e.g. small "Umlaute" (ä, ö, ü, ...) in the DN weren't upcased
  - so records "seemed" lost in TDB)
2009-08-17 11:58:40 +02:00
Matthias Dieter Wallnöfer
0a5ea25d21 s4:python tools - Centralise the lookups for the default domain (root) in the call "domain_dn" from SamDB 2009-08-17 11:58:39 +02:00
Matthias Dieter Wallnöfer
0a46fd630e s4:pyglue Add a wrapper for loading the correct UTF8 casefolder
Needed for special characters (e.g. in German "Umlaute")
2009-08-17 11:58:39 +02:00
Matthias Dieter Wallnöfer
faedda0455 s4:ldb python bindings: Handle the parameters of the connect call in the right way 2009-08-17 11:58:38 +02:00
Matthias Dieter Wallnöfer
36f828bafb Revert "s4:samdb python bindings - we don't need the attributes here"
This reverts commit 53ef426e6f.

As abartlet pointed out this causes to load all attributes and therefore gives
us more here than we need (only the check for the DN)!
2009-08-17 11:06:39 +02:00
Andrew Tridgell
87921bf694 sigh - still not right 2009-08-17 17:50:26 +10:00
Andrew Tridgell
52108a19a4 fixed up add_foreign again
my last patch was not even close ...

I'll leave abartlet to work out how to fix the test case
2009-08-17 17:48:27 +10:00
Andrew Tridgell
905db32885 more fixups from provision changes
Andrew, can you please check this? The idmap.setup_name_mapping tests
look totally out of place here. I'm also not sure I captured your
intention with the other changes
2009-08-17 17:35:36 +10:00
Stefan Metzmacher
b62ce48f00 s3:smbd: add support for canceling SMB2 Notify calls.
metze
2009-08-17 09:25:46 +02:00
Stefan Metzmacher
47452b8cec s3:smbd: add smbd_notify_cancel_by_smbreq()
This function will be used by the SMB2 notify code.

metze
2009-08-17 09:25:45 +02:00
Stefan Metzmacher
d60f049eaf s3:smbd: implement SMB2 Cancel correctly.
metze
2009-08-17 09:25:45 +02:00
Stefan Metzmacher
3b3bde938c s4:build: require tevent 0.9.7 with tevent_req_cancel()
metze
2009-08-17 09:25:44 +02:00
Stefan Metzmacher
97a1ed53ca tevent: change version to 0.9.7 after adding tevent_req_cancel infrastructure
metze
2009-08-17 09:25:44 +02:00
Stefan Metzmacher
45e4be0d96 tevent: add tevent_req_cancel() infrastructure
This offers a generic way for callers to cancel an
async request.

metze
2009-08-17 09:25:44 +02:00
Andrew Tridgell
26e114b83c skip the autoidl test
The autoidl test is not needed now that we have IDL source
available. It also generates a lot of errors in the logs.
2009-08-17 13:29:34 +10:00
Andrew Tridgell
f3e473ee72 fixed up some provision errors from the recent changes 2009-08-17 13:28:57 +10:00
Andrew Bartlett
e349316550 s4:provision Add comments to the provision script
Hopefully this will explain a bit more whey things are done the way
that they are done.

Andrew Bartlett
2009-08-17 11:47:14 +10:00
Andrew Bartlett
5f917d5f17 s4:provision Avoid one more call to ltdb_reindex
The Samba4 schema code (called via
samdb.set_schema_from_ldb(schema.ldb)) manages the @ATTRIBUTES and
@INDEXLIST records, so don't wipe them early.  The chances are that we
will not change them anyway.

Andrew Bartlett
2009-08-17 11:47:14 +10:00
Andrew Bartlett
148290a809 s4:ldb Remove obsolete comment about ldb_tdb's sequence num 2009-08-17 11:47:14 +10:00
Andrew Tridgell
f890dba084 make sure we update the current schema->prefixes when we add a new prefix
This triggered a failure in the updateNow schema test, as the current
global schema was not being updated when a new schema element was
added
2009-08-17 11:14:12 +10:00