summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:dsdb Use the new flags to dsdb_module_search in schema_loadAndrew Bartlett2009-11-171-1/+3
| | | | | | | | | | | This loads the defaultObjectCategory DN as an extended DN, so we can apply it, with the associated GUID, when setting this on records in the objectClass module. Previously we would not store the extended DN components for objectCategory. Andrew Bartlett
* s4:dsdb Break up 'parse a DN from DRSUAPI' into a subfunctionAndrew Bartlett2009-11-171-73/+91
| | | | | | | | | This should make it easier to call this function from the DRS schema load code, rather than duplicate it. (we may do the same with other functions in future). Andrew Bartlett
* s4:dsdb Add 'dsdb_flags' to dsdb_module_search() to enable often-used featuresAndrew Bartlett2009-11-177-11/+84
| | | | | | | | These flags, also on dsdb_module_search_dn() allow us to add commonly set controls to this pre-packaged blocking search, without rebuilding the whole function in each caller. Andrew Bartlett
* Don't overwrite a dynamic pointer with the address of a stackJeremy Allison2009-11-163-17/+12
| | | | | variable. Jeremy.
* s4:SAMLDB moduleMatthias Dieter Wallnöfer2009-11-161-14/+14
| | | | | - Add more "\n" to make sure that error messages are displayed immediately - Add a "NULL" in a attribute list
* Revert "s4:dsdb/repl/replicated_objects - Applicate also here the new ↵Matthias Dieter Wallnöfer2009-11-161-4/+1
| | | | | | | | | | "lDAPDisplayName" generator" This reverts commit df95d5c29292968b465bff24c3cf78800677a4d4. abartlet pointed out in a post on the samba-technical list that this isn't necessary at all (lDAPDisplayName normalisation algorithm). Rather it breaks functionality of the replication.
* README.Coding: add section about usage of helper variablesStefan Metzmacher2009-11-161-0/+26
| | | | metze
* README.Coding: fix error in "good example"Stefan Metzmacher2009-11-161-1/+1
| | | | metze
* s3:libsmb: avoid passing a function call as function parameterStefan Metzmacher2009-11-162-21/+21
| | | | | | | Using a helper variable makes it easier to "step" into the desired function within gdb. metze
* s4:dsdb LDB attribute lists must always be a static const char **.Andrew Bartlett2009-11-161-1/+1
| | | | | | (If they are not, then due to the async code, they will cause a segfault as they reference a reclaimed portion of the stack). Andrew Bartlett
* s4:provision - Removed dependency on full Samba 3 schema from FDSEndi S. Dewata2009-11-169-152/+170
|
* Fixed some major bugs in inheritance and access checks.Nadezhda Ivanova2009-11-155-120/+274
| | | | | | | | Fixed sd creation not working on LDAP modify. Fixed incorrect replacement of CO and CG. Fixed incorrect access check on modify for SD modification. Fixed failing sec_descriptor test and enabled it. Fixed failing sd add test in ldap.python
* s3: Remove two more DFSG-nonfree text documents at release time. (Debian bugJelmer Vernooij2009-11-151-0/+2
|
* Fix writing corrupt registries because of hardcoded version string in IDL.Wilco Baan Hofman2009-11-151-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix NULL pointer dereference in libgpo when listing Local Policy which has ↵Wilco Baan Hofman2009-11-151-3/+4
| | | | | | no security descriptor. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix writing corrupt REG_SZ to the registry.Wilco Baan Hofman2009-11-151-1/+2
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix trailing garbage in the hbin block.Wilco Baan Hofman2009-11-151-0/+5
| | | | | | | This specifically fixes a problem showing extra bytes of garbage in list and print in regshell, even though the vk.data_length has the correct size. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Added tests for descriptor inheritance on ldap modify.Zahari Zahariev2009-11-151-121/+207
| | | | | | Fixed some expected owners and groups. Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com>
* ldb:python bindings - add a context on "py_ldb_delete"Matthias Dieter Wallnöfer2009-11-151-2/+10
| | | | So the converted DN will be freed after usage.
* s4:ldap.py - enhance schema addition testMatthias Dieter Wallnöfer2009-11-151-12/+40
| | | | | Don't add only a new objectclass but also a new attribute. Plus let now the server itself calculate the "lDAPDisplayName" attribute and compare the result.
* s4:dsdb/repl/replicated_objects - Applicate also here the new ↵Matthias Dieter Wallnöfer2009-11-151-1/+4
| | | | | | | "lDAPDisplayName" generator Also here we've to be sure to generate the attribute correctly if it doesn't exist yet.
* s4:SAMLDB module - Add support for required and generated schema attributesAndrew Bartlett2009-11-151-7/+285
| | | | | | | This missing support found by Microsoft test suite at AD interop event. Patch by Andrew Bartlett Enhancements by Matthias Dieter Wallnöfer
* s4:samdb util - add a call for generating a correct "lDAPDisplayName"Matthias Dieter Wallnöfer2009-11-151-0/+28
| | | | | This is needed for the SAMLDB module enhancement regarding schema objects. The algorithm in pseudo code is located in MS-ADTS 3.1.1.2.3.4.
* s3: Fix a memleak in sys_popenVolker Lendecke2009-11-151-0/+1
| | | | Found with "dfree command" set
* s4:ldap.py - Deactivates some at the moment pointless test partsMatthias Dieter Wallnöfer2009-11-151-6/+6
| | | | | I think those parts should be deactivated since they're result set checks for lookups which are commented out already.
* Mention typedef struct in README.CodingVolker Lendecke2009-11-141-0/+8
|
* s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke2009-11-147-129/+72
| | | | | | | | | | Every caller that expects to receive something needs to check if enough was sent. Make this check mandatory for everyone. Yes, this makes the parameter list for cli_trans a bit silly, but that's just the way it is: A silly protocol request :-) While there, convert some _done functions to tevent_req_simple_finish_ntstatus.
* Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/Volker Lendecke2009-11-144-25/+14
|
* s3: Convert cli_set_unix_extensions_capabilities_send to asyncVolker Lendecke2009-11-144-44/+96
|
* Introduce tevent_req_poll_ntstatusVolker Lendecke2009-11-142-0/+25
|
* Introduce tevent_req_simple_finish_ntstatusVolker Lendecke2009-11-142-0/+22
|
* s3: Tiny logic simplificationVolker Lendecke2009-11-141-10/+11
|
* s4-drs: DsExecuteKCC() implementationErick Nascimento2009-11-143-2/+31
| | | | | | I implemented the DsExecuteKCC() handling code on kccsrv_execute_kcc(). Signed-off-by: Andrew Tridgell <tridge@samba.org>
* pam_winbind: fix a printf type mismatch warningBjörn Jacke2009-11-141-2/+2
|
* s3:fix a comment typoMichael Adam2009-11-141-1/+1
| | | | Michael
* s3:is_trusted_domain: shortcut if domain name == global_sam_nameMichael Adam2009-11-141-0/+4
| | | | | | | A domain can't have a trust with itself. This saves some roundtrips to the ldap server for ldapsam. Michael
* s3:is_trusted_domain: shortcut if domain name is NULL or emptyMichael Adam2009-11-141-0/+4
| | | | | | This saves some roundtrips to LDAP in an ldapsm setup. Michael
* s3:passdb: bump interface VERSION 18->19 (removed uid_to_rid)Michael Adam2009-11-141-1/+2
| | | | Michael
* s3:passdb: remove the uid_to_rid method - we only need uid_to_sidMichael Adam2009-11-145-42/+1
| | | | Michael
* s3:pdb_default_uid_to_sid: fix some debug statements.Michael Adam2009-11-141-3/+3
| | | | Michael
* s3/pam: move variable declaration into belonging ifdef sectionBjörn Jacke2009-11-131-1/+1
| | | | This fixes a unused variable 'addr' warning on some platforms
* add e2fsprogs-devel as build dependency this is needed for AD because it ↵Christian Ambach2009-11-131-1/+1
| | | | | | | contains libcom/libcom_err files and headers Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com> Signed-off-by: Michael Adam <obnox@samba.org>
* packaging(RHEL-CTDB): add the current githash to the rpm release number by ↵Michael Adam2009-11-132-1/+14
| | | | | | | | | | default Disable this (to build a release-rpm) by calling USE_GITHASH=no makerpms.sh Michael
* packaging(RHEL-CTDB): enable parallel buildMichael Adam2009-11-131-2/+3
| | | | Michael
* packaging(RHEL-CTDB): fix packaging of pam_winbind.mo fileMichael Adam2009-11-131-1/+1
| | | | Michael
* packaging(RHEL-CTDB): move the idmap and nss_info modules to the common packageMichael Adam2009-11-131-3/+4
| | | | | | In this layout, this is the package that contains winbindd related stuff. Michael
* packaging(RHEL-CTDB): package the winbind_krb5_locator.so pluginMichael Adam2009-11-131-0/+4
| | | | Michael
* packaging(RHEL-CTDB): package the manpage of the winbind_krb5_locator pluginMichael Adam2009-11-131-0/+1
| | | | Michael
* packaging(RHEL-CTDB): package the manpage of "ldbrename"Michael Adam2009-11-131-0/+1
| | | | Michael
* packaging(RHEL-CTDB): package the manpage of "sharesec"Michael Adam2009-11-131-0/+1
| | | | Michael