summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* (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).
* 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.
* Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵Kai Blin2008-12-161-683/+24
| | | | segmentation fault (with NASBASIC server).
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-162-12/+11
|\
| * 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>
* | 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.
* | Share object files for gen_ndr.Jelmer Vernooij2008-12-163-10/+335
| |
* | Add new script for building IDL files in librpc/idl, generating bothJelmer Vernooij2008-12-162-2/+153
|/ | | | Samba 3 and Samba 4 output.
* 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-212555/+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-164-8/+9
| | | | overriding output directory.
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-1643-19192/+978
|\
| * nsswitch: Move nsswitch files from source4 to top level nsswitch dirKai Blin2008-12-162-4/+4
| |
| * nsswitch: Move source3 files to top level dir.Kai Blin2008-12-1635-18611/+33
| | | | | | | | Don't move source4 files yet to not confuse git's rename tracking too much.
| * 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
| |
| * s3: Fix a few build warningsTim Prouty2008-12-152-524/+891
| |
* | Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij2008-12-168-58/+57
|/ | | | the dom_sid). No longer include it from security.idl.
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-154-25/+79
|\
| * s3:loadparm: fix copy service error (canonicalize_servicename: NULL source name)Michael Adam2008-12-151-1/+1
| | | | | | | | | | | | this was introduced by commit 3358a139d2dc77eb4c842d41722b1acc24bd2cb2. Michael
| * s3:loadparm: add service-struct based variants of the free-parameter routinesMichael Adam2008-12-151-7/+46
| | | | | | | | | | | | | | and use the abstracted free_one_parameter_common() in old free_one_parameter_by_snum() as well as in new free_one_parameter() Michael
| * s3:loadparm: rename free_parameters() to free_parameters_by_snum()Michael Adam2008-12-151-4/+5
| | | | | | | | Michael
| * s3:loadparm: rename free_parameter() to free_one_parameter_by_snum()Michael Adam2008-12-151-3/+5
| | | | | | | | Michael
| * s3:loadparm: add lp_local_ptr() that operates on a service structMichael Adam2008-12-151-1/+13
| | | | | | | | | | | | and use this in lp_local_ptr_by_snum(). Michael
| * s3:loadparm: rename lp_local_ptr() to lp_local_ptr_by_snum()Michael Adam2008-12-153-6/+6
| | | | | | | | Michael
| * s3:loadparm: fix newly introduced leading whitespaces to tabsMichael Adam2008-12-151-2/+2
| | | | | | | | Michael
| * s3:fix build of pam_winbind.so on older Linux systems.Michael Adam2008-12-151-2/+2
| | | | | | | | | | | | | | | | Older pam implementations on Linux define PAM_AUTHTOK_RECOVER_ERR instead of PAM_AUTHTOK_RECOVERY_ERR. We have always defined and are using PAM_AUTHTOK_RECOVER_ERR in all other places. Michael
* | Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-1435-1150/+658
|\|
| * Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke2008-12-1412-184/+284
| | | | | | | | This involves changing all our clients, that's why it's so large.
| * Move 128 bytes from the data to the text segmentVolker Lendecke2008-12-142-2/+2
| |
| * Remove a pointless static variableVolker Lendecke2008-12-141-1/+1
| |
| * don't return 0 on error - bad for scriptsHerb Lewis2008-12-131-0/+2
| |
| * Remove a pointless static variableVolker Lendecke2008-12-131-7/+7
| | | | | | | | Every sane compiler will only allocate "*SMBSERVER" once
| * Remove a static variableVolker Lendecke2008-12-131-6/+5
| | | | | | | | | | | | | | | | Derrell, please check! Thanks, Volker
| * Micro-Optimize cliconnect.cVolker Lendecke2008-12-131-22/+27
| | | | | | | | | | | | | | In this form, the prots array is fully read-only in the text segment and thus can be shared between processes. Probably pointless, but I had fun doing it :-)
| * s3:dsgetdcname: retry with the clients siteStefan Metzmacher2008-12-131-6/+43
| | | | | | | | metze
| * s3:libnet_join: use DS_FORCE_REDISCOVERYStefan Metzmacher2008-12-131-0/+1
| | | | | | | | metze
| * s3:libnet_join: call saf_join_store() after a the join.Stefan Metzmacher2008-12-131-1/+4
| | | | | | | | | | | | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (similar to commit feef594d275881466e2c3f59c0ff54609a9cc53b)
| * s3:libads/ldap.c: store the dc name in the saf cache as in all other placesStefan Metzmacher2008-12-131-3/+2
| | | | | | | | | | | | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 543fa85a711337e979c7b631bda5db95d109ef59)
| * s3:libads/ldap.c: if the client belongs to no site at all any dc is the closestStefan Metzmacher2008-12-131-0/+5
| | | | | | | | | | | | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit f86ef9b53a903485deba94febf90dd4e657cc02b)
| * s3:libads/ldap.c: pass the real workgroup name to get_dc_name()Stefan Metzmacher2008-12-131-1/+10
| | | | | | | | | | | | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit c2d4a84abe1b6cbf68d6e9f1bb1f8974d0b628fc)
| * s3:libsmb/namequery.c: add saf_join_store() functionStefan Metzmacher2008-12-132-3/+66
| | | | | | | | | | | | | | | | | | | | | | | | saf_join_store() should be called after a successful domain join, the affinity to the dc used at join time has a larger ttl, to avoid problems with delayed replication. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 80e74a27c55c01221091e3eec930c2ac4433c22c)
| * s3: libsmb/namequery: fallback to returning all dcs, when none is available ↵Stefan Metzmacher2008-12-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | in the requested site It could happen that all dcs in a site are unavailable (some sites have only one dc) and then we need to fallback to get all dcs. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit c127367b1dd622eeceb1f47de0a047c297dda222)
| * s3: libads: use get_dc_name() instead of get_sorted_dc_list() in the LDAP caseStefan Metzmacher2008-12-131-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | We use get_dc_name() for LDAP because it generates the selfwritten krb5.conf with the correct kdc addresses and sets KRB5_CONFIG. For CLDAP we need to use get_sorted_dc_list() to avoid recursion. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit d2f7f81f4d61bae9c4be65cbc1bf962b6c24a31f)
| * s3: correctly detect if the current dc is the closest oneStefan Metzmacher2008-12-133-3/+1
| | | | | | | | | | | | | | | | | | | | ads->config.tried_closest_dc was never set. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit dfe5b00db35e1e7c7bb3ba36729fc3f97eb48db3)
| * Fix a valgrind error in get_relative_fid_filenameVolker Lendecke2008-12-131-1/+1
| | | | | | | | | | | | | | It doesn't really make sense to check the length of a not-yet-allocated string :-) Volker
| * For read&x replies, check the offsetVolker Lendecke2008-12-131-0/+19
| |
| * s3: fix netlogon rpc_server build after idl change.Günther Deschner2008-12-131-3/+3
| | | | | | | | Guenther
| * s3: re-run make samba3-idl.Günther Deschner2008-12-135-14/+8
| | | | | | | | Guenther