Kai Blin
378527215e
net: Some whitespace clean-up.
...
(This used to be commit 4dcce8b653
)
2008-05-10 09:22:19 +02:00
Kai Blin
44c689289c
net: Fix usage string.
...
(This used to be commit e3470e9a1b
)
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 66c4d58f38
)
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 35543d8815
)
2008-05-10 02:19:47 +02:00
Michael Adam
0d8b45c8c5
packaging: rename RHEL4-CTDB --> RHEL-CTDB
...
Michael
(This used to be commit 711af98d2c
)
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 7520007efd
)
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 405b0f8273
)
2008-05-10 02:18:08 +02:00
Andrew Tridgell
aeea825749
fixed version in spec file
...
(This used to be commit e7023592cb
)
2008-05-10 02:15:39 +02:00
Andrew Tridgell
abb6e6ea22
merge in spec file from Michael
...
(This used to be commit 4aaaf792fe
)
2008-05-10 02:15:16 +02:00
Michael Adam
1e161b8c81
loadparm: Fix activation of registry globals in lp_load_*.
...
This completes bba04a8fba
:
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 c1f300c76e
)
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 e54c71954a
)
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 4221937b68
)
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 4b3617bf50
)
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 5b0eda98f3
)
2008-05-09 17:41:50 +02:00
Günther Deschner
8af909301c
re-run make idl.
...
Guenther
(This used to be commit 5a216d2340
)
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 a56d7999a4
)
2008-05-09 17:39:53 +02:00
Günther Deschner
486a96a4e4
IDL: Add nbt_cldap_netlogon_15.
...
Guenther
(This used to be commit 5e91bd1d2b
)
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 7889516a38
)
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 2c0a96f1e5
)
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 82cbb3269b
)
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 dbf96120d8
)
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 eb7fee6e2a
)
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 56be9c98d2
)
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 c67b6dc0ca
)
2008-05-09 14:59:19 +02:00
Günther Deschner
5d7a60afd8
dsgetdcname: pure cosmetics.
...
Guenther
(This used to be commit 4b56c294e8
)
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 847f258632
)
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 d13fe66f3d
)
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 f48b2e844b
)
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 fe904ee77a
)
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 bc0d7a90dc
)
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 1009123b86
)
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 a3e5b073f0
)
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 9db2e50a20
)
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 3c05c56d4c
)
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 6f9d5e1cc9
)
2008-05-09 14:59:18 +02:00
Günther Deschner
64cb9461fb
dsgetdcname: add pull_mailslot_cldap_reply().
...
Guenther
(This used to be commit 95fb01d870
)
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 1809ea22c3
)
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 687275cd53
)
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 f487f742cb
)
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 a01d8fe5e8
)
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 3e89217e7e
)
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 f7c8718dea
)
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 97592db08a
)
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 a03a17365d
)
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 986030cdda
)
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 55dd9bdd14
)
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 52413c94fc
)
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 c27d03bba8
)
2008-05-08 18:29:09 +02:00
Michael Adam
4095b008ee
registry: check for existence of key in regdb_set_secdesc() before proceeding.
...
Michael
(This used to be commit 347bab7f4a
)
2008-05-08 18:29:09 +02:00
Michael Adam
7d35d4e2a4
registry: check for existence of key in regdb_get_secdesc() before proceeding.
...
Michael
(This used to be commit 727e5a87c0
)
2008-05-08 18:29:09 +02:00