PEAR Manual
Prev |  | Next

# File_Passwd_Smb::File_Passwd_Smb()

File_Passwd_Smb::File_Passwd_Smb() -- Constructor

## Synopsis

    require_once 'File/Passwd/Smb.php';

``object &new File_Passwd_Smb` ([string $file = 'smbpasswd'])`

## Description

Initialize a new File_Passwd_Smb object with the given path to passwd file.

## Parameter

string `$file`

  path to SMB passwd file

## Return value

Returns object File_Passwd_Smb.

## Note

This function can not be called statically.

Prev | Home | Next
File_Passwd_Smb::staticAuth() | Up | File_Passwd_Smb::parse()