summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-08Fix bug #5452 - smbclient put always creates zero lengthJeremy Allison1-2/+2
files. Thanks to Kai Engert <kengert@redhat.com> for reporting. Jeremy. (This used to be commit 687275cd532f8f8ad710acd222a0c76625da53c6)
2008-05-08Yay ! Remove a VFS entry. Removed the set_nt_acl() call,Jeremy Allison18-144/+5
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-08registry: add removal of secdesc of a key to regdb_store_keys().Michael Adam1-0/+17
Michael (This used to be commit a01d8fe5e89ca9620d23198b11e5ae605a97e5a6)
2008-05-08registry: add comments to removing lists in regdb_store_keys().Michael Adam1-0/+4
Michael (This used to be commit 3e89217e7edea5d7ec707de065d38b1921ed09af)
2008-05-08registry: change order of deleting value and subkey lists in store_keys().Michael Adam1-16/+13
Next step in the plan to make store_keys safer without transactions. Michael (This used to be commit f7c8718dead63964481954a86427b8c05d15452c)
2008-05-08registry: adapt comment to first step in regdb_store_keys().Michael Adam1-1/+1
Michael (This used to be commit 97592db08a109ffbea8c85b17686fa565c5cf8c9)
2008-05-08registry: adapt comment of last step in regdb_store_keys().Michael Adam1-1/+1
adding number (3) .... Michael (This used to be commit a03a17365d64f7fe83a9f2e866c4f069a1dd1682)
2008-05-08registry: regdb_store_keys: move storing the subkey list down after removing ↵Michael Adam1-8/+8
values. Michael (This used to be commit 986030cdda828f7f87c5464d1837324b7033e27e)
2008-05-08registry: add comment explaining workflow to make store_keys safe w/o ↵Michael Adam1-0/+21
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-08registry: check for existence of non base key in regdb_store_keys() before ↵Michael Adam1-0/+4
proceeding. Michael (This used to be commit 52413c94fcc56c4055de4d35bea8a00646352122)
2008-05-08registry: add a function regdb_key_is_base_key() to check whether is composite.Michael Adam1-0/+33
This partly duplicates code from regdb_key_exists(). Maybe refactor later. Michael (This used to be commit c27d03bba842ecf99f23b22dc40fa7df33392fa0)
2008-05-08registry: check for existence of key in regdb_set_secdesc() before proceeding.Michael Adam1-0/+5
Michael (This used to be commit 347bab7f4aca7f26a88affea954a514c25735abf)
2008-05-08registry: check for existence of key in regdb_get_secdesc() before proceeding.Michael Adam1-0/+5
Michael (This used to be commit 727e5a87c0ed3e0a2b9c2b508b1f81e6a6d26732)
2008-05-08registry: check for existence of key in regdb_store_values() before proceeding.Michael Adam1-0/+4
Michael (This used to be commit 8a2c9d965d332ccd290089b92e9cfbba2413067c)
2008-05-08registry: check for existence of key in regdb_fetch_keys() before proceeding.Michael Adam1-0/+4
Michael (This used to be commit cf653e101d1b2c38b5e9de35732421a120213170)
2008-05-08registry: check for existence of key in regdb_fetch_values() first.Michael Adam1-0/+4
This uses the new semantics for existence of a key. Michael (This used to be commit 56a58690d3ab2e01ed28388bd59424d3abc7a0d3)
2008-05-08registry: free talloc context on error path in regdb_fetch_values().Michael Adam1-1/+1
Michael (This used to be commit 978aef3a862065be856b36b38d72d581c3ac0ba1)
2008-05-08registry: Implement new semantics for existence of registry key in tdb.Michael Adam1-3/+52
Existence of a key is defined as follows: * If the key is a base key (without separator), the key exists iff the corresponding entry exist in the registry tdb. * If the key is not a base key, the key exists, iff it exists in the list of subkeys of it's parent keyname's tdb entry. Michael (This used to be commit 477008367f0ac90624b4b751955cd3235b2c9cc6)
2008-05-08registry: make normalize_reg_path() strip leading and trailing '/' chars.Michael Adam1-7/+26
Michael (This used to be commit 04762cfcdba741afa457c96cd2f24e50cf83b15a)
2008-05-08registry: free temporary data in regdb_fetch_key_internal().Michael Adam1-1/+5
Michael (This used to be commit 2b25f480ba13ae125d081bab55ee3cbd3c4f425a)
2008-05-08registry: change order of arguments of regdb_fetch_key_internal()Michael Adam1-4/+4
list talloc context first. Michael (This used to be commit 23d7002b22ddcd2c52650463f31b72449aecaaaa)
2008-05-08gencache: add some const.Günther Deschner1-1/+1
Guenther (This used to be commit ec9f8c4cf67c82f4665ed51e4fd0181f5f147ea0)
2008-05-08re-run make idl.Günther Deschner3-3/+5
Guenther (This used to be commit 4c0805220821719ad1db1590457ab66a577d26a7)
2008-05-08IDL: make nbt_cldap_netlogon_29 public.Günther Deschner1-1/+1
Guenther (This used to be commit 7159cce8055d0197cfc1a9daa08d2370527ea3bc)
2008-05-08netdomjoin-gui: before prompting for creds, ask dsgetdcname for a dc.Günther Deschner1-0/+35
Guenther (This used to be commit 47146effc1c2bca516d4fbccf221b5b0e02737bf)
2008-05-07Rename server_info->was_mapped to server_info->nss_tokenVolker Lendecke7-15/+13
"nss_token" from my point of view much better reflects what this flag actually represents (This used to be commit b121a5acb2ef0bb3067d953b028696175432f10d)
2008-05-07Use talloc_tos() for a temporary getpwnam_alloc in make_connection_snumVolker Lendecke1-1/+1
(This used to be commit 1843ea64ab1df5ced5926aedbeb27c8320b0c70b)
2008-05-07Use talloc_stackframe() in find_forced_groupVolker Lendecke1-11/+5
(This used to be commit 27a9bbc645416265eebdfc866925855021bd407c)
2008-05-07re-run make idl.Günther Deschner1-0/+36
Guenther (This used to be commit 4bef77a4566590b3e20470f538f20848ed49f264)
2008-05-07IDL: add missing case 14 and 15 to nbt_cldap_netlogon union.Günther Deschner1-0/+2
Guenther (This used to be commit 9fcda4627b1c1d2836b6cbd1141f4e843ecab115)
2008-05-07dsgetdcname: remove invalid assumptions when using DNS for the DC query.Günther Deschner1-11/+2
Guenther (This used to be commit a81818ae54159755df441cc6421e5b272035f412)
2008-05-07netapi: add -f switch for DsGetDCName() example and be more verbose on output.Günther Deschner1-3/+15
Guenther (This used to be commit 3feaa9829cc5bdeb7a5401c3c24b3811816396ce)
2008-05-07wins: fix null pointer crash in nss_wins module.Günther Deschner1-0/+3
Guenther (This used to be commit 5bf47ebf0fb9f7d94ed36bce6bcaa31b508009bd)
2008-05-06Enable tests for splice on Linux. Add a static (vl, I hate this)Jeremy Allison2-2/+39
so we can detect broken Linux recvfile splice and correctly fall back. Jeremy. (This used to be commit ec2d301a7aac173aba41dd2074037f27d05095ce)
2008-05-07testsuite: allow selection of posix_s3 subtests by env var POSIX_SUBTESTS.Michael Adam1-0/+4
This allows for calling e.g. TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMBA3-GETUSERNAME" make test Michael (This used to be commit 7418d89b2941fff307e0980d1f71f106aed8cbce)
2008-05-06Fix a memleak introduced after refactoring "struct user_struct"Volker Lendecke1-1/+1
(This used to be commit e70b5b762234f1733f150bdfbda7b208a8139990)
2008-05-06Fix a memleak in construct_printer_info_7()Volker Lendecke1-2/+5
Also fix a "ignoring asprintf result" warning (This used to be commit 64d21f39636019d6a17f84efc6fb9e61e67a235e)
2008-05-06Remove some unused codeVolker Lendecke1-23/+0
(This used to be commit 87383a4605ab99d32fccae7793dc5292b8f3e25b)
2008-05-06Fix a panic in the [ug]id2sid valgrind bug fixVolker Lendecke1-4/+6
Always, always run "make test" before pushing stuff :-) (This used to be commit 1444db8be1de00a3e9c805f1accd8f1f4670d729)
2008-05-06libreplace: check how portable utimes() and futimes() areStefan Metzmacher1-0/+1
metze (cherry picked from commit 8798ce3c744025b94973784dcb44d099427ef190) (This used to be commit fa443081eaff77623653ed0390c4f9dabc4487b5)
2008-05-06testsuite: make structuring output of net_s3 tests stand out more.Michael Adam1-3/+3
say "RUNNING SUBTESTS ..." instead of "Running ... tests" Michael (This used to be commit 0b879817ba20861c7d0b239d7f7199b0a5ed2ca1)
2008-05-06testsuite: make diagnostic output more appropriate in tests_all.shMichael Adam1-9/+9
Say "RUNNING TESTS ..." instead of "RUNNING SUBTESTS ..." Michael (This used to be commit b73821c392a23c213e4b1ad25a8a2d0c845cee3a)
2008-05-06testsuite: give the testuser administrative rights in selftest.shMichael Adam1-0/+10
(by adding him to builtin\administrators) Michael (This used to be commit baea0615003cc2db8b27872e87064364f2deb079)
2008-05-06testsuite: run the net rpc registry tests from the net_s3 tests.Michael Adam1-0/+7
Michael (This used to be commit dcf39078cf0524a7450db3f67c8e004eb42690c2)
2008-05-06testsuite: add the ability to test "net rpc registry" with the net_registry ↵Michael Adam1-2/+9
tests by specifying a parameter "rpc" on the commandline. Michael (This used to be commit 110c26374ef3e0bdefe2e54db2b8ffd4544780ef)
2008-05-06testsuite: adapt informative message to say "Running _local_ registry tests".Michael Adam1-1/+1
The plan is to also test remote registry with "net rpc registry". Michael (This used to be commit b5507f8a95399193099a0474fb8b8bc95ba04a48)
2008-05-06testsuite: use domain==workgroup in wbinfo tests now that we are PDC.Michael Adam1-2/+2
Previously domain==netbios name was the right thing to use. Michael (This used to be commit a5fc47c2457ce370a4f6150b9f2a417dac7589bf)
2008-05-06tests: Add a net_misc test.Kai Blin3-4/+80
(This used to be commit 026d701aff2c035359894786ec22b4ed829cfb31)
2008-05-06selftest: Advertise as PDC and time server during make testKai Blin1-0/+4
(This used to be commit 65c619b36d08ac2f24b622c71b7e05d50bdeea50)
2008-05-06selftest: Use TESTS env var to specify tests to run like Samba4 does.Kai Blin2-4/+4
(This used to be commit 6fb1fe803ccbd3af2946fcbe4586c11d394d5dc2)