NailBombJoe has asked for the wisdom of the Perl Monks concerning the following question:

I'm considering using the samba modules for perl. Basically I want to authenticate users through a browser interface and allow the user to access NT file server shares under their username. If anyone has done this before and can give me some pointers. Or if someone can point me to a good example of using these modules I would appreciate it. Thanks. Joseph Wagner

Replies are listed 'Best First'.
Re: Using Perl with Samba Modules
by teabag (Pilgrim) on Apr 29, 2003 at 09:34 UTC
    The module you're talking about is probably Filesys::SmbClientParser.
    The SYNOPSIS seems to cover all your questions?

    Also take a look at Filesys::SmbClient.

    It has an nice example you could look at:

    smb2www-2.cgi
    A CGI interface with these features:
    browse workgroup ,share, dir, read file, upload file,
    create directory, unlink file, directory

    Teabag
    chmod 666 *.*
    'cause everyone should have the right to read and write!

Re: Using Perl with Samba Modules
by tekkie (Beadle) on Apr 28, 2003 at 20:01 UTC
    Please see here

    It's not so much an answer to your question as much as it's a guide to get a better answer.
Re: Using Perl with Samba Modules
by LordWeber (Monk) on Apr 28, 2003 at 19:51 UTC