summaryrefslogtreecommitdiff
path: root/source4/kdc/wscript_build
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-04-19 17:54:57 -0400
committerSimo Sorce <idra@samba.org>2012-04-20 01:53:37 +0200
commit4b29cf5f66c5e75f759a5c2a79ba26629f907778 (patch)
treebd2d0eadafc8387bb7dc79166af4beb0d926d63f /source4/kdc/wscript_build
parent37e98ff252edc5e76d2c74a8459247ffcb5fd101 (diff)
downloadsamba-4b29cf5f66c5e75f759a5c2a79ba26629f907778.tar.gz
samba-4b29cf5f66c5e75f759a5c2a79ba26629f907778.tar.bz2
samba-4b29cf5f66c5e75f759a5c2a79ba26629f907778.zip
Move kdc_get_policy helper in the lsa server where it belongs.
This was used in only 2 places, db-glue.c and the lsa server. In db-glue.c it is awkward though, as it forces to use an unconvenient lsa structure and conversions from time_t to nt_time only to have nt_times converted back to time_t for actual use. This is silly. Also the kdc-policy file was a single funciton library, that's just ridiculous. The loadparm helper is all we need to keep the values consistent, and if we ever end up doing something with group policies we will care about it when it's the time. the code would have to change quite a lot anyway. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Fri Apr 20 01:53:37 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/kdc/wscript_build')
-rwxr-xr-x[-rw-r--r--]source4/kdc/wscript_build10
1 files changed, 1 insertions, 9 deletions
diff --git a/source4/kdc/wscript_build b/source4/kdc/wscript_build
index 22eee12c8b..a5668188d5 100644..100755
--- a/source4/kdc/wscript_build
+++ b/source4/kdc/wscript_build
@@ -49,19 +49,11 @@ bld.SAMBA_LIBRARY('pac',
bld.SAMBA_LIBRARY('db-glue',
source='db-glue.c',
- deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err kdc-policy',
+ deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err',
private_library=True,
includes='../heimdal/kdc',
)
-bld.SAMBA_LIBRARY('kdc-policy',
- source='policy.c',
- deps='samba-hostconfig authkrb5',
- private_library=True,
- autoproto = 'kdc-policy-proto.h'
- )
-
-
bld.SAMBA_SUBSYSTEM('MIT_SAMBA',
source='mit_samba.c',
deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue PAC_GLUE samba-hostconfig com_err'