1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

111 Commits

Author SHA1 Message Date
Stefan Metzmacher
0470cc385d s3:lib/netapi: add libnetapi_get_creds()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2024-05-14 10:18:31 +00:00
Samuel Cabrero
7cabbec2ea s3:libnetapi: Add NetComposeOfflineDomainJoin() to API.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13577

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-09-05 21:18:32 +00:00
Günther Deschner
c1f937bfb1 s3-libnetapi: add NetRequestOfflineDomainJoin to api
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2021-07-14 16:49:30 +00:00
Günther Deschner
8bf2a3f9c0 s3-libnetapi: add NetProvisionComputerAccount to api.
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2021-07-14 16:49:30 +00:00
Günther Deschner
4d65b26356 s3-libnetapi: add missing NetJoinFlags for netapi
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2021-07-14 16:49:30 +00:00
Günther Deschner
1c62cac7f2 s3-libnetapi: add libnetapi_set_logfile()
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2021-07-14 16:49:30 +00:00
Günther Deschner
927390bae5 s3-libnetapi: add libnetapi_get_use_kerberos()
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2021-07-14 16:49:30 +00:00
Andreas Schneider
c871c22461 s3:netapi: Add libnetapi_set_creds()
This will be used by the 'net' command in future!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Mar 24 02:07:20 UTC 2021 on sn-devel-184
2021-03-24 02:07:20 +00:00
Andreas Schneider
e79b067e23 s3:netapi: Make 'struct libnetapi_ctx' opaque
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2021-03-24 00:55:32 +00:00
Andreas Schneider
c9222ab838 s3:netapi: Implement public libnetapi_get_(username|password) functions
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2021-03-24 00:55:32 +00:00
Günther Deschner
eb8d914d91 s3-netapi: add DS_8 and WS flags to libnetapi and nltest.
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2014-10-24 11:30:05 +02:00
Hans Leidekker
4503bdf560 netapi: Add support for info level 502 in NetShareAdd.
Signed-off-by: Hans Leidekker <hans@meelstraat.net>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Tue Nov 19 21:48:17 CET 2013 on sn-devel-104
2013-11-19 21:48:17 +01:00
Hans Leidekker
a4c3553b5a Add NetWkstaGetInfo.
Modified to include common.h entry for netapitest_wksta function by Kai
Blin <kai@samba.org>

Signed-off-by: Hans Leidekker <hans@meelstraat.net>
Reviewed-by: Kai Blin <kai@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Oct 16 07:00:45 CEST 2013 on sn-devel-104
2013-10-16 07:00:45 +02:00
Günther Deschner
d66d7c2b00 s3-netapi: remove pointless use_memory_krb5_ccache.
This breaks the ABI.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Oct 26 13:23:58 CEST 2011 on sn-devel-104
2011-10-26 13:23:58 +02:00
Günther Deschner
a9a81648e9 s3-netapi: allow to use default krb5 credential cache for libnetapi users.
Guenther
2011-09-21 17:39:08 +02:00
Andrew Bartlett
a37de9a959 s3-libnetapi Don't create a talloc_stackframe() in a global variable
This also ensures that libnetapi_free() invalidates the global
stat_ctx variable, and changes the API so that the behaviour of the
error string routines is to consistently return a allocated string.

Pair-Programmed-With: Günther Deschner <gd@samba.org>

Andrew Bartlett
2011-05-13 18:50:23 +02:00
Günther Deschner
3fe966d280 s3-libnetapi: add DS request flags to public header.
Guenther
2010-09-15 08:32:58 +02:00
Günther Deschner
26672e228a s3-libnetapi: add DS_X_FLAGs to public header.
Guenther
2010-09-15 08:32:58 +02:00
Volker Lendecke
aa837d4aee s3: add libnetapi_set_use_ccache() 2010-01-24 20:32:17 +01:00
Günther Deschner
d308aa3de8 s3-libnetapi: add I_NetLogonControl{2} to public headers.
Guenther
2009-10-16 10:50:28 +02:00
Günther Deschner
1ddc4829ae s3-netapi: add NetShutdownInit and NetShutdownAbort to public API.
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
2e2f511ca3 netapi: add SERVER_INFO_X to public header.
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
6b3308648c netapi: add NetFileEnum to public header.
Guenther
(This used to be commit 50ce2a3d1a520bd1508110872e871c2c67e0f606)
2008-09-11 14:37:48 +02:00
Günther Deschner
8ab0d696c5 netapi: add NetFileGetInfo to public header.
Guenther
(This used to be commit 5dd017b33f7d4154966aa3633d3ef3c8b482ca62)
2008-09-11 14:37:11 +02:00
Günther Deschner
bbd2eeb0f6 netapi: add NetFileClose to public header.
Guenther
(This used to be commit 502bbf00faa500765d1a9dedc1cede271c89b7d1)
2008-09-11 14:36:12 +02:00
Günther Deschner
f87901f7e4 netapi: add NetUserGetLocalGroups to public header.
Guenther
(This used to be commit 299f76f4ce9d6f617431149e2502c27faa4431aa)
2008-09-11 14:30:49 +02:00
Günther Deschner
b6d861a9c0 netapi: add NetGroupSetUsers to public header.
Guenther
(This used to be commit 72a0b27aecc9113445dd03bdcd549ac50dd988aa)
2008-09-11 14:29:44 +02:00
Günther Deschner
fce223602e netapi: add NetUserSetGroups to public header.
Guenther
(This used to be commit 3e96cd229c1536a7e16441f600c379ceb651b2b3)
2008-09-11 14:28:54 +02:00
Günther Deschner
1a32fbeb86 netapi: fix doxygen warning.
Guenther
(This used to be commit e0312728a5ac5abd64622600f47967861a4e0183)
2008-09-11 14:21:11 +02:00
Günther Deschner
09e96f2a98 netapi: add NetShareSetInfo to public header.
Guenther
(This used to be commit 2066ebc5e3e782b9443aee3e5beb1a99d69096ec)
2008-09-05 13:22:22 +02:00
Günther Deschner
93cb6d26d1 netapi: add NetShareGetInfo to public header.
Guenther
(This used to be commit 5c63b181ec698a6134ce31326dab9e6bd232acf0)
2008-09-05 13:21:19 +02:00
Günther Deschner
72718e0899 netapi: add NETSETUP_JOIN_STATUS to public header.
Guenther
(This used to be commit 86de3242a478c9f669958414ee9e7720cddad9aa)
2008-09-05 13:18:16 +02:00
Günther Deschner
10e8f90a65 netapi: add NetRenameMachineInDomain to public header.
Guenther
(This used to be commit b66cee247fa7ef5293074b191b9cc2cbf4eef5f3)
2008-09-05 13:13:36 +02:00
Günther Deschner
240188b6ba netapi: add new SERVER_INFO structures to public header.
Guenther
(This used to be commit cff66738936f9f5cc4d2cd284cde2e1ac2972d33)
2008-09-05 13:03:11 +02:00
Günther Deschner
a1febe0513 netapi: add NetShareEnum to public headers.
Guenther
(This used to be commit c2e936743227f10c2ade61589fe15c1805c79773)
2008-09-05 12:54:32 +02:00
Günther Deschner
d7b966714b netapi: add new SHARE_INFO structs to public header.
Guenther
(This used to be commit 30b99eb7e18ba274299ef37e3883154b35d6f2dc)
2008-09-05 12:53:56 +02:00
Günther Deschner
e51de3e502 netapi: add NetShareDel to public header.
Guenther
(This used to be commit 3ac8f83fcd9f92fe944de8c094d6aa6bda9074dc)
2008-09-05 12:34:35 +02:00
Günther Deschner
57fe0182d3 netapi: add NetJoinFlags to public header.
Guenther
(This used to be commit 3babf758f49d6b08af8bd41c1dc8bd8de11a3893)
2008-08-29 13:58:06 +02:00
Günther Deschner
f7b293353a netapi: add NetShareAdd to public header.
Guenther
(This used to be commit 5a036a431f4a8c686ddcd72df476acc6befddba0)
2008-08-29 13:58:03 +02:00
Günther Deschner
1283d081b2 netapi: add AF_OP constants to public header.
Guenther
(This used to be commit a06e21782a4970840f5a8c65b633c9654443161d)
2008-08-29 13:58:02 +02:00
Günther Deschner
0faaff1608 netapi: add USER_PRIV_* constants to public header.
Guenther
(This used to be commit 2274e5d8a8236b15558507289a8a455c15ca2633)
2008-08-29 13:58:01 +02:00
Günther Deschner
36de16b472 netapi: fix public header for USER_INFO_4.
Guenther
(This used to be commit f54b24c70afb28b6897ce258929ab2c97f255d86)
2008-08-29 13:58:00 +02:00
Günther Deschner
29e8a0fa2a netapi: add NetUserGetGroups to public headers.
Guenther
(This used to be commit 2f95b7d9b5ad513e43d7d41ce9fb87300ec357a8)
2008-08-29 13:57:59 +02:00
Günther Deschner
ab6fc34ebc netapi: add ENCRYPTED_PWLEN to public header.
Guenther
(This used to be commit 7010230c4af667b4197c9bd58685dc5a0b2b7c4f)
2008-08-29 13:57:54 +02:00
Günther Deschner
2e8b0006b1 netapi: add all USER_INFO structs to public header.
Guenther
(This used to be commit d19c06d7d055e4b1e8e47cc2df1a192a0a19eb14)
2008-08-29 13:57:53 +02:00
Günther Deschner
06ad4dc625 netapi: add some remaining documentation fixes.
Guenther
(cherry picked from commit 4a4e90a3872d34791de43c3849c60e2f4e713d47)
(This used to be commit c542307b7484df4adb9269f4bb99fa55d5dc48b8)
2008-08-14 12:22:37 +02:00
Günther Deschner
2b89fc16cc netapi: add doxygen documentation for NetUserModalsGet and NetUserModalsSet.
Guenther
(cherry picked from commit 93210f04c3b1e4fe977a395531ddc0387a65dab5)
(This used to be commit ab1b214ba0bebfebf0685f9c05fdcf6eb141adb9)
2008-08-14 12:22:28 +02:00
Günther Deschner
214e6e7d72 netapi: add doxygen documentation for NetLocalGroup{Add,Del,Set,Get}Members.
Guenther
(cherry picked from commit eee28804b7efc3089ce3528f13de6c930cf00adb)
(This used to be commit b725852502d45b568c80eb3c323861b89928983d)
2008-08-14 12:22:19 +02:00
Günther Deschner
93d2a982fc netapi: add c++ guard.
Guenther
(This used to be commit c9e38fef647520e4038f04bd163678bf4b30853d)
2008-08-13 13:29:40 +02:00
Günther Deschner
90a8f9d277 netapi: add NetLocalGroup*Member calls to public headers.
Guenther
(This used to be commit d4a51bb01d33ad17db4e623085a89d258e91b57e)
2008-08-11 19:47:34 +02:00