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

838 Commits

Author SHA1 Message Date
Günther Deschner
3263cd680f r24742: Add experimental DsGetDcName() call (will be used by krb5 locator for fine
grained KDC DNS queries).

Guenther
2007-10-10 12:30:16 -05:00
Volker Lendecke
fa385e9f3c r24167: Fix Coverity ID 365
We checked argc>=3 some lines above
2007-10-10 12:29:17 -05:00
Volker Lendecke
b876bca6bc r24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above. 2007-10-10 12:29:01 -05:00
Volker Lendecke
5eda562f2b r23883: Fix Coverity ID 380 2007-10-10 12:28:38 -05:00
Andrew Tridgell
b0132e94fc r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Günther Deschner
dee99e4045 r23628: Add LSA lookupnames_level to rpcclient.
Guenther
2007-10-10 12:23:38 -05:00
Günther Deschner
e9a7512a9f r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
Guenther
2007-10-10 12:23:38 -05:00
Günther Deschner
bffe33dd26 r23623: Fix rpcclient and rpc_server with new DFS idl.
Guenther
2007-10-10 12:23:37 -05:00
Jeremy Allison
dc287adff2 r23555: Fix some uninitialiazed variable uses.
Jeremy
2007-10-10 12:23:28 -05:00
Günther Deschner
5e75ea7f2b r23380: netr_getdcname returns WERROR not NTSTATUS.
Guenther
2007-10-10 12:23:12 -05:00
Jeremy Allison
a2cf87f58a r23372: Remove restriction on string length for rpcclient commands.
Jeremy.
2007-10-10 12:23:11 -05:00
Gerald Carter
7aa1f89eb3 r23249: another sync from 3.0.26 for the echo work to rpcclient 2007-10-10 12:22:59 -05:00
Volker Lendecke
eccd50abda r23219: Two warnings 2007-10-10 12:22:54 -05:00
Günther Deschner
def6464c87 r23210: Very funny, we thought to use netr_GetDcName (e.g. in winbind) but were using
netr_GetDcAnyName all the time (which is the correct thing to do).

Fix the naming and opcode mixup in all branches.

Guenther
2007-10-10 12:22:54 -05:00
Günther Deschner
37ae7f4197 r23127: Fill in some more netlogon dsgetdcname flavours (netr_DsRGetDCNameEx,
netr_DsRGetDCNameEx2) and add new ds request and reply flags, also add some
more WERROR codes.

Guenther
2007-10-10 12:22:48 -05:00
Jeremy Allison
8968808c3b r22589: Make TALLOC_ARRAY consistent across all uses.
Jeremy.
2007-10-10 12:19:49 -05:00
Jeremy Allison
8ad13718af r22588: Make all uses of TALLOC_MEMDUP consistent.
Jeremy.
2007-10-10 12:19:48 -05:00
Michael Adam
9775de56b8 r22489: Add a deletedomgroup command to rpcclient (samr).
Corresponding to deletedomuser.

Michael
2007-10-10 12:19:38 -05:00
Jeremy Allison
0c8949ff5d r22062: Fix the parsing of info level 3. Flags is not a flags
field, but an offset. Fixed 64-bit display of ACLs on
printers.
Jeremy.
2007-10-10 12:19:07 -05:00
Jeremy Allison
df07a662e3 r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).
Patch from Zack Kirsch <zack.kirsch@isilon.com>.
Jeremy.
2007-10-10 12:18:16 -05:00
Günther Deschner
bc77622134 r21320: Display query_user info level 16 in rpcclient.
Guenther
2007-10-10 12:17:56 -05:00
Jeremy Allison
7f1aee96a0 r21259: Fix coverity bug id #340. No way to process
logon parameter as the code was written.
Jeremy.
2007-10-10 12:17:52 -05:00
Günther Deschner
4036cb5169 r21117: Add rpccli_samr_chgpasswd_user to rpcclient for testing.
Guenther
2007-10-10 12:17:40 -05:00
Günther Deschner
5d4747fdf2 r20970: Allow to define workstation for samlogon in rpcclient (for testing).
Guenther
2007-10-10 12:17:22 -05:00
Jelmer Vernooij
d948d828d5 r20839: Fix other C++ warnings 2007-10-10 12:17:11 -05:00
Jelmer Vernooij
580f2a7197 r20832: Remove extra pointers previously added to unique [out] pointers. Instead,
add [ref] pointers where necessary (top-level [ref] pointers,
by spec, don't appear on the wire).

This brings us closer to the DCE/RPC standard again.
2007-10-10 12:17:11 -05:00
Jeremy Allison
0ffca7559e r20090: Fix a class of bugs found by James Peach. Ensure
we never mix malloc and talloc'ed contexts in the
add_XX_to_array() and add_XX_to_array_unique()
calls. Ensure that these calls always return
False on out of memory, True otherwise and always
check them. Ensure that the relevent parts of
the conn struct and the nt_user_tokens are
TALLOC_DESTROYED not SAFE_FREE'd.
James - this should fix your crash bug in both
branches.
Jeremy.
2007-10-10 12:16:24 -05:00
Volker Lendecke
fea52801de r19991: Sorry for this 2000-liner...
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality
has moved to registry/reg_api.c which is then usable by the rest of Samba as
well.

On that way it fixes creating keys with more than one element in the
path. This did not work before.

Two things that sneaked in (sorry :-) is the change of some routines from
NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal.

Volker
2007-10-10 12:16:18 -05:00
Jelmer Vernooij
b7f22408e9 r19849: Fix compilation after idl changes. 2007-10-10 12:16:02 -05:00
Volker Lendecke
6793301751 r19811: Decode REG_MULTI_SZ and REG_BINARY 2007-10-10 12:15:57 -05:00
Volker Lendecke
bc4e0a388a r19797: Convert the remaining pipes to the "new" unique out ptr handling 2007-10-10 12:15:56 -05:00
Volker Lendecke
2efd3b3509 r19794: Convert DFS 2007-10-10 12:15:56 -05:00
Volker Lendecke
95c14a822c r19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)

Nevertheless, Jelmer & Jerry, please take a look!

Thanks,

Volker
2007-10-10 12:15:55 -05:00
Volker Lendecke
0eb5a0f7b8 r19487: Fix coverity # 313 2007-10-10 12:15:39 -05:00
Volker Lendecke
88ac17db19 r19451: Another cleanup of 18802. Referring to structures after the block has been
left is not a good idea.

Volker
2007-10-10 12:15:36 -05:00
Günther Deschner
27c35848eb r19355: Add getdispenumindex2 wrapper for rpcclient.
Guenther
2007-10-10 12:15:31 -05:00
Günther Deschner
fb21c9c58b r19354: adjust usage printf for rpcclient's timeout command.
Guenther
2007-10-10 12:15:31 -05:00
Günther Deschner
4106a56d3f r19353: Add "timeout" command for rpcclient.
Guenther
2007-10-10 12:15:30 -05:00
Günther Deschner
37dd019e21 r19340: Wait longer then 10 seconds for a samr_query_groupmem lookup to succeed.
Guenther
2007-10-10 12:15:29 -05:00
Günther Deschner
6091c8152a r19161: Add NET_GETANYDCNAME (getdcname only gives the PDC while getanydcname
gives just any DC), also make sure to set timeouts in rpcclient
accordingly so that we actually get the DC's reply.

Guenther
2007-10-10 12:15:18 -05:00
Günther Deschner
44e228ac79 r19143: getdcname on the NETLOGON pipe returns WERROR, not NTSTATUS.
Guenther
2007-10-10 12:15:16 -05:00
Volker Lendecke
4a5d11e194 r19013: Fix some 64-bit warnings.
Jelmer, Jerry, in cmd_unixinfo.c:159 there is still the warning that "info" is
being used uninitialized which I don't really know how to fix.

Any hints?

Volker
2007-10-10 12:15:02 -05:00
Günther Deschner
1f09e54fec r18935: Make "netshareenum" work again. There is most probably a better way to
do this... Any pointers?

Guenther
2007-10-10 12:14:48 -05:00
Volker Lendecke
ecac9b5959 r18874: Fix some NTSTATUS/WERROR mixups 2007-10-10 12:14:40 -05:00
Andrew Tridgell
8438a6a7d4 r18865: fixed some of the most obvious NTSTATUS/WERROR mixups in Samba3. It
still doesn't compile with immediate structures and the
NTSTATUS/WERROR separation, as there are still several places where
the two error types are mixed up. I haven't fixed those as they
require decisions about the rpcclient code that I really don't want to
get into (the error handling there is a mess)

So samba3 compiles now, but only becaise HAVE_IMMEDIATE_STRUCTURES is
not used (look for HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED)
2007-10-10 12:01:06 -05:00
Jelmer Vernooij
ef10672399 r18802: Use the pidl-generated code for the srvsvc interface, both client and server code.
This has had some basic testing. I'll do more during the next couple of days and hopefully also
make RPC-SRVSVC from Samba4 pass against it.
2007-10-10 12:00:59 -05:00
Gerald Carter
50d74ce048 r18747: replace rpccli_lsa_close() with rpccli_lsa_Close() 2007-10-10 12:00:54 -05:00
Jelmer Vernooij
b41c52b9db r18745: Use the Samba4 data structures for security descriptors and security descriptor
buffers.

Make security access masks simply a uint32 rather than a structure
with a uint32 in it.
2007-10-10 12:00:54 -05:00
Günther Deschner
fccaff3713 r18732: Fix build warning as pointed out by Volker.
Guenther
2007-10-10 12:00:53 -05:00