Accessing Samba - Mount Volume Possible?

2002-05-01 Thread Jason Bourque
Hello, Is it possible to write a perl script that will mount a share via samba? Any sample code would be great. Thanks, Jason Bourque

Re: Getting the path of a running process from OS X Perl

2002-05-01 Thread Charles Albrecht
At 11:33 AM +1000 4/29/2002, Ken Williams wrote: Perhaps you don't need to. Maybe you could just use the open command in the shell (see man open) to open it without a path. You can do things like this: open -a com.barebones.bbedit file.txt That will find BBEdit, wherever it is, and

DBI

2002-05-01 Thread Roland Butler
Does any one have any tips for installing perl modules I have tried to install the DBI module using CPAN and manually, but both times I cannot seem to get then to connect up? Thank you roland

Re: DBI

2002-05-01 Thread Puneet Kishor
Roland Butler wrote: Does any one have any tips for installing perl modules I have tried to install the DBI module using CPAN and manually, but both times I cannot seem to get then to connect up? Thank you roland could you elaborate more on the error? as far as I know, there are no

Re: Accessing Samba - Mount Volume Possible?

2002-05-01 Thread Matthew Langford
On Wed, 1 May 2002, Jason Bourque wrote: Is it possible to write a perl script that will mount a share via samba? Any sample code would be great. Great question! I'm interested in this, too. I think smbmount might be the command to use, but I haven't been able to get it to work. I've

Re: Accessing Samba - Mount Volume Possible?

2002-05-01 Thread ellem
On Wednesday, May 1, 2002, at 02:39 PM, Jason Bourque wrote: Hello, Is it possible to write a perl script that will mount a share via samba? just `backtick` it? (untested) Any sample code would be great. Thanks, Jason Bourque -- Lou Moran [EMAIL PROTECTED]

Accessing AFP remote volumes?

2002-05-01 Thread [EMAIL PROTECTED]
While we're on the subject of remote volumes, I've been trying to figure out how to automate mounting normal AFP volume from Perl (or the Terminal -- it just has to let Perl read write files) in OS X. The servers require ID password. Right now, I'm using FTP to access these remote volumes. Is

Re: Accessing AFP remote volumes?

2002-05-01 Thread Jeff Lowrey
At 4:04 PM -0400 5/1/02, [EMAIL PROTECTED] wrote: While we're on the subject of remote volumes, I've been trying to figure out how to automate mounting normal AFP volume from Perl (or the Terminal -- it just has to let Perl read write files) in OS X. The servers require ID password. Right now,

Re: Accessing Samba - Mount Volume Possible?

2002-05-01 Thread David Souza
NFS Mounts: http://deaddog.duch.udel.edu/~frey/darwin/archive/DarwinAndNFS.pdf At 2:42 PM -0500 5/1/02, Matthew Langford wrote: On Wed, 1 May 2002, Jason Bourque wrote: Is it possible to write a perl script that will mount a share via samba? Any sample code would be great. Great question!

Re: Accessing AFP remote volumes?

2002-05-01 Thread Adam Wells
At 16:04 -0400 5/1/02, [EMAIL PROTECTED] wrote: While we're on the subject of remote volumes, I've been trying to figure out how to automate mounting normal AFP volume from Perl (or the Terminal -- it just has to let Perl read write files) in OS X. The servers require ID password. Just use

Re: Accessing Samba - Mount Volume Possible?

2002-05-01 Thread Randy Boring
On Wed, 1 May 2002, Jason Bourque wrote: Is it possible to write a perl script that will mount a share via samba? Any sample code would be great. Great question! I'm interested in this, too. I think smbmount might be the command to use, but I haven't been able to get it to work. I've

Re: Accessing Samba - Mount Volume Possible?

2002-05-01 Thread Ian Ragsdale
On 5/1/02 3:29 PM, Randy Boring [EMAIL PROTECTED] wrote: Pre-warning, I'm biased, as I work for Thursby Software Systems, Inc. I'll keep that in mind. :) Samba is mostly a server, so it's not likely that you really want to mount _via_ Samba, you probably want to mount a Samba volume via

Re: Accessing Samba - Mount Volume Possible?

2002-05-01 Thread nellA hciR
#!/usr/bin/perl if(-f /users/userid/.nsmbrc) { print mounting share\n; system('mount_smbfs -W workgroupname //username@domain/share /users/userid/myshare'); } else { print password file does not exist\n; } __END__ contents of ~/.nsmbrc

Re: Accessing Samba - Mount Volume Possible?

2002-05-01 Thread Matthew Langford
On Wed, 1 May 2002, David Souza wrote: NFS Mounts: http://deaddog.duch.udel.edu/~frey/darwin/archive/DarwinAndNFS.pdf At 2:42 PM -0500 5/1/02, Matthew Langford wrote: I've read, also, that smbmounting more than one fileshare causes kernel instability. Does anybody know what list to go

Re: Accessing Samba - Mount Volume Possible?

2002-05-01 Thread Jason Bourque
Well, I actually write AppleScript for a living and use Dave on OS 9 to mount everyting outside of appletalk. But yesterday my copy of Dave X came in and would you know its not scriptable! I contacted support and they said it was not them but OS X that had limited AppleScript support. And that

Re: Accessing Samba - Mount Volume Possible?

2002-05-01 Thread Jason Bourque
-hcir Good to hear from you. I will try your code, but could you tell me exactly how you create the password file? Do you use the shell and where do you put it? Thanks, Jason Bourque Co-Director Boston AppleScript Users Group On 5/1/02 4:24 PM, nellA hciR [EMAIL PROTECTED] wrote:

Problems install Text::Iconv

2002-05-01 Thread Ward W. Vuillemot
I am trying to get, ultimately, XML::SAX and some of its own supporting modules (e.g. XML::SAX::ParserFactory which needs XML::SAX::Writer which needs Text::Iconv). How how the merry nymphs dance and prance on m' forehead. Argh! Has anyone encountered this? Here is the output from an install.

Re: Problems install Text::Iconv

2002-05-01 Thread Dan Kogai
On Thursday, May 2, 2002, at 11:21 , Ward W. Vuillemot wrote: I am trying to get, ultimately, XML::SAX and some of its own supporting modules (e.g. XML::SAX::ParserFactory which needs XML::SAX::Writer which needs Text::Iconv). How how the merry nymphs dance and prance on m' forehead. Argh!