summaryrefslogtreecommitdiffstats
path: root/source3/lib/netapi
Commit message (Collapse)AuthorAgeFilesLines
* s3-netdomjoin-gui: allow to switch between workgroups/domains with the same ↵Günther Deschner2009-05-261-2/+4
| | | | | | | | name. Guenther (cherry picked from commit d800ee50335ecbd2dbd3b451a18a00780ac28f04) (cherry picked from commit 9db1fc45786872d938939bd33b3b867ee599c9a2)
* s3-netdomjoin-gui: cosmetic fix for empty hostnames.Günther Deschner2009-05-261-0/+1
| | | | | | Guenther (cherry picked from commit 8c74d31962eb82f7dcc07000aeb27a84a633a225) (cherry picked from commit c03287c2f8d03363a26b0518b6370ddfaa7b5915)
* s3-netdomjoin-gui: only gray out labels when not root and not connecting toGünther Deschner2009-05-261-3/+3
| | | | | | | | remote machines. Guenther (cherry picked from commit 473bf41d20b25bd7d98ea6647e6295b3fb6f34e1) (cherry picked from commit 7115126d0f7d97c3633b62e76e2fdc681dedb36d)
* s3-netapi: implement NetShutdownInit_r and NetShutdownAbort_r.Günther Deschner2009-05-261-2/+49
| | | | | | Guenther (cherry picked from commit 8fdb499497f8d4f4a1ca93ffc94de8b57c2c1568) (cherry picked from commit efaf83fadea2e7b13441d08d82a3a1d27571d16d)
* s3-netapi: add example code for NetShutdownInit and NetShutdownAbort.Günther Deschner2009-05-263-1/+183
| | | | | | Guenther (cherry picked from commit 80f0d819fb85bdfbd85e910fccc62e778bea3a83) (cherry picked from commit de33ca38880aa10fbd57ce45f2defdf83c379879)
* s3-netapi: add NetShutdownInit and NetShutdownAbort to public API.Günther Deschner2009-05-261-0/+36
| | | | | | Guenther (cherry picked from commit 1ddc4829aec61d952aaf3185cc56d53d4a9b5c3c) (cherry picked from commit afca1d6cd2a184d7b8f70847db143761d5497ac6)
* s3-netapi: add NetShutdownInit and NetShutdownAbort skeletons.Günther Deschner2009-05-263-0/+163
| | | | | | Guenther (cherry picked from commit 8fd3c8902c5e953a0ddf184b08f9e37f954ee12e) (cherry picked from commit fb8cbd7f7e078754faf7fb0b9f071aecbb19d401)
* s3-netdomjoin-gui: prepare to call out for NetRenameMachineInDomain() to ↵Günther Deschner2009-05-261-1/+48
| | | | | | | | | | rename computers in domains. Guenther (cherry picked from commit 6154b031f4521fad4b5c460643da59dd918b240a) (cherry picked from commit a53f9e695bd09b166085d8c714f323ff1d0ce1c6)
* s3-netdomjoin-gui: Fix join prompt dialog test.Günther Deschner2009-05-261-1/+1
| | | | | | Guenther (cherry picked from commit d3a9ee689d636f13f7935d1ddfccfdd4f4e8527a) (cherry picked from commit 7533e32075ac8b162c230ed112974f421e0d1569)
* s3-netdomjoin-gui: use NetServerGetInfo() level 101 to get hostname.Günther Deschner2009-05-261-2/+7
| | | | | | Guenther (cherry picked from commit 3e2975b3bdd247d1e3e7c74bada2f85a1936acaf) (cherry picked from commit 4298e296f02a4df182d5d2ee2623bc869b321c53)
* s3-netdomjoin-gui: inspect the correct computername string beforeGünther Deschner2009-05-261-1/+1
| | | | | | | | enabling/disabling the change button. Guenther (cherry picked from commit 20b5fc02d2e97dbd51d84cc05ac887e274b14866) (cherry picked from commit c7ca84fd4a4c58771b47252248b00e6bb5c411a1)
* s3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or greater.Günther Deschner2009-05-261-1/+2
| | | | | | | | Found by David Markey <admin@dmarkey.com>. Thanks! Guenther (cherry picked from commit ab4b8c9c0438bc5afca17e3ebf05dde6f98bc0aa) (cherry picked from commit 942d47e5ed583e29afaa005f9ca6251373db8e2f)
* Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison2009-04-283-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. (cherry picked from commit 1994a8a5db5c3abd6292b81aa975e7b8fe8311d0)
* netdomjoin-gui: make sure to grey out change fields when not running as root.Günther Deschner2009-04-151-0/+15
| | | | | | Guenther (cherry picked from commit ca3de0103b545c86c8507dfc7d042f1838d5dfb2) (cherry picked from commit cb96e70a1d9112d9e4fff1fda4cf64abc7985347)
* s3-libnetapi: fix creds in libnetapi_open_ipc_connection().Günther Deschner2009-04-151-0/+5
| | | | | | | | | Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if other users broke as well with that change. Guenther (cherry picked from commit 56d74b62126083dd7e2a60d1b48b03e1b1798c90) (cherry picked from commit 97c30f557aab49f199df07f2a48ba94ad9cc81c5)
* s3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong ↵Günther Deschner2009-04-151-6/+12
| | | | | | | | information. Guenther (cherry picked from commit 24d5229a81e1067662930d42f8c59b3a0adac1e0) (cherry picked from commit 1de41bb8d6b9cbf287bad4152e38402201f966d3)
* s3-netapi: Fix Coverity #774 (REVERSE_INULL).Günther Deschner2009-04-151-6/+3
| | | | | | Guenther (cherry picked from commit 3a6133d70202ef80ead4203740c000be5e93b288) (cherry picked from commit 0ec1350d3d9272a6070950ba1d460523f53a628d)
* s3-netapi: Fix Coverity #775 (REVERSE_INULL).Günther Deschner2009-04-151-6/+3
| | | | | | Guenther (cherry picked from commit f2243e8197aa064adea3da2a4d1c08250668943f) (cherry picked from commit 8a6f09cededf4167aea5f08e573bab51afcc0074)
* s3-netapi: Fix Coverity #776 (REVERSE_INULL).Günther Deschner2009-04-151-7/+3
| | | | | | Guenther (cherry picked from commit d2e348b191ada5492538b7bdae1bb7cd3f639aba) (cherry picked from commit e858d192e1d7d6ab45ec247fbb776f5825e7fca5)
* s3: remove POLICY_HND.Günther Deschner2009-04-152-8/+8
| | | | | | Guenther (cherry picked from commit 531af136f9dd5c6050f78948837294aed02de440) (cherry picked from commit 91216ffa95b4ed53e54b11665e96b911cb4e4ab5)
* Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison2009-04-151-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. (cherry picked from commit 8b44877eb82c1c9270cb8099fefc621922f82719)
* 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
* 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: make sure to always cleanup after testing NetUser calls.Günther Deschner2008-10-241-0/+4
| | | | Guenther
* netapi: add more group tests to netapitest.Günther Deschner2008-10-241-3/+220
| | | | 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: NetGroupEnum_r needs to handle servers with no groups.Günther Deschner2008-10-231-1/+1
| | | | Guenther
* Fix warnings.Jeremy Allison2008-10-205-32/+34
| | | | Jeremy.
* s3: fix various samr callers.Günther Deschner2008-10-152-3/+3
| | | | Guenther
* Fix some missing error handlingsVolker Lendecke2008-10-053-2/+8
|
* netapi: start supporting NetUserSetInfo level 3.Günther Deschner2008-09-251-7/+46
| | | | Guenther
* netapi: add NetFile testsuite.Günther Deschner2008-09-224-1/+151
| | | | Guenther
* netapi: fix case statement in example NetUserSetModals code.Günther Deschner2008-09-221-0/+1
| | | | Guenther
* build: fix cflag recursion in generated netapi makefiles.Günther Deschner2008-09-172-51/+51
| | | | Guenther
* netapi: fix NetUserGetLocalGroups.Günther Deschner2008-09-121-2/+0
| | | | | Guenther (This used to be commit 5d91c9184c27def47f20fc089cc127d780387ed8)
* netapi: fix NetGroupGetUsers (only enumerates users).Günther Deschner2008-09-121-1/+6
| | | | | Guenther (This used to be commit a94318be4656a668be0295988ed0743105d830c9)