1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

1574 Commits

Author SHA1 Message Date
Andrew Bartlett
d471e52d23 r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct
way to setup a Samba4 DC is to set 'server role = domain controller'.

We use the fSMORoleOwner attribute in the base DN to determine the PDC.

This patch is quite large, as I have corrected a number of places that
assumed taht we are always the PDC, or that used the smb.conf
lp_server_role() to determine that.

Also included is a warning fix in the SAMR code, where the IDL has
seperated a couple of types for group display enumeration.

We also now use the ldb database to determine if we should run the
global catalog service.

In the near future, I will complete the DRSUAPI
DsGetDomainControllerInfo server-side on the same basis.

Andrew Bartlett
(This used to be commit 67d8365e831adf3eaecd8b34dcc481fc82565893)
2007-10-10 14:29:15 -05:00
Stefan Metzmacher
3cfa1db71d r20111: this is the total object count of the current replication cycle
metze
(This used to be commit 4daa45f98a3bb6f3c245fe61e05681335ef8b5c6)
2007-10-10 14:29:08 -05:00
Stefan Metzmacher
cc0edee3f6 r20096: now I'm 100% sure:-)
metze
(This used to be commit 3daa68e1c4212f1dad98b196a096ded3204b03ba)
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
913d1a91b8 r20094: this should be non-const
metze
(This used to be commit 1b6621814ba83724e05c0c2bea28d6eb295a3655)
2007-10-10 14:29:04 -05:00
Stefan Metzmacher
d3c9737e5b r20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,
this wasn't noticed because on the 1st dc in the forest both have the
same value

metze
(This used to be commit 527bd9a0a361e19606e25e885b92da316e740bf9)
2007-10-10 14:29:01 -05:00
Stefan Metzmacher
2326af7dbd r20076: give the guids meanings
metze
(This used to be commit 3f1e88759cce7b05a117928efe73b353b28e8576)
2007-10-10 14:29:00 -05:00
Stefan Metzmacher
1dfd365d57 r20074: this values seem to be typos in
http://msdn2.microsoft.com/en-us/library/ms676264.aspx

metze
(This used to be commit a52d5f6ed9d92890d2a677d9398450f355165de2)
2007-10-10 14:29:00 -05:00
Stefan Metzmacher
a28b67c733 r20064: - fix pushing of DeReplicaObjectIdentifierX, this lets the DsAddEntry()
request work correctly
- the error structures all have the same type

metze
(This used to be commit 3322dbd901106262b22db35e9ef455a08ac2867c)
2007-10-10 14:28:57 -05:00
Stefan Metzmacher
99c3d9c371 r19967: this unknowns are max_object_count and max_ndr_size
metze
(This used to be commit 3e6264d872e4fc39a8e0712293492ad413345de9)
2007-10-10 14:28:41 -05:00
Stefan Metzmacher
7b249237b0 r19951: this statement is true...
metze
(This used to be commit f79d3435936104813f9492a010c57ea99835702f)
2007-10-10 14:28:39 -05:00
Jelmer Vernooij
8d870db811 r19859: Reuse referrent ids when pushing full pointers (still need to
avoid pushing the referred object twice) and add test for full pointers.
(This used to be commit 1638c8d234dbc85298000685e49570f23dfd0bf8)
2007-10-10 14:28:26 -05:00
Jelmer Vernooij
128fe5324b r19856: Use sptr as basis for full ptr implementation. Will add checks for duplicates later.
(This used to be commit 006ab1d4a449c81680add57e0116a86b8317fbfb)
2007-10-10 14:28:26 -05:00
Stefan Metzmacher
6166693a8c r19855: toplevel pointers are 'ref' by default:
- we don't need to add 'ref' explicit
- we some toplevel pointers need to be 'ptr' ('sptr' for now) pointers

metze
(This used to be commit c95cd82de29f4102d72030780da785bf28e0de9e)
2007-10-10 14:28:26 -05:00
Jelmer Vernooij
68ebe25724 r19850: Fix IDL warnings.
(This used to be commit 92b8bde561277a6b83048ce003cc29ff1b380255)
2007-10-10 14:28:25 -05:00
Stefan Metzmacher
9671a72a4c r19847: add idl for DsRemoveDSServer(), this is used when a server unbecomes a DC
metze
(This used to be commit df133cd22a350d422c49844e50a67f4cc1fb61e4)
2007-10-10 14:28:25 -05:00
Jelmer Vernooij
60b401efb9 r19846: Fix bunch of IDL warnings.
(This used to be commit 48e6df59444a78dc268b84c5f94787de09d41908)
2007-10-10 14:28:24 -05:00
Jelmer Vernooij
41848fea6f r19844: Fix warnings and errors in epmapper IDL.
(This used to be commit 0221d5b6c4250a3a2c86c623c534996d7decb1f6)
2007-10-10 14:28:24 -05:00
Jelmer Vernooij
f077cb7a09 r19836: Fix warnings in some IDL files.
(This used to be commit bd48f78b1d6dba73e44630ad930fd6089d2076b2)
2007-10-10 14:28:23 -05:00
Stefan Metzmacher
65a50f46c8 r19699: - use better names for the site strings
- use the client_site when creating the server object

metze
(This used to be commit b02d0e1be343c7d609715237dc842702b6fbe231)
2007-10-10 14:28:12 -05:00
Stefan Metzmacher
f612da2848 r19697: use the same mailslot name as windows does,
this also let wireshark match the responses

metze
(This used to be commit 9e52b0b9b59e2c8ee7b1242a191cc37e462842c1)
2007-10-10 14:28:11 -05:00
Jelmer Vernooij
66494b1fc9 r19677: Fix more dependencies.
(This used to be commit 17c2557834aad8c85fb640054c942f99bbce1d94)
2007-10-10 14:25:29 -05:00
Jelmer Vernooij
c81f2930a2 r19676: Fix some more dependencies.
(This used to be commit 8768bec81f57131a0c9754e8121b345c0be4a5d0)
2007-10-10 14:25:29 -05:00
Stefan Metzmacher
71846e31fd r19661: - add resolve stage to dcerpc connects over tcp
- remove ipv6 support untill the resolve layer can give ipv6 addresses

metze
(This used to be commit 1e518c3e675e6952044bc0fdf2537be432c0c56f)
2007-10-10 14:25:26 -05:00
Andrew Bartlett
13dbee3ffe r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
(This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10 14:25:00 -05:00
Jelmer Vernooij
48f1ed1cc9 r19594: the behaviour of `include' is slightly different from helper(). Fix the build
for now.
(This used to be commit 1474f1a220d869c3c11dac038411149abe3e48fe)
2007-10-10 14:24:59 -05:00
Jelmer Vernooij
863dcbfa06 r19588: Use include and import statements rather than depends() and helper().
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)
2007-10-10 14:24:58 -05:00
Jelmer Vernooij
2eeb0e5f28 r19569: Require that all public header files have a destination path. Fix
places where this was currently not the case.
(This used to be commit 3894497a232df8cf0457c7439c9ae347f63f24a1)
2007-10-10 14:24:53 -05:00
Jelmer Vernooij
4fa24df98d r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10 14:24:41 -05:00
Andrew Tridgell
bb435cbd03 r19502: fixed the RPC-SECRETS test with kerberos. Andrew, can you look at this
as well?

The server side change is needed to fix a valgrind error, which was
possibly exploitable if the client sent deliberately bad data
(This used to be commit e3c04cf165fe15739197b2713e78046399aa7653)
2007-10-10 14:24:40 -05:00
Andrew Tridgell
b4a5794e09 r19501: fix the hangs in the build farm in RPC-SECRETS
a RPC-SECRETS on kerberos test still fails, but I'll let andrew take a
look at that later :)
(This used to be commit c260b175682c1cd95eaba958bfd9f054cb2547ea)
2007-10-10 14:24:39 -05:00
Andrew Bartlett
2da96ebd7a r19479: Remove more unused functions. These are handled via authentication
abstractions now.

Andrew Bartlett
(This used to be commit df31237c0cac0213c4f32fc491bcec2ea9f885c3)
2007-10-10 14:21:40 -05:00
Andrew Bartlett
7f686233d7 r19478: Remove unused functions, and make static functions used only in this
file.  Everybody calls this via the dcerpc_pipe_connect() or
dcerpc_pipe_connect_b() functions.

Andrew Bartlett
(This used to be commit 5ee0fc035179c76f1362547ccc500f8677c8fa1f)
2007-10-10 14:21:40 -05:00
Andrew Bartlett
3c203ab927 r19465: Rather than use the non-standard API for determining the signature
length, use the amount the wapped message expanded by.

This works, because GSSAPI doesn't do AEAD (signing of headers), and
so changing the signature length after the fact is valid.

Andrew Bartlett
(This used to be commit bd1e0f679c8f2b9755051b8d34114fa127a7cf26)
2007-10-10 14:21:37 -05:00
Andrew Tridgell
515c92a759 r19441: work in progress support for NFS4 ACLs in Samba4 on Linux. Still work
to do, particularly with getting the detailed bit mappings right, and
on sid mapping. Does not pass RAW-ACLS yet
(This used to be commit b92553481b534d0ef5277dbfe8c0d64a03f819eb)
2007-10-10 14:21:32 -05:00
Stefan Metzmacher
3478bf1c23 r19341: ndr_push_union_blob() needs the same fix as ndr_push_struct_blob()
metze
(This used to be commit 5c766ad48d0790b7ae865408fd0dbdb1769da2d8)
2007-10-10 14:21:13 -05:00
Andrew Tridgell
915c281deb r19326: don't leak a ndr_push structure on ndr_push_struct_blob()
(This used to be commit 9817cc235c5fd787855c60fa58f68b14f78cdb94)
2007-10-10 14:21:09 -05:00
Andrew Bartlett
57b8c5cd22 r19266: Add a target_hostname element to the binding struct. This allows us
to perform a lookup once, resolve the name to an IP, while still
communicating the full name to the lower layers, for kerberos etc.

This fixes 'net samdump', which was failing due to the schannel target
name being *smbserver.

Andrew Bartlett
(This used to be commit 0546f487f4cc99b5549dc1e457ea243d4bd66333)
2007-10-10 14:21:00 -05:00
Rafal Szczesniak
a33a56bb93 r18890: sort the flags out and remove unknown as there's still
quite a few of them (not sure if these are used actually).

rafal
(This used to be commit 1622d4608bc738b73d6f51c758828f96602b3e59)
2007-10-10 14:20:19 -05:00
Rafal Szczesniak
71f01b9fad r18887: add flags found while on the plane.
rafal
(This used to be commit ec59441977205af9a38926b3d432ec0de6379573)
2007-10-10 14:20:19 -05:00
Simo Sorce
0f29ec343e r18885: Fix bug in our IDL pointed out by Ronnie
(This used to be commit 77e8d96bc488a574b0b728d5b8facd51e69822d5)
2007-10-10 14:20:18 -05:00
Andrew Tridgell
c682da359c r18872: when converting IDL to use out,ref pointers, you also must fix any
length_is() statements.
(This used to be commit 2f9a1f1d62351e20274227c3068a2e8211148535)
2007-10-10 14:20:17 -05:00
Günther Deschner
783512eca2 r18843: Got DFS_MANAGER_VERSION_NT4 wrong.
Guenther
(This used to be commit 8e19284fbd425d04954eaed374c72b0230d4ff99)
2007-10-10 14:20:15 -05:00
Günther Deschner
9639c372ed r18815: Fill in IDL for domain based DFS root functions (dfs_AddFtRoot,
dfs_RemoveFtRoot and dfs_FlushFtTable).

Guenther
(This used to be commit 91d4fc25c5448cd8e3d6991b38a9f2190324c6b2)
2007-10-10 14:19:13 -05:00
Günther Deschner
3a3da493f0 r18776: Fill in and test dfs_ManagerInitialize().
Guenther
(This used to be commit 3e0e9506b62322cba65d992fc8d783001595e7e7)
2007-10-10 14:19:10 -05:00
Jelmer Vernooij
e9834410d4 r18768: Fix some warnings.
(This used to be commit ac6c925f64f348e27a95f687398d1aaa913fd846)
2007-10-10 14:19:09 -05:00
Günther Deschner
7b3ed9e3ed r18765: Fill in dfs_SetInfo() IDL and align function arguments with the names
found in the documentation.

Guenther
(This used to be commit 56d16c10ef35eb160528381c81fd4561e49c3531)
2007-10-10 14:19:09 -05:00
Günther Deschner
298f487fae r18762: Fillin standalone DFS root functions IDL.
Guenther
(This used to be commit a8a6d7b649eb8610d7ee6d666e3df91afb50ac01)
2007-10-10 14:19:08 -05:00
Günther Deschner
4de1fbfde8 r18746: Fix the build.
Guenther
(This used to be commit 34cff06e25ce63e2e3e78f9191138d21189a60a8)
2007-10-10 14:19:06 -05:00
Günther Deschner
345863915f r18738: Fill in dfs_VolumeState.
Hm, wondering if there is a better way to let that be composed out of
one dfs_VolumeFlavor flag and one dfs_VolumeState flag.

Guenther
(This used to be commit 152fcddebc459624002c002bd2ee457ff6bca9ba)
2007-10-10 14:19:05 -05:00
Günther Deschner
f5a5cb6a1f r18737: Fill in the documented dfs_Target_PriorityClass.
Guenther
(This used to be commit d2805754a242a395d0322fb6b44965f41a81c217)
2007-10-10 14:19:05 -05:00