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

28511 Commits

Author SHA1 Message Date
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
Michael Adam
34f1c8ea74 packaging: remove references to smbmount and friends from samba-ctdb spec file
Michael
(This used to be commit 66c4d58f38557df618f026ddb661190dc02af719)
2008-05-10 02:19:58 +02:00
Michael Adam
31ed1061ad packaging: fix GPL version in samba-ctdb specfile.
Michael
(This used to be commit 35543d8815b004d3b29771f07998ee7ee820b567)
2008-05-10 02:19:47 +02:00
Michael Adam
0d8b45c8c5 packaging: rename RHEL4-CTDB --> RHEL-CTDB
Michael
(This used to be commit 711af98d2ce708421a413fe46a386ea9e19d2517)
2008-05-10 02:19:33 +02:00
Michael Adam
59b6160801 packaging: add x perms to samba-ctdb filter-requires-samba.sh script.
Michael
(This used to be commit 7520007efd31d7a81cacc3c2744e6a95dbdc08d4)
2008-05-10 02:18:55 +02:00
Michael Adam
def21f7f6f packaging: add x perms to samba-ctdb makerpms.sh script.
Michael
(This used to be commit 405b0f8273ddd397d050b519419193dd8c978aba)
2008-05-10 02:18:08 +02:00
Andrew Tridgell
aeea825749 fixed version in spec file
(This used to be commit e7023592cbca002d94c47f73a2dc6c3e0a4c4a40)
2008-05-10 02:15:39 +02:00
Andrew Tridgell
abb6e6ea22 merge in spec file from Michael
(This used to be commit 4aaaf792fe3b972d7ca5737bf7343fbda766d9b0)
2008-05-10 02:15:16 +02:00
Michael Adam
1e161b8c81 loadparm: Fix activation of registry globals in lp_load_*.
This completes bba04a8fba6fd5cf62578733cfdabea590e8ff51:
The reverted logic has to be put into the callers
lp_load() and lp_load_initial_only() of lp_load_ex(), too.
Silly bug.

Michael
(This used to be commit c1f300c76e882f2d108596aa3dbc211d545c665a)
2008-05-10 00:15:00 +02:00
Jeremy Allison
48b8bacfe4 Fix replacement getpass. If we ^C at the prompt echo was left off.
Jeremy.
(This used to be commit e54c71954ae484fe4a4e195db33440490e78e256)
2008-05-09 14:51:45 -07:00
Jeremy Allison
3f76504d92 Remove a couple of uses of SMB_VFS_GET_NT_ACL(), use
SMB_VFS_FGET_NT_ACL instead. I'd like to ultimately
remove SMB_VFS_GET_NT_ACL.
Jeremy.
(This used to be commit 4221937b68e2414295279b27c5f12a80f826ed4b)
2008-05-09 11:14:45 -07:00
Günther Deschner
1830d6b159 dsgetdcname: add reminder that we need to support ipv6 here once we know how.
Guenther
(This used to be commit 4b3617bf505a835a6d4bb9b80c4ad837a2082dea)
2008-05-09 17:56:04 +02:00
Günther Deschner
d59cf703ba dsgetdcname: make use of nbt_cldap_netlogon_15.
Guenther
(This used to be commit 5b0eda98f3d127399770f7a037ad3277dbe23393)
2008-05-09 17:41:50 +02:00
Günther Deschner
8af909301c re-run make idl.
Guenther
(This used to be commit 5a216d2340bb06a8866718d1b4b07265006bd900)
2008-05-09 17:40:29 +02:00
Günther Deschner
de11bbafd3 IDL: Fix nbt_cldap_netlogon union, removing the default member.
Guenther
(This used to be commit a56d7999a445f7157f85e5636f5b2c5e471a98e2)
2008-05-09 17:39:53 +02:00
Günther Deschner
486a96a4e4 IDL: Add nbt_cldap_netlogon_15.
Guenther
(This used to be commit 5e91bd1d2bfe458c6f8b3696f99e0f75e43cbae8)
2008-05-09 17:24:38 +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
c58ab8f3b2 dsgetdcname: the forest name should never be empty.
Guenther
(This used to be commit 2c0a96f1e5fc065fdbeb5671cfa693009321dde8)
2008-05-09 14:59:20 +02:00
Günther Deschner
f11acf3582 Use strip_hostname after dsgetdcname/getdcname calls.
Guenther
(This used to be commit 82cbb3269b2e764c9c2a2fbcbe9c29feae07fb62)
2008-05-09 14:59:19 +02:00
Günther Deschner
e556dfbb93 util: add strip_hostname() to strip of leading '\\'.
Guenther
(This used to be commit dbf96120d8b33e592bfd3e9df1777f1670e218be)
2008-05-09 14:59:19 +02:00
Günther Deschner
e668cb4594 dsgetdcname: add map_dc_and_domain_names() for consolidating returned names.
Guenther
(This used to be commit eb7fee6e2a00326c03aa013058247e06279a4930)
2008-05-09 14:59:19 +02:00
Günther Deschner
4bd94c8338 cldap: move out cldap object to fix the build.
Guenther
(This used to be commit 56be9c98d24e64bf855439df21766d30f448f407)
2008-05-09 14:59:19 +02:00
Günther Deschner
5e24d83e41 dsgetdcname: fix gencache store for dsgetdcname().
While storing always a type 29 reply structure in gencache, we are now able to
deliver correct data according to return flags such as DS_RETURN_FLAT_NAME and
DS_RETURN_DNS_NAME out of the cached data from gencache.

Guenther
(This used to be commit c67b6dc0ca866781043e443177d550e23b83ae36)
2008-05-09 14:59:19 +02:00
Günther Deschner
5d7a60afd8 dsgetdcname: pure cosmetics.
Guenther
(This used to be commit 4b56c294e8ba045c84cab538b3d286e433d292ed)
2008-05-09 14:59:19 +02:00
Günther Deschner
9adc40a38f dsgetdcname: simply call ourself with DS_FORCE_REDISCOVERY after cache expiry.
Guenther
(This used to be commit 847f258632f6d49a3fd45f466c5d3d8c6222ff85)
2008-05-09 14:59:19 +02:00
Günther Deschner
8441681819 dsgetdcname: be more paranoid about the existance of an ip_address.
Guenther
(This used to be commit d13fe66f3d9ba152e3e8197ee6682e175163a6cd)
2008-05-09 14:59:19 +02:00
Günther Deschner
eaef936523 dsgetdcname: remove invalid assumption in discover_dc_dns().
Guenther
(This used to be commit f48b2e844b673e99c84cb24f3c3718352ab93ce5)
2008-05-09 14:59:19 +02:00
Günther Deschner
9be17e2187 dsgetdcname: mailslot replies are identical to the cldap ones, use cldap everywhere.
Guenther
(This used to be commit fe904ee77a7fec1674e9db660978c40c17897f77)
2008-05-09 14:59:19 +02:00
Günther Deschner
926cc82897 dsgetdcname: wait a little longer for mailslot replies.
Guenther
(This used to be commit bc0d7a90dcc7bf702b24feb16abf4634ff178671)
2008-05-09 14:59:18 +02:00
Günther Deschner
9d99ef899c dsgetdcname: map additional flags to nt_version.
Guenther
(This used to be commit 1009123b8600e6ccebe180f4a2f87c217638fef8)
2008-05-09 14:59:18 +02:00
Günther Deschner
0354d00ddf dsgetdcname: use make_dc_info_from_cldap_reply() for cldap replies.
Guenther
(This used to be commit a3e5b073f0474543ca74b40775ce1d7f80719c96)
2008-05-09 14:59:18 +02:00
Günther Deschner
81aa670343 dsgetdcname: add make_dc_info_from_cldap_reply().
Guenther
(This used to be commit 9db2e50a20caabaf90ce03203a066ddd7820d33a)
2008-05-09 14:59:18 +02:00
Günther Deschner
9b4ea32c2d dsgetdcname: add get_cldap_reply_server_flags().
Guenther
(This used to be commit 3c05c56d4c0aac8106684cda3152c65299c63075)
2008-05-09 14:59:18 +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
Günther Deschner
64cb9461fb dsgetdcname: add pull_mailslot_cldap_reply().
Guenther
(This used to be commit 95fb01d8702342265f8837a368dc42f4a4d394d5)
2008-05-09 14:59:18 +02:00
Günther Deschner
fcdee39988 dsgetdcname: add map_ds_flags_to_nt_version.
Guenther
(This used to be commit 1809ea22c31ee28e109f49701f91534177027165)
2008-05-09 14:59:18 +02:00
Jeremy Allison
73b65bcd14 Fix bug #5452 - smbclient put always creates zero length
files. Thanks to Kai Engert <kengert@redhat.com> for
reporting.
Jeremy.
(This used to be commit 687275cd532f8f8ad710acd222a0c76625da53c6)
2008-05-08 22:07:35 -07: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
Michael Adam
f7d39653f5 registry: add removal of secdesc of a key to regdb_store_keys().
Michael
(This used to be commit a01d8fe5e89ca9620d23198b11e5ae605a97e5a6)
2008-05-08 18:29:10 +02:00
Michael Adam
1f279f866f registry: add comments to removing lists in regdb_store_keys().
Michael
(This used to be commit 3e89217e7edea5d7ec707de065d38b1921ed09af)
2008-05-08 18:29:10 +02:00
Michael Adam
9f7653bfa1 registry: change order of deleting value and subkey lists in store_keys().
Next step in the plan to make store_keys safer without transactions.

Michael
(This used to be commit f7c8718dead63964481954a86427b8c05d15452c)
2008-05-08 18:29:10 +02:00
Michael Adam
453141b395 registry: adapt comment to first step in regdb_store_keys().
Michael
(This used to be commit 97592db08a109ffbea8c85b17686fa565c5cf8c9)
2008-05-08 18:29:10 +02:00
Michael Adam
8c2b976208 registry: adapt comment of last step in regdb_store_keys().
adding number (3) ....

Michael
(This used to be commit a03a17365d64f7fe83a9f2e866c4f069a1dd1682)
2008-05-08 18:29:10 +02:00
Michael Adam
315c7b7824 registry: regdb_store_keys: move storing the subkey list down after removing values.
Michael
(This used to be commit 986030cdda828f7f87c5464d1837324b7033e27e)
2008-05-08 18:29:10 +02:00
Michael Adam
01e640f6ea registry: add comment explaining workflow to make store_keys safe w/o transactions
/*
 * Make the store operation as safe as possible without transactions:
 *
 * (1) For each subkey removed from ctr compared with old_subkeys:
 *
 *     (a) First delete the value db entry.
 *
 *     (b) Next delete the secdesc db record.
 *
 *     (c) Then delete the subkey list entry.
 *
 * (2) Now write the list of subkeys of the parent key,
 *     deleting removed entries and adding new ones.
 *
 * (3) Finally create the subkey list entries for the added keys.
 *
 * This way if we crash half-way in between deleting the subkeys
 * and storing the parent's list of subkeys, no old data can pop up
 * out of the blue when re-adding keys later on.
 */

The workflow is going to be modified to meet this agendain the next commits.

Michael
(This used to be commit 55dd9bdd148fc942e15aacfe9f6b38b1a5c53158)
2008-05-08 18:29:10 +02:00
Michael Adam
7fa4cd2421 registry: check for existence of non base key in regdb_store_keys() before proceeding.
Michael
(This used to be commit 52413c94fcc56c4055de4d35bea8a00646352122)
2008-05-08 18:29:09 +02:00
Michael Adam
8e21d223f7 registry: add a function regdb_key_is_base_key() to check whether is composite.
This partly duplicates code from regdb_key_exists(). Maybe refactor later.

Michael
(This used to be commit c27d03bba842ecf99f23b22dc40fa7df33392fa0)
2008-05-08 18:29:09 +02:00