PHP Classes

SMB Conf: Parse and recreate the Samba smb.conf file

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 866 This week: 1All time: 4,046 This week: 63Up
Version License Categories
csmbconf 1.0.0GNU Free Document...Windows, Configuration


This class is meant to parse and recreate a smb.conf file that is used by the tools of the Samba package to access Windows shares.

After parsing you are able to edit the contents of a smb.conf file that are stored in an array. After you make any changes to that array, you can also use the class to update the smb.conf file.

Picture of Filippo Toso
Name: Filippo Toso <contact>
Classes: 20 packages by
Country: Italy Italy
Age: 44
All time rank: 151 in Italy Italy
Week rank: 44 Down1 in Italy Italy Equal
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Plain text file CSMBConf.php Class Class file
Accessible without login Plain text file sample.php Example Example script
Accessible without login Plain text file smb.conf Data Test file

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:4,046
This week:63Up