Skip to content

Handle smb.conf type ini files  #5

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. llconf ini -f smb.conf list "global" 
2.
3.

What is the expected output? What do you see instead?
Produces allot of .unparsed output. 
Seems the samba type ini file varies in that 
it uses

multiple keywords = "value"

and when multiple keywords are present the lines are ignored. 

Example 

egrep 'netbios|volume' smb.conf
        netbios name    = hercules       
        volume          = Hercules

./llconf -p ini -f smb.conf get "global/volume"
Hercules

./llconf -p ini -f smb.conf get "global/netbios name" 
(nothing is returned). 


What version of the product are you using? On what operating system?
0.4.6, RHEL5

Please provide any additional information below.
Perhaps the samba ini configurations are not standard ini, However, it's a 
popular file and I would like to use this command line tool to automate 
modification of the file in that format. 

Original issue reported on code.google.com by rcotr...@gmail.com on 13 Dec 2011 at 3:37

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions