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

302 Commits

Author SHA1 Message Date
Günther Deschner
a75436e3ee s3-security: use shared SECINFO_DACL define.
Guenther
2010-06-03 11:00:12 +02:00
Andrew Bartlett
cba7f8b827 s3:dom_sid Global replace of DOM_SID with struct dom_sid
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:39:59 +02:00
Günther Deschner
8478770c35 s3-rpc_client: move protos to init_samr.h
Guenther
2010-05-18 21:42:57 +02:00
Günther Deschner
3f2719c202 s3-rpc_client: move protos to cli_samr.h
Guenther
2010-05-18 21:42:32 +02:00
Günther Deschner
8bc9c343c4 s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".
Guenther
2010-05-18 12:30:11 +02:00
Günther Deschner
3d679a3b5f s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
Guenther
2009-11-26 20:03:17 +01:00
Volker Lendecke
bb283af16f Revert "s3: Do not directly reference the ndr_table_* in rpcclient"
This reverts commit 70c698fd54.
2009-11-08 19:43:47 +01:00
Volker Lendecke
70c698fd54 s3: Do not directly reference the ndr_table_* in rpcclient 2009-11-08 00:28:36 +01:00
Matthias Dieter Wallnöfer
607ceff234 s3/s4 - Adapt the IDL changes on various locations 2009-10-08 09:50:19 +02:00
Günther Deschner
2c84de40b3 s3-rpcclient: allow to set query size for samr enum calls.
Guenther
2009-06-08 19:47:26 +02:00
Günther Deschner
86d087fccc s3-rpcclient: use get_domain_handle() fn in enum domain users & groups.
Guenther
2009-05-25 13:52:50 +02:00
Günther Deschner
b5bec1a6d7 s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.
Guenther
2009-04-21 12:40:47 +02:00
Andrew Bartlett
f28f113d8e Rework Samba3 to use new libcli/auth code (partial)
This commit is mostly to cope with the removal of SamOemHash (replaced
by arcfour_crypt()) and other collisions (such as changed function
arguments compared to Samba3).

We still provide creds_hash3 until Samba3 uses the credentials code in
netlogon server

Andrew Bartlett
2009-04-14 16:23:35 +10:00
Günther Deschner
531af136f9 s3: remove POLICY_HND.
Guenther
2009-03-18 23:22:29 +01:00
Günther Deschner
2390ea274b s3-rpcclient: more uses of is_valid_policy_hnd in spoolss and samr commands.
Guenther
2009-02-25 14:19:24 +01:00
Günther Deschner
46f55ef5bc s3-samr: avoid all init_samr_user* functions.
Guenther
2009-01-06 16:02:10 +01:00
Günther Deschner
8be38511a3 s3-rpcclient: add setuserinfo to set passwords using level 18,21,23,24,25,26.
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
e97149087a s3-samr: fix rpcclient after idl change.
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
e9269e57fc s3-rpcclient: add get_domain_handle for samr commands.
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
798c4b3e6a s3-samr: use samr_DomainServerState in client tools.
Guenther
2008-12-02 00:37:39 +01:00
Günther Deschner
65dc1eeceb s3: fix various samr callers.
Guenther
2008-10-15 17:11:27 +02:00
Jelmer Vernooij
cb78d4593b Cope with changed signature of http_timestring(). 2008-10-11 23:57:44 +02:00
Volker Lendecke
82b5f54f96 Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idx
(This used to be commit 85db87c451)
2008-07-21 14:36:27 +02:00
Günther Deschner
7139745b01 rpcclient: add samr chgpasswd command.
Guenther
(This used to be commit b90ae34372)
2008-06-25 23:58:50 +02:00
Günther Deschner
14d500c0e7 rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.
Guenther
(This used to be commit b1209a039b)
2008-06-25 23:58:50 +02:00
Günther Deschner
059293cbf4 rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.
Guenther
(This used to be commit 5b4650d56c)
2008-06-25 23:58:50 +02:00
Günther Deschner
12b9be6d5e rpcclient: Add tiny fix for cmd_samr_get_dispinfo_idx().
Guenther
(This used to be commit c15b5d73ba)
2008-04-24 22:01:51 +02:00
Günther Deschner
bd8cb7b564 rpcclient: Add getdispinfoidx command.
Guenther
(This used to be commit 7d8461d080)
2008-04-22 23:11:53 +02:00
Volker Lendecke
e1102b8f48 Introduce rpccli_set_timeout()
Reduce dependency on "cli" member of rpc_pipe_client struct
(This used to be commit 2e4c1ba389)
2008-04-20 00:14:26 +02:00
Günther Deschner
be9b46b2ce Remove some dead code in rpcclient.
Guenther
(This used to be commit c7ae1a9b53)
2008-04-04 01:44:16 +02:00
Günther Deschner
29f44dc144 Move rpccli_try_samr_connects out of rpcclient.
Guenther
(This used to be commit f550cdb6f2)
2008-04-04 01:40:29 +02:00
Günther Deschner
4369c14a66 Re-add support for the samr parameters string.
(dialin settings, terminal server settings, etc.)

Guenther
(This used to be commit c4f248df8e)
2008-03-31 20:55:40 +02:00
Günther Deschner
7269a504fd Add my copyright.
Guenther
(This used to be commit d078a87571)
2008-02-27 19:38:48 +01:00
Tim Potter
9053bdf57c Fix off-by-one bugs in subcommand argument passing.
(This used to be commit d85a2782a4)
2008-02-18 10:15:53 +01:00
Günther Deschner
e2b3aad817 Collect all init_lsa_string varients in one place.
Guenther
(This used to be commit f4581e9f44)
2008-02-12 22:05:39 +01:00
Günther Deschner
4c7943cd62 Add querydispinfo2 and querydispinfo3 to rpcclient.
Guenther
(This used to be commit f776840dca)
2008-02-12 21:35:42 +01:00
Günther Deschner
8823c7453d Use rpccli_samr_QueryUserInfo() in rpcclient.
Guenther
(This used to be commit 5bfa5cac63)
2008-02-12 18:08:01 +01:00
Günther Deschner
b88982a5c8 Use rpccli_samr_EnumDomainUsers in net and rpcclient.
Guenther
(This used to be commit bcf2cd324c)
2008-02-12 11:36:33 +01:00
Günther Deschner
0ed6c373f1 Use rpccli_samr_EnumDomainGroups in rpcclient.
Guenther
(This used to be commit e76c350dab)
2008-02-12 11:17:53 +01:00
Günther Deschner
cf20a28dd6 Use rpccli_samr_EnumDomainAliases() in net and rpcclient.
Guenther
(This used to be commit d034d34faa)
2008-02-12 11:10:59 +01:00
Günther Deschner
3038a77f40 Minor fix for querydispinfo display in rpcclient.
Guenther
(This used to be commit 6cb59410c2)
2008-02-08 23:02:48 +01:00
Günther Deschner
ab346de340 Add cmd_samr_enum_domains command to rpcclient.
Guenther
(This used to be commit f429153de2)
2008-02-08 23:01:16 +01:00
Jeremy Allison
114596b966 Fix warning and use of uninitialized variable.
gd please check !
Jeremy.
(This used to be commit 90fb59cb44)
2008-02-08 11:40:55 -08:00
Günther Deschner
406ee0effc Use rpccli_samr_LookupNames() in rpcclient.
Guenther
(This used to be commit 64d11fad9b)
2008-02-08 15:30:35 +01:00
Günther Deschner
e3757bcd1b Use rpccli_samr_LookupRids() in net and rpcclient.
Guenther
(This used to be commit 72fc4ffa38)
2008-02-08 12:07:06 +01:00
Günther Deschner
781776d864 Use rpccli_samr_QueryDisplayInfo() all over the place.
Guenther
(This used to be commit 66b79add35)
2008-02-08 00:10:55 +01:00
Günther Deschner
ca790c96d2 Remove trailing whitespace in samr client and server.
Guenther
(This used to be commit 0b630db298)
2008-02-07 14:40:39 +01:00
Günther Deschner
1c788bc365 Use rpccli_samr_GetGroupsForUser() all over the place.
Guenther
(This used to be commit d1c669920e)
2008-02-07 14:25:18 +01:00
Günther Deschner
1ec50b50e1 Use rpccli_samr_QueryGroupInfo() in rpcclient.
Guenther
(This used to be commit 6a3b06291b)
2008-02-07 14:04:11 +01:00
Günther Deschner
9c22a27aad Let rpccli_samr_chgpasswd3 use rpccli_samr_ChangePasswordUser3 internally.
Guenther
(This used to be commit ffbfd19ad7)
2008-02-07 10:07:00 +01:00