Kamen Mazdrashki
83b41aa959
s4/schema(tort): Refactor DSDB-SYNTAX test for better performance
...
Test was implemented as a test fixture so that setup/teardown
occurs only once.
This should impact test performace as long as provision_get_schema()
is a slow function (especially when debugging)
2009-11-23 14:15:06 +01:00
Kamen Mazdrashki
cf2bb28014
s4/schema: Handle Object(OR-Name) syntax in extended_dn_out module
...
Windows displays attribute values with Object(OR-Name) syntax
in plain DN format when queried through LDAP.
Hence, we need to post-process such values specially
in extended_dn_out.c module so they are always shown as plain DN,
no matter what controls are passed for search request.
2009-11-23 14:15:06 +01:00
Kamen Mazdrashki
1bf31f343c
s4/schema: Object(OR-Name) syntax handling for DRS calls
...
OR-Name syntax through DRS calls looks like DN-Binary syntax
2009-11-23 14:15:05 +01:00
Kamen Mazdrashki
bef4e25b1f
s4/schema(tort): Inject authOrig attribute into schema loaded for tests
2009-11-23 14:15:05 +01:00
Kamen Mazdrashki
d03d15d0cb
s4/schema(tort): Add test for Object(OR-Name) syntax
2009-11-23 14:15:05 +01:00
Kamen Mazdrashki
aa238ff6ea
s4/schema(tort): Test LDB_SYNTAX_DN with extended_dn in [GUID;SID;DN] form
2009-11-23 14:15:05 +01:00
Kamen Mazdrashki
65e95b8aa9
s4/drs(tort): DSSYNC test to print what is different in drs_msg also
2009-11-23 14:15:05 +01:00
Günther Deschner
0608d6b125
s4-smbtorture: fix spoolss_EnumPrinterKey client in RPC-SPOOLSS-WIN.
...
Guenther
2009-11-23 13:35:32 +01:00
Günther Deschner
513d6da404
s3-printing: remove duplicate code while cleaning up driver structs.
...
Guenther
2009-11-23 12:57:46 +01:00
Günther Deschner
800d6b7820
s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they belong.
...
Guenther
2009-11-23 12:20:24 +01:00
Günther Deschner
6364c271c4
s3-printing: remove unused NT_PRINTER_DRIVER_INFO_LEVEL structs.
...
Guenther
2009-11-23 12:19:19 +01:00
Günther Deschner
ec56895bde
s3-printing: use spoolss types and structs while getting and deleting drivers.
...
Guenther
2009-11-23 12:19:11 +01:00
Günther Deschner
68cc1166d9
s3-printing: use spoolss types and structs while adding drivers.
...
Guenther
2009-11-23 12:19:04 +01:00
Günther Deschner
d66b7d80d5
s4-smbtorture: add tests for spoolss_EnumPrinterKey to RPC-SPOOLSS-PRINTER.
...
Guenther
2009-11-23 12:17:54 +01:00
Günther Deschner
d464151f3b
s3-spoolss: fix spoolss_EnumPrinterKey client and server code.
...
Guenther
2009-11-23 11:44:43 +01:00
Günther Deschner
366946f29b
spoolss: fix spoolss_EnumPrinterKey IDL.
...
Guenther
2009-11-23 11:44:43 +01:00
Volker Lendecke
579bb30188
s3: Fix bug 6338 -- net rpc trustdom list always display "none"
2009-11-22 22:42:02 +01:00
Matthias Dieter Wallnöfer
03b6e6e525
s4:netlogon RPC - Remove trailing whitespace
2009-11-22 15:54:16 +01:00
Matthias Dieter Wallnöfer
8b345ef19e
s4:netlogon RPC - Fix up the error handling
2009-11-22 15:51:18 +01:00
Matthias Dieter Wallnöfer
1fb28b0204
s4:netlogon RPC - Fix up a comment
...
Now we have Windows 7 released so don't refer to a beta anymore.
2009-11-22 15:50:36 +01:00
Nadezhda Ivanova
54991cd2e1
Fixed incorrect indentation.
2009-11-22 13:36:35 +02:00
Volker Lendecke
e28545e854
s3: Fix some nonempty blank lines
2009-11-21 23:19:50 +01:00
Volker Lendecke
384f303c2c
s3: Remove a struct typedef
2009-11-21 23:19:50 +01:00
Volker Lendecke
cf2febf3d1
s3: Make alloc_sub_basic() static
2009-11-21 20:54:10 +01:00
Volker Lendecke
c85a4c9ba4
s3: Move the global variable Protocol to struct smbd_server_connection
2009-11-21 20:49:17 +01:00
Volker Lendecke
6a14902297
s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicit
2009-11-21 20:49:17 +01:00
Volker Lendecke
f7b4151a64
s3: Make the implicit reference to Protocol in is_in_path() explicit
2009-11-21 20:49:17 +01:00
Volker Lendecke
1e22899d26
s3: Make the implicit reference to Protocol in mask_match_list() explicit
2009-11-21 20:49:17 +01:00
Volker Lendecke
e23d8a3d1f
s3: Make the implicit reference to Protocol in mask_match() explicit
2009-11-21 20:49:16 +01:00
Volker Lendecke
b2db4c5162
mount.cifs: Fix a const error
2009-11-21 20:49:16 +01:00
Volker Lendecke
b79bcd972c
s3: Fix some nonempty blank lines
2009-11-21 20:49:16 +01:00
Volker Lendecke
97525d0a0e
s3: Avoid two calls to strcmp()
2009-11-21 20:49:16 +01:00
Volker Lendecke
e6f95967cc
s3: Fix a bool/enum mismatch
2009-11-21 20:49:16 +01:00
Matthias Dieter Wallnöfer
ae1e949810
s4:lsa RPC - Fix type of variable "atype"
...
This is an unsigned 32bit integer.
2009-11-21 19:53:37 +01:00
Matthias Dieter Wallnöfer
7d5367fc99
s4:samr RPC - Use more LDB constants
2009-11-21 19:53:37 +01:00
Matthias Dieter Wallnöfer
e8e76eb83a
s4:lsa RPC - Use more LDB constants
...
And fix an obvious bug (call of "samdb_msg_add_delete")
2009-11-21 19:53:29 +01:00
Nadezhda Ivanova
e00281d1f1
Implemented LDAP_SERVER_SD_FLAGS_OID on search requests.
2009-11-21 18:40:51 +02:00
Matthias Dieter Wallnöfer
e406c17b2f
s4:torture/smb2/oplock - Remove unneeded "status" redeclarations
2009-11-21 17:37:42 +01:00
Matthias Dieter Wallnöfer
ec49360778
s4:torture/smb2/notify - Rename nested "fname" variable to prevent warnings
2009-11-21 17:37:41 +01:00
Matthias Dieter Wallnöfer
5dc478e390
s4:torture/raw/unlink - Remove unused variable and label
2009-11-21 17:37:40 +01:00
Matthias Dieter Wallnöfer
28423114ec
s4:torture/rpc/netlogon - Fix uninitialised variable
2009-11-21 17:37:39 +01:00
Volker Lendecke
37e4e387db
s3: Convert cli_get_fs_attr_info to the async API
2009-11-21 14:01:56 +01:00
Volker Lendecke
5a1606269a
s3: Tune if-conditions in a very hot codepath
...
This looks innocent, but it is visible in a netbench run. Due to boolean
short-circuiting we don't have to execute the conditions on the right-hand side
of the &&. So putting the less likely condition left gains a bit.
2009-11-21 12:15:39 +01:00
Volker Lendecke
91ccaa87da
s3: Remove a pointless memset
...
We are assigning the complete structure now (we used to assign individual
fields), so this is obsolete.
2009-11-21 11:57:07 +01:00
Volker Lendecke
f0a933d140
s3: Cache brlock.tdb entries for the fast read&write strict locking code path
...
For a netbench run this gains around 2% user-space CPU, fetching a 100MB file
takes around 4% less.
2009-11-21 11:40:13 +01:00
Matthias Dieter Wallnöfer
bda1c701f4
s4:WINREG RPC server - Cosmetic
2009-11-21 11:38:20 +01:00
Kai Blin
43ed7a413d
ntlm_auth: use data_blob_talloc() to allocate session key
...
Thanks to Shibu Piriyath <shibunair80@ymail.com> for spotting the issue.
2009-11-21 07:29:33 +01:00
Jeremy Allison
54ba3f522b
Fix logic bug where high bits tests was being
...
done on both Windows and POSIX mkdirs instead of
only on Windows mkdir (as intended). The variable
"file_attributes" had already had FILE_FLAG_POSIX_SEMANTICS
removed above in the function if it had already been set.
Jeremy.
2009-11-20 17:23:20 -08:00
Michael Adam
446ed18eb6
s3:fix endianness bug in dbwrap_change_int32_atomic() (bug #6901 )
...
Michael
2009-11-21 00:49:29 +01:00
Michael Adam
4afffc96ee
s3:fix endianness bug in dbwrap_change_uint32_atomic() (bug #6901 )
...
Michael
2009-11-21 00:49:28 +01:00