summaryrefslogtreecommitdiffstats
path: root/source3/lib/netapi
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* 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
* Remove gencache_init/shutdownVolker Lendecke2009-07-151-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.
* libds: merge the UF<->ACB flag mapping functions.Günther Deschner2009-07-131-1/+1
| | | | Guenther
* Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.confDavid Markey2009-06-291-1/+1
|
* Fix some dead code warnings from SUN StudioVolker Lendecke2009-06-262-4/+4
|
* Don't require "Modify property" perms to unjoin bug #6481)Jim McDonough2009-06-191-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.
* s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.Günther Deschner2009-06-161-0/+2
| | | | Guenther
* s3-netapi: Fix Bug #6305. Correctly prompt for a password when a username ↵Günther Deschner2009-06-161-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
* s3-netapi: add NetGetJoinInformation example code.Günther Deschner2009-06-162-0/+110
| | | | Guenther
* s3-netdomjoin-gui: allow to switch between workgroups/domains with the same ↵Günther Deschner2009-05-151-2/+4
| | | | | | name. Guenther
* s3-netdomjoin-gui: cosmetic fix for empty hostnames.Günther Deschner2009-05-151-0/+1
| | | | Guenther
* s3-netdomjoin-gui: only gray out labels when not root and not connecting toGünther Deschner2009-05-151-3/+3
| | | | | | remote machines. Guenther
* s3-netapi: implement NetShutdownInit_r and NetShutdownAbort_r.Günther Deschner2009-05-141-2/+49
| | | | Guenther
* s3-netapi: add example code for NetShutdownInit and NetShutdownAbort.Günther Deschner2009-05-143-1/+183
| | | | Guenther
* s3-netapi: add NetShutdownInit and NetShutdownAbort to public API.Günther Deschner2009-05-141-0/+36
| | | | Guenther
* s3-netapi: add NetShutdownInit and NetShutdownAbort skeletons.Günther Deschner2009-05-143-0/+163
| | | | Guenther
* s3-netdomjoin-gui: prepare to call out for NetRenameMachineInDomain() to ↵Günther Deschner2009-05-131-1/+48
| | | | | | | | rename computers in domains. Guenther
* s3-netdomjoin-gui: Fix join prompt dialog test.Günther Deschner2009-05-121-1/+1
| | | | Guenther
* s3-netdomjoin-gui: use NetServerGetInfo() level 101 to get hostname.Günther Deschner2009-05-121-2/+7
| | | | Guenther
* s3-netdomjoin-gui: inspect the correct computername string beforeGünther Deschner2009-05-121-1/+1
| | | | | | enabling/disabling the change button. Guenther
* s3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or greater.Günther Deschner2009-04-301-1/+2
| | | | | | Found by David Markey <admin@dmarkey.com>. Thanks! Guenther
* Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett2009-04-203-37/+36
|\
| * Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison2009-04-153-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.
* | Merge branch 'master' of ssh://git.samba.org/data/git/samba into ↵Andrew Bartlett2009-04-151-0/+15
|\| | | | | | | libcli-auth-merge-without-netlogond
| * netdomjoin-gui: make sure to grey out change fields when not running as root.Günther Deschner2009-04-141-0/+15
| | | | | | | | Guenther
* | More work to adapt to merged libcli/auth function prototypesAndrew Bartlett2009-04-141-0/+1
|/
* s3-libnetapi: fix creds in libnetapi_open_ipc_connection().Günther Deschner2009-03-261-0/+5
| | | | | | | Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if other users broke as well with that change. Guenther
* 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-netapi: Fix Coverity #776 (REVERSE_INULL).Günther Deschner2009-03-201-7/+3
| | | | Guenther
* s3: remove POLICY_HND.Günther Deschner2009-03-182-8/+8
| | | | Guenther
* Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison2009-03-171-16/+16
| | | | | | | | | callers pass in a struct user_auth_info * instead. This commit causes smbc_set_credentials() to print out a message telling callers to use smbc_set_credentials_with_fallback() instead, as smbc_set_credentials() has a broken API (no SMBCCTX * pointer). No more global variables used in the connection manager API for client dfs calls. Jeremy.
* Remove the static "struct client_connection" mess which is part ofJeremy Allison2009-03-121-12/+16
| | | | | | | | the problem that stops libsmbclient being thread safe. Subsidiary DFS connections are now hung off a list inside the cli_state struct. Much more to do in order to get libsmbclient to thread safety, but this is a good start. Jeremy.
* Fix an uninitialized variableVolker Lendecke2009-02-191-0/+1
|
* s3-netapi: fix Coverity #881 and #882.Günther Deschner2009-02-171-7/+56
| | | | Guenther
* netapi: add NetServer testsuite.Günther Deschner2009-02-064-1/+69
| | | | Guenther
* netapi: include more SERVER_INFO_X levels in example code.Günther Deschner2009-02-061-0/+16
| | | | Guenther
* netapi: implement more SERVER_INFO_X levels.Günther Deschner2009-02-061-1/+271
| | | | Guenther
* netapi: add SERVER_INFO_X to public header.Günther Deschner2009-02-061-0/+612
| | | | Guenther
* cli_get_pipe_name_from_interface does not really need a talloc_ctxVolker Lendecke2009-02-011-1/+1
|
* Actually complete 3662c2b...Volker Lendecke2009-01-221-2/+1
|
* libnetapi_open_pipe does not need to return cli_stateVolker Lendecke2009-01-1810-246/+12
| | | | | | | | | | The user session key is also available in rpccli->auth->user_session_key Guenther, please check! Thanks, Volker
* Remove smbclient globals that bled into clidfs.c. Now we only haveJeremy Allison2009-01-141-1/+2
| | | | | the connections list and authentication structures to worry about. Jeremy
* Fix build of netapi.Jeremy Allison2009-01-141-1/+2
| | | | Jeremy.
* s3-samr: avoid all init_samr_user* functions.Günther Deschner2009-01-061-29/+35
| | | | Guenther