Michael Adam
ecd46b8ad4
libnetapi: fix interactive logging by preventing setup_logging from closing stderr.
...
Michael
(This used to be commit 563b837b76 )
2008-04-12 02:05:25 +02:00
Günther Deschner
ef6ed54765
Use libnetapi_open_pipe in netapi functions.
...
Guenther
(This used to be commit 5804d8b112 )
2008-04-10 22:44:00 +02:00
Günther Deschner
3d5aecd2b9
Add libnetapi_open_pipe, inspired by the cli_cm_ interface.
...
Guenther
(This used to be commit 87d8fc338f )
2008-04-10 22:42:07 +02:00
Günther Deschner
aeb7f7db40
Use libnetapi_open_ipc_connection in libnetapi.
...
Guenther
(This used to be commit d9f19fc615 )
2008-04-10 22:04:04 +02:00
Günther Deschner
deb6362f1f
Fix one missing netapi_private header.
...
Guenther
(This used to be commit d34c3e8ad2 )
2008-04-10 21:56:12 +02:00
Günther Deschner
8ab9696bfb
Split out private headers in libnetapi.
...
Guenther
(This used to be commit dd6251d514 )
2008-04-10 21:52:03 +02:00
Günther Deschner
4968ce2555
Add very basic cli_cm_* based connection handler to libnetapi.
...
Guenther
(This used to be commit e9e46cfcbe )
2008-04-10 21:41:03 +02:00
Günther Deschner
1a8a8b7769
Use SERVER_INFO_1005 in libnetapi.
...
Guenther
(This used to be commit 5f8793dd1d )
2008-04-10 21:31:12 +02:00
Günther Deschner
8ea6da9354
Fix typo.
...
Guenther
(This used to be commit 30337bce2c )
2008-04-10 21:23:59 +02:00
Günther Deschner
c12bf374fe
Add NetUserEnum example.
...
Guenther
(This used to be commit 7d9f64fd84 )
2008-04-09 13:50:30 +02:00
Günther Deschner
4801d0c6f3
Add NetUserEnum to libnetapi.
...
Guenther
(This used to be commit 6c933d0b38 )
2008-04-09 13:47:51 +02:00
Günther Deschner
b3422d1d1c
Add Add NetUserDel example.
...
Guenther
(This used to be commit 3123e68bda )
2008-04-09 13:39:27 +02:00
Günther Deschner
fb538ad641
Add NetUserDel to libnetapi.
...
Guenther
(This used to be commit 92ba18fcd0 )
2008-04-09 13:35:49 +02:00
Günther Deschner
41c8597ae3
Add NetUserAdd example.
...
Guenther
(This used to be commit 0d79560665 )
2008-04-09 13:28:30 +02:00
Günther Deschner
6b2ae8e9ff
Add NetUserAdd to libnetapi.
...
Guenther
(This used to be commit cb98996ed2 )
2008-04-09 13:23:09 +02:00
Günther Deschner
af19343df8
Try to use kerberos in libnetapi.
...
Guenther
(This used to be commit 9cfce22295 )
2008-04-08 19:42:26 +02:00
Günther Deschner
298824357a
Add DsGetDcName libnetapi example.
...
Guenther
(This used to be commit 0216e55fa8 )
2008-04-08 19:40:47 +02:00
Günther Deschner
05202a5d4e
Add DsGetDcName call to libnetapi library.
...
Guenther
(This used to be commit 27780e9841 )
2008-04-08 19:40:47 +02:00
Günther Deschner
6531d0b13f
Fix includes in libnetapi examples common.c
...
Guenther
(This used to be commit 922ff9d016 )
2008-04-08 19:40:47 +02:00
Günther Deschner
cccaef9e08
Use popt in libetapi example code.
...
Guenther
(This used to be commit 6f239df3f5 )
2008-04-08 14:34:30 +02:00
Günther Deschner
0f86cc18ff
Prefill in username in libnetapi ctx.
...
Guenther
(This used to be commit 394bdb89ef )
2008-04-08 14:29:21 +02:00
Günther Deschner
ba35a8c8dd
Restructure inner workings of libnetapi a bit.
...
Guenther
(This used to be commit a4e3bc2bad )
2008-04-08 03:08:49 +02:00
Günther Deschner
68bfa9682b
Some fixes for netdomjoin-gui and support for browsing/joining OUs.
...
Guenther
(This used to be commit 4714bae0db )
2008-04-02 11:18:10 +02:00
Günther Deschner
6c1c07bde3
Make sure to hand down the domain name in libnetapi NetUnjoinDomain.
...
Guenther
(This used to be commit 0058ab30de )
2008-04-02 11:14:15 +02:00
Michael Adam
6f7cfeddd6
libsmbconf: add a "path" variable to the conf context.
...
This is passed to the module init routines.
In case of the registry, this is the path of the
basekey in registry, that is to be used, defaulting
to KEY_SMBCONF (HKLM\software\samba\smbconf), when
NULL is given. This is the only case currently used.
In order to support other keys, registry initialization
for smbconf has to be changed to support different keys.
Michael
(This used to be commit 96434d9dc7 )
2008-03-21 18:19:24 +01:00
Michael Adam
fececde181
libsmbconf: add backend specific init function.
...
Hide generic init function taking smbconf_ops argument
from public api.
Michael
(This used to be commit b3f6920ccb )
2008-03-21 02:25:56 +01:00
Michael Adam
23b1d721b8
libsmbconf: rename smbconf_close() to smbconf_shutdown().
...
Michael
(This used to be commit 797b26ad3f )
2008-03-21 02:25:56 +01:00
Michael Adam
adf5bf554c
libsmbconf: rename smbconf_open() to smbconf_init().
...
That's more appropriate.
Michael
(This used to be commit d7bd9bb8aa )
2008-03-21 02:25:56 +01:00
Michael Adam
6274929b1e
libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .
...
Michael
(This used to be commit 097af0309d )
2008-03-17 18:03:02 +01:00
Günther Deschner
5259a7a808
Enable libnetjoin debugging for now but avoid printing passwords.
...
The gen_ndr needs proper fixing still.
Guenther
(This used to be commit 966d7244d7 )
2008-03-07 18:31:13 +01:00
Günther Deschner
fee1ab1049
In libnetapi, point out that lp_load has failed.
...
Guenther
(This used to be commit be673bfc61 )
2008-03-06 09:52:06 +01:00
Günther Deschner
65b0235ee3
Give a better error message why NetServerSetInfo() may fail in the gui.
...
Guenther
(This used to be commit 1bbbebb776 )
2008-03-05 15:23:00 +01:00
Günther Deschner
2223292338
Add PICFLAG to libnetapi Makefile.
...
Guenther
(This used to be commit 29fca3c035 )
2008-03-05 13:23:34 +01:00
Günther Deschner
d1ef6699c0
Fix rpccli_srvsvc_NetSrvSetInfo call in libnetapi.
...
Guenther
(This used to be commit 5911529205 )
2008-03-05 09:54:12 +01:00
Günther Deschner
808348a8ca
Trying to fix libnetapi examples Makefile.in.
...
Guenther
(This used to be commit 405ef74d7e )
2008-02-29 02:49:27 +01:00
Günther Deschner
77a2531810
Only set DEBUGLEVEL to 0 in libnetapi when not set already.
...
Guenther
(This used to be commit 3ace1601ac )
2008-02-28 17:25:33 +01:00
Günther Deschner
0d8985f2da
Let dsgetdcname() return a struct netr_DsRGetDCNameInfo.
...
Guenther
(This used to be commit b1a4b21f8c )
2008-02-28 12:40:55 +01:00
Günther Deschner
2e0a1fcf3f
Re-run make idl.
...
Guenther
(This used to be commit b658270518 )
2008-01-31 14:10:22 +01:00
Günther Deschner
5ab43ae0d8
Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).
...
Guenther
(This used to be commit fd490d236b )
2008-01-29 15:09:56 +01:00
Günther Deschner
c04b738a13
Add LIBNETAPI_LOCAL_SERVER() macro.
...
Guenther
(This used to be commit 4bdcf07bcc )
2008-01-25 17:21:29 +01:00
Günther Deschner
a30361ede3
No need to close registry on libnetapi_free() anymore.
...
Guenther
(This used to be commit 6bf75652ef )
2008-01-25 17:21:19 +01:00
Günther Deschner
db40120c73
Fix the build w/o ADS.
...
Guenther
(This used to be commit 645f2376d4 )
2008-01-18 08:50:33 +01:00
Günther Deschner
9dd8940e5f
Add header for NetGetJoinableOUs to libnetapi.
...
Guenther
(This used to be commit f297ea259d )
2008-01-18 08:49:24 +01:00
Günther Deschner
b18fd380bd
Add NetGetJoinableOUs() to libnetapi (incl. example).
...
Guenther
(This used to be commit 8858e403e1 )
2008-01-18 02:55:19 +01:00
Günther Deschner
b1424846c6
Cosmetics and error string reporting for libnetapi.
...
Guenther
(This used to be commit 4ca3392851 )
2008-01-18 02:55:10 +01:00
Günther Deschner
cfb7e25466
Add some more debugging into netdomjoin-gui.
...
Guenther
(This used to be commit d4c5b32322 )
2008-01-18 02:54:49 +01:00
Günther Deschner
bb97b272a9
Fix local hostname detection in netdomjoin-gui.
...
Guenther
(This used to be commit 30458116b3 )
2008-01-18 02:54:36 +01:00
Günther Deschner
c2ff6c94f2
Improve libnetapi_set_error_string().
...
Guenther
(This used to be commit 96f645553a )
2008-01-18 02:54:29 +01:00
Günther Deschner
d1abd4d866
Use new pidl-generated netlogon client calls in NetApi GetDcName().
...
Guenther
(This used to be commit 733e07a06c )
2008-01-17 16:54:46 +01:00
Michael Adam
7bfceba4bc
Use lp_config_backend_is_registry() instead of lp_include_registry_globals().
...
Michael
(This used to be commit c5a7d421c5 )
2008-01-16 17:10:02 +01:00