Andreas Schneider
a482b3e14e
s3-auth: Remove docs about obsolete 'update encrypted' option.
2010-08-16 12:48:43 +02:00
Andreas Schneider
66b6a8cf62
s3-auth: Remove obsolete 'update encrypted' option.
2010-08-16 12:48:27 +02:00
Günther Deschner
f03ac22770
s3-selftest: add samba3.posix_s3.rpc.spoolss.notify to knownfail list.
...
Guenther
2010-08-16 12:23:20 +02:00
Günther Deschner
dba68d8452
Revert "s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is broken"
...
This reverts commit 8ca8250443
.
2010-08-16 12:23:14 +02:00
Günther Deschner
f24c99fba0
s3-build: always check for python.
...
This should fix make test. Metze, please check.
Guenther
2010-08-16 12:23:08 +02:00
Stefan Metzmacher
b0b73ca041
pidl:Samba4/NDR/Client.pm: correctly copy fixed size out arrays
...
metze
2010-08-16 10:08:45 +02:00
Matthias Dieter Wallnöfer
1fc3676974
s4:samdb_set_password - fix formatting
...
(Sorry, I've overseen this)
2010-08-15 19:45:29 +02:00
Matthias Dieter Wallnöfer
af3c6a4242
s4:passwords.py - proof the most important extended error codes
2010-08-15 19:42:40 +02:00
Matthias Dieter Wallnöfer
3fcd76237d
s4:samdb_set_password - implement the extended LDAP error code detection
2010-08-15 19:42:40 +02:00
Matthias Dieter Wallnöfer
2dbff00b6d
s4:password_hash LDB module - introduce the extended LDAP error codes on the important failure cases
2010-08-15 19:42:40 +02:00
Matthias Dieter Wallnöfer
33bb063b05
s4:password_hash LDB module - support this new password set syntax
2010-08-15 19:42:40 +02:00
Matthias Dieter Wallnöfer
6dc0c07a51
s4:passwords.py - another special password test
...
This looks like a password change but it's rather a password set operation.
2010-08-15 19:42:39 +02:00
Matthias Dieter Wallnöfer
28cfae774e
s4:password_hash LDB module - allow to compare against both NT and LM hashes on password change operations
...
This is to match the SAMR password change behaviour.
2010-08-15 19:42:39 +02:00
Matthias Dieter Wallnöfer
9476c43967
s4:ldap_backend.c - Windows returns WERROR codes in majuscule HEX format
2010-08-15 19:42:39 +02:00
Matthias Dieter Wallnöfer
fb58c0f365
s4:ldap_backend.c - map error codes - add a change which allows custom WERROR codes
...
This is strictly needed by my recent passwords work, since I want to remove
most of the password change stuff in "samr_password.c". Since AD gives us
CONSTRAINT_VIOLATION on all change problems I cannot distinguish on the SAMR
level which the real cause was about. Therefore I need the extended WERROR codes
here.
2010-08-15 19:42:39 +02:00
Volker Lendecke
08b628efe4
s3: Remove some unused code
2010-08-15 15:15:59 +02:00
Andreas Schneider
3d447e0160
s3-test: Try to fix the build farm subunit parsing.
2010-08-15 13:17:36 +02:00
Volker Lendecke
98187fe309
s3: Increase debug level for shutdown_other_smbds
2010-08-15 09:50:13 +02:00
Volker Lendecke
02002a52f2
s3: Add debugs to shutdown_other_smbds
2010-08-15 09:50:12 +02:00
Volker Lendecke
f94039a8ea
s3: Fix a typo
2010-08-15 09:45:30 +02:00
Matthias Dieter Wallnöfer
fb274f056b
s4:subtree_rename.c - relax the checks when requested
...
(Needed by upgradeprovision for example)
2010-08-15 09:24:22 +02:00
Kamen Mazdrashki
887b7306a7
s4-test: Add drs.rpc.msDSIntId test to knownfail tests
2010-08-15 01:02:33 +03:00
Kamen Mazdrashki
776a3cdc08
s4-test: Run all DRS-RPC.* tests in ncacn_ip_tcp_tests tests group
...
Andrew, please check.
2010-08-15 01:02:33 +03:00
Kamen Mazdrashki
e58aed25fc
s4-drs-test: Make the two DRS test suite a top-level test suites
...
so that test cases gets visible with "smbtorture --list"
2010-08-15 01:02:33 +03:00
Matthias Dieter Wallnöfer
d6ccd4c9da
s4:ldap_backend.c - fix a DS error code after WERROR change
2010-08-14 19:44:58 +02:00
Matthias Dieter Wallnöfer
7ffae93762
werror.h - fix order and duplicate DS error codes
2010-08-14 19:41:46 +02:00
Matthias Dieter Wallnöfer
ab3e20b82f
s4:libnet - free the "c" context also on error conditions
...
(and if it's NULL then "talloc_free" does ignore it)
2010-08-14 18:48:20 +02:00
Matthias Dieter Wallnöfer
2de63aa280
talloc:documentation - explain that "talloc_free" works also with "NULL" pointers
...
(talloc.c)
...
> static inline int _talloc_free_internal(void *ptr, const char *location)
> {
> struct talloc_chunk *tc;
>
> if (unlikely(ptr == NULL)) {
> return -1;
> }
>
> tc = talloc_chunk_from_ptr(ptr);
...
Obviously this never had been documented before.
2010-08-14 18:48:20 +02:00
Matthias Dieter Wallnöfer
07af3f289e
s4:samdb_set_password - return "NT_STATUS_WRONG_PASSWORD" when a user account doesn't exist
...
This is for the (SAMR) account detection protection mechanism.
2010-08-14 18:48:20 +02:00
Matthias Dieter Wallnöfer
1fa9e99442
s4:password_hash LDB module - improve an error message
2010-08-14 18:48:20 +02:00
Matthias Dieter Wallnöfer
4b569d74a4
s4:password_hash LDB module - implement the SAMR behaviour when checking old passwords
...
Sooner or later this module should take over all password change actions.
2010-08-14 18:48:20 +02:00
Matthias Dieter Wallnöfer
e335b24ad0
s4:password_hash LDB module - fix wrong error codes
...
To match the passwords.py test
2010-08-14 18:48:19 +02:00
Matthias Dieter Wallnöfer
a9b055291c
s4:passwords.py - test the error code when there doesn't exist any password yet
...
After the creation of a user object we don't have any password yet.
2010-08-14 18:48:19 +02:00
Matthias Dieter Wallnöfer
c335c5f54a
s4:passwords.py - perform testing of wrong old passwords on change operations
2010-08-14 18:48:19 +02:00
Matthias Dieter Wallnöfer
4f6377043d
s4:torture/rpc/samr.c - fix a wrong torture error message
2010-08-14 18:48:19 +02:00
Volker Lendecke
13a4922ae6
s3: Remove a conn NULL check from claim_connection
...
We've already dereferenced conn before
2010-08-14 12:27:17 +02:00
Volker Lendecke
19280b65a5
s3: Fix an uninitialized variable
2010-08-14 10:08:45 +02:00
Andrew Bartlett
4f8ef205ac
s3:auth Add error paths for invalid password_state values
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-14 11:58:13 +10:00
Andrew Bartlett
70211ea6a3
s3:auth Change winbindd -> auth interface to more standard structures
...
This removes conversions to and from the source3 varient of the
server_info structure when replaced in s3compat, and presents a tidier
interface to winbindd in any case.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-14 11:58:13 +10:00
Andrew Bartlett
b1b9752506
s3:auth Change 'make_user_info' to be talloc based
...
This is an ideal candidate, as it already uses a free function. It
now uses talloc destructors to clear the passwords if required.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-14 11:58:13 +10:00
Andrew Bartlett
e66f6e715f
s3:auth Whitespace fixes after auth merge
2010-08-14 11:58:13 +10:00
Andrew Bartlett
23994e1b53
s3:auth Make Samba3 use the new common struct auth_usersupplied_info
...
This common structure will make it much easier to produce an auth
module for s3compat that calls Samba4's auth subsystem.
In order the make the link work properly (and not map twice), we mark
both that we did try and map the user, as well as if we changed the
user during the mapping.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-14 11:58:13 +10:00
Andrew Bartlett
272e49e85c
s4:auth Move struct auth_usersupplied_info to a common location
...
This also changes the calling convention slightly - we should always
allocate this with talloc_zero() to allow some elements to be
optional. Some elements may only make sense in Samba3, which I hope
will use this common structure.
Andrew Bartlett
2010-08-14 11:58:13 +10:00
Andrew Tridgell
61930f50cb
waf: enable gccdeps in developer mode
...
there are some bugs in the waf builtin preproc this that avoids
2010-08-14 11:58:13 +10:00
Andrew Tridgell
952ef310b5
s4-build: fixed library name in dcerpc_server.pc.in
...
Thanks to Metze for spotting this
2010-08-14 11:58:13 +10:00
Andrew Tridgell
3828c76c76
ndr: allow ndr_print to print DATA_BLOB
...
this prints DATA_BLOB structures using the ndr->print() calls
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-08-14 11:58:13 +10:00
Andrew Tridgell
7bb5d353e8
dnsp: dnsp_name is 2 byte aligned
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-08-14 11:58:12 +10:00
Michael Adam
60eae5a134
s3:idmap: fix sid_to_unixid for builtin and own domain.
...
The old idmap code created a new mapping if asking the backends failed.
Now with the new layering, if passdb (which is used for our own domain
and builtin), then we need to continue and ask the backends, giving
tdb or whatever the default backend is a chance to create a mapping.
2010-08-14 02:10:57 +02:00
Michael Adam
9f60eb8c1b
s3:idmap: fix spacing/indentation
2010-08-14 02:10:57 +02:00
Michael Adam
a739cb5944
s3:idmap_ldap: use idmap_rw_new_mapping in idmap_ldap_new_mapping
2010-08-14 02:10:57 +02:00