summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-12-17s3/loadparm.c: Change default value for "ldap ssl".Karolin Seeger1-1/+1
LDAP_SSL_ON is not defined at all. That's why the actual default value was "" for a long time. Set a more sensible default value without chnging the default behaviour. -----8<------------------snip--------------8<-------------- user@host:/data/git/samba/v3-0-test/source> git grep LDAP_SSL_ON | cat include/smb.h:enum ldap_ssl_types {LDAP_SSL_ON, LDAP_SSL_OFF, LDAP_SSL_START_TLS}; param/loadparm.c: Globals.ldap_ssl = LDAP_SSL_ON; ----->8------------------snap-------------->8-------------- It's the same in 3.2 and 3.3 series. Karolin
2008-12-17s4:lib/tevent: add lib/events/ compat and let things compileStefan Metzmacher2-2/+3
metze
2008-12-17net luaVolker Lendecke4-4/+401
This adds a lua command line interpreter with some sample code how to build your own data types based on our internal data types. Not meant as the final word, but as a playground for experiments for people. Might be removed later when we find this turns out to be too awkward.
2008-12-17Compile libluaVolker Lendecke3-0/+82
2008-12-17Add the Lua distibution from http://www.lua.org/ftp/lua-5.1.4.tar.gzVolker Lendecke100-0/+28089
Available under the MIT license. Adding it to see how the build farm likes it. They claim to be 100% pure ANSI C and compile everywhere. Lets see. If it breaks badly, we can remove it again.
2008-12-16(Fixed) Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵Kai Blin1-4/+5
segmentation fault (with NAS-BASIC server).
2008-12-16Revert "Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵Jeremy Allison1-24/+683
segmentation fault (with NASBASIC server)." Error in commit ! This reverts commit bbd5824140992ea457d4270ee77018ebb367abc9.
2008-12-16Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵Kai Blin1-683/+24
segmentation fault (with NASBASIC server).
2008-12-16Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2-12/+11
2008-12-16Remove ndrdump - it's available in merged build mode as bin/ndrdump4 and ↵Jelmer Vernooij2-503/+1
uses the exact same object files there.
2008-12-16Share object files for gen_ndr.Jelmer Vernooij3-10/+335
2008-12-16commit b520befe6f51644d20434add9864d7a2fa30aa2eSATOH Fumiyasu2-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>
2008-12-16Add new script for building IDL files in librpc/idl, generating bothJelmer Vernooij2-2/+153
Samba 3 and Samba 4 output.
2008-12-16Fix path to ndr_notify.c.Jelmer Vernooij1-1/+1
2008-12-16Move shared gen_ndr files to librpc/gen_ndr in the root.Jelmer Vernooij126-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.
2008-12-16Consider shared IDL files and Samba3-specific IDL files separately, allow ↵Jelmer Vernooij4-8/+9
overriding output directory.
2008-12-16Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij43-19192/+978
2008-12-16Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij8-58/+57
the dom_sid). No longer include it from security.idl.
2008-12-16nsswitch: Move nsswitch files from source4 to top level nsswitch dirKai Blin2-4/+4
2008-12-16nsswitch: Move source3 files to top level dir.Kai Blin35-18611/+33
Don't move source4 files yet to not confuse git's rename tracking too much.
2008-12-16s3:net_status: use dbwrap to open sessionid.tdbStefan Metzmacher1-24/+20
metze
2008-12-15s3: Use DEBUGADD instead of DEBUG to avoid printing the headerDan Sledz2-28/+29
2008-12-15s3: Fix "differing signedness" build warningsTim Prouty1-1/+1
2008-12-15s3: Fix a few build warningsTim Prouty2-524/+891
2008-12-15Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij4-25/+79
2008-12-15s3:loadparm: fix copy service error (canonicalize_servicename: NULL source name)Michael Adam1-1/+1
this was introduced by commit 3358a139d2dc77eb4c842d41722b1acc24bd2cb2. Michael
2008-12-15s3:loadparm: add service-struct based variants of the free-parameter routinesMichael Adam1-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
2008-12-15s3:loadparm: rename free_parameters() to free_parameters_by_snum()Michael Adam1-4/+5
Michael
2008-12-15s3:loadparm: rename free_parameter() to free_one_parameter_by_snum()Michael Adam1-3/+5
Michael
2008-12-15s3:loadparm: add lp_local_ptr() that operates on a service structMichael Adam1-1/+13
and use this in lp_local_ptr_by_snum(). Michael
2008-12-15s3:loadparm: rename lp_local_ptr() to lp_local_ptr_by_snum()Michael Adam3-6/+6
Michael
2008-12-15s3:loadparm: fix newly introduced leading whitespaces to tabsMichael Adam1-2/+2
Michael
2008-12-15s3:fix build of pam_winbind.so on older Linux systems.Michael Adam1-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
2008-12-14Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij35-1150/+658
2008-12-14Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke12-184/+284
This involves changing all our clients, that's why it's so large.
2008-12-14Move 128 bytes from the data to the text segmentVolker Lendecke2-2/+2
2008-12-14Remove a pointless static variableVolker Lendecke1-1/+1
2008-12-13don't return 0 on error - bad for scriptsHerb Lewis1-0/+2
2008-12-13Remove a pointless static variableVolker Lendecke1-7/+7
Every sane compiler will only allocate "*SMBSERVER" once
2008-12-13Remove a static variableVolker Lendecke1-6/+5
Derrell, please check! Thanks, Volker
2008-12-13Micro-Optimize cliconnect.cVolker Lendecke1-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 :-)
2008-12-13s3:dsgetdcname: retry with the clients siteStefan Metzmacher1-6/+43
metze
2008-12-13s3:libnet_join: use DS_FORCE_REDISCOVERYStefan Metzmacher1-0/+1
metze
2008-12-13s3:libnet_join: call saf_join_store() after a the join.Stefan Metzmacher1-1/+4
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (similar to commit feef594d275881466e2c3f59c0ff54609a9cc53b)
2008-12-13s3:libads/ldap.c: store the dc name in the saf cache as in all other placesStefan Metzmacher1-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)
2008-12-13s3:libads/ldap.c: if the client belongs to no site at all any dc is the closestStefan Metzmacher1-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)
2008-12-13s3:libads/ldap.c: pass the real workgroup name to get_dc_name()Stefan Metzmacher1-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)
2008-12-13s3:libsmb/namequery.c: add saf_join_store() functionStefan Metzmacher2-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)
2008-12-13s3: libsmb/namequery: fallback to returning all dcs, when none is available ↵Stefan Metzmacher1-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)
2008-12-13s3: libads: use get_dc_name() instead of get_sorted_dc_list() in the LDAP caseStefan Metzmacher1-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)