1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

27039 Commits

Author SHA1 Message Date
Michael Adam
34e8ec54ce libsmbconf: default to the NULL section when a parameter is encountered w/o section
Michael
(This used to be commit e1b98f1cbce72d12085d86da834f0949ecbfbf67)
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 cb23052b2055d77924b2a593ec14f0c1de9a3b51)
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 a5923bafe9b543d50dca06d251186948baeac8cc)
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 aba261a9143bc7ab681b1c57ccfc08da0cffcfe7)
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 ac4c63d999f9ae61428bcdae400d127459896d6c)
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 ccdebe97f85b76378e42d8cf08324228bd19cf32)
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 baaf571d540ace5119c528fd35bceab335bd6741)
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 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
a31281a751 libnetjoin: delete the workgroup name when requested while unjoining.
Guenther
(This used to be commit 1782e89f3341eca5ee1fa39881ee8efb3fac9a5b)
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 8d3d1c094a28f75b01315ee05b7939ffba374f20)
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 cb3f1df7d8f35848a432764ea7d6720ec131ede1)
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 8331fbe735e2bec386ab8fc1645dc371d45d3063)
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 7fd237c545e0a7e0029195dbbb6691571abdfe84)
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 9176057986be63c7ebebb56f7daabbc3883802c5)
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 91a55fc27dc100cf193cfa2613771312f018449e)
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 0a6a5d082426ca82accf18fffa7740683a42cac1)
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 260efafb8fb6527eb0a182f9a6bfed8239dd8315)
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 db5e0ed186429667a7f6fc67e4b19a7ca75f357e)
2008-04-14 14:44:58 +02:00
Volker Lendecke
ae4159f0f7 Remove two pointless else branches
(This used to be commit ed343114cd0844a7fd14b45f95c0f43a6d172a42)
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 d1f82b7e67a791e19d08c682b607d82ae649feb4)
2008-04-14 14:16:58 +02:00
Volker Lendecke
fe4930b7fa Enable multiple fd events on a single file descriptor
Now we can have multiple events listen on a single fd. The order in which they
are called is naturally not defined, meaning that it is only deterministic if
exactly one event is readable or writeable.
(This used to be commit 61503f822b60f98dd1f7549707ec89b48e32caeb)
2008-04-14 13:13:47 +02:00
Volker Lendecke
a4c0812af0 Fix some "ignoring asprintf result" warnings
(This used to be commit 155d62ddfd3584d44a493c2aa1ea7f096bcff432)
2008-04-14 13:13:46 +02:00
Volker Lendecke
394150d269 Make use of ZERO_STRUCT instead of memset in namequery.c
(This used to be commit 4f1d49615e1407b9c3ad5eeb50a248b8fee50e23)
2008-04-14 13:13:46 +02:00
Volker Lendecke
313abd3ac2 Fix the build of db_open_trans with CLUSTER_SUPPORT enabled
Metze, you might want to check this.
(This used to be commit 3b4a402bc5c3490000581d43a12388883bcf8150)
2008-04-14 13:13:46 +02:00
Günther Deschner
e33b13e826 libnetjoin: Fix joining when no KRB5CCNAME is around.
Guenther
(This used to be commit 512e6ca0a9be9fe35994ec1010110573a5b551d1)
2008-04-14 12:33:10 +02:00
Alexander Bokovoy
09c5d89220 Use more error-prone form of testing dm_destroy_session() return code after discussing with Tridge
(This used to be commit 4abdbad52e456764bca1b17ead04edee1e2a2a64)
2008-04-14 13:56:36 +04:00
Michael Adam
9fd9060e53 loadparm: use the new smbconf_init() dispatcher for loading registry config.
Michael
(This used to be commit 78afb30f8073c3804dfa0cecadf973d5af5dd612)
2008-04-13 20:04:44 +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
4eab3d3cf0 libsmbconf: add a smbconf init dispatcher smbconf_init().
The dispatcher takes a config source argument in the form
of "backend:path" where backend can (currently) be one of
"txt" (aka "file") or "reg" (aka "registry").

When the path is omitted, it is up to the backend to provide
a default path.

When there is no separator ":" and the string is not a recognized
backend, then file backend is assumed and the string is passed
in as the path argument.

Michael
(This used to be commit cc613a60eb0f6b92cae98e8669e5e569a1eb9324)
2008-04-13 20:04:44 +02:00
Michael Adam
09c6c38deb libsmbconf: move setting of verbatim variable into a more internal function.
Michael
(This used to be commit 9efd7b515183fa28f400fe88af63e0b0126e3e00)
2008-04-13 20:04:44 +02:00
Michael Adam
935b99c84c libsmbconf: add a check for talloc failure to smbconf_txt_init().
Michael
(This used to be commit f76ec7d87e206426c795374397ba725ecdeec784)
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
Michael Adam
611b6bfa3b libsmbconf: rename smbconf_init() to smbconf_init_internal().
smbconf_init should be the name of the dispatcher (to be written)

Michael
(This used to be commit 3fb95ab757650712716472ebaccb7119feb27596)
2008-04-13 20:04:43 +02:00
Günther Deschner
aea1a244ee libnetapi: add libnetapi_set_use_kerberos
Don't unconditionally set the kerberos flag for authentication.

Guenther
(This used to be commit 15bef5ae413adf278cccc0e547c4b8ccd180eca2)
2008-04-13 19:25:59 +02:00
Günther Deschner
6318088434 libnetapi: Add NetQueryDisplayInformation header.
Guenther
(This used to be commit 3c107934acc907e3eedd116b42d1d07ee0574183)
2008-04-13 19:25:59 +02:00
Günther Deschner
d0acdc9038 libnetapi: add NetQueryDisplayInformation example.
Guenther
(This used to be commit 5f9332cf1f60bb5a23a16776b95af3a83c5deb40)
2008-04-13 19:15:15 +02:00
Günther Deschner
b3367c9e35 libnetapi: fill in NetQueryDisplayInformation_r.
Guenther
(This used to be commit 7fb9991b4c54fd0b9629e47afc1e5bbc2cfc1088)
2008-04-13 19:12:31 +02:00
Günther Deschner
dcb9264edf libnetapi: don't reset the error code in NetUserAdd_r if the operation failed.
Guenther
(This used to be commit 9edb067f62b1e36f1da461b3eb09cb123d2089dd)
2008-04-13 19:11:01 +02:00
Günther Deschner
5647deccb1 libnetapi: add NetQueryDisplayInformation skeleton.
Guenther
(This used to be commit 6ec4a62b6d584f6745c3285474372f235614b598)
2008-04-13 19:04:18 +02:00
Günther Deschner
99e96fe5ca Re-run make idl.
Guenther
(This used to be commit afd0e925dc63b6f776caa5fd442c4e48e8349682)
2008-04-13 19:00:53 +02:00
Günther Deschner
f34245238a libnetapi: Add IDL for NetQueryDisplayInformation.
Guenther
(This used to be commit 1200eb474c145fdde91bc39546454015fecf22f0)
2008-04-13 18:59:42 +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
Günther Deschner
de013be0b6 gpo: add scripts plugin.
Guenther
(This used to be commit cd6388f04041a667bf0909d81e8af5f7b3bdc4af)
2008-04-13 17:52:11 +02:00
Günther Deschner
e39f02217a libnetapi: don't to try to free NULL struct.
Guenther
(This used to be commit eb33d30d80ab2fe770e248f5b2a70a83a43dd156)
2008-04-13 17:39:29 +02:00
Günther Deschner
3cd8c1befa gpo: make integer debug print more readable.
Guenther
(This used to be commit b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5)
2008-04-13 17:39:28 +02:00
Michael Adam
282c9ff8ae registry: honour the WERROR that regsubkey_ctr_addkey gives us in reg_load_tree.
Michael
(This used to be commit c2d9baa29edb2356f32ca19aea828184e9ac7b93)
2008-04-13 15:45:33 +02:00
Michael Adam
86d189dad1 registry: honour the WERROR that regsubkey_ctr_addkey gives in regdb_fetch_keys.
Michael
(This used to be commit 7dd7471da7eca2671b4aa62e8790973e3ff14177)
2008-04-13 15:41:07 +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
a9ff941f41 registry: rename init_registry() to registry_init_full() for consistency.
Michael
(This used to be commit 14d82708d4499b48830d3dd25a0133f00a39d030)
2008-04-13 15:33:48 +02:00