1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

27218 Commits

Author SHA1 Message Date
Günther Deschner
6f4b7fcf97 net: Be more tolerant while joining.
Guenther
(This used to be commit 70b7b331d9)
2008-04-17 00:08:24 +02:00
Günther Deschner
189c0153e0 NetrUnjoinDomain2: Honor registry config to try config changes.
Guenther
(This used to be commit b42304c299)
2008-04-17 00:08:24 +02:00
Günther Deschner
f466e53b64 dsgetdcname: Fix discover_dc_dns.
Guenther
(This used to be commit 2fe416ffa5)
2008-04-17 00:08:24 +02:00
Michael Adam
4a9e0e6034 libsmbconf: fix segfault in listing share names / config.
Discovered by Günther while giving a talk. - Sorry Günther!

Michael
(This used to be commit 518f4d4e66)
2008-04-16 22:44:04 +02:00
Björn Jacke
25f9ca7b05 add AC_TRY_RUN_STRICT support for Sun Studio compiler
(This used to be commit ce7025df29)
2008-04-16 16:40:44 +02:00
Gerald W. Carter
72556d4c8c Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.
(This used to be commit 359921acd4)
2008-04-16 15:48:00 +02:00
Günther Deschner
b105108939 libnetapi: Add initial inline doxygen comments.
Guenther
(This used to be commit 01bc4b6ac0)
2008-04-16 10:14:40 +02:00
Günther Deschner
409e093334 net: Remove unused rpc_user_add/del_internals code.
Guenther
(This used to be commit e68daef0ee)
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 4868b4ea1a)
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 0105770c15)
2008-04-16 02:39:41 +02:00
Günther Deschner
3455702721 libnetapi: Let NetUserAdd_l/NetUserDel_l talk to the local RPC server.
Guenther
(This used to be commit 9bbb6cea0b)
2008-04-16 02:38:13 +02:00
Günther Deschner
c1d4243c5a errors: Add WERR_NO_SUCH_USER.
Guenther
(This used to be commit 82803186fe)
2008-04-16 02:37:27 +02:00
Günther Deschner
44912a9fb9 errors: Add WERR_NONE_MAPPED.
Guenther
(This used to be commit dc165e1c80)
2008-04-16 02:23:20 +02:00
Günther Deschner
0a362a94c8 net/libnetapi: Include netapi headers early and free on exit.
Guenther
(This used to be commit 020b1e6431)
2008-04-16 02:16:08 +02:00
Günther Deschner
46e6bc1153 libnetapi: do not overwrite status in libnetapi_get_error_string().
Guenther
(This used to be commit 143e2b5730)
2008-04-16 00:15:39 +02:00
Michael Adam
b7bb61eff0 loadparm: remove pfunc parameter from process_registry_globals().
Use do_parameter() directly.

Michael
(This used to be commit 59b81bfd0a)
2008-04-15 22:45:38 +02:00
Günther Deschner
7d7283fb0e libnetapi: Add missing headers.
Guenther
(This used to be commit 3fda711f25)
2008-04-15 22:30:06 +02:00
Günther Deschner
4101068505 IDL: For the fun of it, build drsuapi.idl.
Guenther
(This used to be commit 192645f639)
2008-04-15 22:04:59 +02:00
Günther Deschner
e1a827e1ac IDL: Fix several DRSUAPI calls.
Guenther
(This used to be commit aa7308fbc3)
2008-04-15 22:03:50 +02:00
Günther Deschner
3c5b20148c IDL: Import drsuapi.idl from samba4.
Guenther
(This used to be commit f583e99cef)
2008-04-15 22:03:50 +02:00
Jelmer Vernooij
d0b946e328 Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into 3-2-nopipeindex
(This used to be commit 9028f9e065)
2008-04-15 20:52:17 +02:00
Michael Adam
b64be89a6d auth: add SeDiskOperatorsPrivilege to get_root_nt_token to fix registry shares.
Michael
(This used to be commit 6bb107b17d)
2008-04-15 20:41:14 +02:00
Jelmer Vernooij
28fd4f6fcb Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.
(This used to be commit 7bea00dca1)
2008-04-15 20:26:52 +02:00
Michael Adam
bcaac7fa36 libmsbconf: add handling of NULL share parameters to registry backend.
Michael
(This used to be commit 6c1181fda2)
2008-04-15 17:40:28 +02:00
Michael Adam
be504b9d32 libsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in smbconf_create_share().
These are values stored inside the base key for registry.
This is not getting deleted.

Michael
(This used to be commit aa167de825)
2008-04-15 17:40:28 +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 0212b38913)
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 367c8b133b)
2008-04-15 17:40:27 +02:00
Michael Adam
747d4a8f04 libsmbconf: make sure to always list the NULL section first in text backend.
Michael
(This used to be commit b50fdf321d)
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 5424e07e7d)
2008-04-15 17:40:27 +02:00
Michael Adam
34e8ec54ce libsmbconf: default to the NULL section when a parameter is encountered w/o section
Michael
(This used to be commit e1b98f1cbc)
2008-04-15 17:40:27 +02:00
Michael Adam
e700800720 libsmbconf: allow NULL sharename in smbconf_share_exists().
Michael
(This used to be commit cb23052b20)
2008-04-15 17:40:27 +02:00
Michael Adam
0e7497936c libsmbconf: add handling of NULL strings to smbconf_find_in_array().
Michael
(This used to be commit a5923bafe9)
2008-04-15 17:40:27 +02:00
Michael Adam
b396ad07d1 libsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()
Michael
(This used to be commit aba261a914)
2008-04-15 17:40:27 +02:00
Jelmer Vernooij
c05c5dba8a Regenerate DCE/RPC client code after fixing memcpy() length bug in pidl.
(This used to be commit ac4c63d999)
2008-04-15 16:11:10 +02:00
Stefan Metzmacher
5a2e212c0f lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!
metze
(This used to be commit ccdebe97f8)
2008-04-15 00:25:27 +02:00
Stefan Metzmacher
625f2d6c23 pdb_tdb: fix the upgrade code, db_traverse returns the number of records!
metze
(This used to be commit baaf571d54)
2008-04-15 00:25:11 +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 9003881773)
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 53735edcbb)
2008-04-14 22:58:38 +02:00
Günther Deschner
a31281a751 libnetjoin: delete the workgroup name when requested while unjoining.
Guenther
(This used to be commit 1782e89f33)
2008-04-14 22:57:37 +02:00
Günther Deschner
c8d96d57f8 libnetjoin: separate out libnet_join_lookup_dc_rpc.
Guenther
(This used to be commit 8d3d1c094a)
2008-04-14 22:56:12 +02:00
Günther Deschner
e27160183a libgpo: fix build warning.
Thanks metze&vl.

Guenther
(This used to be commit cb3f1df7d8)
2008-04-14 18:21:21 +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 8331fbe735)
2008-04-14 16:16:25 +02:00
Günther Deschner
cbd07aa047 libnetjoin: Fix unjoining when no KRB5CCNAME is around.
Guenther
(This used to be commit 7fd237c545)
2008-04-14 16:15:18 +02:00
Günther Deschner
bc65d96782 net: use WERROR for check_ads_config().
Guenther
(This used to be commit 9176057986)
2008-04-14 16:13:52 +02:00
Günther Deschner
202e8cc57e doserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE.
Guenther
(This used to be commit 91a55fc27d)
2008-04-14 15:48:23 +02:00
Günther Deschner
fffb304fec net: the success of secrets_init is checked by libnetjoin now.
Guenther
(This used to be commit 0a6a5d0824)
2008-04-14 15:47:30 +02:00
Günther Deschner
e23911b0c3 WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.
Guenther
(This used to be commit 260efafb8f)
2008-04-14 14:46:30 +02:00
Günther Deschner
a4e0f60c4e libnetjoin: Remove machine account if we failed to set password.
Guenther
(This used to be commit db5e0ed186)
2008-04-14 14:44:58 +02:00
Volker Lendecke
ae4159f0f7 Remove two pointless else branches
(This used to be commit ed343114cd)
2008-04-14 14:37:39 +02:00
Volker Lendecke
13a60a4005 Remove namedpipe_transact fn pointer from smb_np_struct
(This used to be commit d1f82b7e67)
2008-04-14 14:16:58 +02:00