Günther Deschner
c09e619a58
Remove unused marshalling for SAMR_QUERY_DISPINFO.
...
Guenther
2008-02-08 00:17:54 +01:00
Günther Deschner
66b79add35
Use rpccli_samr_QueryDisplayInfo() all over the place.
...
Guenther
2008-02-08 00:10:55 +01:00
Günther Deschner
d1c669920e
Use rpccli_samr_GetGroupsForUser() all over the place.
...
Guenther
2008-02-07 14:25:18 +01:00
Günther Deschner
5bf6c8b6d8
Use rpccli_samr_QueryAliasInfo() in net.
...
Guenther
2008-02-07 13:37:59 +01:00
Günther Deschner
5909e9f971
Use rpccli_samr_SetGroupInfo() in net.
...
Guenther
2008-02-07 11:03:35 +01:00
Günther Deschner
18c52030bb
Use rpccli_samr_SetAliasInfo() in net.
...
Guenther
2008-02-07 10:56:24 +01:00
Günther Deschner
82073db9f7
Use rpccli_samr_QueryDomainInfo() in net rpc.
...
Guenther
2008-02-06 02:09:04 +01:00
Günther Deschner
91c48ae15b
Use rpccli_samr_RemoveMemberFromForeignDomain() in net.
...
Guenther
2008-02-05 13:19:47 +01:00
Günther Deschner
1793ed10df
Use rpccli_samr_QueryGroupMember() all over the place.
...
Guenther
2008-02-05 13:19:47 +01:00
Günther Deschner
3f48f9e671
Use rpccli_samr_GetMembersInAlias() in net and rpcclient.
...
Guenther
2008-02-05 10:05:53 +01:00
Günther Deschner
390597c96c
Use rpccli_samr_AddAliasMember() in net.
...
Guenther
2008-02-05 10:01:27 +01:00
Günther Deschner
b04bf5c125
Use rpccli_samr_DeleteAliasMember() in net.
...
Guenther
2008-02-05 09:58:23 +01:00
Günther Deschner
bdf8d56262
Use rpccli_samr_Connect2() all over the place.
...
Guenther
2008-02-04 22:12:40 +01:00
Günther Deschner
e2635fa1e4
Use rpccli_samr_AddGroupMember() in net.
...
Guenther
2008-02-04 18:45:25 +01:00
Günther Deschner
4e1496894b
Use rpccli_samr_DeleteGroupMember() in net.
...
Guenther
2008-02-04 18:32:34 +01:00
Günther Deschner
701af69118
Use rpccli_samr_CreateUser2() all over the place.
...
Guenther
2008-02-01 16:29:20 +01:00
Günther Deschner
7b7b10adca
Use rpccli_samr_CreateDomainGroup() in net and rpcclient.
...
Guenther
2008-02-01 16:29:20 +01:00
Günther Deschner
1248ec89d2
Use rpccli_samr_CreateDomAlias() in net and rpcclient.
...
Guenther
2008-02-01 16:29:20 +01:00
Günther Deschner
da90eb7653
Use rpccli_samr_OpenUser() all over the place.
...
Guenther
2008-02-01 12:30:15 +01:00
Günther Deschner
f66facc0f8
Use rpccli_samr_OpenAlias() in net and rpcclient.
...
Guenther
2008-02-01 12:29:58 +01:00
Günther Deschner
d019fc69a9
Use rpccli_samr_OpenGroup() all over the place.
...
Guenther
2008-02-01 12:29:35 +01:00
Günther Deschner
e4e9d72724
Use rpccli_samr_OpenDomain() all over the place.
...
Guenther
2008-02-01 12:29:10 +01:00
Günther Deschner
5bd8f7067d
Use rpccli_samr_DeleteUser() in net and rpcclient.
...
Guenther
2008-02-01 10:17:38 +01:00
Günther Deschner
bbed3aed51
Use rpccli_samr_DeleteDomAlias() in net and rpcclient.
...
Guenther
2008-02-01 10:15:39 +01:00
Günther Deschner
8cc094ddb5
Use rpccli_samr_DeleteDomainGroup() in net and rpcclient.
...
Guenther
2008-02-01 10:14:10 +01:00
Günther Deschner
64f0889401
Remove rpccli_samr_close and use pidl generated function instead.
...
Guenther
2008-01-31 11:09:11 +01:00
Günther Deschner
d4a9e46edf
Trying to avoid defining new SAMR acct creation flags when we already have them with different
...
names. Matt, Jeremy, please check.
Guenther
2008-01-25 01:04:30 +01:00
Jeremy Allison
7d94f97947
Forward ported version of Matt Geddes <musicalcarrion@gmail.com>
...
patch for adding acct_flags to rpccli_samr_create_dom_user().
Jerry please test.
Jeremy.
2008-01-23 13:54:02 -08:00
Günther Deschner
7a3fe68bef
Apply const to rpccli_lsa_query_info_policy() and rpccli_lsa_query_info_policy2().
...
Guenther
2008-01-15 16:40:22 +01:00
Günther Deschner
aa3de6f9f5
Use pidl generated rpccli_lsa_QueryTrustedDomainInfoBySid when vampiring trusted
...
domain secrets.
Guenther
2008-01-14 15:33:42 +01:00
Karolin Seeger
4260c79bf7
Improve error messages of 'net rpc user [add|delete]' commands.
...
Karolin
2007-12-28 09:44:40 +01:00
Volker Lendecke
eb523ba776
s/sid_to_string/sid_to_fstring/
...
least surprise for callers
2007-12-15 22:47:30 +01:00
Volker Lendecke
60e830b0f4
Replace sid_string_static with sid_string_tos
...
In utils/ I was a bit lazy...
2007-12-15 22:09:36 +01:00
Volker Lendecke
bb35e794ec
Replace sid_string_static by sid_string_dbg in DEBUGs
2007-12-15 22:09:36 +01:00
Günther Deschner
cfc6e7a2e6
Replace "unknown" with access_mask when calling samr_CreateUser2().
...
Guenther
2007-12-11 15:26:09 +01:00
Jeremy Allison
ec003f3936
Remove next_token - all uses must now be next_token_talloc.
...
No more temptations to use static length strings.
Jeremy.
2007-12-07 17:32:32 -08:00
Jeremy Allison
c1f70793d6
More pstring elimination.
...
Jeremy.
2007-12-04 16:35:24 -08:00
Jeremy Allison
b6b5f92bc9
Remove pstring from clirap2 by completely rewriting the damn
...
thing :-). Now with added paranoia.
Jeremy.
2007-12-03 14:09:48 -08:00
Günther Deschner
de2fdc6b5a
Fix shutdown callers.
...
Guenther
2007-12-03 18:43:19 +01:00
Günther Deschner
91bf2ac1af
Fix svcctl callers.
...
Guenther
2007-12-03 18:43:19 +01:00
Günther Deschner
bbbeeba163
Actually implement reboot feature for net dom join/unjoin.
...
Guenther
2007-12-03 11:17:57 +01:00
Jeremy Allison
cc257b71d1
Remove PSTRING_LEN from smbd/ nmbd/.
...
Remove pstring from libsmb/clidfs.c except for a nasty
hack (that will be removed when pstrings are gone from
client/).
Jeremy.
2007-11-29 17:25:41 -08:00
Jeremy Allison
0002a9e96b
Remove pstrings from everything except srv_spoolss_nt.c.
...
Jeremy.
2007-11-27 14:35:30 -08:00
Jeremy Allison
98e154c312
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.
2007-10-24 14:16:54 -07:00
Jeremy Allison
f35a266b3c
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.
2007-10-18 17:40:25 -07:00
Gerald (Jerry) Carter
5c6c8e1fe9
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
2007-10-10 15:34:30 -05:00
Volker Lendecke
da5736f210
r25499: Fix rpc_file_list_internals
2007-10-10 12:31:10 -05:00
Volker Lendecke
5ae4b27398
r25481: Fix some typos, don't panic as non-root on net getdomainsid
...
Thanks to Karolin Seeger <ks@sernet.de>
2007-10-10 12:31:07 -05:00
Michael Adam
9a28be220d
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
2007-10-10 12:30:58 -05:00
Michael Adam
46093004a7
r25197: Change net_make_ipc_connection() and net_make_ipc_connection_ex() to
...
return NTSTATUS to allow for better error propagation.
Michael
2007-10-10 12:30:50 -05:00