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

838 Commits

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

Guenther
(This used to be commit 3263cd680f)
2007-10-10 12:30:16 -05:00
Volker Lendecke
87165a81d9 r24167: Fix Coverity ID 365
We checked argc>=3 some lines above
(This used to be commit fa385e9f3c)
2007-10-10 12:29:17 -05:00
Volker Lendecke
d5ca533043 r24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above.
(This used to be commit b876bca6bc)
2007-10-10 12:29:01 -05:00
Volker Lendecke
7ba884db5d r23883: Fix Coverity ID 380
(This used to be commit 5eda562f2b)
2007-10-10 12:28:38 -05:00
Andrew Tridgell
5e54558c6d r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit b0132e94fc)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b)
2007-10-10 12:28:20 -05:00
Günther Deschner
6024286ee7 r23628: Add LSA lookupnames_level to rpcclient.
Guenther
(This used to be commit dee99e4045)
2007-10-10 12:23:38 -05:00
Günther Deschner
7eb828135b r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
Guenther
(This used to be commit e9a7512a9f)
2007-10-10 12:23:38 -05:00
Günther Deschner
6eb18630f7 r23623: Fix rpcclient and rpc_server with new DFS idl.
Guenther
(This used to be commit bffe33dd26)
2007-10-10 12:23:37 -05:00
Jeremy Allison
d0daf1a0c1 r23555: Fix some uninitialiazed variable uses.
Jeremy
(This used to be commit dc287adff2)
2007-10-10 12:23:28 -05:00
Günther Deschner
1ea5dfae04 r23380: netr_getdcname returns WERROR not NTSTATUS.
Guenther
(This used to be commit 5e75ea7f2b)
2007-10-10 12:23:12 -05:00
Jeremy Allison
713ee9242a r23372: Remove restriction on string length for rpcclient commands.
Jeremy.
(This used to be commit a2cf87f58a)
2007-10-10 12:23:11 -05:00
Gerald Carter
05c68d98c1 r23249: another sync from 3.0.26 for the echo work to rpcclient
(This used to be commit 7aa1f89eb3)
2007-10-10 12:22:59 -05:00
Volker Lendecke
d807dec0f4 r23219: Two warnings
(This used to be commit eccd50abda)
2007-10-10 12:22:54 -05:00
Günther Deschner
d8e454664a 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
(This used to be commit def6464c87)
2007-10-10 12:22:54 -05:00
Günther Deschner
94e4a468f0 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
(This used to be commit 37ae7f4197)
2007-10-10 12:22:48 -05:00
Jeremy Allison
be8b0685a5 r22589: Make TALLOC_ARRAY consistent across all uses.
Jeremy.
(This used to be commit 8968808c3b)
2007-10-10 12:19:49 -05:00
Jeremy Allison
79de0ad946 r22588: Make all uses of TALLOC_MEMDUP consistent.
Jeremy.
(This used to be commit 8ad13718af)
2007-10-10 12:19:48 -05:00
Michael Adam
992fac30a5 r22489: Add a deletedomgroup command to rpcclient (samr).
Corresponding to deletedomuser.

Michael
(This used to be commit 9775de56b8)
2007-10-10 12:19:38 -05:00
Jeremy Allison
7f8d89bc54 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.
(This used to be commit 0c8949ff5d)
2007-10-10 12:19:07 -05:00
Jeremy Allison
8e00e9d7a6 r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).
Patch from Zack Kirsch <zack.kirsch@isilon.com>.
Jeremy.
(This used to be commit df07a662e3)
2007-10-10 12:18:16 -05:00
Günther Deschner
9918e74984 r21320: Display query_user info level 16 in rpcclient.
Guenther
(This used to be commit bc77622134)
2007-10-10 12:17:56 -05:00
Jeremy Allison
c635c57d75 r21259: Fix coverity bug id #340. No way to process
logon parameter as the code was written.
Jeremy.
(This used to be commit 7f1aee96a0)
2007-10-10 12:17:52 -05:00
Günther Deschner
52b5ca933b r21117: Add rpccli_samr_chgpasswd_user to rpcclient for testing.
Guenther
(This used to be commit 4036cb5169)
2007-10-10 12:17:40 -05:00
Günther Deschner
aeb834036d r20970: Allow to define workstation for samlogon in rpcclient (for testing).
Guenther
(This used to be commit 5d4747fdf2)
2007-10-10 12:17:22 -05:00
Jelmer Vernooij
203622b734 r20839: Fix other C++ warnings
(This used to be commit d948d828d5)
2007-10-10 12:17:11 -05:00
Jelmer Vernooij
62e11c4f17 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.
(This used to be commit 580f2a7197)
2007-10-10 12:17:11 -05:00
Jeremy Allison
63609fbb04 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.
(This used to be commit 0ffca7559e)
2007-10-10 12:16:24 -05:00
Volker Lendecke
ecf90c495e 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
(This used to be commit fea52801de)
2007-10-10 12:16:18 -05:00
Jelmer Vernooij
19d7a9c315 r19849: Fix compilation after idl changes.
(This used to be commit b7f22408e9)
2007-10-10 12:16:02 -05:00
Volker Lendecke
202f63e476 r19811: Decode REG_MULTI_SZ and REG_BINARY
(This used to be commit 6793301751)
2007-10-10 12:15:57 -05:00
Volker Lendecke
01367cdfd0 r19797: Convert the remaining pipes to the "new" unique out ptr handling
(This used to be commit bc4e0a388a)
2007-10-10 12:15:56 -05:00
Volker Lendecke
3372adce58 r19794: Convert DFS
(This used to be commit 2efd3b3509)
2007-10-10 12:15:56 -05:00
Volker Lendecke
9849f04868 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
(This used to be commit 95c14a822c)
2007-10-10 12:15:55 -05:00
Volker Lendecke
e6b56f9f0c r19487: Fix coverity # 313
(This used to be commit 0eb5a0f7b8)
2007-10-10 12:15:39 -05:00
Volker Lendecke
ef05328552 r19451: Another cleanup of 18802. Referring to structures after the block has been
left is not a good idea.

Volker
(This used to be commit 88ac17db19)
2007-10-10 12:15:36 -05:00
Günther Deschner
dbcb4b1266 r19355: Add getdispenumindex2 wrapper for rpcclient.
Guenther
(This used to be commit 27c35848eb)
2007-10-10 12:15:31 -05:00
Günther Deschner
8b31fccafe r19354: adjust usage printf for rpcclient's timeout command.
Guenther
(This used to be commit fb21c9c58b)
2007-10-10 12:15:31 -05:00
Günther Deschner
fb183ebd92 r19353: Add "timeout" command for rpcclient.
Guenther
(This used to be commit 4106a56d3f)
2007-10-10 12:15:30 -05:00
Günther Deschner
258f7b50dc r19340: Wait longer then 10 seconds for a samr_query_groupmem lookup to succeed.
Guenther
(This used to be commit 37dd019e21)
2007-10-10 12:15:29 -05:00
Günther Deschner
7b84b133fe 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
(This used to be commit 6091c8152a)
2007-10-10 12:15:18 -05:00
Günther Deschner
adc299bd08 r19143: getdcname on the NETLOGON pipe returns WERROR, not NTSTATUS.
Guenther
(This used to be commit 44e228ac79)
2007-10-10 12:15:16 -05:00
Volker Lendecke
bb5c820542 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
(This used to be commit 4a5d11e194)
2007-10-10 12:15:02 -05:00
Günther Deschner
efffbc9036 r18935: Make "netshareenum" work again. There is most probably a better way to
do this... Any pointers?

Guenther
(This used to be commit 1f09e54fec)
2007-10-10 12:14:48 -05:00
Volker Lendecke
323b724ce9 r18874: Fix some NTSTATUS/WERROR mixups
(This used to be commit ecac9b5959)
2007-10-10 12:14:40 -05:00
Andrew Tridgell
0c3194816b 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)
(This used to be commit 8438a6a7d4)
2007-10-10 12:01:06 -05:00
Jelmer Vernooij
7ba2554d88 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.
(This used to be commit ef10672399)
2007-10-10 12:00:59 -05:00
Gerald Carter
05ba38f754 r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()
(This used to be commit 50d74ce048)
2007-10-10 12:00:54 -05:00
Jelmer Vernooij
4db7642caa 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.
(This used to be commit b41c52b9db)
2007-10-10 12:00:54 -05:00
Günther Deschner
5cadb91622 r18732: Fix build warning as pointed out by Volker.
Guenther
(This used to be commit fccaff3713)
2007-10-10 12:00:53 -05:00