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

1293 Commits

Author SHA1 Message Date
Andrew Bartlett
5d0d239d1a Start an 'NTP signing server' in Samba4.
I am modifying the ntp.org server to talk to this service, to sign
packets per MS-SNTP.

Andrew Bartlett
(This used to be commit 0c15385e60)
2008-05-27 16:20:18 +10:00
Andrew Tridgell
af4f6f445a add a mask of invalid security bits
(This used to be commit ccbf523876)
2008-05-27 14:06:38 +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
c5c1b3706a allow larger streams using the TDB backend
(This used to be commit 8c0d756eb8)
2008-05-26 14:59:58 +10:00
Jelmer Vernooij
05194ccdf8 Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.
(This used to be commit 468d35827f)
2008-05-24 19:50:09 +02: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 Bartlett
2f773ff347 Re-add alignment removed by metze in 0e2f6d481b
This manual alignment is required, because the structure is marked as
unaligned.

Andrew Bartlett
(This used to be commit ef5d1c8d32)
2008-05-21 10:23:02 +10:00
Andrew Bartlett
d975cd9d8c Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 60579269d1)
2008-05-17 21:16:22 +10:00
Andrew Bartlett
842040d184 Explain that the sid must be absent on the NTLOGON mailslot.
Andrew Bartlett
(This used to be commit a7983387f7)
2008-05-17 12:44:35 +10:00
Julien Kerihuel
25a82b8fc9 This patch adds remaining padding bytes to the dcerpc_fault IDL structure and adds a const 4 bytes blob to pkt.u.fault.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 652b8c5f15)
2008-05-16 08:54:27 +02: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
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
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
Jelmer Vernooij
54efc107e5 Add port number for ncacn_http epmapper.
(This used to be commit 1304362b37)
2008-04-22 01:34:11 +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
Jelmer Vernooij
c47286e57a Fix todo element on actually implemented function.
(This used to be commit dedbeea4d2)
2008-04-16 18:11:37 +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
Jelmer Vernooij
4fcd6cfb75 Add [todo] for functions that are obviously incomplete.
(This used to be commit b7b46ddd41)
2008-04-08 03:15:55 +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
afe3e8172d Install public header files again and include required prototypes.
(This used to be commit 47ffbbf674)
2008-04-02 04:53:27 +02:00
Stefan Metzmacher
59917521e9 opendb: pass down a pointer to the fd in odb_open_file()
This prepares kernel oplock support.

metze
(This used to be commit 9db9b6d85d)
2008-03-12 17:35:04 +01:00
Günther Deschner
7eaa6b5f9a Ignore Kerberos PAC type 12.
Until we worked out the PAC_TYPE_UNKNOWN_12 format (or received documentation)
ignore it so that the PAC parsing can proceed.

Guenther
(cherry picked from commit 3630ec26c9)
(This used to be commit 0c1ccbc183)
2008-03-06 17:40:25 +01:00
Günther Deschner
62af65d1e3 Slowly making progress on PAC_UNKNOWN_12.
unknown1 and unknown2 are offset headers for the strings.

Guenther
(cherry picked from commit 7af70e75b9)
(This used to be commit ad19da7f83)
2008-03-06 17:40:16 +01:00
Günther Deschner
74dba5e33c Add new Windows 2008 Kerberos PAC Type 12 (apparently again undocumented).
We need at least to parse this in order to correctly support kerberized session
setup from w2k8 as well as local pam_winbind logons using kerberos.

Guenther
(cherry picked from commit 4ba62d49d7)
(This used to be commit ef0971206c)
2008-03-06 17:40:05 +01:00
Stefan Metzmacher
b7db5f7cb5 opendb: add allow_level_II_oplock parameter to odb_open_file()
Not all clients support a fallback to level II oplocks.

metze
(This used to be commit 146f1fe0b6)
2008-03-06 17:19:12 +01:00
Stefan Metzmacher
6dec6fbfad unixinfo.idl: don't use utf8string anymore
Note:

This changes the on wire format!!!

But it's a very bad idea to keep utf8string
as it's not valid NDR encoding and noone
would be able to write a compatible IDL
file using another compiler than pidl.

Maybe we should change the uuid,
but as this isn't really used yet
I keep the old one.

metze
(This used to be commit 5753d7fd83)
2008-02-27 20:39:23 +01:00
Jelmer Vernooij
10e7f9f02d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 52a8d06f00)
2008-02-21 16:11:13 +01:00
Jelmer Vernooij
426e7fef1f Remove extra whitespace, use public variable in IDL.
(This used to be commit bf08b68258)
2008-02-21 16:10:07 +01:00
Stefan Metzmacher
9f4f496831 srvsvc.idl: don't use STR_LEN4 anymore
metze
(This used to be commit 8c7509bd68)
2008-02-21 12:41:55 +01:00
Stefan Metzmacher
52623b627d samr.idl: windows uses lsa_AsciiStringLarge in QueryDisplayInfo
Tested with nt4 and w2k3.

metze
(This used to be commit 24ec069751)
2008-02-21 12:34:22 +01:00
Stefan Metzmacher
665a7aafd1 initshutdown.idl: get rid of initshutdown_String and use lsa_StringLarge
metze
(This used to be commit d9303cb083)
2008-02-19 15:59:30 +01:00
Stefan Metzmacher
4473a07fb3 winreg.idl: get rid of initshutdown_String and use lsa_StringLarge
metze
(This used to be commit 1ccea2a260)
2008-02-19 15:59:23 +01:00
Stefan Metzmacher
fc840f3810 drsblobs.idl: don't use asclstr
metze
(This used to be commit f42cc91340)
2008-02-19 15:59:15 +01:00
Stefan Metzmacher
611f0152a1 lsa.idl: strlen_m*() also for the lsa_AsciiString* versions
We already did this before b994f899b4.

This is needed to handle NULL strings, where strlen() would crash...

Maybe we should add a strlen_a() and strlen_a_term() later...

metze
(This used to be commit c388efab13)
2008-02-19 15:59:05 +01:00
Stefan Metzmacher
7a3f15ff8a lsa.idl: use strlen_m_term() in lsa_StringLarge to support NULL strings
metze
(This used to be commit bdd8d9ebdf)
2008-02-19 15:58:55 +01:00
Stefan Metzmacher
9d9d54430a lsa.idl: add lsa_AsciiStringLarge
metze
(This used to be commit 646c597b79)
2008-02-15 15:03:28 +01:00
Stefan Metzmacher
de3d54e055 lsa.idl: don't use ascstr_noterm anymore
metze
(This used to be commit b994f899b4)
2008-02-15 15:03:15 +01:00
Stefan Metzmacher
1b09ec14a8 epmapper.idl: don't use ascstr2 anymore
metze
(This used to be commit 96f1ad6d27)
2008-02-15 08:53:24 +01:00
Stefan Metzmacher
7f4d2ac6a2 epmapper.idl: add link to official IDL
metze
(This used to be commit b5c0a6c114)
2008-02-15 08:53:11 +01:00
Stefan Metzmacher
8410878e2a dcerpc.idl: use charset() instead of ascstr3
metze
(This used to be commit 47447f60bc)
2008-02-15 08:52:51 +01:00
Stefan Metzmacher
f9116ae6db drsuapi.idl: use charset() instead of the exotic flags() and string
metze
(This used to be commit 70c7faace7)
2008-02-15 08:52:00 +01:00
Stefan Metzmacher
80d7c3ef7d krb5pac.idl: use charset() instead of string type with flags
metze
(This used to be commit 30657ae0eb)
2008-02-15 08:51:19 +01:00
Stefan Metzmacher
2728922774 idl_types: remove unused lstring
metze
(This used to be commit 5100452cf3)
2008-02-13 10:41:57 +01:00
Stefan Metzmacher
c41944b9f9 spoolss.idl: improve idl for EnumPrinterData and not use 'lstring' any more
metze
(This used to be commit d6cdddbcf3)
2008-02-13 10:39:25 +01:00
Stefan Metzmacher
be25cdebcb librpc: remove special support for fixed length strings
Fixed arrays with the charset() attribute do the same

metze
(This used to be commit 9620b86e96)
2008-02-12 16:16:35 +01:00
Stefan Metzmacher
1f3e4e2dea spoolss.idl: don't use string32 anymore and use an charset() array
metze
(This used to be commit 746a715715)
2008-02-12 16:15:34 +01:00
Stefan Metzmacher
7001a877d4 nbt.idl: don't use astring15 anymore and use an charset() array
metze
(This used to be commit bb143c76fb)
2008-02-12 16:14:43 +01:00
Stefan Metzmacher
6ca23e3074 wkssvc.idl: fix idl for wkssvc_NetrGetJoinableOus[2]()
metze
(This used to be commit 3f2edcc341)
2008-02-07 08:33:19 +01:00
Stefan Metzmacher
569bd9222d spoolss.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!

metze
(This used to be commit c472935c98)
2008-02-04 18:37:08 +01:00
Stefan Metzmacher
81b17623f2 samr.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!

metze
(This used to be commit 14ee13c1fe)
2008-02-04 18:37:08 +01:00
Stefan Metzmacher
7406c9b903 netlogon.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!

metze
(This used to be commit e4b12aa9a4)
2008-02-04 18:37:08 +01:00
Stefan Metzmacher
6512ad57f3 winreg.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!

metze
(This used to be commit f195093a86)
2008-02-04 18:37:08 +01:00
Stefan Metzmacher
10f6ff352c svcctl.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!

metze
(This used to be commit 7561e8fa51)
2008-02-04 18:37:08 +01:00
Stefan Metzmacher
b6c3e58a38 wkssvc.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!

metze
(This used to be commit f2227b3bb8)
2008-02-04 18:37:07 +01:00
Stefan Metzmacher
033e697c9e srvsvc.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!

metze
(This used to be commit 6d20a2f3f9)
2008-02-04 18:37:07 +01:00
Andrew Bartlett
77f71c1b65 Rework cluster_id() to take an additional argument, as we need
<node>.<pid>.<fd> to be unique in a prefork process environment.

Andrew Bartlett and David Disseldorp
(This used to be commit 931994a7f1)
2008-02-04 17:51:38 +11:00
Günther Deschner
2f60bf32e1 Add IDL for netr_DsrDeregisterDNSHostRecords (just for completion).
Guenther
(This used to be commit 722b4dfdc4)
2008-01-25 22:39:42 +01:00
Günther Deschner
593c211a5f Add IDL for netr_LogonGetTrustRid.
Guenther
(This used to be commit d0893014ab)
2008-01-24 23:56:37 +01:00
Günther Deschner
f139adc657 Rename samr_*AccessMask bitfields to start with SAMR_.
Guenther
(This used to be commit 70773be51a)
2008-01-24 23:56:29 +01:00
Stefan Metzmacher
39fcf7ccdf netlogon.idl: add some MSV1_0_ values from samba3 and use a bitmap32
metze
(This used to be commit 7222edb9cd)
2008-01-24 13:52:47 +01:00
Stefan Metzmacher
a1c7b35bba netlogon.idl: make use of bitmap samr_GroupAttrs
metze
(This used to be commit 6d68161e67)
2008-01-24 10:24:41 +01:00
Stefan Metzmacher
d408be05d6 netlogon.idl: remove unused netr_GroupsMembership structure
We have samr_RidWithAttribute and use that in all cases.

metze
(This used to be commit 3c5bae2249)
2008-01-24 10:22:45 +01:00
Günther Deschner
e3fb56d183 Add lsa_PolicyAuditEventType and lsa_PolicyAuditPolicy enums from samba3 to IDL.
Guenther
(This used to be commit 1b5706e413)
2008-01-16 16:01:50 +01:00
Jelmer Vernooij
506f643288 python: Compile in svcctl Python bindings.
(This used to be commit 567099b66d)
2008-01-14 20:08:04 +01:00
Jelmer Vernooij
a896c8940c python: Enable python bindings for samr and lsa interfaces.
(This used to be commit 3dfcefd8ac)
2008-01-14 19:53:07 +01:00
Günther Deschner
b7d5a760dc Use lsa_PolicyInfo enum in lsa policy info calls.
Guenther
(This used to be commit 0686977066)
2008-01-14 17:40:37 +01:00
Günther Deschner
88f2ca7fb5 Fill in IDL for lsa_SetInfoPolicy and lsa_SetInfoPolicy2.
Guenther
(This used to be commit 54458c4624)
2008-01-14 17:31:30 +01:00
Jelmer Vernooij
236a780baa idl: Use typedef rather than declare.
(This used to be commit 3fd750bd54)
2008-01-12 01:18:53 +01:00
Günther Deschner
db225eeef1 r26558: Add IDL for netr_GetForestTrustInformation().
Guenther
(This used to be commit 7aa34b4879)
2007-12-24 01:51:00 -06:00
Kai Blin
a6b4d4fe81 r26395: spoolss: Add WinXP-like printer browsing test.
(This used to be commit 2ccc4d2af5)
2007-12-21 05:49:24 +01:00
Günther Deschner
6c01f55e72 r26332: Add samr_ValidationStatus error mapping to samr_ValidatePassword().
Torture test to follow.

Guenther
(This used to be commit 10ccfb4c89)
2007-12-21 05:48:44 +01:00
Günther Deschner
8ac03ee60b r26331: Add IDL for samr_ValidatePassword(). A very interesting call.
Guenther
(This used to be commit 2b8d7fe16b)
2007-12-21 05:48:44 +01:00
Günther Deschner
b466534a0d r26286: IDL and torture test for netr_ServerTrustPasswordsGet().
Guenther
(This used to be commit 231fe8826b)
2007-12-21 05:48:09 +01:00
Günther Deschner
96b46e9907 r26285: Add IDL and torture test for netr_ServerPasswordGet().
Guenther
(This used to be commit d64244cfe8)
2007-12-21 05:48:08 +01:00
Günther Deschner
785928dcec r26273: Add IDL and torture test for netr_NetrEnumerateTurstedDomains() and
netr_NetrEnumerateTurstedDomainsEx().

Guenther
(This used to be commit 32a189e850)
2007-12-21 05:47:56 +01:00
Günther Deschner
b32cbeafb2 r26211: Add very basic test_NetrJoinDomain2() test which can join xp workstations into
an AD domain.

Guenther
(This used to be commit 3fd5f3628c)
2007-12-21 05:46:53 +01:00
Günther Deschner
a3ced88172 r26209: For consistency, rename one argument in NetrJoinDomain.
Guenther
(This used to be commit 8cf99ed4b1)
2007-12-21 05:46:52 +01:00
Günther Deschner
84945d9fae r26176: Fix in,out mismatch in wkssvc_NetrWkstaUserSetInfo().
Guenther
(This used to be commit c9b22a7d26)
2007-12-21 05:46:35 +01:00
Günther Deschner
890dd11f61 r26169: Use the NDR_PAHEX flag to print the encrypted wkssvc password buffer.
Guenther
(This used to be commit 78d18c996a)
2007-12-21 05:46:33 +01:00
Günther Deschner
0f622f318b r26168: Add two more documented WKSSVC_JOIN_FLAGS.
Guenther
(This used to be commit e067261061)
2007-12-21 05:46:33 +01:00
Günther Deschner
7f58b5b558 r26167: Just for completeness, add some more documented wkssvc_NetWkstaInfo info level
uint32s.

Guenther
(This used to be commit b2fb5a2af5)
2007-12-21 05:46:33 +01:00
Günther Deschner
db3a4dfdfb r26166: Put [ref] in the front in wkssvc IDL.
Guenther
(This used to be commit af0dc38909)
2007-12-21 05:46:32 +01:00
Günther Deschner
616a48faf9 r26165: Add IDL and torture test for wkssvc_NetrGetJoinableOus() and
wkssvc_NetrGetJoinableOus2() (both unavailable remotely).

Guenther
(This used to be commit 256d0a15f5)
2007-12-21 05:46:31 +01:00
Günther Deschner
f287d5dcc9 r26164: Add IDL for wkssvc_NetrJoinDomain() and wkssvc_NetrUnjoinDomain().
Guenther
(This used to be commit a4e6ec8e5e)
2007-12-21 05:46:31 +01:00
Günther Deschner
e84236a095 r26163: Add IDL and torture test for wkssvc_NetrGetJoinInformation().
Guenther
(This used to be commit 234b380669)
2007-12-21 05:46:30 +01:00
Günther Deschner
faa1db40a9 r26158: Add IDL for wkssvc_NetrRenameMachineInDomain().
Guenther
(This used to be commit 78715ded0a)
2007-12-21 05:46:28 +01:00
Günther Deschner
a1fdc20aee r26157: Add IDL and torture test for wkssvc_NetrSetPrimaryComputername().
Guenther
(This used to be commit 1c50b9754e)
2007-12-21 05:46:28 +01:00
Günther Deschner
e6c8fa7939 r26155: Add IDL and torture teset for wkssvc_NetrMessageBufferSend().
Guenther
(This used to be commit 9de2f59d2b)
2007-12-21 05:46:27 +01:00
Günther Deschner
722851c78e r26154: Add IDL and torture test for wkssvc_NetrWorkstationStatistics(). A lot of
unknowns, I know...

Guenther
(This used to be commit de2c5d702e)
2007-12-21 05:46:26 +01:00
Günther Deschner
238862649c r26152: Add IDL and torture test for wkssvc_NetrEnumerateComputerNames().
Guenther
(This used to be commit ea47816867)
2007-12-21 05:46:26 +01:00
Günther Deschner
fd461adfd0 r26151: Add IDL and torture test for wkssvc_NetrValidateName() and
wkssvc_NetrValidateName2().

Guenther
(This used to be commit 9f63ec388d)
2007-12-21 05:46:25 +01:00
Günther Deschner
b653bea814 r26150: Add IDL and torture test for wkssvc_NetrLogonDomainNameAdd() and
wkssvc_NetrLogonDomainNameDel(), both unsupported on w2k3.

Guenther
(This used to be commit 9e1ed6eb68)
2007-12-21 05:46:24 +01:00
Günther Deschner
5c76e9b418 r26149: Add IDL for wkssvc_NetrWkstaUserSetInfo(). No torture test yet.
Guenther
(This used to be commit 810b63a8ec)
2007-12-21 05:46:24 +01:00
Günther Deschner
8d62a1370d r26148: Add IDL and torture test for wkssvc_NetrUseGetInfo().
Guenther
(This used to be commit 1a472cc1b2)
2007-12-21 05:46:24 +01:00
Günther Deschner
9854192923 r26147: Add IDL and torture test for wkssvc_NetrUseDel and wkssvc_NetrUseAdd.
Guenther
(This used to be commit b5b3cc1667)
2007-12-21 05:46:23 +01:00
Günther Deschner
ec739190fb r26146: Add IDL and torture test for wkssvc_NetrUseEnum().
Guenther
(This used to be commit 72a14407ca)
2007-12-21 05:46:23 +01:00
Günther Deschner
fb25264190 r26144: Add IDL and torture test for wkssvc_NetrWkstaTransportAdd and
wkssvc_NetrWkstaTransportDel.

Guenther
(This used to be commit 99add8aed3)
2007-12-21 05:46:22 +01:00
Günther Deschner
7769f9db34 r26143: Add IDL and torture test for wkssvc_NetrWkstaUserGetInfo.
Guenther
(This used to be commit b358f953e9)
2007-12-21 05:46:22 +01:00
Günther Deschner
ce0af45ef1 r26142: Cleanup IDL and add torture test for wkssvc_NetWkstaEnumUsers.
Guenther
(This used to be commit 638ce91b0f)
2007-12-21 05:46:21 +01:00
Günther Deschner
98c3f90cae r26141: Reflect pointer_default(unique) setting.
Guenther
(This used to be commit 8e4952484d)
2007-12-21 05:46:21 +01:00
Günther Deschner
b79e33826f r25951: Add missing DS_SERVER_NDNC bit to netr_DsR_DcFlags.
Guenther
(This used to be commit 1b49119c73)
2007-12-21 05:45:15 +01:00
Günther Deschner
8f22cf4c26 r25894: Add IDL for netr_DsRAddressToSitenamesW and netr_DsRAddressToSitenamesExW.
Guenther
(This used to be commit ee797e18c7)
2007-12-21 05:44:43 +01:00
Günther Deschner
bffef39e71 r25848: Add IDL and torture test for dfs_SetDcAddress and dfs_GetDcAddress.
Guenther
(This used to be commit 8fb5d36734)
2007-12-21 05:44:25 +01:00
Günther Deschner
952eecb616 r25816: Add idl for frsapi_InfoW. Surely not correct, but a start.
Guenther
(This used to be commit c3495ba73a)
2007-12-21 05:44:10 +01:00
Günther Deschner
711af29695 r25815: Small DFS idl fixes.
Guenther
(This used to be commit 08a5c31307)
2007-12-21 05:44:10 +01:00
Ronnie Sahlberg
cac3a42998 r25785: more small updates to frsrpc
tag 18 contains a timestamp
(This used to be commit 5e90881a7c)
2007-12-21 05:43:58 +01:00
Ronnie Sahlberg
b5dc54883b r25773: update frsrpc.idl and add some more comments
(This used to be commit ae20e2b303)
2007-12-21 05:43:53 +01:00
Ronnie Sahlberg
cff24a34f4 r25772: rename the tail fields
(This used to be commit 992312ab95)
2007-12-21 05:43:52 +01:00
Ronnie Sahlberg
a16cb040dd r25771: In traces unknown7 has the same pattern as a UNIQUE pointer referral id
would often have.
Make a note that this may be a UNIQUE pointer.
(This used to be commit 2f2e99ea59)
2007-12-21 05:43:52 +01:00
Ronnie Sahlberg
9b46852326 r25770: rename "unknown5" to tlv_size
(This used to be commit d409ef1302)
2007-12-21 05:43:52 +01:00
Ronnie Sahlberg
2fccda3771 r25769: it looks like there are 9 uint32 before the TLV subcontext starts, not 6
(This used to be commit a88254ea6c)
2007-12-21 05:43:51 +01:00
Günther Deschner
cfd09eed40 r25731: Document winreg_NotifyChangeKeyValue's notify flags.
Guenther
(This used to be commit 4468b1cc49)
2007-12-21 05:43:32 +01:00
Günther Deschner
ade07a34d9 r25730: Fix IDL for incorrect winreg_SetKeySecurity.
Guenther
(This used to be commit 767867c3ee)
2007-12-21 05:43:31 +01:00
Günther Deschner
bd2bf8990a r25699: Add ForceReplication test.
Guenther
(This used to be commit 0bab602b8e)
2007-12-21 05:43:19 +01:00
Günther Deschner
e77a831319 r25696: Fix pipe name for dfs.
Guenther
(This used to be commit 7a04419489)
2007-12-21 05:43:18 +01:00
Günther Deschner
c7a1a4abfa r25675: More frsapi IDL.
Guenther
(This used to be commit 7ab033e839)
2007-12-21 05:43:09 +01:00
Günther Deschner
d026214c09 r25671: Add stub FRSAPI_FORCE_REPLICATION.
Guenther
(This used to be commit a7ebef8dd7)
2007-12-21 05:43:07 +01:00
Günther Deschner
5da21cd19b r25670: Add torture test for frsapi_IsPathReplicated().
Guenther
(This used to be commit e7fc3c1da9)
2007-12-21 05:43:07 +01:00
Günther Deschner
8071c56ac2 r25667: Start on frsapi testsuite.
Guenther
(This used to be commit ebcbdb5fbd)
2007-12-21 05:43:06 +01:00
Günther Deschner
5e6372460c r25666: Add frsapi_IsPathReplicated IDL.
Guenther
(This used to be commit d8fe7652bd)
2007-12-21 05:43:05 +01:00
Günther Deschner
f1f746875c r25664: Use [out] pointers in frsapi idl.
Guenther
(This used to be commit 2114103aed)
2007-12-21 05:43:04 +01:00
Günther Deschner
c6dd81a15c r25663: Add frsapi_SetDsPollingIntervalW and frsapi_GetDsPollingIntervalW idl.
Guenther
(This used to be commit 109e05b511)
2007-12-21 05:43:04 +01:00
Günther Deschner
256b839ecc r25662: While watching traces, learned the frsapi_InfoEnum enum types.
Guenther
(This used to be commit 5922a12286)
2007-12-21 05:43:04 +01:00
Günther Deschner
21a7a9639c r25594: Merge from 3_2:
"Add missing security_secinfo bits as seen while managing security descriptor
inheritance with regedit."

Guenther
(This used to be commit 1c1811c5e3)
2007-10-10 15:08:01 -05:00
Stefan Metzmacher
9e59dc7031 r25433: - dcerpc_AuthType is a 8bit enum not 32bit
- also add dcerpc_AuthLevel enum

metze
(This used to be commit efb2416939)
2007-10-10 15:07:32 -05:00
Ronnie Sahlberg
19e417aefd r25374: create an enum for the authentication types instead of defining them as
constants
(This used to be commit 0c3d38b0d9)
2007-10-10 15:07:21 -05:00
Ronnie Sahlberg
ca8f2fbe2e r25373: add three more authentication types
(This used to be commit 9c38c61c33)
2007-10-10 15:07:20 -05:00
Jelmer Vernooij
9b009c9009 r25301: Merge my includes.h cleanups.
(This used to be commit 37425495f3)
2007-10-10 15:07:09 -05:00
Andrew Bartlett
08c97435d3 r25194: A major rework of the Samba4 LSA LookupNames and LookupSids code, with
a new torture suite to match.

This should fix bug #4954 by Matthias Wallnöfer <mwallnoefer@yahoo.de>

Previously we had no knowlege of BUILTIN or well-known names.

This code needs expansion to check with winbind for trusted domains.

Andrew Bartlett
(This used to be commit e6fc0e1f54)
2007-10-10 15:06:51 -05:00
Jelmer Vernooij
8d182d881d r24816: Move the rest of the contents of core.h to more appropriate places.
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
(This used to be commit 6890a01dbf)
2007-10-10 15:03:15 -05:00
Ronnie Sahlberg
b867b3c147 r24779: add 11 specific access rights that applies to accessmasks for User
objects on the samr pipe.

8 of these bits :
  get name etc
  get locale
  get loc com
  set attributes
  change password
  set password
  get groups
comes from wireshark/ethereal where they were added Aug 21 2002

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054

3 bits :
  get attributes
  get group membership
  change group membership
also come from wireshark/ethereal where they were added Jul 24 2003

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=8022&r2=8080
(This used to be commit 1c2729228a)
2007-10-10 15:03:09 -05:00
Ronnie Sahlberg
0193c58114 r24777: add 11 specific access rights to the access mask for
domains on the samr pipe

10 of these bits :
  lookup info 1
  set info 1
  lookup info 2
  set info 2
  create user
  create group
  create alias
  enum account
  open account
  set info 3
come from wireshark/ethereal and were added to wireshark in Aug 21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054

one bit
  lookup alias
also comes from wireshark where it was added in wireshark in Feb 21 2003

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=7173&r2=7178
(This used to be commit 4b2c8e2865)
2007-10-10 15:03:09 -05:00
Ronnie Sahlberg
6fa7bed854 r24775: add 5 specific access right bits for the accessmask that refers
to Groups on the samr pipe

the five bits
  lookup info
  set info
  add member
  remove member
  get members
comes from the wireshark/ethereal sources where they were added in Aug
21 2002

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
(This used to be commit 1f00ac5dbe)
2007-10-10 15:03:09 -05:00
Ronnie Sahlberg
bf3b40dc14 r24774: add 5 specific access mask bits for policy handles created for aliases
these five access mask bits :
   add member
   remove members
   get members
   lookup info
   set info
come from wireshark/ethereal  where they were added to cvs in Aug 21  2002

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
(This used to be commit e39556ba4c)
2007-10-10 15:03:08 -05:00
Ronnie Sahlberg
c96657e751 r24772: add a bitmap that describes 6 of the specific accessmask bits for
policy handles that are create by Connect?() calls on the samr pipe.

these bits come from the wireshark/ethereal sources where they have
been documented for a long time.

the bits :
  connect to server
  initialize server
  create domain
were added to wireshark/ethereal in svn 8080   Jul 24 2003

the bits :
  open domain
  enum domain
  shutdown server
were added to wireshark/ethereal in svn 6054 Aug 21 2002
(This used to be commit 04e67bb680)
2007-10-10 15:03:08 -05:00
Jelmer Vernooij
18302e7030 r24751: Run more tests, remove empty testsuites, more small improvements.
(This used to be commit 2a5a0819ee)
2007-10-10 15:03:02 -05:00
Stefan Metzmacher
ce84ab9a83 r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_id
and move it into misc.idl

The goal is to get rid a all dcerpc specific stuff in the
generated ndr layer.

metze
(This used to be commit 2ed014cfb8)
2007-10-10 15:02:11 -05:00
Stefan Metzmacher
2d531c84e8 r24449: length_is() isn't supported without size_is().
I assume what we need is an array of strings,
so the code isn't used and broken anyway without
a testsuite...just get rid of the pidl warning

metze
(This used to be commit 46fadeb698)
2007-10-10 15:01:52 -05:00
Stefan Metzmacher
7f44bb5ae3 r24448: merge formating fixes SAMBA_3_2
metze
(This used to be commit f6ae9574b2)
2007-10-10 15:01:52 -05:00
Andrew Bartlett
fc9471c4df r24118: Start fixing #4842 (usrmgr polcies menu not working) by removing range
restriction on the maximum returned size.  There isn't a good reason
to have a limit on this one.

Andrew Bartlett
(This used to be commit 9a8315019e)
2007-10-10 15:01:27 -05:00
Andrew Bartlett
008b840760 r24080: Set the primary group (matching windows) when creating new users in
SAMR.  This can't be done in the ldb templates code, as it doesn't
happen over direct LDAP.

As noted in bug #4829.

Andrew Bartlett
(This used to be commit 3bfa6dbf7d)
2007-10-10 15:01:23 -05:00
Andrew Bartlett
32d55960b5 r24052: Fix some of the NT4 usrmgr.exe portions of bug 4815.
- The icons in usermgr were incorrect, because the acct_flags were
   not filled in (due to missing attribute in ldb query)

 - The Full name was missing, and the description used as the full
   name (due to missing attributes in ldb query and incorrect IDL)

To prove the correctness of these fixes, I added a substantial new
test to RPC-SAMR-USERS, to ensure cross-consistancy between
QueryDisplayInfo and QueryUserInfo on each user.

This showed that for some reason, we must add ACB_NORMAL to the
acct_flags on level 2 queries (for machine trust accounts)...

Getting this right is important, because Samba3's RPC winbind methods
uses these queries.

Andrew Bartlett
(This used to be commit 9475d94a61)
2007-10-10 15:01:19 -05:00
Jim McDonough
698093b028 r23643: Fix the build farm tests. We were incorrectly passing the
RPC-SAMBA3-GETUSERNAME tests before the previous password expiration
fixes, because if you create a user and only set the password
administratrively, the "last set time" should not get updated.  Needed
to add some more of the fields_present flags to do this.
(This used to be commit ce5637de22)
2007-10-10 14:53:30 -05:00
Günther Deschner
aa860b259e r23630: Found out what LSA_LOOKUP_NAMES level 5 means:
only query transitive forest trusts.

Guenther
(This used to be commit 71e5e1109c)
2007-10-10 14:53:28 -05:00
Günther Deschner
ff4c92ace2 r23629: Document lsa lookupname lookuplevels Volker discovered a while ago.
Guenther
(This used to be commit 7c6297027d)
2007-10-10 14:53:28 -05:00
Stefan Metzmacher
252984426e r23418: 'S' is 0x53...
metze
(This used to be commit a7be681077)
2007-10-10 14:53:16 -05:00
Günther Deschner
e4710c9dcf r23384: Fill in NETLOGON netr_DsRGetForestTrustInformation().
Guenther
(This used to be commit 82477b311e)
2007-10-10 14:53:14 -05:00
Günther Deschner
580b49471f r23382: Fill in lsa_lsaRQueryForestTrustInformation.
Guenther
(This used to be commit 54fa6d453c)
2007-10-10 14:53:13 -05:00
Günther Deschner
eb9ae52981 r23381: Merge netr_GetDcName WERROR return and WERROR_DOMAIN_CONTROLLER_NOT_FOUND from
SAMBA_3_0.

Guenther
(This used to be commit 841ad140a3)
2007-10-10 14:53:13 -05:00
Günther Deschner
adf23c651b r23240: Fill in netr_DsrGetDcSiteCoverageW.
Guenther
(This used to be commit 9c2b964233)
2007-10-10 14:53:06 -05:00
Günther Deschner
4d1a21f24d r23239: Fill in drsuapi_QuerySitesByCost.
Guenther
(This used to be commit cf953d0481)
2007-10-10 14:53:06 -05:00
Günther Deschner
d875b7d620 r23129: Merge from 3_0:
* netr_DsRGetDCName_flags, netr_DsRGetDCNameInfo_AddressType and netr_DsR_DcFlags
* the mask in netr_DsRGetDCNameEx2 turns out to be samr_AcctFlags

Guenther
(This used to be commit 9cdd6d9782)
2007-10-10 14:52:52 -05:00
Stefan Metzmacher
2c78837e34 r22619: fix pidl warnings
metze
(This used to be commit 4105e3db31)
2007-10-10 14:51:53 -05:00
Andrew Bartlett
fcdb99f7ce r22582: Cleanups towards making winbind work again. We still have a long way to go, as this has bitrotted over the past months.
This change in particular catches winbind up with the next
composite_create() function.

We also needed to remove an unused flags field, and fill in the lm
response.

Andrew Bartlett
(This used to be commit bd26e4ffaf)
2007-10-10 14:51:47 -05:00
Jelmer Vernooij
a60ab76694 r22339: Run some more tests.
(This used to be commit 1b73e6a776)
2007-10-10 14:51:06 -05:00
Stefan Metzmacher
ffcf96b46d r21928: fix the interface uuid of wzcsvc.
see http://www.hsc.fr/ressources/articles/win_net_srv/msrpc_wzcsvc.html
and http://www.hsc.fr/ressources/articles/win_net_srv/msrpc_scheduler.html

thanks to jbm for the report!

metze
(This used to be commit 8bc1316741)
2007-10-10 14:49:38 -05:00
Stefan Metzmacher
d0f989628a r21817: give fields a meaning
metze
(This used to be commit 521355b57b)
2007-10-10 14:49:31 -05:00
Andrew Bartlett
b6b98f6300 r21805: Add PAC_TYPE_CONSTRAINED_DELEGATION to the PAC_TYPE enum.
(This used to be commit 6fb3b4be10)
2007-10-10 14:49:29 -05:00
Stefan Metzmacher
3e697d5110 r21773: fix typo orginating -> originating
and use the struct member names in all cases

metze
(This used to be commit c543ee5745)
2007-10-10 14:49:24 -05:00
Jelmer Vernooij
9ca1a3c186 r21662: More samr tests
(This used to be commit 2eae55819e)
2007-10-10 14:49:06 -05:00
Jelmer Vernooij
648fe6610e r21660: Add another test
(This used to be commit 0b1e793ed5)
2007-10-10 14:49:06 -05:00
Stefan Metzmacher
9c9ec64518 r21595: add a constant and some comments
metze
(This used to be commit b8af925da9)
2007-10-10 14:49:03 -05:00
Jelmer Vernooij
5ba8169109 r21584: Support for tagged types has landed!
It's now possible to use "struct foo" without a typedef in IDL files.

echo_info4 is the first type that's been converted.
(This used to be commit 3ac68e858d)
2007-10-10 14:49:00 -05:00
Stefan Metzmacher
1b17d9a587 r21515: add some more PFC_FLAGS from the DCERPC spec, and fix some names
also make it possible to pass and get the assoc_group_id for
a pipe.

also make it possible to pass the DCERPC_PFC_FLAG_CONC_MPX flag
in bind requests. From the spec it triggers support for
concurrent multiplexing on a single connection.

w2k3 uses the assoc_group_id feature when it becomes a domain controller
of an existing domain. Know the ugly part, with this it's possible to
use a policy handle from one connection on a different one...

typically the DsBind() call is on the 1st connection while DsGetNCChanges()
call using the first connections bind handle are on the 2nd connection.

The second connection also has the DCERPC_PFC_FLAG_CONC_MPX flag attached,
but that doesn't seem to be related to the cross connection handle usage

Can anyone think of a nice way to implement the assoc_group_id stuff in our server?

metze
(This used to be commit 2d8c85397d)
2007-10-10 14:48:48 -05:00
Jelmer Vernooij
19afd52444 r21489: Remove accidently committed test idl.
(This used to be commit 268915961d)
2007-10-10 14:48:43 -05:00
Jelmer Vernooij
a074602362 r21487: Fix warning when using anonymous types, initial work on nested type support in ejs.
(This used to be commit a396c5de12)
2007-10-10 14:48:42 -05:00
Jelmer Vernooij
9f420a6c6d r21477: Remove unnecessary properties.
(This used to be commit 17d1da1947)
2007-10-10 14:48:41 -05:00
Stefan Metzmacher
c005b91adb r21464: add parsing code for the Primary:WDigest blob
the hashes are

MD5("user:realm:password") which a lot of user and realm combinations

see:
http://fresh.t-systems-sfr.com/unix/src/www/httpauth-0.6.tar.gz:a/httpauth-0.6/tools/mkha1.c

metze
(This used to be commit f764941af6)
2007-10-10 14:48:39 -05:00
Stefan Metzmacher
ad7e7249b6 r21441: create a union for the PrimaryKerberosBlob content
so that ndr_pull will fail if version isn't 3 and we notice
if the format changes...

metze
(This used to be commit 91f7a094cf)
2007-10-10 14:48:35 -05:00
Jelmer Vernooij
0515f728e6 r21433: Get rid of the COM support code - it's not used and unmaintained. We can
always bring it back if we need to. This code was getting in the way while
refactoring.

Add some tests for TDR.

Get rid of typedef in lib/registry/tdr_regf.idl and fix the
TDR code to be able to deal with it.
(This used to be commit 1ad0f99a43)
2007-10-10 14:48:33 -05:00
Jelmer Vernooij
069f0cc15b r21429: Fix the build.
(This used to be commit 88fbf9af24)
2007-10-10 14:48:32 -05:00
Jelmer Vernooij
ab975d9d7f r21426: Add more spoolss tests.
(This used to be commit 8b31fba826)
2007-10-10 14:48:31 -05:00
Jelmer Vernooij
3e208b3f80 r21425: Add ReplyClosePrinter.
(This used to be commit 745d0eae1a)
2007-10-10 14:48:31 -05:00
Jelmer Vernooij
2503fe2273 r21424: Add FindClosePrinterNotify.
(This used to be commit 0ed195f45f)
2007-10-10 14:48:31 -05:00
Jelmer Vernooij
4b3f75f3a7 r21422: Add IDL for EnumPrinterKey and RemoteFindNextPrinterChangeNotifyEx.
(This used to be commit 883df28d6e)
2007-10-10 14:48:30 -05:00
Jelmer Vernooij
34659685e1 r21415: Add tests for spoolss and drsuapi. Still need to add validators.
(This used to be commit 61cb52b65b)
2007-10-10 14:48:29 -05:00
Jelmer Vernooij
5d6ed2b367 r21414: Fill in IDL for ReplyOpenPrinter.
(This used to be commit 9e6d43c45c)
2007-10-10 14:48:28 -05:00
Stefan Metzmacher
4db8862f10 r21413: fix pushing of supplementalCredentials
metze
(This used to be commit 18a5bf850b)
2007-10-10 14:48:28 -05:00
Stefan Metzmacher
881743f091 r21407: auto set the len values
metze
(This used to be commit 307aabe025)
2007-10-10 14:48:27 -05:00
Stefan Metzmacher
0e173fa7b3 r21406: add idl for parsing the 'Packages' and 'Primary:CLEARTEXT' elements
of supplementalCredentials

metze
(This used to be commit b708d0729e)
2007-10-10 14:48:27 -05:00
Stefan Metzmacher
683eb22d3f r21404: packages just contain utf16 strings not guids:-)
metze
(This used to be commit 925f1f40cf)
2007-10-10 14:48:26 -05:00
Jelmer Vernooij
e586d112e2 r21403: Add netlogon tests.
(This used to be commit a620dc3594)
2007-10-10 14:48:26 -05:00
Stefan Metzmacher
613acb284f r21392: - decode the salt utf16 string into a unix string
- fix parsing of Primary:Kerberos blob

metze
(This used to be commit c6fa95ef22)
2007-10-10 14:48:25 -05:00
Jelmer Vernooij
b7a46675fb r21386: Run all NDR tests in the buildfarm, import some functions from Samba3's IDL.
(This used to be commit 15a4b81ba0)
2007-10-10 14:48:24 -05:00
Jelmer Vernooij
f86444b516 r21381: dfs tests.
(This used to be commit 3ef8a6834d)
2007-10-10 14:48:24 -05:00
Stefan Metzmacher
f2d9c313c6 r21380: add idl for parsing the Primary:Kerberos blobs
inside the supplementalCredentials attribute

w2k uses keys1 and keys2 where both seem identical
w2k3 only uses keys1 and num_keys2 = 0

the Salt is only stored once for all keys

the following keys are stored:
ENTYPE_DES_CBC_MD5 = 3
ENTYPE_DES_CBC_CRC = 1

metze
(This used to be commit 03d7d05e4f)
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
3a93b655dd r21378: Add simple NDR epmap test.
(This used to be commit b29170c8ea)
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
f88c667e6a r21377: More tests.
(This used to be commit f3680ba118)
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
2ed0f61a62 r21376: More tests.
(This used to be commit 2e2b15e3d2)
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
612cfb84d9 r21375: More lsa tests.
(This used to be commit 88fa90778a)
2007-10-10 14:48:22 -05:00
Jelmer Vernooij
5f23c888af r21374: lsa tests
(This used to be commit bfc2a1c505)
2007-10-10 14:48:22 -05:00
Jelmer Vernooij
8bcad6b901 r21373: More tests.
(This used to be commit 83a47e30b5)
2007-10-10 14:48:22 -05:00
Jelmer Vernooij
a009659e46 r21372: Tests, more tests! Some are still commented out, because the code they test is broken at the moment.
(This used to be commit 8f039a25cd)
2007-10-10 14:48:21 -05:00
Jelmer Vernooij
bd7df755f3 r21350: Add more tests for the NDR layer of winreg. I actually discovered a pidl bug,
so there are still two tests commented out.
(This used to be commit b7f6ec5c1c)
2007-10-10 14:48:17 -05:00
Simo Sorce
d090fddd14 r21348: Fix the build.
(This used to be commit 4d52b42926)
2007-10-10 14:48:17 -05:00
Jelmer Vernooij
25a0c9146e r21347: All current tests in the testsuite mainly test the RPC code in general. Since
we're running the testsuite mainly against ourselves, we only check that the
push/pull functions work in our own environment, not whether they generate/parse
the same data that other systems do.

This commit adds the infrastructure for a testsuite for just the marshalling
code. The idea is that you provide a data blob, a function name and a function
to check the resulting struct for correctness.
(This used to be commit 9bd2421e44)
2007-10-10 14:48:17 -05:00
Jelmer Vernooij
be852780b4 r21343: Add access masks, pointed out by Ronnie Sahlberg.
(This used to be commit e8cdfd0a61)
2007-10-10 14:48:16 -05:00
Stefan Metzmacher
57b22d9df2 r21342: add parsing code for the trustAuthIncoming/trustAuthOutgoing attributes
not everything has a meaning yet, but it's a start and we know how to get
to the password in cleartext

metze
(This used to be commit 65641181f7)
2007-10-10 14:48:16 -05:00
Jelmer Vernooij
600c167e3b r21341: Improve QueryKeyInfo idl, pointed out by Ronnie Sahlberg.
(This used to be commit 736330d23b)
2007-10-10 14:48:16 -05:00