summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/localgroup.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-04-27s3-netapi: Fix Coverity CID #2302: FORWARD_NULLGünther Deschner1-1/+1
Guenther
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+1
Guenther
2011-02-02s3-libnetapi: prefer dcerpc_lsa_X functions.Günther Deschner1-4/+7
Guenther
2011-02-01s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/localgroup.c.Günther Deschner1-50/+151
Guenther
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-1/+1
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-02s3: Attempt to fix bug 7665Volker Lendecke1-17/+17
Quite a few of our internal routines put stuff on talloc_tos() these days. In top-level netapi routines, properly allocate a stackframe and clean it again. Also, don't leak memory in the rpccli_ callers onto the libnetapi context.
2010-09-20s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner1-2/+3
Guenther
2010-09-11s3-auth Change type of num_sids to uint32_tAndrew Bartlett1-2/+2
size_t is overkill here, and in struct security_token in the num_sids is uint32_t. This includes a change to the prototype of add_sid_to_array() and add_sid_to_array_unique(), which has had a number of consequnetial changes as I try to sort out all the callers using a pointer to the number of sids. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-25s3-lsa: separate out init_lsa headers.Günther Deschner1-0/+1
Guenther
2010-06-03s3-security: use shared "Standard access rights.".Günther Deschner1-1/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner1-0/+1
Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+2
samba. Guenther
2009-11-08Revert "s3: Make libnetapi_open_pipe take strings instead of a ↵Volker Lendecke1-7/+7
ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
2009-11-08s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_tableVolker Lendecke1-7/+7
2009-04-15Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison1-13/+12
What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy.
2009-01-18libnetapi_open_pipe does not need to return cli_stateVolker Lendecke1-37/+0
The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
2008-10-15s3: fix various samr callers.Günther Deschner1-2/+2
Guenther
2008-08-14netapi: make libnetapi_open_ipc_connection static.Günther Deschner1-37/+21
Guenther (cherry picked from commit 0259914f8ff04514a8395d8e1af61aadd50c5efb) (This used to be commit 7edc671cc1007ae216e7efdbcdb9cfa1e547dca5)
2008-08-14netapi: make non-implemented local calls default to remote "localhost" calls.Günther Deschner1-9/+9
Guenther (cherry picked from commit aa70e588803e3767796dc958b139f4ee464d8626) (This used to be commit 9927ac6eec9fe1fecfedb97b61c4f93379fc8722)
2008-08-14netapi: let libnetapi_samr_lookup_and_open_alias return NTSTATUS.Günther Deschner1-85/+77
Guenther (cherry picked from commit dcf6d879a14a70ce5795eb8dcfbfe2fc5a8ad859) (This used to be commit 8ac6a2739be870f286d19dc6bf8f0054a559b43b)
2008-08-11netapi: implement NetLocalGroupSetMembers_r().Günther Deschner1-7/+69
Guenther (This used to be commit bb52ba58e47364d7c7ed38862a007e8e3d9dc104)
2008-08-11netapi: implement NetLocalGroupDelMembers_r().Günther Deschner1-5/+36
Guenther (This used to be commit bd31d8f9ec9a24ca68e1d5441c0cafd98132060f)
2008-08-11netapi: implement NetLocalGroupAddMembers_r().Günther Deschner1-2/+260
Guenther (This used to be commit 53dc9a11810b93a1771304fbfbf4ae84f551612b)
2008-08-11netapi: add skeleton for NetLocalGroup*Member calls.Günther Deschner1-0/+73
Guenther (This used to be commit 563fb06107d2d3279e08c5c801a940f03229131b)
2008-07-31netapi: in NetLocalGroupAdd_r() only set description if necessary.Günther Deschner1-1/+1
Guenther (This used to be commit 7e9fa2c5396d3663e83ffbf90475473fdb509871)
2008-07-30netapi: use "buffer" in libnetapi.Günther Deschner1-5/+5
Guenther (This used to be commit 80957bc1bc1462a2478b3eea64f5cb7a84d08677)
2008-07-30netapi: fix NetLocalGroupAdd.Günther Deschner1-0/+17
Guenther (This used to be commit d4594a7a03381fb251c9f8caf4c70e1ed97674b6)
2008-07-21Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idxVolker Lendecke1-5/+10
(This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
2008-07-18netapi: add caching of samr policy handles.Günther Deschner1-42/+46
Guenther (This used to be commit bf8453da9af1be788955204cc581c5143a854072)
2008-07-18netapi: let libnetapi_samr_lookup_and_open_alias compose lsa string.Günther Deschner1-17/+13
Guenther (This used to be commit f93090037798ffb4d9b875a4320f970ae10a64b6)
2008-07-18netapi: implement NetLocalGroupEnum_r.Günther Deschner1-1/+165
Guenther (This used to be commit 2cd91e7d4d4847e1daef2585b09da4e6da6c9d11)
2008-07-18netapi: add skeleton for NetLocalGroupEnum().Günther Deschner1-0/+18
Guenther (This used to be commit 71bd0109d6c393d4361729b514e63fab113bf78a)
2008-07-18netapi: make map_alias_info_to_buffer suitable for arrays in the buffer.Günther Deschner1-11/+20
Guenther (This used to be commit dc0f737bd5e86369b2bbfbef420a095205c2d3cb)
2008-07-18netapi: add libnetapi_samr_open_alias_queryinfo.Günther Deschner1-0/+44
Guenther (This used to be commit 401d6ce210817d9ab6915ed838e1495ae220559a)
2008-06-03netapi: fix some build warnings.Günther Deschner1-3/+3
Guenther (This used to be commit 45cd78030f18a792d0761160bb96116d19801109)
2008-06-03netapi: use libnetapi_samr_lookup_and_open_alias().Günther Deschner1-127/+59
Guenther (This used to be commit d8fad6bf442ac6f218c1c4572da9f1e9932c9cee)
2008-06-03netapi: add libnetapi_samr_lookup_and_open_alias().Günther Deschner1-0/+46
Guenther (This used to be commit 890d63f31c0ff3931b8efb627c3a375850a59a9a)
2008-06-03netapi: use libnetapi_samr_open_builtin_domain().Günther Deschner1-64/+28
Guenther (This used to be commit d1bf8c5ae6f4e3ade2000dd884c8384fb4b9f12c)
2008-06-03netapi: let libnetapi_samr_open_domain return WERROR.Günther Deschner1-40/+35
Guenther (This used to be commit 3d037a07e015a3af75dde054cef4c0bb7795fbb5)
2008-06-03netapi: Implement NetLocalGroupSetInfo().Günther Deschner1-4/+195
Guenther (This used to be commit f991b4d58ed660e648f29c3f25195072f91643ba)
2008-06-03netapi: add NetLocalGroupSetInfo() skeleton.Günther Deschner1-0/+20
Guenther (This used to be commit 325f419636a69c40ee25c068787866384ef52279)
2008-06-03netapi: implement NetLocalGroupGetInfo().Günther Deschner1-2/+188
Guenther (This used to be commit d735ee79fa5b9b7ec409ea387e4ff10357e417e7)
2008-06-03netapi: add NetLocalGroupGetInfo() skeleton.Günther Deschner1-1/+19
Guenther (This used to be commit f70e37a7fe1915f557e194237a8bb26bcf9635d7)
2008-06-03netapi: Implement NetLocalGroupDel().Günther Deschner1-2/+137
Guenther (This used to be commit d2426f53fabaf75d130fb99216b71299f4371253)
2008-06-03netapi: add NetLocalGroupDel() skeleton.Günther Deschner1-0/+20
Guenther (This used to be commit 4234c87c6c30434bc5bcfcc003fdaa0114e9d74a)
2008-06-03netapi: Implement NetLocalGroupAdd().Günther Deschner1-2/+153
Guenther (This used to be commit f68f75a6e4b4ba8b38cac7578c65dc7361315b28)
2008-06-03netapi: add NetLocalGroupAdd() skeleton.Günther Deschner1-0/+43
Guenther (This used to be commit 528544d4ce8fa27940a2f5e3c989cf37ef888f94)