summaryrefslogtreecommitdiffstats
path: root/source3/lib/netapi
Commit message (Collapse)AuthorAgeFilesLines
* s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() insteadAndrew Bartlett2010-11-021-11/+2
| | | | | | | | | By removing this global variable, the API between the two different debug systems is made more similar. Both s3 and s4 now have lp_set_cmdline() which ensures that the smb.conf cannot overwrite these the user-specified log level. Andrew Bartlett
* s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett2010-11-021-4/+1
| | | | | | | | This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-125-3/+5
| | | | | | | | | | | | | | 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
* samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.Günther Deschner2010-10-071-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
* s3: Attempt to fix bug 7665Volker Lendecke2010-10-0211-136/+295
| | | | | | | 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-dsgetdcname: always pass in messaging context.Günther Deschner2010-09-233-4/+22
| | | | | | Volker, please check. Guenther
* s3: Remove a global variable in bugfix for bug 7665Volker Lendecke2010-09-212-7/+11
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-libnetapi: Fix Bug #7665, memory leak in netapi connection manager.Günther Deschner2010-09-201-30/+65
| | | | Guenther
* s3-util: use shared dom_sid_dup.Günther Deschner2010-09-202-9/+11
| | | | Guenther
* s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner2010-09-201-2/+3
| | | | Guenther
* s3-nltest: add dsregdns command to nltest.Günther Deschner2010-09-191-1/+21
| | | | Guenther
* s3-libnetapi: support NETLOGON_CONTROL_FORCE_DNS_REG in I_NetLogonControl().Günther Deschner2010-09-191-0/+4
| | | | Guenther
* s3-nltest: add dsgetdc command.Günther Deschner2010-09-151-3/+181
| | | | Guenther
* s3-libnetapi: try using netr_DsRGetDCNameEx() in DsGetDcName().Günther Deschner2010-09-151-0/+13
| | | | Guenther
* s3-libnetapi: add DS request flags to public header.Günther Deschner2010-09-151-0/+21
| | | | Guenther
* s3-libnetapi: add DS_X_FLAGs to public header.Günther Deschner2010-09-151-0/+16
| | | | Guenther
* s3-nltest: convert server input argument into --server.Günther Deschner2010-09-151-24/+19
| | | | Guenther
* s3-nltest: rename print_result to print_netlogon_info_result.Günther Deschner2010-09-151-4/+17
| | | | Guenther
* s3-auth Change type of num_sids to uint32_tAndrew Bartlett2010-09-111-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>
* s3-build: only include krb5 environment variables where required.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-lsa: separate out init_lsa headers.Günther Deschner2010-08-255-0/+5
| | | | Guenther
* s3-netlogon: remove global include of netlogon.h.Günther Deschner2010-08-063-3/+3
| | | | | | | This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
* s3-popt: Only include popt-common.h when needed.Andreas Schneider2010-08-051-0/+1
|
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-052-0/+2
| | | | Guenther
* s3: avoid global include of ads.h.Günther Deschner2010-08-051-1/+1
| | | | Guenther
* s3-libnet: better separate headers.Günther Deschner2010-07-131-1/+2
| | | | 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: Fix some enum/int mixup warningsVolker Lendecke2010-06-211-53/+53
|
* s3-netdomjoin-gui: Fix Bug #7500. Fix 'not a string literal' warning in ↵Günther Deschner2010-06-081-1/+1
| | | | | | | | | | netdomjoin-gui. Patch from Buchan Milne <bgmilne@mandriva.org>. Thanks! Guenther
* s3-security: use shared "Standard access rights.".Günther Deschner2010-06-032-3/+3
| | | | Guenther
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-212-2/+2
| | | | | | | | | | 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_client: move protos to cli_lsarpc.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-rpc_client: move protos to cli_samr.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* smbconf: only include smbconf headers where needed.Günther Deschner2010-05-181-0/+2
| | | | Guenther
* s3: only include gen_ndr headers where needed.Günther Deschner2010-05-062-2/+0
| | | | | | | | | | | | | | | | | This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
* s3-nltest: fix uninitialized query level.Günther Deschner2010-02-251-1/+1
| | | | Guenther
* s3:netapi: remove unused variableBjörn Jacke2010-01-261-2/+0
|
* s3: add libnetapi_set_use_ccache()Volker Lendecke2010-01-243-0/+16
|
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-2611-0/+12
| | | | | | samba. Guenther
* Revert "s3: Make libnetapi_open_pipe take strings instead of a ↵Volker Lendecke2009-11-0812-61/+54
| | | | | | ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
* s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_tableVolker Lendecke2009-11-0812-54/+61
|
* s3: get_pipe_name_from_iface -> get_pipe_name_from_syntaxVolker Lendecke2009-11-071-1/+1
|
* s3-libnetapi: add nltest tool.Günther Deschner2009-10-162-1/+258
| | | | Guenther
* s3-libnetapi: add I_NetLogonControl{2} example code.Günther Deschner2009-10-163-1/+303
| | | | Guenther
* s3-libnetapi: add I_NetLogonControl{2} to public headers.Günther Deschner2009-10-161-1/+91
| | | | Guenther
* s3-libnetapi: fill in I_NetLogonControl{2}_r.Günther Deschner2009-10-161-2/+181
| | | | Guenther
* s3-libnetapi: add I_NetLogonControl{2} skeleton.Günther Deschner2009-10-163-0/+172
| | | | Guenther
* w32err: WERR_GROUP_NOT_FOUND renamed to WERR_GROUPNOTFOUNDKamen Mazdrashki2009-09-301-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>