Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-10-16 | s4:winsdb - Substitute LDB result numbers with constants | Matthias Dieter Wallnöfer | 1 | -19/+20 | |
2009-10-16 | s4/drs(tort): prefixMap unit test initial implementatoin | Kamen Mazdrashki | 3 | -1/+84 | |
2009-10-16 | s4/drs: prefixMap module initial definition | Kamen Mazdrashki | 3 | -1/+69 | |
2009-10-16 | s4/drs(tort): fix compile time warning | Kamen Mazdrashki | 1 | -0/+1 | |
2009-10-16 | s4/drs(tort): _drs_util_verify_attids() to verify ATTIDs in objects received | Kamen Mazdrashki | 1 | -0/+50 | |
2009-10-16 | s4/drs(tort): drs_util_DsAttributeId_to_string() function | Kamen Mazdrashki | 1 | -0/+74 | |
2009-10-16 | s4/drs(tort): _drs_ldap_attr_by_oid() implementation | Kamen Mazdrashki | 1 | -0/+49 | |
Utility function to be used to fetch Attribute name and DN giving attribute OID | |||||
2009-10-16 | s4/drs(tort): oid_from_attid() reference implementation | Kamen Mazdrashki | 2 | -1/+96 | |
Decode Attribute OID using prefixMap and ATTID received during replication Based on MS documentation. See MS-DRSR.pdf - 5.16.4 | |||||
2009-10-16 | s4/drs(tort): TORTURE_DRS torture module - initial implementation | Kamen Mazdrashki | 4 | -0/+95 | |
Drsuapi tests module registers two suites: - DRS-RPC - tests to be executed against remote machine - DRS-UNIT - unit test for internal testing | |||||
2009-10-16 | s4/drs: Propagate redefinition of drsuapi_DsReplicaOID into code base | Kamen Mazdrashki | 2 | -69/+134 | |
The biggest change is that 'oid' field is transmited in binary format. Also the field name is changed to 'binary_oid' so that field format to be clear for callers. After those changes, Samba4 should work the way it works before - i.e. no added value here but we should not fail when partial-oid is part of prefixMap transmited from Win server. Also, thre is a bug in this patch - partial-binary-OIDs are not handled correctly. Partial-binary-OIDs received during replication will be encoded, but not handled correctly. | |||||
2009-10-16 | s4-winsrepl: don't put in attributes with no elements | Andrew Tridgell | 1 | -2/+2 | |
Empty attributes are no longer allowed by ldb. This also fixes the error checking in winsdb_message() This fixes the samba4.nbt.winsreplication test | |||||
2009-10-16 | s4-smbtorture: add very basic libwbclient testsuite. | Günther Deschner | 2 | -2/+3 | |
Guenther | |||||
2009-10-16 | s4-pvfs: fixed mask handling for SEC_FLAG_MAXIMUM_ALLOWED | Andrew Tridgell | 1 | -2/+2 | |
This matches the sec_access_check() code | |||||
2009-10-16 | s4-torture: take privileges into account in BASE-MAXIMUM_ALLOWED | Andrew Tridgell | 1 | -10/+48 | |
The correct answer depends on the users privileges. | |||||
2009-10-15 | s4:dcerpc_server - Read the generic session key out from ↵ | Matthias Dieter Wallnöfer | 1 | -5/+2 | |
"dcerpc_generic_session_key" I don't think that this code needs to exist identically on the server and on the client side. This patch leaves it on the client side (dcerpc lib) and calls it from the server. | |||||
2009-10-15 | s4:w32err_code.py script - put it under "scripting/bin" | Matthias Dieter Wallnöfer | 1 | -0/+0 | |
I think this is a better location for this script. Since the subdirectory "script" of "source4" contains only scripts for "make install" and "make uninstall". | |||||
2009-10-15 | s4-smb: fill in fnum as well for root_fid | Andrew Tridgell | 2 | -1/+3 | |
This helps with the CIFS NTVFS backend, but doesn't solve all problems | |||||
2009-10-15 | s4-selftest: mark some CIFS backend tests as known fail | Andrew Tridgell | 1 | -0/+4 | |
The CIFS passthru NTVFS doesn't handle some options yet (eg. root_fid) | |||||
2009-10-15 | s4-smbserver: fixed root_fid in nttrans create | Andrew Tridgell | 1 | -1/+1 | |
2009-10-15 | s4-libcli: fixed structure element bug in ntcreatexreadx | Andrew Tridgell | 1 | -1/+1 | |
This one didn't matter until the root_fid changed the alignment of the two structures. | |||||
2009-10-15 | s4-torture: catch bad command line options | Andrew Tridgell | 1 | -0/+3 | |
It is annoying when you mistype a command line option and aren't told. | |||||
2009-10-15 | s4-pvfs: implement root_fid support in posix backend | Andrew Tridgell | 1 | -0/+15 | |
Construct the filename from the old handle and the new name. | |||||
2009-10-15 | s4-smb: declare root_fid as a file handle | Andrew Tridgell | 29 | -139/+139 | |
In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code. | |||||
2009-10-15 | s4-pvfs: fixed handling of SEC_FLAG_MAXIMUM_ALLOWED | Andrew Tridgell | 1 | -1/+1 | |
The CREATEX_ACCESS test shows that this is used as a bit test, not a equality test | |||||
2009-10-15 | s4-ldaptest: "testgroup" is a bit too common | Andrew Tridgell | 1 | -2/+2 | |
This failed on one of my test boxes that has a group called "testgroup". using "testgroupXX" should be a bit better. | |||||
2009-10-15 | s4:ntlmssp server - use also here the new "lp_dnsdomain()" call | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
2009-10-15 | s4:auth/credentials/credentials - fix uninitalised pointers | Matthias Dieter Wallnöfer | 1 | -7/+35 | |
This should fix bug #6755. | |||||
2009-10-15 | s4-ldap: test the rDN size limit | Andrew Tridgell | 1 | -0/+25 | |
2009-10-15 | s4-dsdb: implement limit on rDN length | Andrew Tridgell | 1 | -3/+11 | |
w2k8 imposes a limit of 64 characters on the rDN | |||||
2009-10-15 | s4-ldb: removed incorrect rDN length test | Andrew Tridgell | 1 | -13/+0 | |
This is a property of AD, not ldb, so should be in our ldb modules. | |||||
2009-10-15 | s4-ldb: removed bugus RDN length check | Andrew Tridgell | 1 | -5/+0 | |
This isn't the rDN ! | |||||
2009-10-15 | s4-script: flush DNS after adding new addresses | Andrew Tridgell | 1 | -0/+1 | |
2009-10-15 | s4-devel: for devel scripts its better to use bin/ than $PREFIX/bin | Andrew Tridgell | 2 | -6/+7 | |
This avoids having to do make install after each change when using the drs devel scripts | |||||
2009-10-15 | s4-drs: support DRSUAPI_DRS_ADD_REF flag | Andrew Tridgell | 1 | -5/+29 | |
The DRSUAPI_DRS_ADD_REF flag tells the DRS server to run an UpdateRefs call on behalf of the client after the DsGetNCChanges call. The lack of support for this option may explain why the repsTo attribute was not being created for w2k8-r2 replication partners. | |||||
2009-10-15 | s4-drs: implement more of DsUpdateRefs | Andrew Tridgell | 2 | -27/+63 | |
The DsUpdateRefs calls takes a set of flags that indicates if the server should ignore specific add/delete error codes. This patch also exposes the core UpdateRefs call into a public function, so that it can be called from DsGetNCChanges | |||||
2009-10-15 | ldb: fixed display of replUpToDateVector | Andrew Tridgell | 1 | -1/+1 | |
2009-10-15 | drs: improved error checking | Andrew Tridgell | 1 | -16/+49 | |
Check the validity of the requested options in DsGetNCChanges | |||||
2009-10-15 | s4-dsdb: added samdb_rodc() and samdb_ntds_options() | Andrew Tridgell | 2 | -1/+51 | |
Later we will need to make samdb_rodc() look in the database, but for now we should at least have the function in a central place | |||||
2009-10-14 | s4:torture cldap test - Add checks for the right forest DNS name | Matthias Dieter Wallnöfer | 1 | -1/+6 | |
2009-10-14 | s4:password_hash - load the domain parameters from the "loadparm context" | Matthias Dieter Wallnöfer | 1 | -42/+11 | |
And don't cut them out from the DNS hostname. | |||||
2009-10-14 | s4:torture - fix up "ldap_basic" test | Matthias Dieter Wallnöfer | 1 | -5/+6 | |
2009-10-14 | s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where needed | Matthias Dieter Wallnöfer | 15 | -49/+43 | |
For KERBEROS applications the realm should be upcase (function "lp_realm") but for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch implements the use of both in the right way. | |||||
2009-10-14 | s4:loadparm - adapt "realm" handling | Matthias Dieter Wallnöfer | 2 | -3/+24 | |
Change "lp_realm" behaviour to return the realm always upcased and add a function "lp_dnsdomain" which returns it always lowcased. | |||||
2009-10-14 | Revert "s4:hdb-samba4 - Don't double-free "db"" | Andrew Bartlett | 1 | -0/+1 | |
This reverts commit 11a8a54c825a52d7dd6ab78bc7aeff2d719327d2. The actual fix for bug 6801 is in hdb_end_seq_get() - this attempt leaks 'db' instead. Andrew Bartlett | |||||
2009-10-14 | s4:heimdal A real fix for bug 6801 | Andrew Bartlett | 1 | -3/+3 | |
The issue was that we would free the entry after the database, not knowing that the entry was a talloc child of the database. Andrew Bartlett | |||||
2009-10-13 | s4:hdb-samba4 - Don't double-free "db" | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
"db" is freed anyway after the destructor terminates so this does really make no sense here (rather it makes code crash). Should fix bug #6801. | |||||
2009-10-13 | s4:dcesrv_samr - add another constant | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-10-13 | s4:dcesrv_samr - prevent "ldb_modify" on a possibly empty message | Matthias Dieter Wallnöfer | 1 | -8/+10 | |
In this code part under certain circumstances we can end up with an empty message. Since our new behaviour denies them (like the real AD) we need to bypass them on LDB modify calls. | |||||
2009-10-13 | s4:dcesrv_samr - Add additional "talloc_free"s | Matthias Dieter Wallnöfer | 1 | -0/+4 | |
2009-10-13 | s4:dcesrv_samr - Cosmetics | Matthias Dieter Wallnöfer | 1 | -23/+31 | |
Make more use of constants and add some braces around "if" blocks |