http://bugzilla.moblin.org/show_bug.cgi?id=7838
--- Comment #47 from Chen Congwu <[email protected]> 2010-04-18 23:39:55 PST --- (In reply to comment #45) > > > 2) Will the DevInf be meaningful? For example, we have seen Nokia N900 as > > > 'Nokia Nxx', that seems to me not make sense. > > > I still think we need to find other ways to notify the client.. > > > > Suggestions welcome, of course. > > Since I don't think we can figure out that automatically, we still need some > user intervention, isn't it? > Extracting information from DevInf might also needs same tricks/hacks as I > already had with 'Authentication failure detection' patch which was not nice. No, there is a callback in Synthesis DBPlugin API. However I still don't think such sometimes works, sometimes not works approach as a solution. Current patch does the following: 1) Add 'serverConfig' property shared by peers inside the same context, the value depicts a configuration that will be used for new coming clients, empty if none exits. 2) When a new clients comes, if 'serverConfig' is not empty, reuse the configuration defined by it's value; otherwise create the configuration automatically using (removeDeivceID and time as the name) and recored the name inside 'serverConfig' 3) When a session (with name equals the value inside 'serverConfig') got a session without authentication error, set the value in 'serverConfig' as empty. The remaining problem is such newly created configuration name is not meaningful, but since we don't have a good solution so far, I would like to take that as an enhancement that later we can work on. -- Configure bugmail: http://bugzilla.moblin.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching someone on the CC list of the bug. _______________________________________________ Syncevolution-issues mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution-issues
