summaryrefslogtreecommitdiffstats
path: root/source3/lib/netapi/user.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2011-06-091-3/+3
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* s3: fix some -Wunused-but-set-variable build warnings.Günther Deschner2011-05-301-2/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 17:41:18 CEST 2011 on sn-devel-104
* More const fixes for compiler warnings from the waf build.Jeremy Allison2011-05-051-1/+1
|
* s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()Stefan Metzmacher2011-04-241-1/+1
| | | | | | | | | | | | | Most fault codes have a NTSTATUS representation, so use that. This brings the fault handling in common with the source4/librpc/rpc code, which make it possible to share more highlevel code, between source3 and source4 as the error checking can be the same now. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104
* s3-netapi: fix memoryleak while not using talloc_tos() in ↵Günther Deschner2011-03-251-2/+2
| | | | | | | | | | | cli_get_session_key() usage. Thanks Volker! Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 25 18:21:18 CET 2011 on sn-devel-104
* s3-netapi: use cli_get_session_key() in netapi.Günther Deschner2011-03-241-2/+17
| | | | Guenther
* s3-libds: use already existing ../libds/common/flag_mapping.h header.Günther Deschner2011-03-021-0/+1
| | | | Guenther
* s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/user.c.Günther Deschner2011-02-011-130/+377
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 1 13:41:42 CET 2011 on sn-devel-104
* s3:lib/netapi: don't set SAMR_FIELD_FULL_NAME if we just want to set the ↵Stefan Metzmacher2010-12-301-3/+0
| | | | | | | | | account name (bug #7896) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 30 18:09:13 CET 2010 on sn-devel-104
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-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
* s3: Attempt to fix bug 7665Volker Lendecke2010-10-021-40/+40
| | | | | | | 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.
* s3-util: use shared dom_sid_dup.Günther Deschner2010-09-201-7/+8
| | | | Guenther
* s3-lsa: separate out init_lsa headers.Günther Deschner2010-08-251-0/+1
| | | | Guenther
* samr.idl:UserInfo structures - fix some names according to MS-SAMR documentationMatthias Dieter Wallnöfer2010-07-051-2/+2
| | | | See MS-SAMR section "FULL IDL"
* s3-libads: only include libds flags where needed.Günther Deschner2010-07-011-0/+1
| | | | Guenther
* s3-security: use shared "Standard access rights.".Günther Deschner2010-06-031-2/+2
| | | | Guenther
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-1/+1
| | | | | | | | | | 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>
* s3-rpc_client: move protos to init_samr.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-0/+1
| | | | | | samba. Guenther
* Revert "s3: Make libnetapi_open_pipe take strings instead of a ↵Volker Lendecke2009-11-081-11/+11
| | | | | | ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
* s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_tableVolker Lendecke2009-11-081-11/+11
|
* s3-netapi: Fix Coverity #668: FORWARD_NULL.Günther Deschner2009-09-161-1/+1
| | | | Guenther
* s3-netapi: Fix Coverity #669 FORWARD_NULL.Günther Deschner2009-09-161-1/+1
| | | | Guenthe
* s3-netapi: Fix Coverity #670: FORWARD_NULL.Günther Deschner2009-09-161-1/+1
| | | | Guenther
* libds: merge the UF<->ACB flag mapping functions.Günther Deschner2009-07-131-1/+1
| | | | Guenther
* Fix some dead code warnings from SUN StudioVolker Lendecke2009-06-261-2/+2
|
* s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.Günther Deschner2009-06-161-0/+2
| | | | Guenther
* Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison2009-04-151-15/+15
| | | | | | | 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.
* s3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong ↵Günther Deschner2009-03-261-6/+12
| | | | | | information. Guenther
* s3-netapi: Fix Coverity #774 (REVERSE_INULL).Günther Deschner2009-03-201-6/+3
| | | | Guenther
* s3-netapi: Fix Coverity #775 (REVERSE_INULL).Günther Deschner2009-03-201-6/+3
| | | | Guenther
* s3: remove POLICY_HND.Günther Deschner2009-03-181-2/+2
| | | | Guenther
* libnetapi_open_pipe does not need to return cli_stateVolker Lendecke2009-01-181-68/+2
| | | | | | | | | | The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
* s3-samr: avoid all init_samr_user* functions.Günther Deschner2009-01-061-29/+35
| | | | Guenther
* s3-samr: fix SAMR_FIELD_PASSWORD callers.Günther Deschner2008-12-051-1/+1
| | | | Guenther
* netapi: fix access bits in netapi.Günther Deschner2008-10-281-1/+1
| | | | Guenther
* netapi: fix add_GROUP_USERS_INFO_X_buffer.Günther Deschner2008-10-231-4/+12
| | | | Guenther
* netapi: fix NetUserGetGroups_r returning partial results.Günther Deschner2008-10-231-2/+3
| | | | Guenther
* netapi: start supporting NetUserSetInfo level 3.Günther Deschner2008-09-251-7/+46
| | | | Guenther
* netapi: fix NetUserGetLocalGroups.Günther Deschner2008-09-121-2/+0
| | | | | Guenther (This used to be commit 5d91c9184c27def47f20fc089cc127d780387ed8)
* netapi: fix NetUserSetGroups.Günther Deschner2008-09-121-20/+22
| | | | | Guenther (This used to be commit e8b27b69f33fb33c670026b3a24ed95a2f0099fe)
* netapi: implement NetUserGetLocalGroups_r.Günther Deschner2008-09-111-0/+238
| | | | | Guenther (This used to be commit 969bc7ce3d3f266bf07784a980ea35ab458e6eae)
* netapi: add NetUserGetLocalGroups skeleton.Günther Deschner2008-09-111-0/+18
| | | | | Guenther (This used to be commit b31209e4495de31140c57338a891569b3436d91e)
* netapi: implement NetUserSetGroups_r.Günther Deschner2008-09-111-2/+242
| | | | | Guenther (This used to be commit 2ddee7577de1d6d2b7a39b949ed6a925da2e9db8)
* netapi: add skeleton for NetUserSetGroups.Günther Deschner2008-09-111-0/+19
| | | | | Guenther (This used to be commit 165be948fab1c64526421b44b08de700849bba25)
* netapi: make add_GROUP_USERS_INFO_X_buffer non-static.Günther Deschner2008-09-111-6/+6
| | | | | Guenther (This used to be commit 87fc15d9b52bbb15550015cb106062d24c5674ba)
* netapi: add info21_to_USER_INFO_11 and support level 11 in NetUserEnum/GetInfo.Günther Deschner2008-08-291-5/+45
| | | | | Guenther (This used to be commit c022ec38521e7ff655fc12807fcfd0e4f056e18b)
* netapi: add info21_to_USER_INFO_4 and support level 4 in NetUserEnum/GetInfo.Günther Deschner2008-08-291-2/+68
| | | | | Guenther (This used to be commit b3ccc9a447c380e2898606b8f392f8bec9f40dc9)
* netapi: add info21_to_USER_INFO_3 and support level 3 in NetUserEnum/GetInfo.Günther Deschner2008-08-291-2/+54
| | | | | Guenther (This used to be commit 6b56b70a47823ab482f0c2a5fb55a759857b99f0)