1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

28647 Commits

Author SHA1 Message Date
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
Volker Lendecke
82d2f07dae Remove "session_key" from "struct user_struct"
This one took a bit -- I hope I covered all data paths
(This used to be commit 74c88a44422f88d6e2f2cdbfdfa0bafe0dbe06c4)
2008-05-05 18:28:59 +02:00
Volker Lendecke
71ff1ba2de Remove "guest" from "struct user_struct"
(This used to be commit 570a6b80feb5b0dc23213ba936c721e766cd4818)
2008-05-05 18:28:59 +02:00
Volker Lendecke
c6d209f834 Remove the unix token info from "struct user_struct"
(This used to be commit aa2299d42adf4d27e707ac755e07be70d0af1bb4)
2008-05-05 18:28:58 +02:00
Volker Lendecke
bb3755968f Remove "nt_user_token" from "struct user_struct"
(This used to be commit 51d5d512f28eadc74eced43e5e7f4e5bdff3ff69)
2008-05-05 18:28:58 +02:00
Volker Lendecke
faa5e8e12c Remove "logon_script" from "struct user_struct"
(This used to be commit b36fd84186a656f86e4cfb9166fc0ecbffb422cb)
2008-05-05 18:28:58 +02:00
Volker Lendecke
2b3d03d6f1 Remove unix_homedir from struct user_struct
This makes pdb_get_unix_homedir unused. I wonder if that was ever really used...
(This used to be commit 36bfd32f1ff878e827db91e9bf233719ecca5b01)
2008-05-05 18:28:58 +02:00
Volker Lendecke
1b2bf00fb9 Remove "homedir" from "struct user_struct"
(This used to be commit 41f9afd62d8cc6067582d452f3d53a5c67253b69)
2008-05-05 18:28:58 +02:00
Volker Lendecke
6ccbc1065d pipes_struct->pipe_user_name is unused, remove it
(This used to be commit 32cd4bf34b614f7bb0b05a7ae5d7eb51d208a7c7)
2008-05-05 18:28:58 +02:00
Volker Lendecke
6ed9b7c973 Make the namelist arg to set_namearray const
(This used to be commit e7ce4bce5cd7eddb14982028538e965e12ccef84)
2008-05-05 18:28:58 +02:00
Günther Deschner
4d8836ab96 Fix client authentication with -P switch in client tools (Bug 5435).
Guenther
(This used to be commit d077ef64cd1d9bbaeb936566c2c70da508de829f)
2008-05-05 16:59:53 +02:00
Volker Lendecke
1a3f50559e Revert "Fix allocation of conn->vuid_cache entries"
This reverts commit 50c891d3dfb75c9f607f7ad2a578aa3ba5d91988.

There's more to this code -- sorry for the spam
(This used to be commit 6e0e0cb8dd6f57de36c041e2ba4b82feeb357ce8)
2008-05-05 15:07:01 +02:00
Volker Lendecke
58c54eb91f Revert "Second half of 50c891d3: Correctly clear the vuid cache"
This reverts commit 0aea404b0a83736ba2884cc7cf00cd797aab1f56.
(This used to be commit fa39f47f5fc2df0f1a59705e30a799518c353b45)
2008-05-05 15:06:30 +02:00