Andrew Tridgell
974279b67d
s4-dsdb: fixed test for LDB_CONTROL_RODC_DCPROMO_OID
...
the ldb_msg_add_fmt() call returns LDB_SUCCESS on success
2010-08-17 21:21:50 +10:00
Andrew Tridgell
eed3838b48
s4-ldapserver: support controls on ldap add and rename
...
we need to pass the controls down to the add and rename ldb operations
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-17 21:21:50 +10:00
Andrew Tridgell
191d632e23
s4-dsdb: added support for LDB_CONTROL_RODC_DCPROMO_OID
...
this control adds a unique msDS-SecondaryKrbTgtNumber attribute to a
user object.
There is some 'interesting' interaction with the rangeLower and
rangeUpper attributes and this add. We don't implementat
rangeLower/rangeUpper yet, but when we do we'll need an override for
this control (or be careful about module ordering).
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-17 21:21:49 +10:00
Andrew Tridgell
dcd9fcc7b3
s4-ldap: use common functions for ldap flag controls encode/decode
...
many controls are simple present/not-present flags, and don't need
their own parsers
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-17 21:21:49 +10:00
Brad Hards
8f3542c58e
build fix
2010-08-17 08:44:28 +10:00
Andrew Tridgell
045e04a2c6
s4-ldb: test the 'displayName=a,b' bug
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-17 08:44:28 +10:00
Andrew Tridgell
ec3ed2898f
s3-provision: cope with the policy directory already existing
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-08-17 08:44:28 +10:00
Andrew Tridgell
fd59a7c4af
s4-ldb: fixed the ldb 'displayName=a,b' indexing bug
...
the problem was the inconsistency between the key form of DNs between
the itdb used for indexing and the on disk form
Thanks to Matthieu Patou for finding this bug!
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-08-17 08:44:28 +10:00
Andrew Tridgell
1cc471d69f
s4-ldb: add some comments explaining the ltdb_index_idxptr() function
...
this function copes with alignment sensitive CPUs
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-08-17 08:44:28 +10:00
Matthias Dieter Wallnöfer
dadcc84009
s4:samdb_set_password_sid - fix comment
...
Add more possible result NTSTATUS codes
2010-08-16 18:45:26 +02:00
Andreas Schneider
a482b3e14e
s3-auth: Remove docs about obsolete 'update encrypted' option.
2010-08-16 12:48:43 +02:00
Günther Deschner
dba68d8452
Revert "s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is broken"
...
This reverts commit 8ca8250443319e0f19f05aab2014118fd03eaa8a.
2010-08-16 12:23:14 +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
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
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
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
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
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
Michael Adam
c03fa64a2c
s4: remove REMOVE_MAPPING from wb_samba3_protocol
...
Michael
2010-08-14 02:10:34 +02:00
Michael Adam
74da3163f6
s4: remove SET_MAPPING from wb_samba3_protocol
...
Michael
2010-08-14 02:10:33 +02:00
Michael Adam
61f019d61d
s4: remove SET_HWM and SET_DUAL_HWM from wb_samba3_protocol
...
Michael
2010-08-14 02:10:31 +02:00
Stefan Metzmacher
b34209006f
s4:librpc/rpc: make struct dcerpc_binding_handle private
...
metze
2010-08-12 14:31:21 +02:00
Stefan Metzmacher
7eef08cc63
s4:librpc/rpc: add dcerpc_binding_handle dcerpc_pipe backend
...
metze
2010-08-12 14:31:17 +02:00
Stefan Metzmacher
4030bc9b2d
librpc/rpc: add dcerpc_binding_handle abstration
...
metze
2010-08-12 14:31:17 +02:00
Stefan Metzmacher
2828318743
s4:librpc/rpc: fix dcerpc_log_packet() prototype
...
metze
2010-08-12 14:31:17 +02:00
Stefan Metzmacher
af89b460f7
s4:librpc/rpc: autodetect the need of async call logic
...
metze
2010-08-12 14:31:16 +02:00
James Peach
44de839dab
smbtorture: Don't crash RAW-QFILEINFO if there's no alternate name.
2010-08-11 11:11:28 -07:00
James Peach
88d48a7d92
smbtorture: Make BASE-OPENATTR report a failure if it fails.
2010-08-11 11:11:11 -07:00
Kamen Mazdrashki
03bfd4290f
s4-test: Implement DRS-RPC-msDSIntId test case
2010-08-11 00:18:15 +03:00
Kamen Mazdrashki
d595f070f6
s4-dsdb: fix attributes_by_msDS_IntId index sorting
2010-08-11 00:18:14 +03:00
Kamen Mazdrashki
06f59855a7
s4-test: Move dsdb_schema loading into public function
...
I will use this function for tests implementation later
2010-08-11 00:18:14 +03:00
Kamen Mazdrashki
c30f9bd734
s4-test: Move RPC-DSSYNC test in DRS-RPC test suite
2010-08-11 00:18:14 +03:00