Günther Deschner
0439fdd777
Replace "unknown" with access_mask when calling samr_CreateUser2().
...
Guenther
(This used to be commit cfc6e7a2e6
)
2007-12-11 15:26:09 +01:00
Jeremy Allison
7faee02d0d
Remove the char[1024] strings from dynconfig. Replace
...
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
(This used to be commit 52dc5eaef2
)
2007-12-10 11:30:37 -08:00
Jeremy Allison
5b3459e340
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 0c21c5fa84
)
2007-12-07 09:57:19 -08:00
Günther Deschner
b2fac35adf
Allow to set custom message in wkssvc messagebuffer.
...
Guenther
(This used to be commit 4c03cbdc81
)
2007-12-07 11:56:48 +01:00
Günther Deschner
61dbd449b8
Fix build with new werror based pidl rpc.
...
Guenther
(This used to be commit 0e8fdfac8a
)
2007-12-07 11:54:01 +01:00
Günther Deschner
783afeb5fa
Add cmd_wkssvc_messagebuffersend().
...
Guenther
(This used to be commit 71e512efab
)
2007-12-07 11:43:00 +01:00
Günther Deschner
09c4b72a57
Add getjoininformation to rpcclient.
...
Guenther
(This used to be commit 699f6b1bc3
)
2007-12-07 11:42:24 +01:00
Jeremy Allison
e2ae63bcf7
Make all the tools use the proper accessor functions.
...
Jeremy.
(This used to be commit 6d61bb8797
)
2007-12-06 18:58:01 -08:00
Jeremy Allison
1b92ea5559
Remove pstrings from client/client.c by doing a large rewrite.
...
Mostly compiles....
Jeremy.
(This used to be commit c87f3eba9a
)
2007-12-06 17:16:33 -08:00
Günther Deschner
7bfe569b7d
Allow to set level in cmd_wkssvc_wkstagetinfo().
...
Guenther
(This used to be commit 2c287ce050
)
2007-12-06 19:17:57 +01:00
Günther Deschner
6b37d8e627
Fix wkssvc callers.
...
Guenther
(This used to be commit b734cd8aab
)
2007-12-03 18:43:19 +01:00
Günther Deschner
f942b8852d
Fix dfs callers.
...
Guenther
(This used to be commit 0a8759d011
)
2007-12-03 18:43:19 +01:00
Günther Deschner
9cc7b8e2a0
Reanimate rpcclient wkssvc command.
...
Guenther
(This used to be commit 1d615e3ac3
)
2007-12-03 13:08:20 +01:00
Volker Lendecke
f4e4df66e7
Fix some C++ warnings
...
I think were are actually bugs.
(This used to be commit 1be19f0788
)
2007-12-01 10:43:11 -08:00
Michael Adam
ddcaaae4ff
Give rpcclient a talloc stackframe.
...
Michael
(This used to be commit 3330394d2d
)
2007-11-28 15:24:53 +01:00
Volker Lendecke
1011b32678
Remove some statics
...
(This used to be commit 1fab16ffb8
)
2007-11-27 14:18:47 +01:00
Jeremy Allison
c049b8157d
More trivial pstring removal.
...
Jeremy.
(This used to be commit bac3bb2f6e
)
2007-11-20 15:31:37 -08:00
Jeremy Allison
d4307679b9
Change all occurrences of zero_addr(&ss,AF_INET) to
...
zero_addr(&ss). All current uses were always of the
AF_INET form, so simplify the call. If in the future
we need to zero an addr to AF_INET6 this can be
done separately.
Jeremy.
(This used to be commit 2e92418a13
)
2007-10-27 20:29:36 -07:00
Jeremy Allison
f88b7a076b
This is a large patch (sorry). Migrate from struct in_addr
...
to struct sockaddr_storage in most places that matter (ie.
not the nmbd and NetBIOS lookups). This passes make test
on an IPv4 box, but I'll have to do more work/testing on
IPv6 enabled boxes. This should now give us a framework
for testing and finishing the IPv6 migration. It's at
the state where someone with a working IPv6 setup should
(theorecically) be able to type :
smbclient //ipv6-address/share
and have it work.
Jeremy.
(This used to be commit 98e154c312
)
2007-10-24 14:16:54 -07:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c
)
2007-10-18 17:40:25 -07:00
Gerald (Jerry) Carter
e5a951325a
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
...
(This used to be commit 5c6c8e1fe9
)
2007-10-10 15:34:30 -05:00
Jelmer Vernooij
277c1baee9
r25572: Fix warnings (values are always true).
...
(This used to be commit 2c77c3c58e
)
2007-10-10 12:31:15 -05:00
Gerald Carter
5221ebb299
r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.
...
The translate_name() used by cli_session_setup_spnego() cann rely
Winbindd since it is needed by the join process (and hence before
Winbind can be run).
(This used to be commit 00a93ed336
)
2007-10-10 12:31:03 -05:00
Gerald Carter
3529156971
r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,
...
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>.
(This used to be commit 8304ccba73
)
2007-10-10 12:31:02 -05:00
Michael Adam
c97fe37ea3
r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) to
...
the maxeln parameter instead of sizeof(target_area) - 1 (or even
sizeof(fstring) - 1 in some places.
I hope these were really all there were.
Michael
(This used to be commit 9a28be220d
)
2007-10-10 12:30:58 -05:00
Michael Adam
91b276e4ea
r25285: Fix some more callers of unistr2_to_ascii to use the size of
...
destination instead of source as maxlen.
Michael
(This used to be commit 76cb05deec
)
2007-10-10 12:30:57 -05:00
Michael Adam
3b5666bb00
r25281: Fix a caller of unistr2_to_ascii():
...
The maxlen parameter should be set to the size of the
destination, not to the size of the soruce.
Michael
(This used to be commit 841ff0beee
)
2007-10-10 12:30:57 -05:00
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