summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/user.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett1-3/+3
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_ARRAY() to talloc_array()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-05-30s3: fix some -Wunused-but-set-variable build warnings.Günther Deschner1-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
2011-05-05More const fixes for compiler warnings from the waf build.Jeremy Allison1-1/+1
2011-04-24s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()Stefan Metzmacher1-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
2011-03-25s3-netapi: fix memoryleak while not using talloc_tos() in ↵Günther Deschner1-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
2011-03-24s3-netapi: use cli_get_session_key() in netapi.Günther Deschner1-2/+17
Guenther
2011-03-02s3-libds: use already existing ../libds/common/flag_mapping.h header.Günther Deschner1-0/+1
Guenther
2011-02-01s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/user.c.Günther Deschner1-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
2010-12-30s3:lib/netapi: don't set SAMR_FIELD_FULL_NAME if we just want to set the ↵Stefan Metzmacher1-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
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-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.
2010-09-20s3-util: use shared dom_sid_dup.Günther Deschner1-7/+8
Guenther
2010-08-25s3-lsa: separate out init_lsa headers.Günther Deschner1-0/+1
Guenther
2010-07-05samr.idl:UserInfo structures - fix some names according to MS-SAMR documentationMatthias Dieter Wallnöfer1-2/+2
See MS-SAMR section "FULL IDL"
2010-07-01s3-libads: only include libds flags where needed.Günther Deschner1-0/+1
Guenther
2010-06-03s3-security: use shared "Standard access rights.".Günther Deschner1-2/+2
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-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>
2010-05-18s3-rpc_client: move protos to init_samr.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/+1
samba. Guenther
2009-11-08Revert "s3: Make libnetapi_open_pipe take strings instead of a ↵Volker Lendecke1-11/+11
ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
2009-11-08s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_tableVolker Lendecke1-11/+11
2009-09-16s3-netapi: Fix Coverity #668: FORWARD_NULL.Günther Deschner1-1/+1
Guenther
2009-09-16s3-netapi: Fix Coverity #669 FORWARD_NULL.Günther Deschner1-1/+1
Guenthe
2009-09-16s3-netapi: Fix Coverity #670: FORWARD_NULL.Günther Deschner1-1/+1
Guenther
2009-07-13libds: merge the UF<->ACB flag mapping functions.Günther Deschner1-1/+1
Guenther
2009-06-26Fix some dead code warnings from SUN StudioVolker Lendecke1-2/+2
2009-06-16s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.Günther Deschner1-0/+2
Guenther
2009-04-15Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison1-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.
2009-03-26s3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong ↵Günther Deschner1-6/+12
information. Guenther
2009-03-20s3-netapi: Fix Coverity #774 (REVERSE_INULL).Günther Deschner1-6/+3
Guenther
2009-03-20s3-netapi: Fix Coverity #775 (REVERSE_INULL).Günther Deschner1-6/+3
Guenther
2009-03-18s3: remove POLICY_HND.Günther Deschner1-2/+2
Guenther
2009-01-18libnetapi_open_pipe does not need to return cli_stateVolker Lendecke1-68/+2
The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
2009-01-06s3-samr: avoid all init_samr_user* functions.Günther Deschner1-29/+35
Guenther
2008-12-05s3-samr: fix SAMR_FIELD_PASSWORD callers.Günther Deschner1-1/+1
Guenther
2008-10-28netapi: fix access bits in netapi.Günther Deschner1-1/+1
Guenther
2008-10-23netapi: fix add_GROUP_USERS_INFO_X_buffer.Günther Deschner1-4/+12
Guenther
2008-10-23netapi: fix NetUserGetGroups_r returning partial results.Günther Deschner1-2/+3
Guenther
2008-09-25netapi: start supporting NetUserSetInfo level 3.Günther Deschner1-7/+46
Guenther
2008-09-12netapi: fix NetUserGetLocalGroups.Günther Deschner1-2/+0
Guenther (This used to be commit 5d91c9184c27def47f20fc089cc127d780387ed8)
2008-09-12netapi: fix NetUserSetGroups.Günther Deschner1-20/+22
Guenther (This used to be commit e8b27b69f33fb33c670026b3a24ed95a2f0099fe)
2008-09-11netapi: implement NetUserGetLocalGroups_r.Günther Deschner1-0/+238
Guenther (This used to be commit 969bc7ce3d3f266bf07784a980ea35ab458e6eae)
2008-09-11netapi: add NetUserGetLocalGroups skeleton.Günther Deschner1-0/+18
Guenther (This used to be commit b31209e4495de31140c57338a891569b3436d91e)
2008-09-11netapi: implement NetUserSetGroups_r.Günther Deschner1-2/+242
Guenther (This used to be commit 2ddee7577de1d6d2b7a39b949ed6a925da2e9db8)
2008-09-11netapi: add skeleton for NetUserSetGroups.Günther Deschner1-0/+19
Guenther (This used to be commit 165be948fab1c64526421b44b08de700849bba25)
2008-09-11netapi: make add_GROUP_USERS_INFO_X_buffer non-static.Günther Deschner1-6/+6
Guenther (This used to be commit 87fc15d9b52bbb15550015cb106062d24c5674ba)
2008-08-29netapi: add info21_to_USER_INFO_11 and support level 11 in NetUserEnum/GetInfo.Günther Deschner1-5/+45
Guenther (This used to be commit c022ec38521e7ff655fc12807fcfd0e4f056e18b)
2008-08-29netapi: add info21_to_USER_INFO_4 and support level 4 in NetUserEnum/GetInfo.Günther Deschner1-2/+68
Guenther (This used to be commit b3ccc9a447c380e2898606b8f392f8bec9f40dc9)
2008-08-29netapi: add info21_to_USER_INFO_3 and support level 3 in NetUserEnum/GetInfo.Günther Deschner1-2/+54
Guenther (This used to be commit 6b56b70a47823ab482f0c2a5fb55a759857b99f0)