summaryrefslogtreecommitdiff
path: root/lib/param/util.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-15lib/param: Create a seperate server role for "active directory domain ↵Andrew Bartlett1-0/+1
controller" This will allow us to detect from the smb.conf if this is a Samba4 AD DC which will allow smarter handling of (for example) accidentially starting smbd rather than samba. To cope with upgrades from existing Samba4 installs, 'domain controller' is a synonym of 'active directory domain controller' and new parameters 'classic primary domain controller' and 'classic backup domain controller' are added. Andrew Bartlett
2012-04-19loadparm: Add helper function to fetch default lifetime policiesSimo Sorce1-0/+19
This use long to fetch time_t quantities, because there are architectures were time_t is a signed long but long != int, So long is the proper way to deal with it.
2011-10-13lib/param Print error when mkdir of lock path failsAndrew Bartlett1-1/+3
This matches the s3 code for lock_path(). Andrew Bartlett
2011-10-11lib/param Use strcasecmp_m rather than strcasecmp as this is banned in the ↵Andrew Bartlett1-2/+2
s3 includes.h
2011-10-11lib/param move source4 param code to the top levelAndrew Bartlett1-0/+266
This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett