1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

2435 Commits

Author SHA1 Message Date
Tim Prouty
fb37f15600 Cleanup size_t return values in callers of convert_string_allocate
This patch is the second iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 6b189dabc5)
2008-05-20 22:40:13 +02:00
Kai Blin
0210f7af91 net: The top level help function for net cmd is always net_cmd_usage
(This used to be commit f7d0903a58)
2008-05-20 14:28:12 +02:00
Kai Blin
89cd35d054 net: Move help for "net status" to net_status.c
(This used to be commit d26681b169)
2008-05-20 14:28:07 +02:00
Kai Blin
1634bd92ea net: Move printer help to net_rpc where it's used.
(This used to be commit 2ee3d1aefa)
2008-05-20 14:28:03 +02:00
Kai Blin
f9a6d1f264 net: Split out "net share"
(This used to be commit 25d4c6f692)
2008-05-20 14:28:01 +02:00
Kai Blin
00f6ad7b5a net: Split out "net afs"
(This used to be commit 3f10527f79)
2008-05-20 14:27:56 +02:00
Kai Blin
b596529041 net: Move more utility functions into net_util.c
(This used to be commit 0f5ebdf0bc)
2008-05-20 14:27:53 +02:00
Kai Blin
c9ca6092fe net: Split out "net file"
(This used to be commit 84a116be9c)
2008-05-20 14:27:47 +02:00
Kai Blin
007f0e19dc net: Split out "net group"
(This used to be commit 3ddd9c09e3)
2008-05-20 14:27:40 +02:00
Kai Blin
572de942c7 net: Split out "net user"
(This used to be commit 4ca08a5acc)
2008-05-20 14:27:27 +02:00
Kai Blin
666292129b net: Move "net join" handling into a separate file.
(This used to be commit d0237a7368)
2008-05-20 14:27:24 +02:00
Kai Blin
45653bd1b1 net: Split out common help functions.
(This used to be commit efc863e375)
2008-05-20 14:27:21 +02:00
Kai Blin
cd4f941e84 net: more whitespace cleanup
(This used to be commit 1813e545a9)
2008-05-20 14:27:12 +02:00
Kai Blin
16938883e6 net: Use true/false instead of True/False.
(This used to be commit a8b567aac3)
2008-05-20 14:27:08 +02:00
Volker Lendecke
266cdce580 Don't block smbcontrol online/offline if !"winbind offline logons"
There's no point to block these, winbind will ignore them anyway.

Jerry, Jeremy, we definitely need a chance to trigger a reconnection attempt
after a DC has been rebooted. Right now winbind's reaction to a single rebooted
DC is to declare it offline. It will not try before a "winbind cache timeout"
timeout. If the admin sets this to an hour or longer for performance reasons,
we're screwed. Reboot your DC, no logon for an hour.

Volker
(This used to be commit cb065a8995)
2008-05-19 14:56:15 +02:00
Michael Adam
20e9c5bea1 build: freeze passwd_proto.h from "make proto"
Michael
(This used to be commit 00cff30107)
2008-05-18 23:33:20 +02:00
Michael Adam
b189fe9154 net: freeze net_proto.h from "make proto"
Michael
(This used to be commit 673b24052a)
2008-05-18 23:31:42 +02:00
Michael Adam
beca01f402 ntlm_auth: freeze ntlm_auth_proto.h from "make proto"
Michael
(This used to be commit 35a517315b)
2008-05-18 23:29:01 +02:00
Günther Deschner
9530c26c4c net: use the netapi_ctx from the net_context struct.
Guenther
(This used to be commit ff8a9655cc)
2008-05-16 11:58:24 +02:00
Michael Adam
b1d6e885b1 net rpc registry: fix getvalueraw to really print raw...
Michael
(This used to be commit db933ae1a9)
2008-05-15 18:06:23 +02:00
Michael Adam
abafce6ba7 net rpc registry: add a getvalueraw subcommand.
Michael
(This used to be commit 5b5b29302b)
2008-05-15 17:17:56 +02:00
Michael Adam
301196f847 net rpc registry: abstract add boolean "raw" to rpc_registry_getvalue_internal()
and wrap it into new rpc_registry_getvalue_full() for the getvalue subcommand.

Michael
(This used to be commit 9ee5ddb963)
2008-05-15 17:17:55 +02:00
Michael Adam
9b920fa1f7 net rpc registry: fix usage message of getvalue.
Michael
(This used to be commit 5dedde7a5b)
2008-05-15 17:17:55 +02:00
Michael Adam
e1bd2dfe8f net registry: add a getvalueraw command to print the value in raw format.
Michael
(This used to be commit b7e8a3f1ca)
2008-05-15 17:17:55 +02:00
Michael Adam
227130ee0c net registry: refactor core of net_registry_getvalue() out
into net_registry_getvalue_internal(), which takes a bool parameter "raw"
controlling the output format.

Michael
(This used to be commit 889e19303e)
2008-05-15 17:17:55 +02:00
Michael Adam
49835c6d9e net_registry: add raw output of value to print_registry_value().
Michael
(This used to be commit 340a706422)
2008-05-15 17:17:55 +02:00
Günther Deschner
f255ac9775 net: Fix net lookup dsgetdcname, no need to pull site ourselves.
Guenther
(This used to be commit 954d0998c2)
2008-05-15 17:00:31 +02:00
Michael Adam
44733dcf1a testparm: list registry shares with testparm.
I.e., use lp_load_with_registry_shares() instead of lp_load().

Michael
(This used to be commit 95339c0c1e)
2008-05-15 02:42:41 +02:00
coffeedude
ed08bd3e83 net ads: Upper case he realm name when calling kinit() using machine creds.
Needed fix for the DNS Update option as part of "net ads join"
(This used to be commit aebae0b71b)
2008-05-12 17:35:55 -05:00
Volker Lendecke
232853d700 Fix the build with DNS_UPDATES
(This used to be commit 6c9500c290)
2008-05-10 10:58:56 +02:00
Kai Blin
4206d97544 net: more whitespace cleanup
(This used to be commit ef0184d580)
2008-05-10 09:22:31 +02:00
Kai Blin
f576910944 net: Remove globals
(This used to be commit 1e9319cf88)
2008-05-10 09:22:27 +02:00
Kai Blin
378527215e net: Some whitespace clean-up.
(This used to be commit 4dcce8b653)
2008-05-10 09:22:19 +02:00
Kai Blin
44c689289c net: Fix usage string.
(This used to be commit e3470e9a1b)
2008-05-10 09:22:16 +02:00
Günther Deschner
67c644aa59 dsgetdcname: use existing messaging_context if possible.
Guenther
(This used to be commit 7889516a38)
2008-05-09 14:59:20 +02:00
Günther Deschner
cdd9913c4a cldap: let ads_cldap_netlogon() return all possible cldap replies.
Guenther
(This used to be commit 6f9d5e1cc9)
2008-05-09 14:59:18 +02:00
Jeremy Allison
00b2cdf75e Yay ! Remove a VFS entry. Removed the set_nt_acl() call,
this can only be done via fset_nt_acl() using an open
file/directory handle. I'd like to do the same with
get_nt_acl() but am concerned about efficiency
problems with "hide unreadable/hide unwritable" when
doing a directory listing (this would mean opening
every file in the dir on list).
Moving closer to rationalizing the ACL model and
maybe moving the POSIX calls into a posix_acl VFS
module rather than having them as first class citizens
of the VFS.
Jeremy.
(This used to be commit f487f742cb)
2008-05-08 18:09:07 -07:00
Günther Deschner
4d8836ab96 Fix client authentication with -P switch in client tools (Bug 5435).
Guenther
(This used to be commit d077ef64cd)
2008-05-05 16:59:53 +02:00
Jeremy Allison
82d7429a27 Fix typo noticed by David Disseldorp <ddiss@sgi.com>. AF_INET should be AF_INET6 in this case.
Jeremy.
(This used to be commit 767740a914)
2008-04-30 09:28:47 -07:00
Volker Lendecke
862d7e32b9 Move user/domain from rpc_pipe_client to cli_pipe_auth_data
(This used to be commit 42de50d2cd)
2008-04-25 11:12:50 +02:00
Volker Lendecke
c02fd606e3 Correctly initialize lp_load in smbstatus in the presence of registry on tdb2
(This used to be commit c4f7bee923)
2008-04-23 11:35:51 +02:00
Michael Adam
fb9232c0a9 libsmbconf: rewrite API to use smbconf_service struct
instead of lists of strings and counters directly...

Michael
(This used to be commit 17415e2dc4)
2008-04-23 01:43:31 +02:00
Volker Lendecke
b78453326b Remove the "pwd" struct from rpc_pipe_client
The only user of this was decrypt_trustdom_secret, and this only needs the NT
hash anyway.
(This used to be commit 3d8c2a47e6)
2008-04-21 23:36:05 +02:00
Günther Deschner
ba0bf87d96 net: Add libnetapi context to net's impressive list of globals.
Guenther
(This used to be commit 8a5fadf6a1)
2008-04-21 20:21:40 +02:00
Günther Deschner
bcbac69d1a cldap: avoid duplicate definitions so remove ads_cldap.h.
Guenther
(This used to be commit 538eefe22a)
2008-04-21 20:21:40 +02:00
Günther Deschner
1dd7ab38e7 cldap: add talloc context to ads_cldap_netlogon().
Guenther
(This used to be commit 4cee7b1bd5)
2008-04-21 20:21:40 +02:00
Günther Deschner
ba98dd4989 libads: Use libnbt for CLDAP reply parsing.
Guenther
(This used to be commit 751f3064a5)
2008-04-21 20:21:39 +02:00
Volker Lendecke
b9cc055062 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.
(This used to be commit c56e1c08ce)
2008-04-20 14:08:16 +02:00
Volker Lendecke
e73e8297f5 Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct
(This used to be commit 99fc3283c4)
2008-04-20 14:08:16 +02:00
Volker Lendecke
cf2442bdcb Use rpc_pipe_client->user_name instead of rpc_pipe_client->cli->user_name
Also make sure that rpc_pipe_client->user_name is always talloced.
(This used to be commit 3f6c5b9966)
2008-04-20 00:14:40 +02:00