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
92183450f1
Trying to avoid defining new SAMR acct creation flags when we already have them with different
...
names. Matt, Jeremy, please check.
Guenther
(This used to be commit d4a9e46edf
)
2008-01-25 01:04:30 +01:00
Günther Deschner
108fc52c6b
Add dump-domain-list command for debugging winbindd's domain_list.
...
Guenther
(This used to be commit 10fa43f284
)
2008-01-24 16:21:53 +01:00
Andreas Schneider
691c4b1a41
Windows 2008 (Longhorn) auth2 flag fixes.
...
Interop fixes for AD specific flags. Original patch from Todd Stetcher.
(This used to be commit 5aadfcdaac
)
2008-01-23 14:55:22 -08:00
Jeremy Allison
a0186fb78d
Forward ported version of Matt Geddes <musicalcarrion@gmail.com>
...
patch for adding acct_flags to rpccli_samr_create_dom_user().
Jerry please test.
Jeremy.
(This used to be commit 7d94f97947
)
2008-01-23 13:54:02 -08:00
Kai Blin
b133f5ac0a
ntlm_auth: Get rid of statics in manage_squid_ntlmssp_request
...
(This used to be commit 97768628f5
)
2008-01-19 13:16:24 +01:00
Kai Blin
4b05fd29e6
ntlm_auth: Rewrite manage_client_ntlmssp_request without statics.
...
(This used to be commit af43842622
)
2008-01-19 13:16:24 +01:00
Kai Blin
40db1a1625
nltm_auth: Use struct ntlm_auth_state in helper functions.
...
Now rewriting the helpers one after the other can start.
(This used to be commit 2479a0c3ad
)
2008-01-19 13:16:24 +01:00
Kai Blin
83f30d72e0
ntlm_auth: Prepare for a deeper rewrite of the helper functions
...
(This used to be commit f8243d1913
)
2008-01-19 13:16:24 +01:00
Kai Blin
f22a29e1bd
ntlm_auth: Dynamically allocate the read buffer.
...
This ports over my changes from Samba4
(This used to be commit 4a475baf26
)
2008-01-19 13:16:23 +01:00
Kai Blin
805caafd44
util_str: Don't return memory from talloc_tos(), use mem_ctx instead.
...
(This used to be commit ab0ee6e9a6
)
2008-01-19 02:20:16 +01:00
Günther Deschner
c920764b19
Apply const to rpccli_lsa_query_info_policy() and rpccli_lsa_query_info_policy2().
...
Guenther
(This used to be commit 7a3fe68bef
)
2008-01-15 16:40:22 +01:00
Volker Lendecke
2b14428330
Fix some warnings -- Jeremy, please check
...
(This used to be commit b66ac8567c
)
2008-01-15 11:01:18 +01:00
Günther Deschner
36a7316bfc
Some more minor cleanup for "net rpc audit".
...
Guenther
(This used to be commit 558ce4ec3e
)
2008-01-14 18:39:15 +01:00
Günther Deschner
662d61e742
Fix all callers of old rpccli_lsa_set_info_policy() call.
...
Guenther
(This used to be commit be8071779f
)
2008-01-14 17:17:20 +01:00
Günther Deschner
cb1a090577
Use pidl generated rpccli_lsa_QueryTrustedDomainInfoBySid when vampiring trusted
...
domain secrets.
Guenther
(This used to be commit aa3de6f9f5
)
2008-01-14 15:33:42 +01:00
Michael Adam
801eeaec09
Add and modify comments in net_conf.c
...
Michael
(This used to be commit b3afc8391d
)
2008-01-13 23:45:57 +01:00
Michael Adam
a6bf13ce97
Add explicit creation of shares to net conf import function.
...
It has been removed from libnet_conf_set_parameter().
Michael
(This used to be commit b5c533b06c
)
2008-01-13 23:30:08 +01:00
Michael Adam
1ee6d3e1ee
Introduce a libnet_conf context created by libnet_conf_open().
...
The libnet_conf_ctx stores the information necessary to interoperate
with the configuration. It is created by calling libnet_conf_open()
and destroyed by calling libnet_conf_close(). The context is passed
to all the libnet_conf functions. It currently stores the token to
access the registry. Later, it could store more data, e.g. the server
to connect to, credentials, and so on. For support of other backends
than registry or support of remote configuration, only the open
function will have to be changed.
In net_conf, the calls to the actual net_conf functions is wrapped
into a function that calls libnet_conf_open()/_close(). Thus an
individual variant of net_conf_runfunction2() and functable2 is
used to cope with functions being called by the wrapper with the
additional libnet_conf_ctx argument.
Michael
(This used to be commit c2a9346faa
)
2008-01-13 02:14:34 +01:00
Jeremy Allison
43717a16e2
Fix CID 476. Ensure a valid pac_data pointer is always passed to
...
ads_verify_ticket as it's always derefed.
Jeremy.
(This used to be commit 0599d57eff
)
2008-01-11 23:53:27 -08:00
Jeremy Allison
bd317be33b
Stop Coverity complaining about uninitialized variables.
...
Jeremy.
(This used to be commit 041f1d298c
)
2008-01-11 23:41:17 -08:00
Günther Deschner
c79ce2ffa3
As long as DsGetDcName is not part of libnetapi, lowercase the fn name.
...
Guenther
(This used to be commit 19a980f520
)
2008-01-11 15:32:20 +01:00
Günther Deschner
efcf285e27
Fix libnetapi error string callers.
...
Guenther
(This used to be commit 1ad7a0a361
)
2008-01-11 15:28:24 +01:00
Günther Deschner
83b1751615
Remove unused string.
...
Guenther
(This used to be commit 88d6683872
)
2008-01-10 13:02:10 +01:00
Volker Lendecke
b43719d0fb
Attempt to fix the compile of source/utils/net_dns.c
...
Jeremy, please check!
(This used to be commit 66d3012bf4
)
2008-01-09 12:10:55 +01:00
Jeremy Allison
7ca33d1112
Move the DNS tsig update to using struct sockaddr_storage
...
from struct in_addr. Still only does IPv4 updates but now
it'll be easy to add IPv6 when we have time.
Jeremy.
(This used to be commit ac3a433bef
)
2008-01-08 13:11:12 -08:00
Günther Deschner
62c91987d9
Use ads_get_upn() in net_derive_salting_principal().
...
Guenther
(This used to be commit a3b348b113
)
2008-01-08 14:07:18 +01:00
Jeremy Allison
af2a75ba61
Add -e to smbget.
...
Jeremy.
(This used to be commit 0475bdcf44
)
2008-01-05 00:51:50 -08:00
Jeremy Allison
a41972e801
Fix -e for smbcquotas.
...
Jeremy.
(This used to be commit f97b1247c1
)
2008-01-05 00:50:03 -08:00
Jeremy Allison
160fefc71a
Fix args to cli_force_encryption.
...
Jeremy.
(This used to be commit 7b0826aeec
)
2008-01-05 00:41:48 -08:00
Jeremy Allison
9baa97a46e
Add general '-e' option to enable smb encryption
...
on tools.
Jeremy.
(This used to be commit 757653966f
)
2008-01-05 00:23:35 -08:00
Jeremy Allison
3d40b197b0
Add missing patch to allow smbcacls to do krb5 auth, bug #5175
...
from Tom Maher <tmaher@watson.org>.
Jeremy.
(This used to be commit 54ee718957
)
2008-01-04 17:15:04 -08:00
Jeremy Allison
68b2965108
Fix the build.
...
Jeremy.
(This used to be commit 25a0084af5
)
2008-01-04 13:24:24 -08:00
Jeremy Allison
9254bb4ef1
Refactor the crypto code after a very helpful conversation
...
with Volker. Mostly making sure we have data on the incoming
packet type, not stored in the smb header.
Jeremy.
(This used to be commit c4e5a50504
)
2008-01-04 12:56:23 -08:00
Michael Adam
517ad5318d
Fix spacing - spaces mixed with tabs.
...
Michael
(This used to be commit a4ef828102
)
2008-01-04 21:16:48 +01:00
Michael Adam
dbdaa5eeec
Fix a comment.
...
Michael
(This used to be commit fc9c3f39b5
)
2008-01-04 21:09:55 +01:00
Michael Adam
dee8e32d8d
Remove the word "registry" from the help output of the "net conf" command.
...
Michael
(This used to be commit 8d9e3e08f3
)
2008-01-04 21:05:59 +01:00
Michael Adam
34fb783965
Update the introductory comment to net_conf.c to mention linbet_conf.
...
Michael
(This used to be commit e166b88637
)
2008-01-04 21:05:59 +01:00
Michael Adam
b1472c0956
Remove the final regdb_close() from net_conf.c
...
This is to hide the registry from net_conf.
Right now, it does not harm if "net conf" does not close
the registry file explicitly just before exiting.
I am working out a proper way of handling open/close
operations transparently in the libnet_conf library.
Michael
(This used to be commit 790ef78944
)
2008-01-04 19:52:22 +01:00
Michael Adam
2a8722d4c3
Fix the behaviour of "net conf setparm" to create the share if necessary.
...
This moves functionality taken away from libnet_conf_set_parameter() to the
higher level user frontend function. (Somehow I thought I had done this
already ... :-)
Michael
(This used to be commit fc0fca980f
)
2008-01-04 19:49:57 +01:00
Günther Deschner
77219ddd22
Fix build warning.
...
Guenther
(This used to be commit a43125d9e9
)
2008-01-04 17:43:23 +01:00
Michael Adam
5470f8f638
Make libnet_conf handle opening/initialization of the registry.
...
Open state is currently tracked by a global variable
to avoid double initialization.
Later, this can possibly be replaced by a conf-context
created by an initialization function and passed around
to the other api functions.
Michael
(This used to be commit 77713e7764
)
2008-01-03 15:33:09 +01:00
Michael Adam
2476254ccd
Rename libnet_smbconf_delparm() to libnet_conf_delete_parameter().
...
Michael
(This used to be commit 073eeca51e
)
2008-01-03 14:17:49 +01:00
Michael Adam
55771b356d
Rename libnet_smbconf_getparm() to libnet_conf_get_parameter().
...
Michael
(This used to be commit d08556dbc7
)
2008-01-03 14:17:49 +01:00
Michael Adam
b9f904b59d
Rename libnet_smbconf_setparm() to libnet_conf_set_parameter().
...
Michael
(This used to be commit e00cb415d3
)
2008-01-03 14:17:49 +01:00
Michael Adam
e89411effd
Rename libnet_smbconf_delshare() to libnet_conf_delete_share().
...
Michael
(This used to be commit 2075baf551
)
2008-01-03 14:17:49 +01:00
Michael Adam
e1aa474a32
Rename libnet_smbconf_getshare() to libnet_conf_get_share().
...
Michael
(This used to be commit 1575612f19
)
2008-01-03 14:17:49 +01:00
Michael Adam
3f3a29ed50
Rename libnet_smbconf_create_share() to libnet_conf_create_share().
...
Michael
(This used to be commit 6bc4ee2108
)
2008-01-03 14:17:49 +01:00
Michael Adam
630de5f555
Rename libnet_smbconf_share_exists() to libnet_conf_share_exists().
...
Michael
(This used to be commit 3258758e5c
)
2008-01-03 14:17:49 +01:00
Michael Adam
daf1a460c8
Rename libnet_smbconf_get_share_names() to libnet_conf_get_share_names().
...
Michael
(This used to be commit 2e4beee66b
)
2008-01-03 14:17:49 +01:00