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
Jeremy Allison
8dd1faaa29
Remove the global "struct cm_cred_struct" and associated calls, make
...
callers pass in a struct user_auth_info * instead. This commit causes
smbc_set_credentials() to print out a message telling callers to use
smbc_set_credentials_with_fallback() instead, as smbc_set_credentials()
has a broken API (no SMBCCTX * pointer). No more global variables used
in the connection manager API for client dfs calls.
Jeremy.
2009-03-17 14:53:06 -07:00
Jeremy Allison
e5136e9849
Remove the static "struct client_connection" mess which is part of
...
the problem that stops libsmbclient being thread safe. Subsidiary
DFS connections are now hung off a list inside the cli_state struct.
Much more to do in order to get libsmbclient to thread safety, but
this is a good start.
Jeremy.
2009-03-12 17:59:24 -07:00
Volker Lendecke
9823b4343d
Fix an uninitialized variable
2009-02-19 21:00:29 +01:00
Günther Deschner
dc7f04aac7
s3-netapi: fix Coverity #881 and #882 .
...
Guenther
2009-02-17 10:21:22 +01:00
Günther Deschner
1609dbaf88
netapi: add NetServer testsuite.
...
Guenther
2009-02-06 11:10:36 +01: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
bbfc11644d
netapi: implement more SERVER_INFO_X levels.
...
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
2e2f511ca3
netapi: add SERVER_INFO_X to public header.
...
Guenther
2009-02-06 11:10:36 +01:00
Volker Lendecke
57de60a83f
cli_get_pipe_name_from_interface does not really need a talloc_ctx
2009-02-01 14:34:22 +01:00
Volker Lendecke
3b34486f6a
Actually complete 3662c2b...
2009-01-22 12:13:55 +01:00
Volker Lendecke
a9542ddcb7
libnetapi_open_pipe does not need to return cli_state
...
The user session key is also available in rpccli->auth->user_session_key
Guenther, please check!
Thanks,
Volker
2009-01-18 20:10:06 +01:00
Jeremy Allison
907f085296
Remove smbclient globals that bled into clidfs.c. Now we only have
...
the connections list and authentication structures to worry about.
Jeremy
2009-01-14 16:08:19 -08:00
Jeremy Allison
592ee76341
Fix build of netapi.
...
Jeremy.
2009-01-14 14:33:46 -08:00
Günther Deschner
46f55ef5bc
s3-samr: avoid all init_samr_user* functions.
...
Guenther
2009-01-06 16:02:10 +01:00
Günther Deschner
7423b6a4b8
s3-samr: fix SAMR_FIELD_PASSWORD callers.
...
Guenther
2008-12-05 14:27:03 +01:00
Günther Deschner
698b7fd436
netapi: fix access bits in netapi.
...
Guenther
2008-10-28 00:13:50 +01:00
Günther Deschner
0bfbae0f50
netapi: make sure to always cleanup after testing NetUser calls.
...
Guenther
2008-10-24 00:06:43 +02:00
Günther Deschner
d27bc7377a
netapi: add more group tests to netapitest.
...
Guenther
2008-10-24 00:06:33 +02:00
Günther Deschner
b7c38abe27
netapi: fix add_GROUP_USERS_INFO_X_buffer.
...
Guenther
2008-10-23 11:46:18 +02:00
Günther Deschner
fafa608441
netapi: fix NetUserGetGroups_r returning partial results.
...
Guenther
2008-10-23 11:46:18 +02:00
Günther Deschner
c017909e2e
netapi: NetGroupEnum_r needs to handle servers with no groups.
...
Guenther
2008-10-23 01:43:06 +02:00
Jeremy Allison
6aba351676
Fix warnings.
...
Jeremy.
2008-10-20 16:34:56 -07:00
Günther Deschner
65dc1eeceb
s3: fix various samr callers.
...
Guenther
2008-10-15 17:11:27 +02:00
Volker Lendecke
8670235f2a
Fix some missing error handlings
2008-10-05 14:02:34 +02:00
Günther Deschner
917b141e7d
netapi: start supporting NetUserSetInfo level 3.
...
Guenther
2008-09-25 20:50:16 +02:00
Günther Deschner
b47953ea10
netapi: add NetFile testsuite.
...
Guenther
2008-09-22 19:36:53 +02: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
cf3d089afa
netapi: fix NetUserGetLocalGroups.
...
Guenther
(This used to be commit 5d91c9184c27def47f20fc089cc127d780387ed8)
2008-09-12 14:12:52 +02:00
Günther Deschner
f792f87094
netapi: fix NetGroupGetUsers (only enumerates users).
...
Guenther
(This used to be commit a94318be4656a668be0295988ed0743105d830c9)
2008-09-12 14:12:33 +02:00
Günther Deschner
47dbe6f7ae
netapi: fix NetUserSetGroups.
...
Guenther
(This used to be commit e8b27b69f33fb33c670026b3a24ed95a2f0099fe)
2008-09-12 14:12:24 +02:00
Günther Deschner
00ba381e09
netapi: fix NetGroupSetUsers.
...
Guenther
(This used to be commit 735bc2e425ce629745495190cd1c721ccb583d24)
2008-09-12 14:12:14 +02:00
Günther Deschner
898a69ea0c
netapi: implement NetFileEnum_r.
...
Guenther
(This used to be commit fd66b72fd017013c83d36f5219192716eb17cacb)
2008-09-11 14:38:05 +02:00