Bug 31202 - renewing of computerroom settings doesn't take effect: Invalid SMB process definition
renewing of computerroom settings doesn't take effect: Invalid SMB process de...
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Ucsschool-lib
UCS@school 3.1
Other Linux
: P5 normal (vote)
: UCS@school 3.1-errata
Assigned To: Florian Best
Sönke Schwardt-Krummrich
:
Depends on: 31141
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-26 10:00 CEST by Florian Best
Modified: 2013-05-02 16:37 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2013-04-26 10:00:23 CEST
The problem in more clear words:
If a client has already a SMB connection and the teacher then disables share/printing access the settings will not take effect because the computerroom module is unable to kill the active SMB connection.

+++ This bug was initially created as a clone of Bug #31141 +++

Currently restricting printer access via computerroom module does not work.

(The code in backend parses the output of smbstatus which fails (it has a new
format probably)).

23.04.13 13:34:49.645  PARSER      ( ERROR   ) : Invalid SMB process definition
23.04.13 13:34:49.645  PARSER      ( INFO    ) : 
Samba version 4.0.3
PID     Username      Group         Machine                        
-------------------------------------------------------------------
12756     Administrator  Domain Admins  10.200.27.240 (ipv4:10.200.27.240:1182)
11072     lehrer1       Domain Users fooschool  10.200.27.5 
(ipv4:10.200.27.5:60030)

Service      pid     machine       Connected at
-------------------------------------------------------
IPC$         12756   10.200.27.240  Tue Apr 23 12:23:46 2013
IPC$         11072   10.200.27.5   Tue Apr 23 12:10:32 2013
lehrer1      11072   10.200.27.5   Tue Apr 23 12:05:57 2013

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock          
SharePath   Name   Time
--------------------------------------------------------------------------------------------------
11072        2014       DENY_NONE  0x100080    RDONLY     NONE            
/home/lehrer1   .   Tue Apr 23 12:06:40 2013

=====
Wrong component? This should be a bug against ucsschool.lib
Comment 1 Florian Best univentionstaff 2013-04-26 10:20:00 CEST
Patch has been backported.
Package has been built in scope "ucsschool".
ucs-school-lib 2.0.8-2.69.201304261009

errata-ucs-school/README_UPDATE_3.1.2 has been updated.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2013-04-30 16:00:33 CEST
(In reply to comment #1)
> Patch has been backported.
> Package has been built in scope "ucsschool".
> ucs-school-lib 2.0.8-2.69.201304261009
→ VERIFIED 

> errata-ucs-school/README_UPDATE_3.1.2 has been updated.

Small additional changes have been made to the README file.
Comment 3 Alexander Kläser univentionstaff 2013-05-02 16:37:50 CEST
UCS@school 3.1 rev1 has been release in the App Center.