1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

2403 Commits

Author SHA1 Message Date
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
Volker Lendecke
9048cafbea Move srv_name_slash from cli_state to rpc_pipe_client
(This used to be commit a9061e52e1ff8e31aa480f4a30cda64c9d93214e)
2008-04-20 00:14:13 +02:00
Volker Lendecke
2a2188591b Add "desthost" to rpc_pipe_client
This reduces the dependency on cli_state
(This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-20 00:13:09 +02:00
Jeremy Allison
1c85537835 Fix gcc uninitialized variable used warning.
Jeremy.
(This used to be commit b95f2adeb5e2f7ce71e46e6a6165159483c9a702)
2008-04-17 08:02:46 -07:00
Günther Deschner
6f4b7fcf97 net: Be more tolerant while joining.
Guenther
(This used to be commit 70b7b331d9e2d915e6209fca5900f41fae4866fd)
2008-04-17 00:08:24 +02:00
Günther Deschner
409e093334 net: Remove unused rpc_user_add/del_internals code.
Guenther
(This used to be commit e68daef0ee051515c8f489820fde9110747e8aa6)
2008-04-16 10:09:07 +02:00
Günther Deschner
004c2beef4 net: Use NetUserAdd for "net rpc user add".
Guenther
(This used to be commit 4868b4ea1a18d4218330c49bf57818c4b5117d1d)
2008-04-16 02:41:52 +02:00
Günther Deschner
cd87be5ba2 net: use NetUserDel for "net rpc user delete".
Guenther
(This used to be commit 0105770c1598e6fcbcaa29e17f3b7fd33114a333)
2008-04-16 02:39:41 +02:00
Günther Deschner
0a362a94c8 net/libnetapi: Include netapi headers early and free on exit.
Guenther
(This used to be commit 020b1e6431601fadf44dbfe8393908c096ecfa4c)
2008-04-16 02:16:08 +02:00
Michael Adam
ed85ea4248 net conf: adapt output of NULL share params in net conf list.
don't list NULL share name and don't indent these parameters

Michael
(This used to be commit 0212b38913945ce3c8b14734804d81f1cd315621)
2008-04-15 17:40:27 +02:00
Michael Adam
770b1923dc net conf: simplify logic in test output of net conf import.
Michael
(This used to be commit 367c8b133b2f3e73155f20f689602909eef9827b)
2008-04-15 17:40:27 +02:00
Michael Adam
7624bab963 net conf: fix output of out-of-share parameters in test mode import
Michael
(This used to be commit 5424e07e7d3e842488cba7ae389124f01221c5ba)
2008-04-15 17:40:27 +02:00
Günther Deschner
ae1e1085a1 libnetjoin/net: Fix lp_config_backend_is_registry() handling.
Thanks obnox, now we can net ads join and net ads leave with zero
configuration changes if "config backend = registry".

Guenther
(This used to be commit 9003881773de787a51ceadcdc2cb1e95f6979763)
2008-04-14 23:07:55 +02:00
Günther Deschner
4122dabbf9 net: abort when lp_realm is not set in net_ads_leave().
Guenther
(This used to be commit 53735edcbb059e73c51ae17d4ff75d2a4dee53e5)
2008-04-14 22:58:38 +02:00
Günther Deschner
113b94faf1 net: exit early in net_ads_join() if the domain is not set.
Guenther
(This used to be commit 8331fbe735e2bec386ab8fc1645dc371d45d3063)
2008-04-14 16:16:25 +02:00
Günther Deschner
bc65d96782 net: use WERROR for check_ads_config().
Guenther
(This used to be commit 9176057986be63c7ebebb56f7daabbc3883802c5)
2008-04-14 16:13:52 +02:00
Günther Deschner
fffb304fec net: the success of secrets_init is checked by libnetjoin now.
Guenther
(This used to be commit 0a6a5d082426ca82accf18fffa7740683a42cac1)
2008-04-14 15:47:30 +02:00
Michael Adam
d2d82394a4 net conf: use the new smbconf_init() dispatcher instead of explicit backend init.
Michael
(This used to be commit 281c9287a34533045b62302bb33ced3d216421ac)
2008-04-13 20:04:44 +02:00
Michael Adam
35d6068f25 libsmbconf: remove the bool verbatim parameter from txt backend init function.
Always be verbatim for now. Backend config options may be added later
via some private data pointer.

Michael
(This used to be commit e8bafcfbf4a7ab1dc1ce4f2acd24b0eb74933256)
2008-04-13 20:04:43 +02:00
Günther Deschner
1c7e4e8a2a Fix the build of eventlogadm.
Guenther
(This used to be commit 57a5628abf628b6276f36da8ae1f3c15a4db4488)
2008-04-13 18:28:24 +02:00
Michael Adam
e5d83f07cd net registry: remove superfluous regdb_close().
Michael
(This used to be commit d4e74036d3b8c5de4ce130eab7fc775e3cb746d5)
2008-04-13 15:36:05 +02:00
Michael Adam
3f01e05a77 registry: change registry_init_basic() to return WERROR instead of bool
Michael
(This used to be commit 6a31e659cb371395dff0906786f3c6ef0cc2b3de)
2008-04-13 15:33:48 +02:00
Stefan Metzmacher
08591d0095 net_idmap: use wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functions
metze
(This used to be commit dc9a3f8db0af03b4e8223068857092fcaff404f2)
2008-04-11 15:59:33 +02:00
Tim Prouty
bb869741dd Cleanup size_t return values in convert_string_allocate
This patch is the first iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 59124382d2894a1b194b48dd82bc5f956959eb48)
2008-04-11 11:33:33 +02:00
Karolin Seeger
5f68ea53ff objectclass -> objectClass
Karolin
(This used to be commit b865b8a79afd8f3b43bb3adcdcbcbca623dc76a2)
2008-04-10 10:45:36 +02:00
Michael Adam
bfc4aba398 net conf: use talloc and talloc_strdup_lower throughout all net conf functions.
Michael
(This used to be commit 977cc9898970a0c07c30264e91754740c640e235)
2008-04-10 01:29:03 +02:00
Michael Adam
6f7fcdcda5 net conf: implement "net conf delincludes".
usage: "net conf delincludes <servicename>"

This is equivalent to "net conf setincludes <servicename>"
(without further arguments).

Michael
(This used to be commit a1d09f34ec39b614d738c6f795fe8eafaf634105)
2008-04-10 01:29:03 +02:00
Michael Adam
f3cfc1446e net conf: implement a "net conf setincludes" command.
given zero or more filenames as command line parameters

Michael
(This used to be commit ab51e4d44c3dcd00697c8ffb2ce628c4072c7a53)
2008-04-10 01:29:03 +02:00
Michael Adam
68fb75857b net conf: implement "net conf getincludes".
Michael
(This used to be commit 30bc48623cf4f9ee17ff9c3e7a9fd98840a01d92)
2008-04-10 01:29:02 +02:00
Michael Adam
9765828d97 net conf: add diagnostic message for failure to load text file.
Michael
(This used to be commit 8f2c3efa679d44acc900fb90f03319e830a7dcf4)
2008-04-10 01:29:02 +02:00
Michael Adam
52a16b4945 net conf: reduce indentation by grouping testmode code together.
Michael
(This used to be commit 97f9cb857532328999589062ceb0b229bcaf93a3)
2008-04-10 01:29:02 +02:00
Michael Adam
2a94369946 net conf: don't drop config in testmode
Michael
(This used to be commit 74e87b977514df79e49613a0b1c5157469b3cb93)
2008-04-10 01:29:02 +02:00
Michael Adam
a98c08c151 net conf: fix import to correctly add includes (at the end)
Michael
(This used to be commit 3e81db83707e30ad46a565c9a118e7293b6cdf50)
2008-04-10 01:29:02 +02:00