1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

55812 Commits

Author SHA1 Message Date
Günther Deschner
3984738646 s3-rpc_server: use NL_AUTH_MESSAGE in pipe_schannel_auth_bind().
Guenther
2009-09-08 17:07:03 +02:00
Günther Deschner
de0bf36493 s3-rpc_client: use NL_AUTH_MESSAGE in create_schannel_auth_rpc_bind_req().
Guenther
2009-09-08 17:07:02 +02:00
Karolin Seeger
9aa11fdf69 s3/docs: Raise version number.
Karolin
2009-09-08 15:40:48 +02:00
Günther Deschner
4fd9a9d6de schannel: add NL_AUTH_MESSAGE and both NL_AUTH_SIGNATURE structs.
These actually belong netlogon but we for now want to keep netlogon as a security
providor separate.

Guenther
2009-09-08 14:55:10 +02:00
Andrew Bartlett
1d37a8171c s4:idl Add generated code for netlogon.idl changes 2009-09-08 22:44:51 +10:00
Matthieu Patou
a915575158 Return a correct value for Supported Encryption Type
Vista and upper version use this value to check wether they should ask the DC
 to change the msDS-SupportedEncryptionTypes attribute or not.
 Declare the different value as a bitmap in Netlogon idl
2009-09-08 22:44:50 +10:00
Kamen Mazdrashki
2904034410 tort: RPC-CRACKNAMES test case refactored 2009-09-08 22:44:50 +10:00
Kamen Mazdrashki
899fc0ddde tort: DsCrackNames - propagate torture context to all tests. 2009-09-08 22:44:49 +10:00
Kamen Mazdrashki
d078d2efe8 tort: Helper function to get DC info for testing 2009-09-08 22:44:49 +10:00
Kamen Mazdrashki
5e3759d122 tort: Implement 'setup' and 'teardown' for DRSUAPI test cases. 2009-09-08 22:44:48 +10:00
Andrew Tridgell
0ed467ac0c s4/ldb: support NDR printing for 2 more replication types
print replUpToDateVector and replPropertyMetaData using NDR format if
--show-binary is given.
2009-09-08 22:15:59 +10:00
Andrew Tridgell
27ff8f4e73 s4/ldb: allow prefixMap to be shown as NDR 2009-09-08 22:02:59 +10:00
Andrew Tridgell
a8e8a31611 s4/ldb: allow printing ntSecurityDescriptor in full
print security descriptors in NDR format if --show-binary is
given. This is easier to read than sddl format.
2009-09-08 21:56:31 +10:00
Andrew Tridgell
6d1d33319c s4/ldb: added ldif handler for repsFrom/repsTo
In normal usage this makes no difference, but if you add --show-binary
then you can see the NDR printed out in the usual ndr_print_*() format
2009-09-08 21:56:31 +10:00
Andrew Tridgell
237f720e6c s4/ldb: expose the ldb flags with ldb_get_flags() 2009-09-08 21:56:31 +10:00
Andrew Tridgell
206d79ac51 s4/ldb: don't line wrap ldif when --show-binary is used 2009-09-08 21:56:31 +10:00
Andrew Tridgell
29ba7765d9 s4/ldb: added --show-binary command line option
This add --show-binary to ldbsearch. When this flag is set, binary
blobs will be shown as-is, instead of base64 encoded. This is useful
for some XML encoded attributes, and will also be used as part of some
NDR print formatting for attributes like repsTo.
2009-09-08 21:56:31 +10:00
Günther Deschner
5b2b5abf4f s3-schannel: Fix Bug #6697. Interdomain trusts with Windows 2008 R2 DCs.
The Schannel verifier (aka NL_AUTH_SIGNATURE) structure (32 byte) sent from a
W2k8r2 DC is passed in a buffer with the size of a NL_AUTH_SHA2_SIGNATURE (56
byte). We should just ignore the remaining 12 zeroed bytes and proceed.

Guenther
2009-09-08 12:34:10 +02:00
Matthias Dieter Wallnöfer
9c4827e433 s4:setpassword script - Passwords set by this script are set by the administrator not the user 2009-09-08 12:02:22 +02:00
Matthias Dieter Wallnöfer
51479feb20 s4:provision - Cosmetic: Indent the parameters better 2009-09-08 11:55:40 +02:00
Matthias Dieter Wallnöfer
076ca26cfe s4:templates - Remove the latest relics (in "dcesrv_lsa_CreateSecret") 2009-09-07 14:36:39 +02:00
Dmitry Karasik
fb914640ad s4:wmic - Output enhancements
Outputs shouldn't clash with metadata characters (|,()), special characters
should be escaped, "NULL" values should be reported as "(null)" string.

For the full explaination look at bug #6076.
2009-09-07 14:16:09 +02:00
Jeremy Allison
5ce12a0565 Add read() to socketwrapper. Metze please check.
Jeremy.
2009-09-07 20:31:01 -07:00
Andrew Tridgell
ac77482e87 s4: commit generated DRS changes 2009-09-08 11:52:45 +10:00
Andrew Tridgell
5cd6b460ff s4: added the structure for repsTo
This structure is stored in NDR format in the repsTo attribute of each
partition. It is updated by the DSUpdateRefs DSRUAPI call
2009-09-08 11:52:45 +10:00
Andrew Tridgell
9a3db7e331 s4: fixed updaterefs options bitmap 2009-09-08 11:52:45 +10:00
Andrew Tridgell
91805627c9 s4: implemented server side of DSUpdateRefs call
This call is made by DCs to tell us we should notify them of directory
changes
2009-09-08 11:52:45 +10:00
Andrew Tridgell
783cde7966 s4/ldb: fixed spelling 2009-09-08 11:52:44 +10:00
Andrew Tridgell
c28096636a s4: 'index' is a libc function 2009-09-08 11:52:44 +10:00
Andrew Tridgell
3ad4c9db20 s4: fixed a unsigned printf warnings 2009-09-08 11:52:44 +10:00
Andrew Tridgell
61c3601e50 s4: removed an unused variable 2009-09-08 11:52:44 +10:00
Andrew Tridgell
50b16891c4 s4: fixed some shadowed variable warnings 2009-09-08 11:52:44 +10:00
Anatoliy Atanasov
e6816715b7 Fill the meta data vector in the responce struct. 2009-09-08 11:52:44 +10:00
Andrew Bartlett
374e5937cd s4:selftest Fix 'make testenv-gdb' and 'make valgrindtest' etc
The problem here was that tridge's changes to ensure that test results
were always propogated didn't merge well with the addition of extra
environment variables for the 'make valgrindtest' and similar
environments.  By splitting out the macro further, we keep the build
farm reporting accurate, but allow these other test modes to work.

Andrew Bartlett
2009-09-08 10:51:50 +10:00
Matthias Dieter Wallnöfer
56a0f995b8 s4:tests/iconv - Fix a warning 2009-09-07 12:38:44 +02:00
Andrew Kroeger
41ce496691 s4:pwsettings: Correct off by factor of 10 for ticks.
The tick conversion math was off by a factor of 10 due to the incorrect usage of
the "e" notation.  The expression "XeY" means "X * (10^Y)", so the correct
expression is 1e7 to get the correct adjustment for ticks.
2009-09-07 12:29:35 +02:00
Andrew Kroeger
7837768c13 gitignore: Ignore additional auto-generated files. 2009-09-07 12:29:34 +02:00
Matthias Dieter Wallnöfer
fdd62e9699 s4: Let the "setpassword" script finally use the "samdb_set_password" routine
The "setpassword" script should use the "samdb_set_password" call to change
the NT user password. Windows Server tests show that "userPassword" is not the
right place to save the NT password and does not inherit the password complexity.
2009-09-07 12:29:34 +02:00
Stefan Metzmacher
0d07ce1949 s4:dsdb: correctly implement _dsdb_syntax_OID_oid_ldb_to_drsuapi()
Here we just need to map the oid string in the ldb value to
the ATTRTYP id.

metze
2009-09-07 15:04:22 +02:00
Stefan Metzmacher
ff7b41c4de lib/tdr: fix the build with --enable-automatic-dependencies
metze
2009-09-07 14:22:41 +02:00
Matthias Dieter Wallnöfer
b11aaadb68 s4:LogonGetDomainInfo - add a basic check for the hostname
This check is specified in Windows Server after release 2003.
The parameter "hostname" should match as prefix of the dns hostname given as
parameter in the "workstation" structure.
2009-09-07 12:05:56 +02:00
Günther Deschner
1c2f4919ab tdb: fix c++ build warning.
Guenther
2009-09-07 11:57:10 +02:00
Inra
7ce01743c1 s4: Fix "Small memory leak after calling several times lp_update"
Should fix bug #6660.
2009-09-07 09:40:34 +02:00
Michael Ströder
231d276430 s4: Exceptions in "provision.py"
This looks much nicer than "normal" string exceptions - and fits better in the OO
programming style.
2009-09-07 09:12:09 +02:00
Matthias Dieter Wallnöfer
44872096fb s4:simple_ldap_map - "primaryGroupId"
Previous patch was incomplete regarding the "primaryGroupId" attribute. Complete it.
2009-09-07 09:00:46 +02:00
Matthias Dieter Wallnöfer
1d9a95e310 s4:samldb - Fix typo 2009-09-07 08:37:26 +02:00
Matthias Dieter Wallnöfer
90d6829f8a s4:Foreign security principals - Fix them up
I fixed them up to match with Windows Server 2003. I don't think that the
creation of them in the provision script is needed so I put them in the
"provision_users.ldif" file.
2009-09-07 08:37:25 +02:00
Matthias Dieter Wallnöfer
5107f6fd0a s4:subtree delete module - Cosmetic adaptions 2009-09-07 08:37:25 +02:00
Matthias Dieter Wallnöfer
fc90586a42 s4:ldap.py - Adds a test for the primary group behaviour
This passes the Windows Server behaviour. Also SAMBA 4 should match it.

Also some small enhancement.
2009-09-07 08:37:25 +02:00
Matthias Dieter Wallnöfer
a3d7534c86 s4:provision - Change the module order to match Windows Server
Tests show that Windows Server seems to do the access checks on the very last moment.
2009-09-07 08:37:24 +02:00