Commit b0f144bc authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add nonlocal_user_bindings table to establish what nonlocal users get

accounts on slivers.
parent 4e3396cf
......@@ -2216,10 +2216,24 @@ CREATE TABLE `nologins` (
PRIMARY KEY (`nologins`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table `nonlocal_user_bindings`
--
DROP TABLE IF EXISTS `nonlocal_user_bindings`;
CREATE TABLE `nonlocal_user_bindings` (
`uid` varchar(8) NOT NULL default '',
`uid_idx` mediumint(8) unsigned NOT NULL default '0',
`exptidx` int(11) NOT NULL default '0',
PRIMARY KEY (`uid_idx`),
KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table `nonlocal_users`
--
DROP TABLE IF EXISTS `nonlocal_users`;
CREATE TABLE `nonlocal_users` (
`uid` varchar(8) NOT NULL default '',
`uid_idx` mediumint(8) unsigned NOT NULL default '0',
......
......@@ -4529,3 +4529,14 @@ last_net_act,last_cpu_act,last_ext_act);
UNIQUE KEY `uid_uuid` (`uid_uuid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
4.154: Addition to previous revision. This table is for tmcd, to find
out what nonlocal users need to be created on slivers (nodes).
CREATE TABLE `nonlocal_user_bindings` (
`uid` varchar(8) NOT NULL default '',
`uid_idx` mediumint(8) unsigned NOT NULL default '0',
`exptidx` int(11) NOT NULL default '0',
PRIMARY KEY (`uid_idx`),
KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment