fun notTmp s =
String.sub (s, 0) <> #"."
+ andalso s <> "_darcs"
andalso CharVector.all (fn ch => Char.isAlphaNum ch orelse ch = #"." orelse ch = #"_" orelse ch = #"-") s
fun setupUser () =
let
val (_, context) = requestContext (fn () => ())
val bio = OpenSSL.connect true (context,
- Config.Dbms.dbmsNode ^ ":" ^ Int.toString Config.slavePort)
+ Domain.nodeIp Config.Dbms.dbmsNode ^ ":" ^ Int.toString Config.slavePort)
in
Msg.send (bio, MsgCreateDbUser dbtype);
case Msg.recv bio of
val ok = ref true
- fun contactNode (node, ip) =
+ fun contactNode (node, ip, ipv6) =
if node = Config.dispatcherName then
Domain.resetLocal ()
else let