1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

24925 Commits

Author SHA1 Message Date
Günther Deschner
0e8240f5a5 Re-arrange pre- and postprocessing code in libnetjoin.
Guenther
(This used to be commit 99e3e4b0dd)
2008-01-15 11:02:56 +01:00
Volker Lendecke
2b14428330 Fix some warnings -- Jeremy, please check
(This used to be commit b66ac8567c)
2008-01-15 11:01:18 +01:00
Volker Lendecke
57cc992e0f Implement vfs_ea_tdb
This is an option for file systems that do not implement xattrs: in
lockdir/eas.tdb an array of xatts per inode is stored.

It can not solve the problem that xattrs might reappear if a posix-level
process deletes a file and happens to re-create it under the same name. On file
systems with birthtime we might have a chance to detect this, but not with
standard posix. A future version might put relief on file systems that do have
xattrs but where these are severely limited in size/speed/whatever: We can put
a simple marker as a native xattr, but the xattrs proper are stored in the tdb.

Volker
(This used to be commit 2036b4c5ad)
2008-01-15 11:01:18 +01:00
Stefan Metzmacher
e00e080034 libwbclient: add wbclient.pc.in
metze
(This used to be commit e6bd1395f2)
2008-01-15 10:43:43 +01:00
Stefan Metzmacher
1e9c289d84 libwbclient: install wbclient.h into the same path as smbclient.h
metze
(This used to be commit 7cb81bfc6b)
2008-01-15 10:43:43 +01:00
Stefan Metzmacher
bfc4e62e61 libwbclient: move wbc_err.h into wbclient.h as we only install one header
This makes the installed wbclient.h header usable.

metze
(This used to be commit 7dd65599a1)
2008-01-15 10:43:42 +01:00
Günther Deschner
8a6f492e57 Add True/False bool cleanup script.
Guenther
(This used to be commit 9f05d2eae7)
2008-01-15 10:35:10 +01:00
Jeremy Allison
d7582b5186 Windows insists on write sizes < max_xmit on signed connections.
Jeremy.
(This used to be commit ef9b278b62)
2008-01-14 13:46:06 -08:00
Alexander Bokovoy
e2ffd51101 Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit a40f68eac1)
2008-01-14 22:36:47 +03:00
Jeremy Allison
19e4e99bfb From Alexander Bokovoy
names is a 'const char **names' here, passed from upper level. Passing
'names' as a talloc context will break things as 'names' is usually
likely is a local variable, not a talloc'd. And we want to have array
elements on a context of the array anyway.

Jeremy.
(This used to be commit 22a4129fab)
2008-01-14 11:06:46 -08:00
Alexander Bokovoy
edd4cb0373 Fix crash in winbind clients: instead of talloc-based pointer we passed address of a local variable.
(This used to be commit a861ff2091)
2008-01-14 13:03:49 -06:00
Alexander Bokovoy
d7a406eaa7 Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit 5c2d4c76d8)
2008-01-14 21:40:40 +03:00
Michael Adam
d35bda0ffd Add detection for need of update to the registry db.
This only detects if the tdb sequence number has changed
since the data has last been read.

Michael
(This used to be commit 3f081ebead)
2008-01-14 19:38:01 +01:00
Alexander Bokovoy
978eb31344 Fix crash in winbind clients: instead of talloc-based pointer we passed address of a local variable.
(This used to be commit 0afd2153c7)
2008-01-14 21:32:59 +03:00
Günther Deschner
36a7316bfc Some more minor cleanup for "net rpc audit".
Guenther
(This used to be commit 558ce4ec3e)
2008-01-14 18:39:15 +01:00
Günther Deschner
a32cca7f37 Print principal in debug statement in kerberos_kinit_password() as well.
Guenther
(This used to be commit 44d67e8462)
2008-01-14 18:39:08 +01:00
Günther Deschner
dbd3efe942 Re-run make idl to update lsa idl.
Guenther
(This used to be commit 94693755a2)
2008-01-14 17:39:33 +01:00
Günther Deschner
e2d32e0407 Use lsa_PolicyInfo enum in lsa policy info calls.
Guenther
(This used to be commit 8b63a16657)
2008-01-14 17:37:35 +01:00
Günther Deschner
662d61e742 Fix all callers of old rpccli_lsa_set_info_policy() call.
Guenther
(This used to be commit be8071779f)
2008-01-14 17:17:20 +01:00
Günther Deschner
495c38e546 Fix prototypes for lsa set info policy calls.
Guenther
(This used to be commit 33f6eff92b)
2008-01-14 17:16:31 +01:00
Günther Deschner
862e1685b8 Remove old lsa set info policy call.
Guenther
(This used to be commit b37b2b77ed)
2008-01-14 17:16:06 +01:00
Günther Deschner
003694b4a7 Re-run make idl for new lsa calls.
Guenther
(This used to be commit add28753b2)
2008-01-14 17:13:17 +01:00
Günther Deschner
aa9335491f Fill in IDL for lsa_SetInfoPolicy and lsa_SetInfoPolicy2.
Guenther
(This used to be commit dceb9a4c80)
2008-01-14 17:10:31 +01:00
Günther Deschner
351377a90e Remove more redundant lsa parsing functions.
Guenther
(This used to be commit 99dd28da84)
2008-01-14 15:51:50 +01:00
Michael Adam
f326cd2be5 Fix bug #5171 (perl syntax error) found by Jason Filley <jason@snakelegs.org>
Michael
(This used to be commit dcb5034acd)
2008-01-14 15:46:01 +01:00
Günther Deschner
c6f2bbb59f Fix rpcclient display_trust_dom_info().
Guenther
(This used to be commit 54bdd22a07)
2008-01-14 15:39:51 +01:00
Günther Deschner
cb1a090577 Use pidl generated rpccli_lsa_QueryTrustedDomainInfoBySid when vampiring trusted
domain secrets.

Guenther
(This used to be commit aa3de6f9f5)
2008-01-14 15:33:42 +01:00
Günther Deschner
08946cc546 Remove some more hand written LSA rpc.
(rpccli_lsa_open_trusted_domain,
rpccli_lsa_query_trusted_domain_info,
cli_lsa_query_domain_info_policy).

Guenther
(This used to be commit 5bfb33f1c5)
2008-01-14 15:29:52 +01:00
Günther Deschner
c939441411 Start removing hand-written lsa marshalling code (namely
rpccli_lsa_open_trusted_domain_by_name,
rpccli_lsa_query_trusted_domain_info_by_sid and
rpccli_lsa_query_trusted_domain_info_by_name).

Guenther
(This used to be commit f2fb347345)
2008-01-14 15:29:43 +01:00
Günther Deschner
463fd6b3a8 Use some more pidl generated LSA rpc in rpcclient.
Guenther
(This used to be commit 153e4dd162)
2008-01-14 15:29:36 +01:00
Michael Adam
ff256b4284 Fix "make test_shlibs": it showed unresolved symbols for -lwbclient.
Michael
(This used to be commit 9a435b510f)
2008-01-14 14:57:30 +01:00
Günther Deschner
43d7bb53ad Revert ""make test_shlibs" shows unresolved symbols for -lwbclient."
This reverts commit 0093f618e9.
(This used to be commit ad6cb9afc9)
2008-01-14 12:01:06 +01:00
Günther Deschner
e41fe768b6 "make test_shlibs" shows unresolved symbols for -lwbclient.
Guenther
(This used to be commit 0093f618e9)
2008-01-14 10:43:49 +01:00
Andrew Tridgell
63b1c765de samba3 already has tdb_validate()
(This used to be commit 9f002eeff9)
2008-01-14 16:26:52 +11:00
Andrew Tridgell
a1902700c4 merged tdb fix from ctdb tree
(This used to be commit c91e9c785b)
2008-01-14 15:38:43 +11:00
Michael Adam
8a76e6aff0 Reset the failed counter in test_wbinfo_s3.sh.
Michael
(This used to be commit 3eedb89284)
2008-01-14 00:23:11 +01:00
Michael Adam
971abee490 Fix a syntax error in script/tests/test_local_s3.sh .
This will reveal the currently breaking tdbtorture to the build farm...

Michael
(This used to be commit 50f65c3c55)
2008-01-13 23:54:48 +01:00
Michael Adam
801eeaec09 Add and modify comments in net_conf.c
Michael
(This used to be commit b3afc8391d)
2008-01-13 23:45:57 +01:00
Michael Adam
a6bf13ce97 Add explicit creation of shares to net conf import function.
It has been removed from libnet_conf_set_parameter().

Michael
(This used to be commit b5c533b06c)
2008-01-13 23:30:08 +01:00
Michael Adam
3910dd2e1b Make use of the new libnet_conf_delete_global_parameter() function.
Michael
(This used to be commit aed01fd28c)
2008-01-13 23:20:51 +01:00
Michael Adam
864fc10a27 Add a function libnet_conf_delete_global_parameter() to libnet_conf.c
Create the [global] section if it does not yet exist.

Michael
(This used to be commit 90fa2981c9)
2008-01-13 23:16:42 +01:00
Michael Adam
c4899fec9f Add a function libnet_conf_get_global_parameter() to libnet_conf.c
It creates the [global] section if it does not yet exist.

Michael
(This used to be commit 627a29b690)
2008-01-13 23:16:42 +01:00
Michael Adam
d042a64092 Move libnet_conf_set_global_parameter() inside libnet_conf.c
Also remove the "convenience function" section comment.
The set_global_parameter function now has a right to exist
in the api.

Michael
(This used to be commit fd99c1804a)
2008-01-13 23:16:41 +01:00
Michael Adam
ecc53ab371 Add a comment header to libnet_conf_set_global_parameter().
Michael
(This used to be commit c050b148d0)
2008-01-13 23:16:41 +01:00
Michael Adam
8fc2db5070 Add auto-adding of [global] to libnet_conf_set_global_parameter().
Michael
(This used to be commit ad2497cfac)
2008-01-13 23:16:41 +01:00
Michael Adam
89fb79ada6 Remove auto-generation of missing share from libnet_conf_set_parameter().
Günther, I wanted to have this as atomic as possible.
I will add this behaviour to libnet_conf_set_global_parameter() next
with the justification that [global] should exist transparently.

Michael
(This used to be commit e2b34e9c02)
2008-01-13 23:16:41 +01:00
Derrell Lipman
011e89c858 Fix smbc_listxattr() and friends (bug #5189)
When the capability of using full names for DOS attributes was added, a bug
was introduced which caused the wrong number of bytes to be returned.  This
patch to smbc_listxattr_ctx() fixes the problem.

Thanks to Jack Schmidt for this patch.

Derrell
(This used to be commit 913c335d21)
2008-01-13 17:10:06 -05:00
Volker Lendecke
5b6520044b Fix the max_dead_record calculations
(This used to be commit 4aaf4e7e73)
2008-01-13 22:58:41 +01:00
Derrell Lipman
d49ba81210 Fix compile and linking errors since last this code was tested
(This used to be commit 2f43284244)
2008-01-13 12:07:18 -05:00
Michael Adam
58d2f1ff81 Fix Compiler warnings by including the proper header.
Michael
(This used to be commit edaf52a301)
2008-01-13 12:52:25 +01:00