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

28509 Commits

Author SHA1 Message Date
Michael Adam
ba94ab2ed8 registry: check for existence of key in regdb_store_values() before proceeding.
Michael
(This used to be commit 8a2c9d965d332ccd290089b92e9cfbba2413067c)
2008-05-08 18:29:09 +02:00
Michael Adam
4394c2dafb registry: check for existence of key in regdb_fetch_keys() before proceeding.
Michael
(This used to be commit cf653e101d1b2c38b5e9de35732421a120213170)
2008-05-08 18:29:09 +02:00
Michael Adam
00ce73850d registry: check for existence of key in regdb_fetch_values() first.
This uses the new semantics for existence of a key.

Michael
(This used to be commit 56a58690d3ab2e01ed28388bd59424d3abc7a0d3)
2008-05-08 18:29:09 +02:00
Michael Adam
284bab74a7 registry: free talloc context on error path in regdb_fetch_values().
Michael
(This used to be commit 978aef3a862065be856b36b38d72d581c3ac0ba1)
2008-05-08 18:29:09 +02:00
Michael Adam
a26880c372 registry: Implement new semantics for existence of registry key in tdb.
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-08 18:29:09 +02:00
Michael Adam
f5cbbb5c02 registry: make normalize_reg_path() strip leading and trailing '/' chars.
Michael
(This used to be commit 04762cfcdba741afa457c96cd2f24e50cf83b15a)
2008-05-08 18:29:08 +02:00
Michael Adam
120aacfac5 registry: free temporary data in regdb_fetch_key_internal().
Michael
(This used to be commit 2b25f480ba13ae125d081bab55ee3cbd3c4f425a)
2008-05-08 18:29:08 +02:00
Michael Adam
79a009b876 registry: change order of arguments of regdb_fetch_key_internal()
list talloc context first.

Michael
(This used to be commit 23d7002b22ddcd2c52650463f31b72449aecaaaa)
2008-05-08 18:29:08 +02:00
Günther Deschner
077f24e51e gencache: add some const.
Guenther
(This used to be commit ec9f8c4cf67c82f4665ed51e4fd0181f5f147ea0)
2008-05-08 01:10:54 +02:00
Günther Deschner
82b5c603b7 re-run make idl.
Guenther
(This used to be commit 4c0805220821719ad1db1590457ab66a577d26a7)
2008-05-08 01:10:44 +02:00
Günther Deschner
196d808136 IDL: make nbt_cldap_netlogon_29 public.
Guenther
(This used to be commit 7159cce8055d0197cfc1a9daa08d2370527ea3bc)
2008-05-08 01:10:34 +02:00
Günther Deschner
d3dfdc2f59 netdomjoin-gui: before prompting for creds, ask dsgetdcname for a dc.
Guenther
(This used to be commit 47146effc1c2bca516d4fbccf221b5b0e02737bf)
2008-05-08 01:09:14 +02:00
Volker Lendecke
64ddd381b7 Rename server_info->was_mapped to server_info->nss_token
"nss_token" from my point of view much better reflects what this flag actually
represents
(This used to be commit b121a5acb2ef0bb3067d953b028696175432f10d)
2008-05-07 14:47:29 +02:00
Volker Lendecke
4f731150bd Use talloc_tos() for a temporary getpwnam_alloc in make_connection_snum
(This used to be commit 1843ea64ab1df5ced5926aedbeb27c8320b0c70b)
2008-05-07 14:47:29 +02:00
Volker Lendecke
193b63f326 Use talloc_stackframe() in find_forced_group
(This used to be commit 27a9bbc645416265eebdfc866925855021bd407c)
2008-05-07 14:47:29 +02:00
Günther Deschner
ae80b0055c re-run make idl.
Guenther
(This used to be commit 4bef77a4566590b3e20470f538f20848ed49f264)
2008-05-07 14:11:27 +02:00
Günther Deschner
3caac2695a IDL: add missing case 14 and 15 to nbt_cldap_netlogon union.
Guenther
(This used to be commit 9fcda4627b1c1d2836b6cbd1141f4e843ecab115)
2008-05-07 14:10:34 +02:00
Günther Deschner
7b5ec90b72 dsgetdcname: remove invalid assumptions when using DNS for the DC query.
Guenther
(This used to be commit a81818ae54159755df441cc6421e5b272035f412)
2008-05-07 14:09:41 +02:00
Günther Deschner
f847929c2c netapi: add -f switch for DsGetDCName() example and be more verbose on output.
Guenther
(This used to be commit 3feaa9829cc5bdeb7a5401c3c24b3811816396ce)
2008-05-07 10:42:29 +02:00
Günther Deschner
8ce3f6b840 wins: fix null pointer crash in nss_wins module.
Guenther
(This used to be commit 5bf47ebf0fb9f7d94ed36bce6bcaa31b508009bd)
2008-05-07 10:39:21 +02:00
Jeremy Allison
82572cfd43 Enable tests for splice on Linux. Add a static (vl, I hate this)
so we can detect broken Linux recvfile splice and correctly fall
back.
Jeremy.
(This used to be commit ec2d301a7aac173aba41dd2074037f27d05095ce)
2008-05-06 15:44:39 -07:00
Michael Adam
5621ce6fb4 testsuite: allow selection of posix_s3 subtests by env var POSIX_SUBTESTS.
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-07 00:14:17 +02:00
Volker Lendecke
5380241251 Fix a memleak introduced after refactoring "struct user_struct"
(This used to be commit e70b5b762234f1733f150bdfbda7b208a8139990)
2008-05-06 15:43:21 +02:00
Volker Lendecke
1409ed60e2 Fix a memleak in construct_printer_info_7()
Also fix a "ignoring asprintf result" warning
(This used to be commit 64d21f39636019d6a17f84efc6fb9e61e67a235e)
2008-05-06 15:08:30 +02:00
Volker Lendecke
89ac43d498 Remove some unused code
(This used to be commit 87383a4605ab99d32fccae7793dc5292b8f3e25b)
2008-05-06 14:18:20 +02:00
Volker Lendecke
3643aa9a63 Fix a panic in the [ug]id2sid valgrind bug fix
Always, always run "make test" before pushing stuff :-)
(This used to be commit 1444db8be1de00a3e9c805f1accd8f1f4670d729)
2008-05-06 13:56:21 +02:00
Stefan Metzmacher
0c11e174ee libreplace: check how portable utimes() and futimes() are
metze
(cherry picked from commit 8798ce3c744025b94973784dcb44d099427ef190)
(This used to be commit fa443081eaff77623653ed0390c4f9dabc4487b5)
2008-05-06 12:44:37 +02:00
Michael Adam
1f582b73b3 testsuite: make structuring output of net_s3 tests stand out more.
say "RUNNING SUBTESTS ..." instead of "Running ... tests"

Michael
(This used to be commit 0b879817ba20861c7d0b239d7f7199b0a5ed2ca1)
2008-05-06 12:26:14 +02:00
Michael Adam
dadc6a4f35 testsuite: make diagnostic output more appropriate in tests_all.sh
Say "RUNNING TESTS ..." instead of "RUNNING SUBTESTS ..."

Michael
(This used to be commit b73821c392a23c213e4b1ad25a8a2d0c845cee3a)
2008-05-06 12:26:14 +02:00
Michael Adam
e7fa8e2700 testsuite: give the testuser administrative rights in selftest.sh
(by adding him to builtin\administrators)

Michael
(This used to be commit baea0615003cc2db8b27872e87064364f2deb079)
2008-05-06 12:26:14 +02:00
Michael Adam
447df4dc85 testsuite: run the net rpc registry tests from the net_s3 tests.
Michael
(This used to be commit dcf39078cf0524a7450db3f67c8e004eb42690c2)
2008-05-06 12:26:14 +02:00
Michael Adam
c5db4d17cd testsuite: add the ability to test "net rpc registry" with the net_registry tests
by specifying a parameter "rpc" on the commandline.

Michael
(This used to be commit 110c26374ef3e0bdefe2e54db2b8ffd4544780ef)
2008-05-06 12:26:14 +02:00
Michael Adam
6989228d69 testsuite: adapt informative message to say "Running _local_ registry tests".
The plan is to also test remote registry  with "net rpc registry".

Michael
(This used to be commit b5507f8a95399193099a0474fb8b8bc95ba04a48)
2008-05-06 12:26:14 +02:00
Michael Adam
41075fbfa1 testsuite: use domain==workgroup in wbinfo tests now that we are PDC.
Previously domain==netbios name was the right thing to use.

Michael
(This used to be commit a5fc47c2457ce370a4f6150b9f2a417dac7589bf)
2008-05-06 12:26:14 +02:00
Kai Blin
4cbb87adad tests: Add a net_misc test.
(This used to be commit 026d701aff2c035359894786ec22b4ed829cfb31)
2008-05-06 12:26:13 +02:00
Kai Blin
49264b539d selftest: Advertise as PDC and time server during make test
(This used to be commit 65c619b36d08ac2f24b622c71b7e05d50bdeea50)
2008-05-06 12:26:13 +02:00
Kai Blin
60fedc43e7 selftest: Use TESTS env var to specify tests to run like Samba4 does.
(This used to be commit 6fb1fe803ccbd3af2946fcbe4586c11d394d5dc2)
2008-05-06 12:26:13 +02:00
Kai Blin
307c320c07 gitignore: Add *.swp files, *.patch files and export/libtdb.symb
(This used to be commit 48446f0c798b07a707389404f7a064ed63110cbf)
2008-05-06 12:26:13 +02:00
Volker Lendecke
1fe90d8d04 Fix a valgrind bug in the new [ug]id2sid cache
When we're given a SID, it is not always padded with zeros. Only look at the
initialized parts in the SID.
(This used to be commit 8717085dba832cfe6d7b807a10f779e495adc326)
2008-05-06 12:16:02 +02:00
Günther Deschner
611d79d0ed build: fix the build w/o ldap.
Guenther
(This used to be commit a159ec5f1f3ec8e9232b8f3230a996a3f9986bc1)
2008-05-06 09:48:16 +02:00
Günther Deschner
1f6065765c mailslot/cldap: use nt_version bits in queries.
Guenther
(This used to be commit b261f063125f8454d8f4e8f6b6f8aa5bc393ea34)
2008-05-06 09:41:41 +02:00
Günther Deschner
5c02872a10 dsgetdcname: use correct dc name for name cache store.
Guenther
(This used to be commit ce1556d0fb993b78f02ac4cc4f8a45ab7a0b5397)
2008-05-06 09:41:41 +02:00
Jeremy Allison
4c2088b1c5 Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into v3-3-test
(This used to be commit bb8f098cdfd902bbb36426df2c4f8532881b3fcd)
2008-05-05 16:29:21 -07:00
Jeremy Allison
fbc780b604 Try and fix bug #5095, "Manage Documents privilege is not functional".
Should map the created sd to printer jobs, not printer.
Jerry please test and I'll add to 3.2 if it passes. Thanks,
Jeremy.
(This used to be commit 0a1fe8d6013d925ab6695f6b7f189b731ec42ccc)
2008-05-05 16:24:52 -07:00
Volker Lendecke
1723348150 Remove unused dir_status_struct
(This used to be commit 425ca59cce886daed0d6c63fe4382aee140c9518)
2008-05-05 22:53:09 +02:00
Volker Lendecke
7245a8e3b8 Fix a C++ warning
(This used to be commit e7a4027acf38bf5800d9d8ba477afb5daaf517ce)
2008-05-05 18:28:59 +02:00
Volker Lendecke
bec1dfab27 Remove "userdom_struct user" from "struct user_struct"
(This used to be commit 420de035237bb08bc470c9eb820f3da2edaa6805)
2008-05-05 18:28:59 +02:00
Volker Lendecke
a683625d7f Fix a typo
(This used to be commit 964bd02220c04030d8cb0f97ca9b409400d1238c)
2008-05-05 18:28:59 +02:00
Volker Lendecke
dd11f1d8a8 Remove unused set_current_user_guest()
(This used to be commit a33e8d2ffa4daea1deba13b3571cb0b36d521476)
2008-05-05 18:28:59 +02:00
Volker Lendecke
0636236eec Fix typo
(This used to be commit 8047a1991a09191fec254815f3bfc85a2c36674a)
2008-05-05 18:28:59 +02:00