summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-10-03s4:schema_inferiors - Fix wrong checkMatthias Dieter Wallnöfer1-1/+1
2009-10-03s3: Make default_[static|shared]_modules a bit more readableVolker Lendecke1-2/+52
2009-10-03s4:ldb.h - add constant for LDAP EXOP password changeMatthias Dieter Wallnöfer1-4/+21
Also enhance some other comments.
2009-10-03heimdal - fix various warningsMatthias Dieter Wallnöfer7-24/+24
- Shadowed variables - "const" related warnings - Parameter names which shadow function declarations - Non-void functions which have no return value (patch also ported upstream)
2009-10-03s4:ldap.py - add tests for valid parent and RDNMatthias Dieter Wallnöfer1-0/+39
2009-10-03s4:dsdb Use possibleInferiors to restrict creation of child objectsAndrew Bartlett1-4/+15
This also uses systemPossibleInferiors when the 'relax' control is specified, which is done by the provision. Andrew Bartlett
2009-10-03s4:dsdb add systemPossibleInferiors to schema codeAndrew Bartlett2-0/+21
This allows us to figure out what the system can add, which will not be in possibleInferiors due to the systemOnly flag. Andrew Bartlett
2009-10-03s4:dsdb Add objectClass and RDN constraints to objectClass moduleAndrew Bartlett1-8/+35
These additional constraints are applied, found by the Microsoft testsuite. - When the parent is not present, we now return 'NO_SUCH_OBJECT'. - Restrict the choice of RDN to the correct one per the schema - Honour the allowedChildClasses attribute from the parent's objectClass. Andrew Bartlett
2009-10-03ndr: rebuild lsa IDL after recent changeAndrew Tridgell1-19/+19
2009-10-03s4:ldap.py - add a test for the "systemOnly" classesMatthias Dieter Wallnöfer1-1/+16
2009-10-03s4:dsdb Don't allow creation of systemOnly objectclassesMatthias Dieter Wallnöfer2-4/+10
(except as part of the provision, which specifies the 'relax' control) Andrew Bartlett
2009-10-03s4:rdn_name - fix up the rename operationMatthias Dieter Wallnöfer1-4/+4
A function call was wrong ("ldb_request" rathen than "ldb_next_request").
2009-10-03idl: some lsa vars are uint3264Andrew Tridgell1-5/+5
2009-10-03pidl: added int3264 as a base typeAndrew Tridgell3-0/+14
This is the type used for a variable that is 32 bits for NDR32 and 64 bits for NDR64
2009-10-03s3:Makefile: minor clean upBjörn Jacke1-2/+0
2009-10-03s3:Makefile: fix libnetapi dependencies with static buildBjörn Jacke1-2/+1
analogical to previous libtalloc fix
2009-10-03s3:Makefile: eventlogadm dependency cleanupBjörn Jacke1-2/+2
no need to link against popt lib
2009-10-03s3:Makefile: fix libwbclient dependencies with static buildBjörn Jacke2-34/+30
analogical to previous libtalloc fix
2009-10-03s3:Makefile: fix libtdb dependencies with static buildBjörn Jacke1-56/+55
analogical to previous libtalloc fix
2009-10-03s3:Makefile: fix talloc dependencies with static build (2nd try)Björn Jacke1-65/+64
When configure options --with-libtalloc=no --enable-shared-libs=no are used, LIBTALLOC_TARGET stays empty. Actually LIBTALLOC_TARGET which is only used for Makefile dependencies is obsolete as LIBTALLOC contains exactly the targets that we depend on, libtalloc finally is the target to depend on.
2009-10-03Revert "s3:Makefile: fix talloc dependencies with static build"Björn Jacke1-64/+65
This reverts commit 2af2334522bc3d2c44bdcf7c9f1e80d2bcbf2024. a more correct way to fix the libtalloc dependencies follows
2009-10-03s3:Makefile: libsmbsharemode dependency cleanupBjörn Jacke1-1/+0
no need to link against ldap and krb5 libs
2009-10-03s3:Makefile: net utility dependency cleanupBjörn Jacke1-1/+1
no need to link against iniparser lib
2009-10-03s3:configure: use --aѕ-needed linker option when supportedBjörn Jacke1-0/+17
Based on a patch from Andreas Schneider but modified that --aѕ-needed is also used when own libs are not build shared (--enable-shared). Also change order of options so that user supplied LDFLAGS are put *after* the automatic --aѕ-needed flag. This way it's pollible to force not use as-needed by setting LDFLAGS environment variable to "-Wl,--no-as-needed".
2009-10-03s3:doc: add some detail about lanman auth parameterBjörn Jacke1-0/+7
add interesting detail: lm passwords will be removed from databaѕe with lanman auth = no
2009-10-03Revert "s4:LDB/LDAP - Re-allow renames"Matthias Dieter Wallnöfer1-49/+4
This reverts commit 767fce6fccf484b547219abd5e6abc941eacaf92. Simo pointed out that the patch generates race conditions. We need to solve this using a new control.
2009-10-02s4:repl_meta_data - variousMatthias Dieter Wallnöfer1-9/+38
- Add more "talloc_free"s and right error values where needed - Add a pre-lookup for entries before searching for metadata attribute (also suggested by TODO list) - Now the most part of "ldap.py" works again
2009-10-02Remove lots of duplicate code and move it into oneJeremy Allison7-157/+91
function vfs_stat_fsp(). Stops code looking at fsp->posix_open except for exceptional circumstances. Jeremy.
2009-10-02s4:ldap.py - add a very special rename test (with invalid - empty RDN)Matthias Dieter Wallnöfer1-9/+23
2009-10-02s4:ldb_ildap - Don't segfault on a empty RDNMatthias Dieter Wallnöfer1-4/+12
2009-10-02s4:LDB/LDAP - Re-allow renamesMatthias Dieter Wallnöfer2-7/+47
The main problem is that the "rdn_name" module launches on a rename request also a modification one with the "special attributes" which can't be changed directly. An introduced flag helps to bypass the restriction.
2009-10-02Missed one VFS_STAT -> VFS_LSTATJeremy Allison1-1/+1
Jeremy.
2009-10-02Fix more use of VFS_STAT when posix pathnames selected.Jeremy Allison3-20/+51
Jeremy.
2009-10-02s4:ldap.py - major enhancementsMatthias Dieter Wallnöfer1-102/+187
- Clean up and reorder it a bit - Test which adds invalid attributes - Test which makes sure that the 'distinguishedName' attribute cannot be modified - Test which makes sure that we cannot change the RDN/'name' attribute through a modify request
2009-10-02s4:ldb Don't allow RDN to be modified with an LDB modify messageAndrew Bartlett1-1/+30
Found by the Microsoft testsuite at the AD interop event. Andrew Bartlett
2009-10-02s4:rdn_name module - a normal error message should be enough for this failureMatthias Dieter Wallnöfer1-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.
2009-10-02s4:ldb Don't allow modifcation of distinguishedNameAndrew Bartlett1-1/+7
2009-10-02s4:dsdb Return correct error on invalid attributeAndrew Bartlett1-1/+2
This error per the Microsoft testsuite
2009-10-02s4:dsdb Pass down the exact error code on failure in repl_meta_dataAndrew Bartlett1-5/+5
2009-10-02s4:samdb_set_password - Return the maximum password age when requested (not ↵Matthias Dieter Wallnöfer1-2/+3
the minimum one)
2009-10-02s4:samdb_set_password - cosmetic fixesMatthias Dieter Wallnöfer1-44/+58
2009-10-02s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer27-71/+72
2009-10-02s4/srvsvc: deactivate a "ntvfs_connect" with a wrong parameterMatthias Dieter Wallnöfer1-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.
2009-10-02s4:provision_users.ldif - Put potential primary groups in front of the fileMatthias Dieter Wallnöfer1-19/+20
(So they can be always found by the SAMLDB module)
2009-10-02Revert "s4:ldb-samba Use temp talloc contexts and talloc_steal avoid leaks."Andrew Tridgell1-47/+12
This reverts commit 38f87f40bfd7892043d49009067ae28431279580.
2009-10-02Revert "s4:ldb Fix ldb_list_find() folowing the change from char * to TDB_DATA"Andrew Tridgell1-4/+10
This reverts commit f0c2c9854c7659221fe9480110a7d9b2b48afbf9.
2009-10-02Revert "s4:ldb always talloc_free() the ldb_ldif_write context, even on success"Andrew Tridgell1-1/+0
This reverts commit a610843e9f21ee77fd29356313d2ef05fe25a1ed.
2009-10-02Revert "s4:ldb Remove LTDB_PACKING_FORMAT_NODN"Andrew Tridgell2-0/+16
This reverts commit bcbf0ae1e707c2355824800dc213d364070f070a.
2009-10-02Revert "s4-ldb: merged with master"Andrew Tridgell5-623/+523
This reverts commit 14c9070322d089dd96b389e8087c4f4bf1a6c7cc.
2009-10-02Revert "s4-ldb: overallocate idxptr to reduce memory fragmentation"Andrew Tridgell1-3/+1
This reverts commit e7846f69cacdd0551fcd777a71bf833a2fc9ca2b.