Added select baseDN with GUID

This commit is contained in:
Fatih Soydan 2013-10-02 00:58:22 +03:00
parent 4097a777e9
commit 4cab1ed4b7
1 changed files with 15 additions and 11 deletions

View File

@ -166,7 +166,10 @@ function parse(name) {
name[cur] === ';' || name[cur] === ';' ||
name[cur] === '+')); name[cur] === '+'));
} }
if (name.substring(0,6)=='<GUID='){
//maybe needs guid format check
return name;
} else {
var rdns = []; var rdns = [];
rdns.push(parseRdn()); rdns.push(parseRdn());
@ -180,6 +183,7 @@ function parse(name) {
} }
return new DN(rdns); return new DN(rdns);
}
} }