1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00
Commit Graph

1483 Commits

Author SHA1 Message Date
Günther Deschner
8e19284fbd r18843: Got DFS_MANAGER_VERSION_NT4 wrong.
Guenther
2007-10-10 14:20:15 -05:00
Günther Deschner
91d4fc25c5 r18815: Fill in IDL for domain based DFS root functions (dfs_AddFtRoot,
dfs_RemoveFtRoot and dfs_FlushFtTable).

Guenther
2007-10-10 14:19:13 -05:00
Günther Deschner
3e0e9506b6 r18776: Fill in and test dfs_ManagerInitialize().
Guenther
2007-10-10 14:19:10 -05:00
Jelmer Vernooij
ac6c925f64 r18768: Fix some warnings. 2007-10-10 14:19:09 -05:00
Günther Deschner
56d16c10ef r18765: Fill in dfs_SetInfo() IDL and align function arguments with the names
found in the documentation.

Guenther
2007-10-10 14:19:09 -05:00
Günther Deschner
a8a6d7b649 r18762: Fillin standalone DFS root functions IDL.
Guenther
2007-10-10 14:19:08 -05:00
Günther Deschner
34cff06e25 r18746: Fix the build.
Guenther
2007-10-10 14:19:06 -05:00
Günther Deschner
152fcddebc 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
2007-10-10 14:19:05 -05:00
Günther Deschner
d2805754a2 r18737: Fill in the documented dfs_Target_PriorityClass.
Guenther
2007-10-10 14:19:05 -05:00
Günther Deschner
f402f98988 r18736: Fill in the dfs_PropertyFlags (verified with dfsutil.exe).
Guenther
2007-10-10 14:19:05 -05:00
Günther Deschner
4b767d6eef r18735: Fill in dfs_StorageState.
Guenther
2007-10-10 14:19:05 -05:00
Günther Deschner
5d9941acdb r18734: Add flag to distinguish a standalone from a domain based DFS root.
Guenther
2007-10-10 14:19:05 -05:00
Günther Deschner
d4e5d80c1d r18733: More work on DFS idl. Start to add new infolevels (as of w2k3 sp1).
Guenther
2007-10-10 14:19:04 -05:00
Andrew Tridgell
fcf6d82719 r18716: put in a commented out useful hack for some RPC servers 2007-10-10 14:19:04 -05:00
Simo Sorce
e3b157af9f r18676: Don't mix ShareInfo and ShareCtr definitions,
this makes a much more readable include file
2007-10-10 14:19:01 -05:00
Jelmer Vernooij
d1364ef0cd r18639: Get rid of the keepref support 2007-10-10 14:18:59 -05:00
Günther Deschner
7513748208 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
2007-10-10 14:18:59 -05:00
Günther Deschner
ed02c1afc8 r18635: Make sure to display samr_GroupAttrs in samr_DispInfo for groups instead
of interpreting them as samr_AcctFlags.

Guenther
2007-10-10 14:18:59 -05:00
Jelmer Vernooij
add8a8f6cf r18634: Turn flags field into a bitmap. 2007-10-10 14:18:58 -05:00
Günther Deschner
246ab59705 r18630: Better way to display ref-pointers with [print]. Thanks to metze for
pointing this out.

Guenther
2007-10-10 14:18:58 -05:00
Günther Deschner
c5b49d111e r18629: There is no such "unknown" pointer in dfs_Enum().
Guenther
2007-10-10 14:18:58 -05:00
Günther Deschner
69e2850caf r18628: dfs_EnumEx() also takes a ref pointer.
Guenther
2007-10-10 14:18:57 -05:00
Günther Deschner
fe90f29b86 r18627: only cosmetic reformat, no functional changes.
Guenther
2007-10-10 14:18:57 -05:00
Günther Deschner
3e42ccc609 r18625: dfs_GetManagerVersion() returns a version number, not just an exist
flag.

Guenther
2007-10-10 14:18:57 -05:00
Günther Deschner
bfaeef7563 r18624: path is a ref pointer in dfs_GetInfo().
torture test to follow.

Guenther
2007-10-10 14:18:57 -05:00
Andrew Tridgell
a44f2eda1e 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)
2007-10-10 14:18:54 -05:00
Andrew Tridgell
5e143267d7 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)
2007-10-10 14:18:49 -05:00
Andrew Tridgell
555aed43ba 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 :-)
2007-10-10 14:18:47 -05:00
Jelmer Vernooij
ab0a798c57 r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatible 2007-10-10 14:18:47 -05:00
Gerald Carter
694677dafe r18561: Fix [out] pointers in winreg IDL 2007-10-10 14:18:46 -05:00
Jelmer Vernooij
f67b4d58ac r18523: Allow [out] on arrays as well as pointers, use in unixinfo. 2007-10-10 14:18:42 -05:00
Jelmer Vernooij
79b6001f91 r18468: Add IDL for dfs_EnumEx. Still lacks test(s) 2007-10-10 14:18:34 -05:00
Stefan Metzmacher
fb92643a8b r18391: - match the samba3 protocol for UNIXINFO
- add a test for GidToSid

metze
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
5d2100a6da r18384: this is a ref pointer like in samba3 and for the Gid version
metze
2007-10-10 14:18:22 -05:00
Andrew Tridgell
3f80b6b87b r18375: Volker noticed that this is in fact an 8bit number - well spotted! 2007-10-10 14:18:21 -05:00
Simo Sorce
8367b3bcee r18344: add a test to show hoe NetNameValidate behaves.
fix the misleading idl names
2007-10-10 14:18:13 -05:00
Simo Sorce
1347c971ac r18318: Implement DiskEnum
Fix spelling and consistencies issues in idl
2007-10-10 14:18:08 -05:00
Simo Sorce
1962fb92d7 r18315: Implement netSrvGetInfo level 102
fix names to be consistent between level 101 and 102 and typo in idl
2007-10-10 14:18:07 -05:00
Andrew Tridgell
eba6c84eff 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.
2007-10-10 14:18:04 -05:00
Gerald Carter
ced2f95994 r18238: add SID_NAME_COMPUTER to the enum lsa_SidType type 2007-10-10 14:17:53 -05:00
Jelmer Vernooij
d03aaecdcd r18212: Use bitmap for access mask. Patch by Ronnie Sahlberg. 2007-10-10 14:17:50 -05:00
Andrew Tridgell
d70ec77b00 r17993: as metze pointed out, the composite_error() already calls the async
handler, so don't call composite_done()
2007-10-10 14:17:02 -05:00
Andrew Tridgell
45fccc6d22 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.
2007-10-10 14:17:02 -05:00
Andrew Bartlett
700e9c0ea4 r17987: Make the LSA pipe listen on the \pipe\netlogon interface.
Andrew Bartlett
2007-10-10 14:17:01 -05:00
Andrew Bartlett
3f3fa7f466 r17956: LSA Cleanup!
This commit cleans up a number of aspects of the LSA interface.

Firstly, we do 2 simple searches on opening the LSA policy, to obtain
the basic information we need.  This also avoids us searching for
dnsDomain (an invented attribute).

While I was at it, I added and tested new LSA calls, including the
enumTrustedDomainsEx call.  I have also merged the identical structures
lsa_DomainInformation and lsa_DomainList.

Also in this commit: Fix netlogon use of uninitialised variables.

Andrew Bartlett
2007-10-10 14:16:57 -05:00
Jelmer Vernooij
f7afa1cb77 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
7579503bb8 r17888: use talloc_*_ptrtype() macros as wrappers arround the talloc_*_size()
functions to get rid of c++ warnings

metze
2007-10-10 14:16:51 -05:00
Stefan Metzmacher
f0754332c9 r17570: add dummy functions for the frsrpc and frsapi interfaces
based on the wireshark information

metze
2007-10-10 14:15:38 -05:00
Andrew Bartlett
2a604480f8 r17523: FIXME is a macro (I think) on some platforms (AIX), and this caused pain.
Andrew Bartlett
2007-10-10 14:15:32 -05:00
Stefan Metzmacher
3e2d923e17 r17441: add some more attribute with credentials in them
metze
2007-10-10 14:15:25 -05:00