Andreas Schneider
025b32e525
s3:netapi: Use C99 initializer for poptOption in netapi example
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2019-01-28 10:29:16 +01:00
Andreas Schneider
f68d6aa335
s3:lib: Use C99 initializer for poptOption in netapi nltest
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2019-01-28 10:29:15 +01:00
Chris Lamb
a4ab7c73bd
Correct "occured" typos.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
2017-02-22 08:26:21 +01:00
Günther Deschner
a72a52fca1
werror: replace WERR_UNKNOWN_LEVEL with WERR_INVALID_LEVEL in source3/lib/netapi/
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:34 +02:00
Mathieu Parent
c315fce17e
Fix various spelling errors
...
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Nov 6 13:43:45 CET 2015 on sn-devel-104
2015-11-06 13:43:45 +01:00
Stefan Metzmacher
1669e5cdec
s3:lib/netapi/examples: fix pointer from integer error in nltest.c
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-11-25 07:25:44 +01: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
Stefan Metzmacher
80c57ab797
s3:lib/netapi/examples: remove unused variables
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-04-02 09:03:43 +02:00
Stefan Metzmacher
7d3b35c155
s3:lib/netapi/examples: fix const warnings in netlogon_control2.c
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-04-02 09:03:43 +02:00
Stefan Metzmacher
59394b3682
s3:lib/netapi/examples: fix invalid pointer value warnings in getjoininformation.c
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-04-02 09:03:42 +02:00
Michael Adam
58cb40d50b
build: get rid of vars=locals() in source3/lib/netapi/examples/wscript_build
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Sep 25 00:51:31 CEST 2013 on sn-devel-104
2013-09-25 00:51:31 +02:00
Andrew Bartlett
c5bde69568
Remove lib/netapi autoconf build system, this is now build with waf
...
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28 12:17:11 +10:00
Andrew Bartlett
6c4cdbe891
s3-libnetapi: Cope with popt versions without POPT_TABLEEND
2012-06-03 15:30:15 +10:00
Andrew Bartlett
b93326b968
s3-build: remove EXEEXT from Makefiles
...
As far as I am aware, we do not actually build on any platforms that
require this. The last Stratos VOS release on
ftp://ftp.stratus.com/vos/samba/samba.html was 3.0.5
Andrew Bartlett
2012-02-09 00:27:08 +01:00
Günther Deschner
bba114af6e
s3-waf: only compile common.c in netapi examples code once.
...
Guenther
2011-10-21 11:31:57 +02:00
Günther Deschner
23fea38deb
s3-netapi: fix missing include in examples code.
...
Guenther
2011-10-21 11:07:24 +02:00
Andrew Bartlett
1af128bd2b
build: compile (but do not install) netapi examples
...
The only example not yet built is the GTK domain join gui.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Oct 21 01:31:55 CEST 2011 on sn-devel-104
2011-10-21 01:31:55 +02:00
Volker Lendecke
0bf7c96464
s3: Use \0 instead of NULL when 0-terminating a string
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Apr 17 12:26:15 CEST 2011 on sn-devel-104
2011-04-17 12:26:15 +02:00
Günther Deschner
1d8094172c
s3-nltest: add dsregdns command to nltest.
...
Guenther
2010-09-19 02:47:11 +02:00
Günther Deschner
c35629cbb2
s3-nltest: add dsgetdc command.
...
Guenther
2010-09-15 10:18:02 +02:00
Günther Deschner
5901e81acf
s3-nltest: convert server input argument into --server.
...
Guenther
2010-09-15 08:32:58 +02:00
Günther Deschner
a609c03956
s3-nltest: rename print_result to print_netlogon_info_result.
...
Guenther
2010-09-15 08:32:58 +02:00
Günther Deschner
575b1018c6
s3-netdomjoin-gui: Fix Bug #7500 . Fix 'not a string literal' warning in netdomjoin-gui.
...
Patch from Buchan Milne <bgmilne@mandriva.org>.
Thanks!
Guenther
2010-06-08 12:27:29 +02:00
Günther Deschner
166a3821c9
s3-nltest: fix uninitialized query level.
...
Guenther
2010-02-25 19:31:06 +01:00
Günther Deschner
a85799d5db
s3-libnetapi: add nltest tool.
...
Guenther
2009-10-16 10:54:55 +02:00
Günther Deschner
ca19ffde80
s3-libnetapi: add I_NetLogonControl{2} example code.
...
Guenther
2009-10-16 10:50:29 +02:00
Günther Deschner
c033039e62
s3-netapi: add NetGetJoinInformation example code.
...
Guenther
2009-06-16 10:42:49 +02:00
Günther Deschner
d800ee5033
s3-netdomjoin-gui: allow to switch between workgroups/domains with the same name.
...
Guenther
2009-05-15 19:51:03 +02:00
Günther Deschner
8c74d31962
s3-netdomjoin-gui: cosmetic fix for empty hostnames.
...
Guenther
2009-05-15 19:51:02 +02:00
Günther Deschner
473bf41d20
s3-netdomjoin-gui: only gray out labels when not root and not connecting to
...
remote machines.
Guenther
2009-05-15 19:51:02 +02:00
Günther Deschner
80f0d819fb
s3-netapi: add example code for NetShutdownInit and NetShutdownAbort.
...
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
6154b031f4
s3-netdomjoin-gui: prepare to call out for NetRenameMachineInDomain() to rename computers
...
in domains.
Guenther
2009-05-13 01:56:39 +02:00
Günther Deschner
d3a9ee689d
s3-netdomjoin-gui: Fix join prompt dialog test.
...
Guenther
2009-05-12 23:52:34 +02:00
Günther Deschner
3e2975b3bd
s3-netdomjoin-gui: use NetServerGetInfo() level 101 to get hostname.
...
Guenther
2009-05-12 22:49:05 +02:00
Günther Deschner
20b5fc02d2
s3-netdomjoin-gui: inspect the correct computername string before
...
enabling/disabling the change button.
Guenther
2009-05-12 22:49:04 +02:00
Günther Deschner
ab4b8c9c04
s3-netapi: Fix Bug #6309 : support remote unjoining of Windows 2003 or greater.
...
Found by David Markey <admin@dmarkey.com>. Thanks!
Guenther
2009-04-30 23:40:09 +02:00
Günther Deschner
ca3de0103b
netdomjoin-gui: make sure to grey out change fields when not running as root.
...
Guenther
2009-04-14 23:06:30 +02:00
Günther Deschner
7fa534bd7c
netapi: include more SERVER_INFO_X levels in example code.
...
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
ba58d17e69
netapi: fix case statement in example NetUserSetModals code.
...
Guenther
2008-09-22 19:31:44 +02:00
Günther Deschner
c91a907688
build: fix cflag recursion in generated netapi makefiles.
...
Guenther
2008-09-17 18:05:54 +02:00
Günther Deschner
d556635bcc
netapi: add NetFileEnum example code.
...
Guenther
(This used to be commit 32ee2dadab5b2579d53d0ecb106f0e64063da3f7)
2008-09-11 14:37:56 +02:00
Günther Deschner
939d969490
netapi: add NetFileGetInfo example code.
...
Guenther
(This used to be commit 66158036423f8e875921b7ba36f048033c3e98a6)
2008-09-11 14:37:18 +02:00
Günther Deschner
120e7ba1f4
netapi: add NetFileClose example code.
...
Guenther
(This used to be commit 9d6e3655346b6d1e08fd180ced9bd60ee1bc2f8f)
2008-09-11 14:36:21 +02:00
Günther Deschner
434ff0ddc8
netapi: add NetUserGetLocalGroups example code.
...
Guenther
(This used to be commit 7d05936ff455b40449fe2e5280f15c81ccc7f4d0)
2008-09-11 14:30:56 +02:00
Günther Deschner
a5bf77be86
netapi: fix group_getusers example.
...
Guenther
(This used to be commit a977e18a669a220fd3f98161ced5bebd642e628b)
2008-09-11 14:30:18 +02:00
Günther Deschner
dcdca803fc
netapi: add example code for NetGroupSetUsers.
...
Guenther
(This used to be commit dc7994195c9e34d85db8c9406edaa704027ab47f)
2008-09-11 14:29:52 +02:00
Günther Deschner
2fb0f6c995
netapi: add example code for NetUserSetGroups.
...
Guenther
(This used to be commit 1355939b4c9c2883f9542ef4189cac7418104b68)
2008-09-11 14:29:02 +02:00
Günther Deschner
a828a644d0
netapi: re-arrange a little NetLocalGroupSetMembers example code.
...
Guenther
(This used to be commit 84a25e69947c077623165fe4535cddd48aba0a3e)
2008-09-08 10:17:06 +02:00
Günther Deschner
9194109e6c
netapi: fix NetShareGetInfo example output.
...
Guenther
(This used to be commit 00ecf8205c4cd4a4c150b204811d448d0ac53c0d)
2008-09-08 10:16:48 +02:00
Günther Deschner
86df00a388
netapi: add NetShareSetInfo example code.
...
Guenther
(This used to be commit a7050c999ff0a13724afbbbb2628cb47daec5b35)
2008-09-05 13:22:31 +02:00