mandriva

Ticket #360 (new defect)

Opened 4 months ago

Wrong share link on samba status page

Reported by: acecile Owned by: cdelfosse
Priority: normal Milestone: To be done
Component: mmc-web-samba Version: MDS 2.3.2
Severity: minor Keywords:
Cc:

Description

1. Use MMC interface on a running MDS server with Samba 2. Click on Status, then Samba Status 3. Some users are reported to use "homes" share. Some others seems to be connected to "<username>" share. 4. Click on the share name

=> 18 May 2010 12:00:24

PHP XMLRPC call: samba.getACLOnShare ('<username>',)


Python Server traceback:
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/twisted/web/http.py", line 626, in requestReceived
    self.process()
  File "/usr/lib64/python2.5/site-packages/twisted/web/server.py", line 150, in process
    self.render(resrc)
  File "/usr/lib64/python2.5/site-packages/twisted/web/server.py", line 157, in render
    body = resrc.render(self)
  File "/usr/lib/python2.5/site-packages/mmc/agent.py", line 148, in render
    defer.maybeDeferred(function, *args).addErrback(
---  ---
  File "/usr/lib64/python2.5/site-packages/twisted/internet/defer.py", line 106, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/python2.5/site-packages/mmc/plugins/samba/__init__.py", line 213, in getACLOnShare
    return smbObj.getACLOnShare(name)
  File "/usr/lib/python2.5/site-packages/mmc/plugins/samba/__init__.py", line 1281, in getACLOnShare
    acl1 = ACL(file=path)
exceptions.TypeError: argument 1 must be string, not int

Indeed, "<username>" share doesn't exist, the link should points to "homes".

Regards, Adam.

Attachments

Add/Change #360 (Wrong share link on samba status page)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
The owner will change to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.