[Bug 308585] New: smb4k unable to parse the smb.conf

Raj Upadhyaya raj.upadhyaya at gmail.com
Thu Oct 18 06:55:15 BST 2012


https://bugs.kde.org/show_bug.cgi?id=308585

            Bug ID: 308585
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: unassigned-bugs at kde.org
           Summary: smb4k unable to parse the smb.conf
    Classification: Unclassified
                OS: Linux
          Reporter: raj.upadhyaya at gmail.com
          Hardware: Fedora RPMs
            Status: UNCONFIRMED
         Component: general
           Product: unknown

Hello,

I wanted to test my Samba shares using smb4k.  I was unable to do so as it
errors parsing the smb.conf.  It does show my mounted samba share after showing
the error.

Here is my smb.conf

# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2012/10/16 23:19:45

[global]
    workgroup = MSHOME
    server string = Samba Server RajHome2 Version %v
    log file = /var/log/samba/log.%m
    max log size = 50
    wins support = Yes
    idmap config * : backend = tdb
    hosts allow = 127., 192.168.1.
    cups options = raw

[printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    print ok = Yes
    browseable = No

[homes]
    comment = Home Directories
    valid users = %S
    read only = No
    create mask = 0700
    directory mask = 0700
    browseable = No

[public]
    comment = My Samba Share
    path = /var/public
    read only = No
    guest ok = Yes

[h]
    comment = The home directories
    path = /home
    read only = No
    guest ok = Yes
    fstype = samba

[julie]
    comment = Julie Home
    path = /home/julie
    read only = No
    guest ok = Yes
    fstype = samba

Here is the output from testparm

# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[homes]"
Processing section "[public]"
Processing section "[h]"
Processing section "[julie]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
    workgroup = MSHOME
    server string = Samba Server RajHome2 Version %v
    log file = /var/log/samba/log.%m
    max log size = 50
    wins support = Yes
    idmap config * : backend = tdb
    hosts allow = 127., 192.168.1.
    cups options = raw

[printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    print ok = Yes
    browseable = No

[homes]
    comment = Home Directories
    valid users = %S
    read only = No
    create mask = 0700
    directory mask = 0700
    browseable = No

[public]
    comment = My Samba Share
    path = /var/public
    read only = No
    guest ok = Yes

[h]
    comment = The home directories
    path = /home
    read only = No
    guest ok = Yes
    fstype = samba

[julie]
    comment = Julie Home
    path = /home/julie
    read only = No
    guest ok = Yes
    fstype = samba

Any ideas?

Raj Upadhyaya

Reproducible: Always

Steps to Reproduce:
1.  Modify the smb.conf using swat web app
2.  Restart samba to make sure it loads ok.
3.  Start smb4k
Actual Results:  
smb4k starts, doesn't recognize the shares on either system.  Finds a share
that is currently mounted.

Expected Results:  
Should find shares through explorer.

# uname -a
Linux rajhome2 3.6.2 #1 SMP Sun Oct 14 13:51:01 CDT 2012 i686 i686 i386
GNU/Linux

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list