1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

62722 Commits

Author SHA1 Message Date
Andrew Bartlett
cdf0704272 s3:winbindd Rename 'children' to 'winbindd_children' and make static 2010-05-13 10:12:26 +10:00
Andrew Bartlett
4ef847a3b7 s3:libsmb/namecache Remove namecache_enable()
No caller honours the return value, and this call only prints a
DEBUG().  Removing this reduces the number of initialisation
boilerplate calls s3compat has to make.

Andrew Bartlett
2010-05-13 10:12:26 +10:00
Andrew Bartlett
426d92eedb s3:smbd Remove calls to namecache_enable()
This only prints a DEBUG()

Andrew Bartlett
2010-05-13 10:12:26 +10:00
Andrew Bartlett
82fb4ebca7 s3:winbindd Remove call to namecache_enable().
This call only prints a DEBUG()

Andrew Bartlett
2010-05-13 10:12:26 +10:00
Andrew Bartlett
468fb4fee4 s3:auth Make get_ntlm_challenge more like Samba4
This helps with the upcoming NTLMSSP merge, and allows errors to be returned.

Andrew Bartlett
2010-05-13 10:12:26 +10:00
Jeremy Allison
1101c62144 Pass more SMB2 oplock tests. Only oplock stream tests left to fix.
Jeremy.
2010-05-12 15:19:45 -07:00
Julien Kerihuel
9cddf891ad Choose between local tevent_status.h header file and installed one
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-12 19:30:56 +02:00
Julien Kerihuel
693995c1c4 Install util/tevent_* public headers. Required by OpenChange for compiling IDL
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-12 19:30:55 +02:00
Stefan Metzmacher
e8139ac14a s4:librpc: remove explicit ../librpc/gen_ndr/ndr_drsblobs.o from python_drsblobs
It already comes via RPC_NDR_DRSBLOBS.

metze
2010-05-12 19:30:55 +02:00
Karolin Seeger
da64913f55 s3-docs: Unify capitalization.
Karolin
2010-05-12 16:21:56 +02:00
Karolin Seeger
ad6f638229 s3-docs: Add documentation of the net g_lock subcommand.
Karolin
2010-05-12 16:17:33 +02:00
Karolin Seeger
da5c49d727 s3-docs: Move -D option to the right paragraph in man winbindd.
Fix bug #7260 (Command line option documentation in wrong place in winbindd man
page.). Thanks to Ged Haywood <samba@jubileegroup.co.uk> for reporting!

Karolin
2010-05-12 11:24:57 +02:00
Stefan Metzmacher
1f9bce1c0d s4:heimdal_build: undefine __APPLE__ as we don't need that magic
This hopefully fixes the build on Mac OS 10.

metze
2010-05-12 09:42:44 +02:00
Stefan Metzmacher
825b59506b s4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from autoconf build
metze
2010-05-12 09:36:23 +02:00
Olaf Flebbe
d5c3db6f88 work around AIX6.1 name space pollution rename mod_name to module_name 2010-05-12 07:15:07 +02:00
Günther Deschner
70f707c219 s3-rap: fix cli_oem_change_password() and give room for the convert reply word.
Any servers I could find so far return it.

Guenther
2010-05-12 00:22:13 +02:00
Günther Deschner
99a7ebc556 s3-lanman: use samr for api_SamOEMChangePassword().
Guenther
2010-05-12 00:22:02 +02:00
Günther Deschner
73d654ec2f s4-smbtorture: create/delete testusers via SAMR in RAP-SAM.
Unless we spent time researching the RAP useradd calls (and implement them in
s3) it is far more easy to use existing SAMR calls to create and delete test
users that are used for RAP change password operations.

Guenther
2010-05-12 00:21:20 +02:00
Günther Deschner
b73b237a6b s4-smbtorture: add test_oemchangepassword to RAP-SAM.
Guenther
2010-05-12 00:21:06 +02:00
Günther Deschner
1cee92caaa s4-selftest: skip RAP-SAM tests against Samba 4.
Guenther
2010-05-12 00:20:56 +02:00
Günther Deschner
3ce8bcdd83 s3-selftest: enable RAP-SAM against Samba 3.
Guenther
2010-05-12 00:20:49 +02:00
Günther Deschner
931b7fcc8a s4-smbtorture: add RAP-SAM testsuite with a rap_NetUserPasswordSet2 test.
Guenther
2010-05-12 00:20:41 +02:00
Günther Deschner
84ab762fd5 s4-smbtorture: getting serious about checking rap status return codes.
Guenther
2010-05-12 00:17:24 +02:00
Günther Deschner
19d99a6426 s4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set maxpwlen.
required for upcoming rap pwd tests.

Guenther
2010-05-12 00:16:50 +02:00
Günther Deschner
40e7a5879c s4-smbtorture: autolookup domain in torture_create_testuser() if none was given.
Guenther
2010-05-12 00:16:50 +02:00
Jeremy Allison
4955ccfff5 Fix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to go on this test.
Jeremy.
2010-05-11 14:00:38 -07:00
Andrew Bartlett
454b0b3f20 s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA
All the callers just want the PAC_LOGON_INFO, so search for that in
ads_verify_ticket(), and don't bother the callers with the rest of the
PAC.

This change makes sense on it's own (removing boilerplate wrappers
that just confuse the code), but it also makes it much easier to
implement a matching ads_verify_ticket() function in Samba4 for the
s3compat proposal.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-11 22:52:37 +02:00
Günther Deschner
d0a87f0098 s4-smbtorture: test netservergetinfo level 1 also against s3.
Guenther
2010-05-11 22:52:37 +02:00
Björn Jacke
1a441113ef not all versions of env like more than one argument... 2010-05-11 20:46:19 +02:00
Björn Jacke
5d5e3920dc pidl: fix build on systems that don't have perl in /usr/bin/ 2010-05-11 19:13:21 +02:00
Stefan Metzmacher
7e49fd92ca s4:dsdb: cached results of samdb_rodc()
metze
2010-05-11 18:11:06 +02:00
Stefan Metzmacher
b81887f2d9 tdb: commit ABI/tdb-1.2.2.sigs
metze
2010-05-11 18:11:05 +02:00
Stefan Metzmacher
5797b9a913 s4:heimdal: remove unused heimdal/lib/hcrypto/evp-cc.c
metze
2010-05-11 18:11:05 +02:00
Stefan Metzmacher
3349407458 s4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from the build
This is not needed and contains one big #ifdef __APPLE__
and breaks the build on Mac OS 10.

metze
2010-05-11 18:11:05 +02:00
Michael Adam
04e1954224 s3:configure: fix a message 2010-05-11 16:42:22 +02:00
Matthias Dieter Wallnöfer
313add8fa9 s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use "AF_UNIX" instead
"AF_LOCAL" isn't portable but has the same value as "AF_UNIX".
2010-05-11 16:18:28 +02:00
Stefan Metzmacher
4fcd5446d3 s3:Makefile: build smbtorture4 as static binary with socket_wrapper support
metze
2010-05-11 16:11:37 +02:00
Björn Jacke
eff3a41bb8 waf:libreplace: set _OSF_SOURCE to fix build on Tru64 2010-05-11 15:25:54 +02:00
Matthias Dieter Wallnöfer
82bedb5cb4 README.Coding - cosmetic changes
- Fix typos
- Wrap lines
- Remove trailing whitespaces
- use ":" instead of "::" - one colon should in all cases be enough
2010-05-11 15:00:40 +02:00
Kai Blin
eda5888492 build: skip missing executables in testwaf.sh 2010-05-11 14:49:28 +02:00
Günther Deschner
2eab1d7fdc tdb: remove unused variable in tdb_new_database().
Guenther
2010-05-11 13:41:17 +02:00
Anatoliy Atanasov
7200c25646 Revert "s4-rodc: Fix provision warnings by creating ntds objectGUID in provision"
This reverts commit c3cbb846d0bfbaa11fd255bada7fa5fe502d4d96.
The fix is not correct, we should cache a bool to answer amIRODC
2010-05-11 12:54:18 +03:00
Stefan Metzmacher
8489934ce3 Revert "s4:password_hash LDB module - don't break the provision"
This reverts commit 6276343ce1b7dd7d217e5a419c09f209f5f87379.

This is not needed anymore.

metze
2010-05-11 08:38:26 +02:00
Stefan Metzmacher
ad5b9ae8dc Revert "s4:password hash LDB module - check that password hashes are != NULL before copying them"
This reverts commit fa87027592f71179c22f132e375038217bc9d36a.

This check is done one level above now.

metze
2010-05-11 08:38:02 +02:00
Stefan Metzmacher
8ff38004e8 s4:dsdb/password_hash: only try to handle a hash in the unicodePwd field if it's given
Sorry, I removed this logic while cleaning up indentation levels...

metze
2010-05-11 08:37:03 +02:00
Stefan Metzmacher
b8c414b35f README.Coding: fix good example
metze
2010-05-11 08:03:56 +02:00
Günther Deschner
9e643f0784 s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Guenther
2010-05-11 00:58:57 +02:00
Günther Deschner
36b0fed567 s4-smbtorture: fix smbcli_rap_netoemchangepassword.
Guenther
2010-05-11 00:58:57 +02:00
Günther Deschner
fc6a22983b s4-smbtorture: correctly fill in trans.in.data in rap_cli_do_call().
Guenther
2010-05-11 00:58:56 +02:00
Matthias Dieter Wallnöfer
56421886de s4:password_hash LDB module - we might not have a cleartext password at all
When we don't have the cleartext of the new password then don't check it
using "samdb_check_password".
2010-05-10 23:50:03 +02:00