Univention Bugzilla – Bug 34632
Not resetting SMB connections on switching back to defaults
Last modified: 2014-08-27 17:01:46 CEST
2014041721010984 If computerroom settings are switched back to defaults (e.g. from "Home directory only") via "Reset", the remaining SMB connections are not reset. "def settings_set" jumps into the "if request.options['internetRule'] == 'none' and request.options['shareMode'] == 'all' and request.options['printMode'] == 'default':" case and directly calls "_finished()" Because of this, clients with open connections can't reconnect their "other" shares.
This also affects the atjobs.
Open SMB connections are now killed when switching back to default settings. Afaics the atjobs have nothing to do with it as they are removed in every settings_set() call independent on which settings. No atjob is created for default settings as they are default and have no end time. → (leaving the bug currently opened). Changelog has been created.
Hi :) just a short remark from my side: a workaround which is quite useful in this case is: restrict printer access and give printer access free again - this somehow also unlocks the locked shares. kind regards, Nicolas
When changing settings only 1 atjob was removed for the current room (fixed in svn52787, commit message contains wrong bug number Bug #35341). Now every atjob for the current selected room will be executed and removed when changing settings. There could be more than 1 atjob per room when using the same username in two sessions with the same room.
OK: changelog (added small changes) OK: code change OK: functionality (tested restart of SMB connections; tested removal of multiple at jobs per room)
UCS@school 3.2 R2 v2 has been released: http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html If this error occurs again, please use "Clone This Bug".