nitb: Integrate the SUP client into the osmo-nitb
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index bbcdd1b..cbab971 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -53,6 +53,7 @@
 #include <openbsc/ctrl.h>
 #include <openbsc/osmo_bsc_rf.h>
 #include <openbsc/smpp.h>
+#include <openbsc/gsm_sup.h>
 
 #include "../../bscconfig.h"
 
@@ -367,6 +368,14 @@
 	}
 	printf("DB: Database prepared.\n");
 
+	if (bsc_gsmnet->auth_policy == GSM_AUTH_POLICY_REMOTE) {
+		rc = sup_init(bsc_gsmnet);
+		if (rc < 0) {
+			LOGP(DSUP, LOGL_FATAL, "Cannot set up subscriber management\n");
+			exit(2);
+		}
+	}
+
 	/* setup the timer */
 	db_sync_timer.cb = db_sync_timer_cb;
 	db_sync_timer.data = NULL;