summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | s4:libcli/ldap: split out a ldap_decode_attribs_bare() functionAndrew Bartlett2008-12-171-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OpenLDAP dereference control (draft-masarati-ldap-deref-00) uses an attribute list, as found in the search reply, but without one enclosing ASN1_SEQUENCE(0) This allows the dereference control parsing code to use this as a helper function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
| * | s4:ldb_ildap: try to pass extended DNs to the serverAndrew Bartlett2008-12-171-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever we pass a DN to the LDAP server, we now use ldb_dn_get_extended_linearized(). This allows us to send the extended DN if set, and therefore allows searches of the form '<GUID=aaa45ea0-94cd-45e9-8753-abe455d9a8f1>'. We actually use the '0' format (GUID=aaa45ea094cd45e98753abe455d9a8f1) because it is more widely supported (by Win2k in particular). Signed-off-by: Stefan Metzmacher <metze@samba.org>
| * | s4:ldb: add infrastructure for extended dn handlersAndrew Bartlett2008-12-174-60/+524
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces a new set of pluggable syntax, for use on the extended DN, and uses them when parsing the DN. If the DN appears to be in the extended form, we no longer return the full DN 'as is', but only return the normal part from ldb_dn_get_linearized(). When validating/parsing the DN we validate not only the format of the DN, but also the contents of the GUID or SID (to ensure they are plausable). We also have functions to set and get the extended components on the DN. For now, extended_dn_get_linearized() returns a newly constructed and allocated string each time. Signed-off-by: Stefan Metzmacher <metze@samba.org>
| * | Add hint to use passwordAttributes in @KLUDGE_ACL in futureAndrew Bartlett2008-12-171-1/+2
| | | | | | | | | | | | | | | | | | | | | This module is not used at the moment, but if we do use it again, we should try to avoid duplicate lists. Signed-off-by: Stefan Metzmacher <metze@samba.org>
| * | Make greater use of 'GUID_from_data_blob'Andrew Bartlett2008-12-171-40/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids accidentily running off the end of a string, and uses a single 'guess which type of GUID I have' algorithm. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
| * | Fix sequence number generation against OpenLDAPAndrew Bartlett2008-12-171-0/+8
| |/ | | | | | | | | | | | | | | | | It seems that in 2deeb99fff1a90c79ba1927e1a069362e250a63c adding the partition control to this request was missed out. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
| * nsswitch: fix compiler warnings in winbind_nss_linux.cStefan Metzmacher2008-12-171-3/+3
| | | | | | | | metze
| * Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-161-24/+684
| |\
| | * (Fixed) Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵Kai Blin2008-12-161-4/+5
| | | | | | | | | | | | segmentation fault (with NAS-BASIC server).
| | * Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2008-12-162-29/+29
| | |\
| | * | Revert "Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵Jeremy Allison2008-12-161-24/+683
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | segmentation fault (with NASBASIC server)." Error in commit ! This reverts commit bbd5824140992ea457d4270ee77018ebb367abc9.
| * | | Don't write out forward declarations for enums, as some compilers don'tJelmer Vernooij2008-12-166-18/+2
| | |/ | |/| | | | | | | seem to like it.
| * | Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-161-683/+24
| |\|
| | * Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵Kai Blin2008-12-161-683/+24
| | | | | | | | | | | | segmentation fault (with NASBASIC server).
| * | Fix header installation after move of gen_ndr headers.Jelmer Vernooij2008-12-162-29/+29
| |/
| * Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2008-12-17237-5209/+2545
| |\
| * | an experimental patch for fixing ldb bloatAndrew Tridgell2008-12-173-9/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ldb indexing can cause huge files, and huge memory usage. This experiment allows us to keep indexes in memory during a transaction, then to write the indexes to disk when the transaction completes. The result is that the db is much smaller (we have seen improvements of about 100x in file size) and memory usage during large transactions is also greatly reduced Note that this patch uses the unusual strategy of putting pointers into a ldb (and thus into a tdb). This works because the pointers are only there during a transaction, so the pointers are not exposed to any other users of the database. The pointers allow us to avoid some really bad allocation problems with tdb record allocation during the re-indexing.
* | | Start converting registry python module to plain C rather than SWIG.Jelmer Vernooij2008-12-165-4870/+132
| |/ |/|
* | Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-165-15/+22
|\ \
| * | commit b520befe6f51644d20434add9864d7a2fa30aa2eSATOH Fumiyasu2008-12-162-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: SATOH Fumiyasu <fumiyas@osstech.co.jp> Date: Wed Dec 17 00:42:25 2008 +0900 libsmbclient: Fix SIGBUS on non-x86 CPUs We must align the struct smbc_dirent in the struct SMBC_internal_data because the struct smbc_dirent has numeric values that require alignment. Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
| * | s3/s4: Fix "shadows a global declaration" warningTim Prouty2008-12-161-1/+1
| | |
| * | nss_winbind: Solaris 64-bit fix and...SATOH Fumiyasu2008-12-162-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PATCH 1: Fix gmem->numgids and gmem->maxgids breakage on Solaris 64-bit because sizeof(int) != sizeof(long int). PATCH 2: This patch fixes a compile-time warning "warning: implicit function declaration: _nss_winbind_initgroups_dyn". (cherry picked from commit cb036772d09227f870c2fec3ecd8c3f53787dfbc)
* | | Use py_* files to check whether generated files are out of date / notJelmer Vernooij2008-12-161-1/+1
| | | | | | | | | | | | | | | | | | present. ndr_*.c files are in git (required for Samba 3), py_*.c files are not.
* | | Ignore generated files.Jelmer Vernooij2008-12-161-0/+33
| | |
* | | Remove ndrdump - it's available in merged build mode as bin/ndrdump4 and ↵Jelmer Vernooij2008-12-162-503/+1
| | | | | | | | | | | | uses the exact same object files there.
* | | Remove use of C++ keywords.Jelmer Vernooij2008-12-162-6/+6
| | |
* | | Share object files for gen_ndr.Jelmer Vernooij2008-12-169-134/+522
| | |
* | | Make some fatal errors non-fatal. This means we generate invalid code inJelmer Vernooij2008-12-162-4/+8
| | | | | | | | | | | | | | | some cases, but we do print errors. We don't use all generated code yet at the moment, so this isn't much of a problem.
* | | Fix [out] pointers in DCOM-related IDL files.Jelmer Vernooij2008-12-162-9/+8
| | |
* | | Remove pidl SWIG backend; the native Python one works much better, andJelmer Vernooij2008-12-162-189/+1
| | | | | | | | | | | | that's also the best way to go for any other languages.
* | | Simplify idl-deps.pl script a bit.Jelmer Vernooij2008-12-161-15/+21
| | |
* | | Only create (D)COM output files if there were COM objects in the IDL files.Jelmer Vernooij2008-12-162-2/+11
| | |
* | | Add new script for building IDL files in librpc/idl, generating bothJelmer Vernooij2008-12-16106-125/+274
|/ / | | | | | | Samba 3 and Samba 4 output.
* | s4/provision: Upper case default realm, use only first part of realm as ↵Jelmer Vernooij2008-12-161-2/+2
| | | | | | | | default domain name.
* | Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-162-4/+4
|\ \
| * | nsswitch: Fix paths for Samba4 blackbox wbinfo testKai Blin2008-12-162-4/+4
| | |
* | | Fix path to ndr_notify.c.Jelmer Vernooij2008-12-161-1/+1
| | |
* | | Move shared gen_ndr files to librpc/gen_ndr in the root.Jelmer Vernooij2008-12-16126-54/+54
| | | | | | | | | | | | | | | At the moment these files are used just by Samba 3, but the next step will be using them from Samba 4 as well.
* | | Consider shared IDL files and Samba3-specific IDL files separately, allow ↵Jelmer Vernooij2008-12-165-8/+9
|/ / | | | | | | overriding output directory.
* | Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-1683-4593/+2177
|\ \
| * | docs: "acl compatibility" is a global parameter.Karolin Seeger2008-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | This fixes bug #5866. Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting! Karolin
| * | Add an entry for the "check" command to the tdbtool manpage.Holger Hetterich2008-12-161-0/+8
| | |
| * | Added a simple tdb integrity check to tdbtool. The command "check" runs ↵Holger Hetterich2008-12-161-1/+28
| | | | | | | | | | | | traverse on the currently open tdb, and returns the number of entries if the integrity check is successful.
| * | nsswitch: Move nsswitch files from source4 to top level nsswitch dirKai Blin2008-12-1624-3078/+105
| | |
| * | nsswitch: Move source3 files to top level dir.Kai Blin2008-12-1637-907/+898
| | | | | | | | | | | | Don't move source4 files yet to not confuse git's rename tracking too much.
| * | docs: Remove comment about default backend.Karolin Seeger2008-12-161-2/+2
| | | | | | | | | | | | Karolin
| * | docs: Fix typo in the idmap_ad manpage.Karolin Seeger2008-12-161-4/+4
| | | | | | | | | | | | Karolin
| * | s3:net_status: use dbwrap to open sessionid.tdbStefan Metzmacher2008-12-161-24/+20
| | | | | | | | | | | | metze
| * | s3: Use DEBUGADD instead of DEBUG to avoid printing the headerDan Sledz2008-12-152-28/+29
| | |
| * | s3: Fix "differing signedness" build warningsTim Prouty2008-12-151-1/+1
| | |