summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/group.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-05s3-libnetapi: pass down ndr_interface_table to libnetapi_open_pipe().Günther Deschner1-9/+9
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2012-12-12s3-netapi: Initialize group_handle of NetGroupSetUsers_r().Andreas Schneider1-0/+1
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2012-12-12s4-netapi: Initialize group_handle of NetGroupGetUsers_r().Andreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett1-4/+4
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+1
Guenther
2011-02-01s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/group.c.Günther Deschner1-120/+367
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-07samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.Günther Deschner1-3/+3
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 12:04:32 UTC 2010 on sn-devel-104
2010-10-02s3: Attempt to fix bug 7665Volker Lendecke1-56/+56
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: use shared dom_sid_dup.Günther Deschner1-2/+3
Guenther
2010-08-25s3-lsa: separate out init_lsa headers.Günther Deschner1-0/+1
Guenther
2010-01-26s3:netapi: remove unused variableBjörn Jacke1-2/+0
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
2009-11-08Revert "s3: Make libnetapi_open_pipe take strings instead of a ↵Volker Lendecke1-9/+9
ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
2009-11-08s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_tableVolker Lendecke1-9/+9
2009-09-30w32err: WERR_GROUP_NOT_FOUND renamed to WERR_GROUPNOTFOUNDKamen Mazdrashki1-4/+4
In Win 32 we have NERR_GroupNotFound which maps to WERR_GROUP_NOT_FOUND currently and we have ERROR_GROUP_NOT_FOUND which maps to nothing, so it is to be added Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-04-15Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison1-9/+9
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-03-20s3-netapi: Fix Coverity #776 (REVERSE_INULL).Günther Deschner1-7/+3
Guenther
2009-03-18s3: remove POLICY_HND.Günther Deschner1-6/+6
Guenther
2009-01-18libnetapi_open_pipe does not need to return cli_stateVolker Lendecke1-54/+0
The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
2008-10-23netapi: NetGroupEnum_r needs to handle servers with no groups.Günther Deschner1-1/+1
Guenther
2008-10-15s3: fix various samr callers.Günther Deschner1-1/+1
Guenther
2008-09-12netapi: fix NetGroupGetUsers (only enumerates users).Günther Deschner1-1/+6
Guenther (This used to be commit a94318be4656a668be0295988ed0743105d830c9)
2008-09-12netapi: fix NetGroupSetUsers.Günther Deschner1-20/+22
Guenther (This used to be commit 735bc2e425ce629745495190cd1c721ccb583d24)
2008-09-11netapi: implement NetGroupGetUsers_r.Günther Deschner1-1/+136
Guenther (This used to be commit 7b77dacde5f667d36868a2a8474cf719d9cce331)
2008-09-11netapi: implement NetGroupSetUsers_r.Günther Deschner1-1/+227
Guenther (This used to be commit 0ba0ffdb3023cd0bb6aa5c479309c871ff15ed0c)
2008-09-11netapi: add skeleton for NetGroupSetUsers.Günther Deschner1-0/+18
Guenther (This used to be commit 4d92d000a1676d2da45e8113ade60250c6c7eebe)
2008-08-14netapi: make libnetapi_open_ipc_connection static.Günther Deschner1-42/+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-8/+8
Guenther (cherry picked from commit aa70e588803e3767796dc958b139f4ee464d8626) (This used to be commit 9927ac6eec9fe1fecfedb97b61c4f93379fc8722)
2008-07-30netapi: add NetGroupGetUsers skeleton.Günther Deschner1-0/+18
GUenther (This used to be commit 0b4e2687ae8fb48faacceb4078d61f9fd2acea9d)
2008-07-30netapi: use "buffer" in libnetapi.Günther Deschner1-12/+12
Guenther (This used to be commit 80957bc1bc1462a2478b3eea64f5cb7a84d08677)
2008-07-21Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idxVolker Lendecke1-7/+14
(This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
2008-07-18netapi: add caching of samr policy handles.Günther Deschner1-38/+35
Guenther (This used to be commit bf8453da9af1be788955204cc581c5143a854072)
2008-07-18netapi: fix NetGroupGetInfo() against NT4.Günther Deschner1-1/+11
Guenther (This used to be commit c0fea9c4d0d3d297972c052c17b9be6d0530e098)
2008-07-18netapi: fix NetGroupDel() against NT4.Günther Deschner1-1/+3
Guenther (This used to be commit 55035d7240bd163abb155239029a03f399c8f41f)
2008-07-17netapi: fill in NetGroupEnum_r().Günther Deschner1-2/+259
Guenther (This used to be commit 64700e09ce9417c0b0128cc016abd34ab92f3695)
2008-07-17netapi: fix map_group_info_to_buffer for GROUP_INFO_3 change.Günther Deschner1-4/+6
Guenther (This used to be commit f2875677194f440ffebf18e6f5171be948114353)
2008-07-17netapi: add skeleton for NetGroupEnum().Günther Deschner1-0/+18
Guenther (This used to be commit 21a0d9d254d5c21c4bc9fe305e9df2126476f3f4)
2008-06-03netapi: fix some build warnings.Günther Deschner1-4/+4
Guenther (This used to be commit 45cd78030f18a792d0761160bb96116d19801109)
2008-06-03netapi: let libnetapi_samr_open_domain return WERROR.Günther Deschner1-55/+49
Guenther (This used to be commit 3d037a07e015a3af75dde054cef4c0bb7795fbb5)
2008-06-03netapi: use libnetapi_samr_open_domain().Günther Deschner1-361/+51
Guenther (This used to be commit b07445e86f43d6e9e45b7c502ab7998bca4db14f)
2008-06-03netapi: Implement NetGroupDelUser().Günther Deschner1-2/+166
Guenther (This used to be commit 10f69b3ce58be06d95e4dfd5782d9481f4af76bf)
2008-06-03netapi: implement NetGroupAddUser().Günther Deschner1-2/+167
Guenther (This used to be commit c727a49519b2da6c5eb9ccc5025ab844fe8330ad)
2008-06-03netapi: add dummy implementation for NetGroupAddUser() and NetGroupDelUser().Günther Deschner1-0/+36
Guenther (This used to be commit 6eba84edc60829f0cdf3508520625e66fe88afde)
2008-06-03netapi: Implement NetGroupGetInfo_r().Günther Deschner1-2/+213
Guenther (This used to be commit a8baa45aecc22763a9f86e722ca1c6b7bc88b150)
2008-06-03netapi: add dummy implementation of NetGroupGetInfo().Günther Deschner1-0/+18
Guenther (This used to be commit 88d03b1645d78334eb6f1fee52838a08539a6aba)
2008-06-03netapi: implement NetGroupSetInfo_r().Günther Deschner1-2/+225
Guenther (This used to be commit 4d11c32874f4cbc64c7bcb2092970fa5c07b1d0e)
2008-06-03netapi: Add dummy implementation of NetGroupSetInfo().Günther Deschner1-0/+18
Guenther (This used to be commit 7e47bdc0829d7ac856028a99389310f721a265ce)
2008-06-03netapi: let NetGroupAdd_l and NetGroupDel_l call the remote functions.Günther Deschner1-2/+2
Guenther (This used to be commit d62eae5705e001ed7e39832b52ae139c19549ab8)
2008-06-03netapi: implement NetGroupDel_r().Günther Deschner1-2/+209
Guenther (This used to be commit bcf3df6ca96845755eee6c762f57548de8aba610)