1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-18 19:17:08 +03:00

153 Commits

Author SHA1 Message Date
Günther Deschner
ae60695a34 netdomjoin-gui: before prompting for creds (for receiving joinable ous), find a dc.
Guenther
2008-05-16 12:11:43 +02:00
Günther Deschner
7889516a38 dsgetdcname: use existing messaging_context if possible.
Guenther
2008-05-09 14:59:20 +02:00
Günther Deschner
82cbb3269b Use strip_hostname after dsgetdcname/getdcname calls.
Guenther
2008-05-09 14:59:19 +02:00
Günther Deschner
47146effc1 netdomjoin-gui: before prompting for creds, ask dsgetdcname for a dc.
Guenther
2008-05-08 01:09:14 +02:00
Günther Deschner
3feaa9829c netapi: add -f switch for DsGetDCName() example and be more verbose on output.
Guenther
2008-05-07 10:42:29 +02:00
Günther Deschner
0e8e05d556 netapi: fix returned name buffer in NetGetJoinInformation_r().
Guenther
2008-04-29 20:22:01 +02:00
Günther Deschner
a34801d677 libnetapi: Add Doxyfile.
Guenther
2008-04-20 23:20:21 +02:00
Günther Deschner
ba1d2e8761 netdomjoin-gui: Omit warning when unjoining a domain fails.
Guenther
2008-04-20 23:20:21 +02:00
Volker Lendecke
a30a26d471 Make convert_samr_dispinfo_to_NET_DISPLAY() static 2008-04-20 14:08:17 +02:00
Volker Lendecke
c56e1c08ce Introduce rpc_pipe_np_smb_conn()
This abstracts away all references to rpc_pipe_client->cli, the only reference
is now in cli_pipe.c.
2008-04-20 14:08:16 +02:00
Volker Lendecke
4840febcd4 Remove the pipe_idx variable from rpc_pipe_client 2008-04-20 11:47:33 +02:00
Volker Lendecke
783afab9c8 Add "desthost" to rpc_pipe_client
This reduces the dependency on cli_state
2008-04-20 00:13:09 +02:00
Günther Deschner
4ba98dd0cc libnetapi: Disable talloc_enable_leak_report.
Guenther
2008-04-17 14:13:13 +02:00
Günther Deschner
e06a54aa7d netdomjoin-gui: Fix label alignment showing up with lower screen-resolution.
Guenther
2008-04-17 14:13:13 +02:00
Günther Deschner
01bc4b6ac0 libnetapi: Add initial inline doxygen comments.
Guenther
2008-04-16 10:14:40 +02:00
Günther Deschner
9bbb6cea0b libnetapi: Let NetUserAdd_l/NetUserDel_l talk to the local RPC server.
Guenther
2008-04-16 02:38:13 +02:00
Günther Deschner
143e2b5730 libnetapi: do not overwrite status in libnetapi_get_error_string().
Guenther
2008-04-16 00:15:39 +02:00
Günther Deschner
3fda711f25 libnetapi: Add missing headers.
Guenther
2008-04-15 22:30:06 +02:00
Günther Deschner
15bef5ae41 libnetapi: add libnetapi_set_use_kerberos
Don't unconditionally set the kerberos flag for authentication.

Guenther
2008-04-13 19:25:59 +02:00
Günther Deschner
3c107934ac libnetapi: Add NetQueryDisplayInformation header.
Guenther
2008-04-13 19:25:59 +02:00
Günther Deschner
5f9332cf1f libnetapi: add NetQueryDisplayInformation example.
Guenther
2008-04-13 19:15:15 +02:00
Günther Deschner
7fb9991b4c libnetapi: fill in NetQueryDisplayInformation_r.
Guenther
2008-04-13 19:12:31 +02:00
Günther Deschner
9edb067f62 libnetapi: don't reset the error code in NetUserAdd_r if the operation failed.
Guenther
2008-04-13 19:11:01 +02:00
Günther Deschner
6ec4a62b6d libnetapi: add NetQueryDisplayInformation skeleton.
Guenther
2008-04-13 19:04:18 +02:00
Günther Deschner
eb33d30d80 libnetapi: don't to try to free NULL struct.
Guenther
2008-04-13 17:39:29 +02:00
Günther Deschner
84608e165e Fix ou handling in netdomjoin-gui.
The ou list was concatenated again and again...

Guenther
2008-04-13 00:46:33 +02:00
Michael Adam
b62dd61cc5 libnetapi: fix a C++ warning by making implicit cast explicit
Michael
2008-04-13 00:24:42 +02:00
Michael Adam
563b837b76 libnetapi: fix interactive logging by preventing setup_logging from closing stderr.
Michael
2008-04-12 02:05:25 +02:00
Günther Deschner
5804d8b112 Use libnetapi_open_pipe in netapi functions.
Guenther
2008-04-10 22:44:00 +02:00
Günther Deschner
87d8fc338f Add libnetapi_open_pipe, inspired by the cli_cm_ interface.
Guenther
2008-04-10 22:42:07 +02:00
Günther Deschner
d9f19fc615 Use libnetapi_open_ipc_connection in libnetapi.
Guenther
2008-04-10 22:04:04 +02:00
Günther Deschner
d34c3e8ad2 Fix one missing netapi_private header.
Guenther
2008-04-10 21:56:12 +02:00
Günther Deschner
dd6251d514 Split out private headers in libnetapi.
Guenther
2008-04-10 21:52:03 +02:00
Günther Deschner
e9e46cfcbe Add very basic cli_cm_* based connection handler to libnetapi.
Guenther
2008-04-10 21:41:03 +02:00
Günther Deschner
5f8793dd1d Use SERVER_INFO_1005 in libnetapi.
Guenther
2008-04-10 21:31:12 +02:00
Günther Deschner
30337bce2c Fix typo.
Guenther
2008-04-10 21:23:59 +02:00
Günther Deschner
7d9f64fd84 Add NetUserEnum example.
Guenther
2008-04-09 13:50:30 +02:00
Günther Deschner
6c933d0b38 Add NetUserEnum to libnetapi.
Guenther
2008-04-09 13:47:51 +02:00
Günther Deschner
3123e68bda Add Add NetUserDel example.
Guenther
2008-04-09 13:39:27 +02:00
Günther Deschner
92ba18fcd0 Add NetUserDel to libnetapi.
Guenther
2008-04-09 13:35:49 +02:00
Günther Deschner
0d79560665 Add NetUserAdd example.
Guenther
2008-04-09 13:28:30 +02:00
Günther Deschner
cb98996ed2 Add NetUserAdd to libnetapi.
Guenther
2008-04-09 13:23:09 +02:00
Günther Deschner
9cfce22295 Try to use kerberos in libnetapi.
Guenther
2008-04-08 19:42:26 +02:00
Günther Deschner
0216e55fa8 Add DsGetDcName libnetapi example.
Guenther
2008-04-08 19:40:47 +02:00
Günther Deschner
27780e9841 Add DsGetDcName call to libnetapi library.
Guenther
2008-04-08 19:40:47 +02:00
Günther Deschner
922ff9d016 Fix includes in libnetapi examples common.c
Guenther
2008-04-08 19:40:47 +02:00
Günther Deschner
6f239df3f5 Use popt in libetapi example code.
Guenther
2008-04-08 14:34:30 +02:00
Günther Deschner
394bdb89ef Prefill in username in libnetapi ctx.
Guenther
2008-04-08 14:29:21 +02:00
Günther Deschner
a4e3bc2bad Restructure inner workings of libnetapi a bit.
Guenther
2008-04-08 03:08:49 +02:00
Günther Deschner
4714bae0db Some fixes for netdomjoin-gui and support for browsing/joining OUs.
Guenther
2008-04-02 11:18:10 +02:00