]> git.ipfire.org Git - pbs.git/commitdiff
database: Store reference to LDAP DN for LDAP users
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 24 Oct 2017 16:10:39 +0000 (17:10 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 24 Oct 2017 16:10:39 +0000 (17:10 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/database.sql

index 8ebe9260eb2092cd1e43dd6d007d5f2af7d3b790..29456cdde2d9bcab8905193a4064f19e021dc025 100644 (file)
@@ -1905,7 +1905,8 @@ CREATE TABLE users (
     timezone text,
     activated boolean DEFAULT false NOT NULL,
     deleted boolean DEFAULT false NOT NULL,
-    registered timestamp without time zone DEFAULT now() NOT NULL
+    registered timestamp without time zone DEFAULT now() NOT NULL,
+    ldap_dn text
 );