Tim Prouty
6b189dabc5
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.
2008-05-20 22:40:13 +02:00
Kai Blin
f7d0903a58
net: The top level help function for net cmd is always net_cmd_usage
2008-05-20 14:28:12 +02:00
Kai Blin
d26681b169
net: Move help for "net status" to net_status.c
2008-05-20 14:28:07 +02:00
Kai Blin
2ee3d1aefa
net: Move printer help to net_rpc where it's used.
2008-05-20 14:28:03 +02:00
Kai Blin
25d4c6f692
net: Split out "net share"
2008-05-20 14:28:01 +02:00
Kai Blin
3f10527f79
net: Split out "net afs"
2008-05-20 14:27:56 +02:00
Kai Blin
0f5ebdf0bc
net: Move more utility functions into net_util.c
2008-05-20 14:27:53 +02:00
Kai Blin
84a116be9c
net: Split out "net file"
2008-05-20 14:27:47 +02:00
Kai Blin
3ddd9c09e3
net: Split out "net group"
2008-05-20 14:27:40 +02:00
Kai Blin
4ca08a5acc
net: Split out "net user"
2008-05-20 14:27:27 +02:00
Kai Blin
d0237a7368
net: Move "net join" handling into a separate file.
2008-05-20 14:27:24 +02:00
Kai Blin
efc863e375
net: Split out common help functions.
2008-05-20 14:27:21 +02:00
Kai Blin
1813e545a9
net: more whitespace cleanup
2008-05-20 14:27:12 +02:00
Kai Blin
a8b567aac3
net: Use true/false instead of True/False.
2008-05-20 14:27:08 +02:00
Volker Lendecke
cb065a8995
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
2008-05-19 14:56:15 +02:00
Michael Adam
00cff30107
build: freeze passwd_proto.h from "make proto"
...
Michael
2008-05-18 23:33:20 +02:00
Michael Adam
673b24052a
net: freeze net_proto.h from "make proto"
...
Michael
2008-05-18 23:31:42 +02:00
Michael Adam
35a517315b
ntlm_auth: freeze ntlm_auth_proto.h from "make proto"
...
Michael
2008-05-18 23:29:01 +02:00
Günther Deschner
ff8a9655cc
net: use the netapi_ctx from the net_context struct.
...
Guenther
2008-05-16 11:58:24 +02:00
Michael Adam
db933ae1a9
net rpc registry: fix getvalueraw to really print raw...
...
Michael
2008-05-15 18:06:23 +02:00
Michael Adam
5b5b29302b
net rpc registry: add a getvalueraw subcommand.
...
Michael
2008-05-15 17:17:56 +02:00
Michael Adam
9ee5ddb963
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
2008-05-15 17:17:55 +02:00
Michael Adam
5dedde7a5b
net rpc registry: fix usage message of getvalue.
...
Michael
2008-05-15 17:17:55 +02:00
Michael Adam
b7e8a3f1ca
net registry: add a getvalueraw command to print the value in raw format.
...
Michael
2008-05-15 17:17:55 +02:00
Michael Adam
889e19303e
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
2008-05-15 17:17:55 +02:00
Michael Adam
340a706422
net_registry: add raw output of value to print_registry_value().
...
Michael
2008-05-15 17:17:55 +02:00
Günther Deschner
954d0998c2
net: Fix net lookup dsgetdcname, no need to pull site ourselves.
...
Guenther
2008-05-15 17:00:31 +02:00
Michael Adam
95339c0c1e
testparm: list registry shares with testparm.
...
I.e., use lp_load_with_registry_shares() instead of lp_load().
Michael
2008-05-15 02:42:41 +02:00
coffeedude
aebae0b71b
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"
2008-05-12 17:35:55 -05:00
Volker Lendecke
6c9500c290
Fix the build with DNS_UPDATES
2008-05-10 10:58:56 +02:00
Kai Blin
ef0184d580
net: more whitespace cleanup
2008-05-10 09:22:31 +02:00
Kai Blin
1e9319cf88
net: Remove globals
2008-05-10 09:22:27 +02:00
Kai Blin
4dcce8b653
net: Some whitespace clean-up.
2008-05-10 09:22:19 +02:00
Kai Blin
e3470e9a1b
net: Fix usage string.
2008-05-10 09:22:16 +02:00
Günther Deschner
7889516a38
dsgetdcname: use existing messaging_context if possible.
...
Guenther
2008-05-09 14:59:20 +02:00
Günther Deschner
6f9d5e1cc9
cldap: let ads_cldap_netlogon() return all possible cldap replies.
...
Guenther
2008-05-09 14:59:18 +02:00
Jeremy Allison
f487f742cb
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.
2008-05-08 18:09:07 -07:00
Günther Deschner
d077ef64cd
Fix client authentication with -P switch in client tools (Bug 5435).
...
Guenther
2008-05-05 16:59:53 +02:00
Jeremy Allison
767740a914
Fix typo noticed by David Disseldorp <ddiss@sgi.com>. AF_INET should be AF_INET6 in this case.
...
Jeremy.
2008-04-30 09:28:47 -07:00
Volker Lendecke
42de50d2cd
Move user/domain from rpc_pipe_client to cli_pipe_auth_data
2008-04-25 11:12:50 +02:00
Volker Lendecke
c4f7bee923
Correctly initialize lp_load in smbstatus in the presence of registry on tdb2
2008-04-23 11:35:51 +02:00
Michael Adam
17415e2dc4
libsmbconf: rewrite API to use smbconf_service struct
...
instead of lists of strings and counters directly...
Michael
2008-04-23 01:43:31 +02:00
Volker Lendecke
3d8c2a47e6
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.
2008-04-21 23:36:05 +02:00
Günther Deschner
8a5fadf6a1
net: Add libnetapi context to net's impressive list of globals.
...
Guenther
2008-04-21 20:21:40 +02:00
Günther Deschner
538eefe22a
cldap: avoid duplicate definitions so remove ads_cldap.h.
...
Guenther
2008-04-21 20:21:40 +02:00
Günther Deschner
4cee7b1bd5
cldap: add talloc context to ads_cldap_netlogon().
...
Guenther
2008-04-21 20:21:40 +02:00
Günther Deschner
751f3064a5
libads: Use libnbt for CLDAP reply parsing.
...
Guenther
2008-04-21 20:21:39 +02:00
Volker Lendecke
c56e1c08ce
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.
2008-04-20 14:08:16 +02:00
Volker Lendecke
99fc3283c4
Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct
2008-04-20 14:08:16 +02:00
Volker Lendecke
3f6c5b9966
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.
2008-04-20 00:14:40 +02:00