Age | Commit message (Collapse) | Author | Files | Lines |
|
usual things are more complex than they appear.
Also remove the incorrect server-side implementation, which blindly
assumed some sense of consistancy across the API switch levels.
Andrew Bartlett
(This used to be commit 79941adbff843f5027dacd31b972deca4a1557ec)
|
|
supprisingly complex call...
It turns out that the in/out parameter 'level' is not in/out, but set
seperatly by the server-side code from r->req.req1.level.
This commit also breaks out some common code from samldb into samdb.
Andrew Bartlett
(This used to be commit 2eb9e6445c64840399171f4f56b1e43786dbcfa7)
|
|
uint8_t arrays
with ber encoded oid's
metze
(This used to be commit bc13b3690166b29df246cc4778b378e9cf2a22d7)
|
|
transferred
in replication replies, but I don't know the exact encoding.
for example the oids are transferred as:
2.5.4 => uint8_t v[] = { 0x55, 0x04 };
2.5.5 => uint8_t v[] = { 0x55, 0x05 };
2.5.6 => uint8_t v[] = { 0x55, 0x06 };
2.5.18 => uint8_t v[] = { 0x55, 0x12 };
2.5.20 => uint8_t v[] = { 0x55, 0x14 };
2.5.21 => uint8_t v[] = { 0x55, 0x15 };
1.2.840.113556.1.2 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x02 };
1.2.840.113556.1.3 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x03 };
1.2.840.113556.1.4 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x04 };
1.2.840.113556.1.5 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05 };
1.2.840.113556.1.5.7000 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05, 0xb6, 0x58 };
1.2.840.113549.1.9 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x09 };
2.16.840.1.113730.3 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03 };
2.16.840.1.113730.3.1 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x01 };
2.16.840.1.113730.3.2 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x02 };
0.9.2342.19200300.100.1 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x01 };
0.9.2342.19200300.100.4 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x04 };
1.3.6.1.4.1.250.1 => uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x81, 0x7a, 0x01 };
1.3.6.1.4.1.1466.101.119=> uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x8b, 0x3a, 0x65, 0x77 };
if someone knows how the encoding works, please tell me:-)
I assume some ASN.1 encoding...
metze
(This used to be commit aa720a15319392fee5c532959192d0df5bf4c718)
|
|
metze
(This used to be commit 3d51ce92c272582e19046337ea6b8b2acd60997d)
|
|
metze
(This used to be commit 38ae6ce7b9b5dd733e4e838da04d1c570c450c97)
|
|
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)
|
|
metze
(This used to be commit 4daa45f98a3bb6f3c245fe61e05681335ef8b5c6)
|
|
metze
(This used to be commit 3daa68e1c4212f1dad98b196a096ded3204b03ba)
|
|
this wasn't noticed because on the 1st dc in the forest both have the
same value
metze
(This used to be commit 527bd9a0a361e19606e25e885b92da316e740bf9)
|
|
metze
(This used to be commit 3f1e88759cce7b05a117928efe73b353b28e8576)
|
|
http://msdn2.microsoft.com/en-us/library/ms676264.aspx
metze
(This used to be commit a52d5f6ed9d92890d2a677d9398450f355165de2)
|
|
request work correctly
- the error structures all have the same type
metze
(This used to be commit 3322dbd901106262b22db35e9ef455a08ac2867c)
|
|
metze
(This used to be commit 3e6264d872e4fc39a8e0712293492ad413345de9)
|
|
metze
(This used to be commit f79d3435936104813f9492a010c57ea99835702f)
|
|
duplicates later.
(This used to be commit 006ab1d4a449c81680add57e0116a86b8317fbfb)
|
|
- 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)
|
|
(This used to be commit 92b8bde561277a6b83048ce003cc29ff1b380255)
|
|
a DC
metze
(This used to be commit df133cd22a350d422c49844e50a67f4cc1fb61e4)
|
|
(This used to be commit 48e6df59444a78dc268b84c5f94787de09d41908)
|
|
(This used to be commit 0221d5b6c4250a3a2c86c623c534996d7decb1f6)
|
|
(This used to be commit bd48f78b1d6dba73e44630ad930fd6089d2076b2)
|
|
- use the client_site when creating the server object
metze
(This used to be commit b02d0e1be343c7d609715237dc842702b6fbe231)
|
|
this also let wireshark match the responses
metze
(This used to be commit 9e52b0b9b59e2c8ee7b1242a191cc37e462842c1)
|
|
the build
for now.
(This used to be commit 1474f1a220d869c3c11dac038411149abe3e48fe)
|
|
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)
|
|
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)
|
|
quite a few of them (not sure if these are used actually).
rafal
(This used to be commit 1622d4608bc738b73d6f51c758828f96602b3e59)
|
|
rafal
(This used to be commit ec59441977205af9a38926b3d432ec0de6379573)
|
|
(This used to be commit 77e8d96bc488a574b0b728d5b8facd51e69822d5)
|
|
length_is() statements.
(This used to be commit 2f9a1f1d62351e20274227c3068a2e8211148535)
|
|
Guenther
(This used to be commit 8e19284fbd425d04954eaed374c72b0230d4ff99)
|
|
dfs_RemoveFtRoot and dfs_FlushFtTable).
Guenther
(This used to be commit 91d4fc25c5448cd8e3d6991b38a9f2190324c6b2)
|
|
Guenther
(This used to be commit 3e0e9506b62322cba65d992fc8d783001595e7e7)
|
|
(This used to be commit ac6c925f64f348e27a95f687398d1aaa913fd846)
|
|
found in the documentation.
Guenther
(This used to be commit 56d16c10ef35eb160528381c81fd4561e49c3531)
|
|
Guenther
(This used to be commit a8a6d7b649eb8610d7ee6d666e3df91afb50ac01)
|
|
Guenther
(This used to be commit 34cff06e25ce63e2e3e78f9191138d21189a60a8)
|
|
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)
|
|
Guenther
(This used to be commit d2805754a242a395d0322fb6b44965f41a81c217)
|
|
Guenther
(This used to be commit f402f9898819a50886213e921f1136db40142ed6)
|
|
Guenther
(This used to be commit 4b767d6eefe66e742980cbad3f5bbbf941556820)
|
|
Guenther
(This used to be commit 5d9941acdbce2cab63dbd09d3fff84ac8edb20c3)
|
|
Guenther
(This used to be commit d4e5d80c1d52b5bb2ebbf18c217032d61095aa00)
|
|
this makes a much more readable include file
(This used to be commit e3b157af9f870c4c2423095c5ccb1bbcaf3faa61)
|
|
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
|
|
reject reason code while password changing: SAMR_REJECT_IN_HISTORY which
is different from SAMR_REJECT_COMPLEXITY.
torture test to follow as well.
Guenther
(This used to be commit 7513748208214339e764cc990aa1dbbcf864975a)
|
|
of interpreting them as samr_AcctFlags.
Guenther
(This used to be commit ed02c1afc82391f5aeb7caa9a6cd942b1b95e630)
|
|
(This used to be commit add8a8f6cf2335efbbbe8e77d8ea76e81449b2d6)
|
|
pointing this out.
Guenther
(This used to be commit 246ab597057325611b5e53e6240ee8cabd3b6df7)
|