1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-20 14:03:59 +03:00

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 6b189dabc562d86dcaa685419d0cb6ea276f100d)
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 f7d0903a58b0b0fc248a613937a101f15baa5311)
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 d26681b169a533f838f74d48af072b57afc9f8df)
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 2ee3d1aefab8dada5bd05a92b72776554617b7f9)
2008-05-20 14:28:03 +02:00
Kai Blin
f9a6d1f264 net: Split out "net share"
(This used to be commit 25d4c6f692cf50d675a1de7c6eaeed271f349289)
2008-05-20 14:28:01 +02:00
Kai Blin
00f6ad7b5a net: Split out "net afs"
(This used to be commit 3f10527f79dddff703d31588cad3e9f37176565b)
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 0f5ebdf0bc5610bf93a4db67c9f9513683306c66)
2008-05-20 14:27:53 +02:00
Kai Blin
c9ca6092fe net: Split out "net file"
(This used to be commit 84a116be9c849900678e6e0a4b012e819e697c78)
2008-05-20 14:27:47 +02:00
Kai Blin
007f0e19dc net: Split out "net group"
(This used to be commit 3ddd9c09e3b51df01ac34a9a1537e8954d2b1167)
2008-05-20 14:27:40 +02:00
Kai Blin
572de942c7 net: Split out "net user"
(This used to be commit 4ca08a5acc90c77d56f8f3e38443f23f43f034e8)
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 d0237a736858a48494583ce7f960ea980768aa6c)
2008-05-20 14:27:24 +02:00
Kai Blin
45653bd1b1 net: Split out common help functions.
(This used to be commit efc863e3758501a4c62dc9762eb0aded2dad01ff)
2008-05-20 14:27:21 +02:00
Kai Blin
cd4f941e84 net: more whitespace cleanup
(This used to be commit 1813e545a99545575babe126386c8caca00aab8f)
2008-05-20 14:27:12 +02:00
Kai Blin
16938883e6 net: Use true/false instead of True/False.
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
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 cb065a8995fa0a18f9124d0bdea70c692d6b5c58)
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 00cff301071fe2670e8358195b937de49aa2aa14)
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 673b24052a6864579683e9adb56522a12447abca)
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 35a517315b83aa7ccea34ec725b15c04ceb5e70e)
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 ff8a9655ccd40bc2ca3ef0403308193d956c4adf)
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 db933ae1a9877b3485506fc8f0ecae2f2bd8a41f)
2008-05-15 18:06:23 +02:00
Michael Adam
abafce6ba7 net rpc registry: add a getvalueraw subcommand.
Michael
(This used to be commit 5b5b29302b53c31256dfa2fdefead458cb14c560)
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 9ee5ddb96360987675963d629f98051bf34e3031)
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 5dedde7a5b01d47947a8ff49a57e729fe5bfc817)
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 b7e8a3f1caf54145d750209f2e14b5b54c61769b)
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 889e19303e141e226898f837a637a2d591c75ad9)
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 340a706422cbca45cc63fa94d36c88f6751f4f31)
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 954d0998c2c00140addb6ba3845e80ed91e4effc)
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 95339c0c1ecc49049f1fc176f72a1dcac639e06d)
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 aebae0b71b427838fdc6344d69d6dea87a5dd58b)
2008-05-12 17:35:55 -05:00
Volker Lendecke
232853d700 Fix the build with DNS_UPDATES
(This used to be commit 6c9500c290fe0d6d71d4c33eb265906ce3a1d9f3)
2008-05-10 10:58:56 +02:00
Kai Blin
4206d97544 net: more whitespace cleanup
(This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
2008-05-10 09:22:31 +02:00
Kai Blin
f576910944 net: Remove globals
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-05-10 09:22:27 +02:00
Kai Blin
378527215e net: Some whitespace clean-up.
(This used to be commit 4dcce8b653671c8ce907f8353df1db8a5c8f8e19)
2008-05-10 09:22:19 +02:00
Kai Blin
44c689289c net: Fix usage string.
(This used to be commit e3470e9a1b19c239d6fa576f8c8c1a5a5c3b5d3c)
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 7889516a384c155a9045aad4409c041fddd0d98d)
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 6f9d5e1cc94bc90685b54c04622b8f3357bd2f69)
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 f487f742cb903a06fbf2be006ddc9ce9063339ed)
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 d077ef64cd1d9bbaeb936566c2c70da508de829f)
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 767740a914c7ebeb88886f520380b7fa365e315d)
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 42de50d2cd43e760d776694f7b5f003ba51d7f84)
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 c4f7bee9238db536a7d5215cebb0bf37f757dfad)
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 17415e2dc457ce41793a7e28e71f72c538c19c61)
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 3d8c2a47e677a4c4aacf4abf148b1bd8163c3351)
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 8a5fadf6a183e4e4ccc77283b3ddba0748c6abfb)
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 538eefe22ad69540b9f73ffaa613d6be045de199)
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 4cee7b1bd5cd97c414b73d6f39238958480cdcf3)
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 751f3064a508341c0ebae45e8de9f5311d915d70)
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 c56e1c08cef107ff33a34346ceeca3475a102b19)
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 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
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 3f6c5b99664a75a6f490ee3b6980b89cacf7f579)
2008-04-20 00:14:40 +02:00