Günther Deschner
3f2719c202
s3-rpc_client: move protos to cli_samr.h
...
Guenther
2010-05-18 21:42:32 +02:00
Günther Deschner
e9f5bdf6b5
smbconf: only include smbconf headers where needed.
...
Guenther
2010-05-18 10:36:33 +02:00
Günther Deschner
c6ebab846d
s3: only include gen_ndr headers where needed.
...
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
as follows:
ccache build w/o patch
real 4m21.529s
ccache build with patch
real 3m6.402s
pch build w/o patch
real 4m26.318s
pch build with patch
real 3m6.932s
Guenther
2010-05-06 00:22:59 +02:00
Günther Deschner
166a3821c9
s3-nltest: fix uninitialized query level.
...
Guenther
2010-02-25 19:31:06 +01:00
Björn Jacke
55d448254a
s3:netapi: remove unused variable
2010-01-26 00:19:09 +01:00
Volker Lendecke
aa837d4aee
s3: add libnetapi_set_use_ccache()
2010-01-24 20:32:17 +01:00
Günther Deschner
3d679a3b5f
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
...
Guenther
2009-11-26 20:03:17 +01:00
Volker Lendecke
6a650d7d16
Revert "s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table"
...
This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe.
2009-11-08 19:43:46 +01:00
Volker Lendecke
5fc9d93408
s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table
2009-11-08 13:12:16 +01:00
Volker Lendecke
2aa0af9867
s3: get_pipe_name_from_iface -> get_pipe_name_from_syntax
2009-11-07 09:14:15 +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
d308aa3de8
s3-libnetapi: add I_NetLogonControl{2} to public headers.
...
Guenther
2009-10-16 10:50:28 +02:00
Günther Deschner
e31c2c7eb1
s3-libnetapi: fill in I_NetLogonControl{2}_r.
...
Guenther
2009-10-16 10:50:28 +02:00
Günther Deschner
e8e1d60941
s3-libnetapi: add I_NetLogonControl{2} skeleton.
...
Guenther
2009-10-16 10:50:28 +02:00
Kamen Mazdrashki
0e1840b84a
w32err: WERR_GROUP_NOT_FOUND renamed to WERR_GROUPNOTFOUND
...
In Win 32 we have
NERR_GroupNotFound which maps to WERR_GROUP_NOT_FOUND currently
and we have
ERROR_GROUP_NOT_FOUND which maps to nothing, so it is to be added
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30 15:48:41 +03:00
Günther Deschner
a0d8698f65
s3-netapi: Fix Coverity #668 : FORWARD_NULL.
...
Guenther
2009-09-16 10:30:08 +02:00
Günther Deschner
de43e39487
s3-netapi: Fix Coverity #669 FORWARD_NULL.
...
Guenthe
2009-09-16 10:30:01 +02:00
Günther Deschner
828b9a48fd
s3-netapi: Fix Coverity #670 : FORWARD_NULL.
...
Guenther
2009-09-16 10:29:54 +02:00
Volker Lendecke
3edcd55bf1
Remove gencache_init/shutdown
...
gencache_get/set/del/iterate call gencache_init() internally anyway. And we've
been very lazy calling gencache_shutdown, so this seems not really required.
2009-07-15 10:55:20 +02:00
Günther Deschner
05fbe0c7f7
libds: merge the UF<->ACB flag mapping functions.
...
Guenther
2009-07-13 15:36:07 +02:00
David Markey
55ed0be65f
Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.conf
2009-06-29 08:12:48 +02:00
Volker Lendecke
382a937800
Fix some dead code warnings from SUN Studio
2009-06-26 17:45:16 +02:00
Jim McDonough
7930f15f5d
Don't require "Modify property" perms to unjoin bug #6481 )
...
"net ads leave" stopped working when "modify properties"
permissions were not granted (meaning you had to be allowed
to disable the account that you were about to delete).
Libnetapi should not delete machine accounts, as this does not
happen on win32. The WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag
really means "disable" (both in practice and docs).
However, to keep the functionality in "net ads leave", we
will still try to do the delete. If this fails, we try
to do the disable.
Additionally, it is possible in windows to not disable or
delete the account, but just tell the local machine that it
is no longer in the account. libnet can now do this as well.
2009-06-19 13:46:07 -04:00
Günther Deschner
29b8e08b83
s3-netapi: Fix Bug #6451 : net/libnetapi user rename using wrong access bits.
...
Guenther
2009-06-16 15:00:20 +02:00
Günther Deschner
33be1f56f7
s3-netapi: Fix Bug #6305 . Correctly prompt for a password when a username was given.
...
When no callback or wrapping has managed to get a password, prompt in the
netapi connection manager for a password.
Guenther
2009-06-16 12:13:53 +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
8fdb499497
s3-netapi: implement NetShutdownInit_r and NetShutdownAbort_r.
...
Guenther
2009-05-14 14:18:26 +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
1ddc4829ae
s3-netapi: add NetShutdownInit and NetShutdownAbort to public API.
...
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
8fd3c8902c
s3-netapi: add NetShutdownInit and NetShutdownAbort skeletons.
...
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
Andrew Bartlett
6c9caed481
Merge commit 'origin/master' into libcli-auth-merge-without-netlogond
2009-04-20 16:53:02 +02:00
Jeremy Allison
d9804ae3cc
Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+
...
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.
2009-04-15 15:40:00 -07:00
Andrew Bartlett
4678d1c6f4
Merge branch 'master' of ssh://git.samba.org/data/git/samba into libcli-auth-merge-without-netlogond
2009-04-15 14:36:13 +10: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
Andrew Bartlett
27815a71a9
More work to adapt to merged libcli/auth function prototypes
2009-04-14 16:23:42 +10:00
Günther Deschner
56d74b6212
s3-libnetapi: fix creds in libnetapi_open_ipc_connection().
...
Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if
other users broke as well with that change.
Guenther
2009-03-26 10:43:18 +01:00
Günther Deschner
24d5229a81
s3-net: Fix Bug #6102 . NetQueryDisplayInformation could return wrong information.
...
Guenther
2009-03-26 10:29:57 +01:00
Günther Deschner
3a6133d702
s3-netapi: Fix Coverity #774 (REVERSE_INULL).
...
Guenther
2009-03-20 11:21:36 +01:00
Günther Deschner
f2243e8197
s3-netapi: Fix Coverity #775 (REVERSE_INULL).
...
Guenther
2009-03-20 11:19:59 +01:00
Günther Deschner
d2e348b191
s3-netapi: Fix Coverity #776 (REVERSE_INULL).
...
Guenther
2009-03-20 11:17:50 +01:00
Günther Deschner
531af136f9
s3: remove POLICY_HND.
...
Guenther
2009-03-18 23:22:29 +01:00