1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

1490 Commits

Author SHA1 Message Date
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
Günther Deschner
386f72bcfd r18736: Fill in the dfs_PropertyFlags (verified with dfsutil.exe).
Guenther
(This used to be commit f402f9898819a50886213e921f1136db40142ed6)
2007-10-10 14:19:05 -05:00
Günther Deschner
ba87f3ee68 r18735: Fill in dfs_StorageState.
Guenther
(This used to be commit 4b767d6eefe66e742980cbad3f5bbbf941556820)
2007-10-10 14:19:05 -05:00
Günther Deschner
218a4ca176 r18734: Add flag to distinguish a standalone from a domain based DFS root.
Guenther
(This used to be commit 5d9941acdbce2cab63dbd09d3fff84ac8edb20c3)
2007-10-10 14:19:05 -05:00
Günther Deschner
9ee940e877 r18733: More work on DFS idl. Start to add new infolevels (as of w2k3 sp1).
Guenther
(This used to be commit d4e5d80c1d52b5bb2ebbf18c217032d61095aa00)
2007-10-10 14:19:04 -05:00
Andrew Tridgell
f4c49e8ef2 r18716: put in a commented out useful hack for some RPC servers
(This used to be commit fcf6d827199eac83fa424f2eb87a72ed8463e150)
2007-10-10 14:19:04 -05:00
Simo Sorce
2f98c1916d r18676: Don't mix ShareInfo and ShareCtr definitions,
this makes a much more readable include file
(This used to be commit e3b157af9f870c4c2423095c5ccb1bbcaf3faa61)
2007-10-10 14:19:01 -05:00
Jelmer Vernooij
cd9057a0bb r18639: Get rid of the keepref support
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
2007-10-10 14:18:59 -05:00
Günther Deschner
8153859fb4 r18636: Excessive testing with pam_winbind within Samba3 revealed a new samr
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)
2007-10-10 14:18:59 -05:00
Günther Deschner
d8df6d1a81 r18635: Make sure to display samr_GroupAttrs in samr_DispInfo for groups instead
of interpreting them as samr_AcctFlags.

Guenther
(This used to be commit ed02c1afc82391f5aeb7caa9a6cd942b1b95e630)
2007-10-10 14:18:59 -05:00
Jelmer Vernooij
219490ea6e r18634: Turn flags field into a bitmap.
(This used to be commit add8a8f6cf2335efbbbe8e77d8ea76e81449b2d6)
2007-10-10 14:18:58 -05:00
Günther Deschner
c8f51bced0 r18630: Better way to display ref-pointers with [print]. Thanks to metze for
pointing this out.

Guenther
(This used to be commit 246ab597057325611b5e53e6240ee8cabd3b6df7)
2007-10-10 14:18:58 -05:00
Günther Deschner
248768d0ad r18629: There is no such "unknown" pointer in dfs_Enum().
Guenther
(This used to be commit c5b49d111eec8acde1a8681c56d14d5d1316798b)
2007-10-10 14:18:58 -05:00
Günther Deschner
43a3eaaf4c r18628: dfs_EnumEx() also takes a ref pointer.
Guenther
(This used to be commit 69e2850caffb089e8c23d773a688319d239f470f)
2007-10-10 14:18:57 -05:00
Günther Deschner
49e073694c r18627: only cosmetic reformat, no functional changes.
Guenther
(This used to be commit fe90f29b86fb0240337ea8b549cd6f2f7f2eb5ca)
2007-10-10 14:18:57 -05:00
Günther Deschner
afa7c10fe8 r18625: dfs_GetManagerVersion() returns a version number, not just an exist
flag.

Guenther
(This used to be commit 3e42ccc6096198458f66841f91234f670ceb59c4)
2007-10-10 14:18:57 -05:00
Günther Deschner
18dcabaae0 r18624: path is a ref pointer in dfs_GetInfo().
torture test to follow.

Guenther
(This used to be commit bfaeef756316852fbaa4a2bbc31b190b8b05c89f)
2007-10-10 14:18:57 -05:00
Andrew Tridgell
e7b9aeb883 r18599: the netr_CryptPassword structure needs to use a uint8, as the data is
passed to acrfour, and that assumes a byte buffer. This caused us to
fail big endian boxes (or more specifically, to be incompatible with
little endian boxes)
(This used to be commit a44f2eda1eeb134292111dd857f0f65e4bf96399)
2007-10-10 14:18:54 -05:00
Andrew Tridgell
818b01f177 r18574: re-enable the echo pipe in smbscript. I suspect disabling this was an
accidental part of commit in the recent echo.idl changes (in r18565)
(This used to be commit 5e143267d7ae18536f1a1be8966dc5e783ea867e)
2007-10-10 14:18:49 -05:00
Andrew Tridgell
6adb5717f5 r18566: fixed the winreg pipe and winreg tests
Jerry, there is a big difference on the wire between these two:

  [out] uint32 x;
and
  [out] uint32 *x;

if you change from

  [out] uint32 x;

then you need to change to:

  [out,ref] uint32 *x;

otherwise it changes the format on the wire, which means we are no
longer compatible with MS servers.

but be aware that even if you change to a ref ptr, you also need to
change all the client code to set all the return variables in the out
part of the structure. That's why I don't like the MIDL restriction of
forcing the use of ref pointers for output variables - it makes life
much harder when writing client code, and makes the code much more
error prone (just look at all the extra code needed to make this work
again).

I know we could auto-allocate these variables in the generated client
side NDR code, but if we did that then we would have no way of doing a
_real_ ref out pointer, which we really wanted to set to some already
allocated variable.

So please hold off on changing our idl to use the MIDL convention for
output variables until Jelmer and I have had a good "chat" about this :-)
(This used to be commit 555aed43ba3c08360ca7fa921622b80732a7f657)
2007-10-10 14:18:47 -05:00
Jelmer Vernooij
d9b4bdd5bb r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatible
(This used to be commit ab0a798c57564901f0adcd8aedc1ef0928e79edd)
2007-10-10 14:18:47 -05:00
Gerald Carter
dce0c9e4fd r18561: Fix [out] pointers in winreg IDL
(This used to be commit 694677dafefdd94fa0a9bed93efab70c528dcb26)
2007-10-10 14:18:46 -05:00
Jelmer Vernooij
df08af8418 r18523: Allow [out] on arrays as well as pointers, use in unixinfo.
(This used to be commit f67b4d58acd2c3746e5ffeffa804e888ca3c49a5)
2007-10-10 14:18:42 -05:00
Jelmer Vernooij
fb211b52fe r18468: Add IDL for dfs_EnumEx. Still lacks test(s)
(This used to be commit 79b6001f919d398e52ceec29f5ebe6f0018e5660)
2007-10-10 14:18:34 -05:00
Stefan Metzmacher
fc84f0d3ca r18391: - match the samba3 protocol for UNIXINFO
- add a test for GidToSid

metze
(This used to be commit fb92643a8b64428e8259bc21fe04f876b24bfd84)
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
13a062a41e r18384: this is a ref pointer like in samba3 and for the Gid version
metze
(This used to be commit 5d2100a6daa645e54df30986e1c4e0e8c0d4158d)
2007-10-10 14:18:22 -05:00
Andrew Tridgell
208bc04362 r18375: Volker noticed that this is in fact an 8bit number - well spotted!
(This used to be commit 3f80b6b87bf4a3ae3a2fce51764ed70bcf0ea497)
2007-10-10 14:18:21 -05:00
Simo Sorce
8f107700a5 r18344: add a test to show hoe NetNameValidate behaves.
fix the misleading idl names
(This used to be commit 8367b3bcee9338fa3e268b7342ae8db928008b55)
2007-10-10 14:18:13 -05:00
Simo Sorce
c74d5b9204 r18318: Implement DiskEnum
Fix spelling and consistencies issues in idl
(This used to be commit 1347c971ac4dd62e6e6643293d48917ac065d19c)
2007-10-10 14:18:08 -05:00
Simo Sorce
92689d1805 r18315: Implement netSrvGetInfo level 102
fix names to be consistent between level 101 and 102 and typo in idl
(This used to be commit 1962fb92d706962544c293770718294e595f9fc4)
2007-10-10 14:18:07 -05:00
Andrew Tridgell
30ee8beb93 r18301: I discovered how to load the warnings from a build farm build into
emacs compile mode (hint, paste to a file, and compile as "cat
filename").

This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
(This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
2007-10-10 14:18:04 -05:00
Gerald Carter
ef54074392 r18238: add SID_NAME_COMPUTER to the enum lsa_SidType type
(This used to be commit ced2f9599446520229566e25a783101b19c64177)
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
af7886614a r18212: Use bitmap for access mask. Patch by Ronnie Sahlberg.
(This used to be commit d03aaecdcd62ecf2910f0d0570184a0c42874574)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
5d3fd81018 r17993: as metze pointed out, the composite_error() already calls the async
handler, so don't call composite_done()
(This used to be commit d70ec77b00e542cc4b8c2bd7d27fe5940623abc5)
2007-10-10 14:17:02 -05:00
Andrew Tridgell
e7717f615a r17990: added timeout checking on dcerpc connection establishment. This should
fix the problem on some build farm hosts where we were waiting forever
for a connection to DRSUAPI to be made, so the next test will start.

Next is to try and work out why the connection is timing out on some
hosts. That is probably a server bug, but at least with this change we
can see it.
(This used to be commit 45fccc6d229168058a2a02fe5fe6f0bc259d6afe)
2007-10-10 14:17:02 -05:00