summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:ldb Don't allow RDN to be modified with an LDB modify messageAndrew Bartlett2009-10-021-1/+30
| | | | | | Found by the Microsoft testsuite at the AD interop event. Andrew Bartlett
* s4:rdn_name module - a normal error message should be enough for this failureMatthias Dieter Wallnöfer2009-10-021-7/+9
| | | | | | I don't think that we really want to have this error printed out on the server console (stdout) since this hasn't serious results as DB or data corruption and similar.
* s4:ldb Don't allow modifcation of distinguishedNameAndrew Bartlett2009-10-021-1/+7
|
* s4:dsdb Return correct error on invalid attributeAndrew Bartlett2009-10-021-1/+2
| | | | This error per the Microsoft testsuite
* s4:dsdb Pass down the exact error code on failure in repl_meta_dataAndrew Bartlett2009-10-021-5/+5
|
* s4:samdb_set_password - Return the maximum password age when requested (not ↵Matthias Dieter Wallnöfer2009-10-021-2/+3
| | | | the minimum one)
* s4:samdb_set_password - cosmetic fixesMatthias Dieter Wallnöfer2009-10-021-44/+58
|
* s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer2009-10-0227-71/+72
|
* s4/srvsvc: deactivate a "ntvfs_connect" with a wrong parameterMatthias Dieter Wallnöfer2009-10-021-1/+3
| | | | | | In the srvsvc code for s4 (NTVFS module) there exists a call to "ntvfs_connect" which is performed with a totally wrong argument. Since I'm not able to fix this, I commented it out and added a "FIXME" comment.
* s4:provision_users.ldif - Put potential primary groups in front of the fileMatthias Dieter Wallnöfer2009-10-021-19/+20
| | | | (So they can be always found by the SAMLDB module)
* Revert "s4:ldb-samba Use temp talloc contexts and talloc_steal avoid leaks."Andrew Tridgell2009-10-021-47/+12
| | | | This reverts commit 38f87f40bfd7892043d49009067ae28431279580.
* Revert "s4:ldb Fix ldb_list_find() folowing the change from char * to TDB_DATA"Andrew Tridgell2009-10-021-4/+10
| | | | This reverts commit f0c2c9854c7659221fe9480110a7d9b2b48afbf9.
* Revert "s4:ldb always talloc_free() the ldb_ldif_write context, even on success"Andrew Tridgell2009-10-021-1/+0
| | | | This reverts commit a610843e9f21ee77fd29356313d2ef05fe25a1ed.
* Revert "s4:ldb Remove LTDB_PACKING_FORMAT_NODN"Andrew Tridgell2009-10-022-0/+16
| | | | This reverts commit bcbf0ae1e707c2355824800dc213d364070f070a.
* Revert "s4-ldb: merged with master"Andrew Tridgell2009-10-025-623/+523
| | | | This reverts commit 14c9070322d089dd96b389e8087c4f4bf1a6c7cc.
* Revert "s4-ldb: overallocate idxptr to reduce memory fragmentation"Andrew Tridgell2009-10-021-3/+1
| | | | This reverts commit e7846f69cacdd0551fcd777a71bf833a2fc9ca2b.
* Revert "s4-ldb: fixed a memory leak"Andrew Tridgell2009-10-021-6/+1
| | | | This reverts commit c7358d989034c9d936c04f2a7e4f89db252b798e.
* s4-winbind: support the s3 response flags on krb5 auth tooAndrew Tridgell2009-10-022-8/+65
| | | | | This fixes the samba4.blackbox.wbinfo test, which was failing on a wbinfo -K command
* s4-winbind: support the Samba3 TXT form of the info3 for wbinfo -aAndrew Tridgell2009-10-021-0/+112
| | | | This sends the info3 as hand marshalled data
* s4:ldb.h - cosmetic - add whitespaceMatthias Dieter Wallnöfer2009-10-021-1/+1
|
* s4:provision - Cosmetic - right indentationsMatthias Dieter Wallnöfer2009-10-021-5/+6
|
* s4:dsdb Fix crash from LDAP login of DOM\\Andrew Bartlett2009-10-021-5/+3
| | | | | | | The issue here is that when we resolve DOM\\ into an NT4 name, we would not initilise the nt4_account output. Andrew Bartlett
* s4:dsdb rework instanceType module - put instanceType in provisionAndrew Bartlett2009-10-025-33/+17
| | | | | The instanceType needs to be specified in future because that's how the partitions are actually created.
* s4:dsdb Don't allow creating of new objects with an isDefunct schema classAndrew Bartlett2009-10-021-1/+7
|
* s4:dsdb Add 'lazy_commit' module to swallow the 'lazy commit' OIDAndrew Bartlett2009-10-024-0/+154
| | | | | | | | | | | This allows this control to be specified as critical. We support the control because we choose to always be durable in our transactions. We really, really need a 'duplicate request' API, as at the moment we can't do this without a large, error-prone set of code that cannot cope with new request fields or types. Andrew Bartlett
* s4:ldap_server Ensure we don't segfault when sent a NULL new RDNAndrew Bartlett2009-10-021-4/+7
| | | | | | | The Microsoft testsuite tried to rename cn=administrator,cn=users,... into "",cn=users... which didn't go so well. Andrew Bartlett
* s4:provision Ensure we add the schema with the 'relax' controlAndrew Bartlett2009-10-021-2/+4
| | | | (allows addition of systemOnly classes)
* s4-ldb: fixed a memory leakAndrew Tridgell2009-10-021-1/+6
|
* s4-ldb: overallocate idxptr to reduce memory fragmentationAndrew Tridgell2009-10-021-1/+3
|
* s4-ldb: merged with masterAndrew Bartlett2009-10-025-523/+623
|
* s4:ldb Remove LTDB_PACKING_FORMAT_NODNAndrew Bartlett2009-10-022-16/+0
| | | | | | | The restructured code makes this hader to support, and we have not had this kind of LDB for a very long time now. Andrew Bartlett
* s4:ldb always talloc_free() the ldb_ldif_write context, even on successAndrew Bartlett2009-10-021-0/+1
|
* s4:ldb Fix ldb_list_find() folowing the change from char * to TDB_DATAAndrew Bartlett2009-10-021-10/+4
| | | | | | (The format of index records in the internal manipulation changed) Andrew Bartlett
* s4:ldb-samba Use temp talloc contexts and talloc_steal avoid leaks.Andrew Bartlett2009-10-021-12/+47
| | | | | | | We would use the mem_ctx for internal work, but previously we did not clean it up on exit. Andrew Bartlett
* s4: Improve provisioning: use relax controlMatthieu Patou2009-10-025-20/+24
| | | | | | | Give the possibility to specify controls when loading ldif files. Relax control is specified by default for all ldb_add_diff (request Andrew B). Set domainguid if specified at the creation of object instead of modifying afterward Allow to specify objectGUID for NTDS object of the first DC this option is used during provision upgrade.
* pythonbindings: allow add() to have an array of controls as second parameterMatthieu Patou2009-10-021-0/+1
|
* s4-ldb: Use relax control to check in replace metadata module if we accept ↵Matthieu Patou2009-10-021-5/+38
| | | | request that specify objectGUID attribute.
* s4-ldb: Add new relax controls that allow relaxed x500 constraints checksMatthieu Patou2009-10-022-0/+35
|
* s4:ntvfs Don't attempt to follow NULL in unixuid_setup_security()Andrew Bartlett2009-10-021-1/+4
| | | | | | | | This segfault occoured in cases where we rejected (or never attempted) the tree connect, so had an invalid private pointer for the logoff codepath. Andrew Bartlett
* s4:Ensure the selected RDN is the right one per the schemaAndrew Bartlett2009-10-021-1/+7
| | | | | | | The relative DN must be the one that the most specific structural objectclass specifies. Andrew Bartlett
* s4-samldb: the samldb module requires that the primary group existsAndrew Tridgell2009-10-021-9/+17
| | | | We need to create Domain Users in the test ldb
* s4-samdb: added some debuggingAndrew Tridgell2009-10-021-2/+8
| | | | This helped track down the samba3sam.py failures
* s4-test: skip python gensec test until its finishedAndrew Tridgell2009-10-021-0/+1
|
* s4-pygensec: a bit closer to workingAndrew Tridgell2009-10-023-9/+56
| | | | | I'll need help from Andrew on how to get gensec to initialise it's ops element
* s4-torture: added a very simple samr ValidatePassword testAndrew Tridgell2009-10-021-0/+32
|
* s4-samr: fake up a samr_ValidatePassword responseAndrew Tridgell2009-10-021-1/+5
| | | | mdw is working on the correct call to check the password strength
* s4-libnet: give sane error messages when functional levels don't matchAndrew Tridgell2009-10-021-8/+12
| | | | It is nice to tell the user why their command failed :-)
* s4:dsdb/common/sidmap - RemoveMatthias Dieter Wallnöfer2009-10-022-613/+0
| | | | | As metze pointed out - this seems to be completely dead code. I too didn't find any dependencies in other code parts. Therefore remove it.
* s4:provision - Change the default forest/domain function level back to ↵Matthias Dieter Wallnöfer2009-10-022-2/+2
| | | | Windows 2003 Native
* s4:libnet_become_dc - add checks for valid domain/forest function levelsMatthias Dieter Wallnöfer2009-10-021-10/+52
| | | | | | | | | Add checks to make sure that we join only supported AD domains (we agreed that those are >= (Windows) 2003 Native per default - this is changeable with the "ads:function level" option). Add also checks to make sure that we cannot join domains which have a bigger function level than our DC capable function level (e.g. a (Windows) 2008 DC cannot join a (Windows) 2008 R2 domain).