fixing the new pluggable auth converter

This commit is contained in:
JT Smith 2002-11-23 02:58:43 +00:00
parent dcab986018
commit 04c431306e
2 changed files with 7 additions and 48 deletions

View file

@ -1,5 +1,11 @@
insert into webguiVersion values ('4.9.0','upgrade',unix_timestamp());
create table authentication (userId int(11) not null, authMethod varchar(30) not null, fieldName varchar(128) not null, fieldData text, primary key (userId, authMethod, fieldName));
insert into authentication select userId,'LDAP','ldapUrl',ldapURL from users;
insert into authentication select userId,'LDAP','connectDN',connectDN from users;
insert into authentication select userId,'WebGUI','identifier',identifier from users;
alter table users drop column identifier;
alter table users drop column ldapURL;
alter table users drop column connectDN;