summaryrefslogtreecommitdiff
path: root/source4/param/util.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-1/+1
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-06-06lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett1-9/+1
This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
2011-06-06s4-param make lpcfg_sam_name() cope with PDC and BDC rolesAndrew Bartlett1-1/+2
These roles (ROLE_DOMAIN_CONTROLLER is ROLE_DOMAIN_BDC) will come in from the s3 loadparm. Andrew Bartlett
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett1-1/+1
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-04-29s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett1-2/+2
This is consistent with lock_path() Andrew Bartlett
2011-04-29s4-param Remove config_path() -> lpcfg_config_path()Andrew Bartlett1-1/+1
This is consistent with lock_path() Andrew Bartlett
2011-04-29s4-param Rename lock_path() -> lpcfg_lock_path()Andrew Bartlett1-1/+1
This avoids a conflict with the source3/ lock_path()
2011-03-25lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett1-3/+3
This better reflects what this structure is Andrew Bartlett
2011-02-18lib/util/charcnv Move iconv handle setup in commonAndrew Bartlett1-0/+1
We now use the struct smb_iconv_convenience at the core of all our iconv code, and use global_iconv_convenience for the callers that don't specify one. Andrew Bartlett
2010-10-30s4-modules: remove LD_SAMBA_MODULE_PATHAndrew Tridgell1-2/+1
this isn't needed now that we automatically get the module path right in our build and install trees Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-15s4 param: change messaging directory name from messaging to msgMatthieu Patou1-1/+1
This saves 6 chars and as in some installation users tends to install samba in directory with very long name they have a problem with the sockets. It will also ease the pain on buildfarms as we tend to have very long environnement name (ie. vampire_dc) in path that are already quite long leading also to errors on unix socket manipulation. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Oct 15 08:15:56 UTC 2010 on sn-devel-104
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-21/+21
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-18charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell1-5/+7
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values.
2009-09-03support config files in the current directoryAndrew Tridgell1-2/+7
2009-05-26Don't use crossRef records to find our own domainAndrew Bartlett1-0/+17
A single AD server can only host a single domain, so don't stuff about with looking up our crossRef record in the cn=Partitions container. We instead trust that lp_realm() and lp_workgroup() works correctly. Andrew Bartlett
2009-03-04Allow 'net vampire' to work without an existing smb.confAndrew Bartlett1-1/+1
Now the provision can generate one based on the detected settings from the target domain. Andrew Bartlett
2008-12-22Fix function name in error message when failing to load module.Jelmer Vernooij1-1/+2
2008-06-17Change our module code to not use the special symbol name init_module()Andrew Tridgell1-1/+1
Current glibc libraries include a function called init_module(). If we use the same name, then a dlsym() can find the glibc function if the module doesn't have an initialisation function. In ldb, none of our modules have an init_module(), so we end up calling the libc functions with bogus arguments. (This used to be commit 1b0621068998590e7b1e9528b78744dcd2cd5909)
2008-05-27Use new dynconfig.h location.Jelmer Vernooij1-1/+1
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-11/+11
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2007-12-21r26449: Support configuration without a known configuration dir.Jelmer Vernooij1-0/+3
(This used to be commit d3643c2152a490952e59ee15b7a62ad3ad465462)
2007-12-21r26434: Remove display charset from iconv convenience context.Jelmer Vernooij1-1/+0
(This used to be commit a76625994abf9906d54ae11f9c171f89063cf508)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij1-12/+1
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26427: Avoid global_smb_iconv_convenience.Jelmer Vernooij1-0/+5
(This used to be commit bf072c6fb37b3e6a71c0c747b9fbeaa01480229e)
2007-12-21r26357: Add separate subsystem for auth_sam_reply parsing.Jelmer Vernooij1-1/+1
(This used to be commit 2d61e7c96e249d7031b709e9f727626a78e435f1)
2007-12-21r26315: Avoid using lp_ functions in libcharset.Jelmer Vernooij1-0/+16
(This used to be commit db6dd425e3526c04e96d778a736dbb5cf14ddc56)
2007-10-10r25547: Convert to standard bool type.Jelmer Vernooij1-3/+3
(This used to be commit 97a241692c4b8dc45e086aa9b959f2cd30b8d6c9)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-54/+34
2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-7/+7
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-1/+2
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24814: Fix headers, trim core.h even more.Jelmer Vernooij1-0/+87
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r20988: Call out to Heimdal's krb5.conf processing to configure many aspectsAndrew Bartlett1-0/+22
of KDC behaviour. This should allow PKINIT to be turned on and managed with reasonable sanity. This also means that the krb5.conf in the same directory as the smb.conf will always have priority in Samba4, which I think will be useful. Andrew Bartlett (This used to be commit a50bbde81b010bc5d06e3fc3417ade44627eb771)
2007-10-10r19507: Merge my DSO fixes branch. Building Samba's libraries as shared ↵Jelmer Vernooij1-1/+4
libraries works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10r15573: Fix build of systems that have iconv headers in non-standard locationsJelmer Vernooij1-1/+0
Split of system/locale.h header from system/iconv.h Previously, iconv wasn't being used on these systems (This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)
2007-10-10r14914: Remove printf statement I accidently committed.Jelmer Vernooij1-1/+0
(This used to be commit ca4d1b4c0e1a18c2b071f49076251369370a785c)
2007-10-10r14909: Add lp_modulesdir() smb.conf optionJelmer Vernooij1-1/+2
(This used to be commit eaa68826d34c2bebc3df5e96aed2102debb67964)
2007-10-10r14575: Move some path-related functions to libsamba-config so libsamba-utilJelmer Vernooij1-0/+194
doesn't have to depend on the lp_* functions. (This used to be commit f97df7d90a41b77a9edd2d6bdc47c27bf1b6bb07)