summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
AgeCommit message (Collapse)AuthorFilesLines
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2-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>
2010-05-18s3-rpc_client: move protos to init_samr.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_samr.hGünther Deschner1-0/+1
Guenther
2010-05-18smbconf: only include smbconf headers where needed.Günther Deschner1-0/+2
Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner2-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
2010-02-25s3-nltest: fix uninitialized query level.Günther Deschner1-1/+1
Guenther
2010-01-26s3:netapi: remove unused variableBjörn Jacke1-2/+0
2010-01-24s3: add libnetapi_set_use_ccache()Volker Lendecke3-0/+16
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner11-0/+12
samba. Guenther
2009-11-08Revert "s3: Make libnetapi_open_pipe take strings instead of a ↵Volker Lendecke12-61/+54
ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
2009-11-08s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_tableVolker Lendecke12-54/+61
2009-11-07s3: get_pipe_name_from_iface -> get_pipe_name_from_syntaxVolker Lendecke1-1/+1
2009-10-16s3-libnetapi: add nltest tool.Günther Deschner2-1/+258
Guenther
2009-10-16s3-libnetapi: add I_NetLogonControl{2} example code.Günther Deschner3-1/+303
Guenther
2009-10-16s3-libnetapi: add I_NetLogonControl{2} to public headers.Günther Deschner1-1/+91
Guenther
2009-10-16s3-libnetapi: fill in I_NetLogonControl{2}_r.Günther Deschner1-2/+181
Guenther
2009-10-16s3-libnetapi: add I_NetLogonControl{2} skeleton.Günther Deschner3-0/+172
Guenther
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-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-15Remove gencache_init/shutdownVolker Lendecke1-1/+0
gencache_get/set/del/iterate call gencache_init() internally anyway. And we've been very lazy calling gencache_shutdown, so this seems not really required.
2009-07-13libds: merge the UF<->ACB flag mapping functions.Günther Deschner1-1/+1
Guenther
2009-06-29Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.confDavid Markey1-1/+1
2009-06-26Fix some dead code warnings from SUN StudioVolker Lendecke2-4/+4
2009-06-19Don't require "Modify property" perms to unjoin bug #6481)Jim McDonough1-0/+1
"net ads leave" stopped working when "modify properties" permissions were not granted (meaning you had to be allowed to disable the account that you were about to delete). Libnetapi should not delete machine accounts, as this does not happen on win32. The WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag really means "disable" (both in practice and docs). However, to keep the functionality in "net ads leave", we will still try to do the delete. If this fails, we try to do the disable. Additionally, it is possible in windows to not disable or delete the account, but just tell the local machine that it is no longer in the account. libnet can now do this as well.
2009-06-16s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.Günther Deschner1-0/+2
Guenther
2009-06-16s3-netapi: Fix Bug #6305. Correctly prompt for a password when a username ↵Günther Deschner1-1/+5
was given. When no callback or wrapping has managed to get a password, prompt in the netapi connection manager for a password. Guenther
2009-06-16s3-netapi: add NetGetJoinInformation example code.Günther Deschner2-0/+110
Guenther
2009-05-15s3-netdomjoin-gui: allow to switch between workgroups/domains with the same ↵Günther Deschner1-2/+4
name. Guenther
2009-05-15s3-netdomjoin-gui: cosmetic fix for empty hostnames.Günther Deschner1-0/+1
Guenther
2009-05-15s3-netdomjoin-gui: only gray out labels when not root and not connecting toGünther Deschner1-3/+3
remote machines. Guenther
2009-05-14s3-netapi: implement NetShutdownInit_r and NetShutdownAbort_r.Günther Deschner1-2/+49
Guenther
2009-05-14s3-netapi: add example code for NetShutdownInit and NetShutdownAbort.Günther Deschner3-1/+183
Guenther
2009-05-14s3-netapi: add NetShutdownInit and NetShutdownAbort to public API.Günther Deschner1-0/+36
Guenther
2009-05-14s3-netapi: add NetShutdownInit and NetShutdownAbort skeletons.Günther Deschner3-0/+163
Guenther
2009-05-13s3-netdomjoin-gui: prepare to call out for NetRenameMachineInDomain() to ↵Günther Deschner1-1/+48
rename computers in domains. Guenther
2009-05-12s3-netdomjoin-gui: Fix join prompt dialog test.Günther Deschner1-1/+1
Guenther
2009-05-12s3-netdomjoin-gui: use NetServerGetInfo() level 101 to get hostname.Günther Deschner1-2/+7
Guenther
2009-05-12s3-netdomjoin-gui: inspect the correct computername string beforeGünther Deschner1-1/+1
enabling/disabling the change button. Guenther
2009-04-30s3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or greater.Günther Deschner1-1/+2
Found by David Markey <admin@dmarkey.com>. Thanks! Guenther
2009-04-20Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett3-37/+36
2009-04-15Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison3-37/+36
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-04-15Merge branch 'master' of ssh://git.samba.org/data/git/samba into ↵Andrew Bartlett1-0/+15
libcli-auth-merge-without-netlogond
2009-04-14netdomjoin-gui: make sure to grey out change fields when not running as root.Günther Deschner1-0/+15
Guenther
2009-04-14More work to adapt to merged libcli/auth function prototypesAndrew Bartlett1-0/+1
2009-03-26s3-libnetapi: fix creds in libnetapi_open_ipc_connection().Günther Deschner1-0/+5
Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if other users broke as well with that change. Guenther
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