I have yet to get this to work. It is the only thing holding me back from
fully automating this.

Jason Bourque


On 5/3/02 9:33 AM, "Adam Witney" <[EMAIL PROTECTED]> wrote:

> 
> Yes, me also. However I was unable to get it to read the password file
> (.nsmbrc) and it always prompted me for a password.
> 
> Any ideas why this is so?
> 
> Thanks
> 
> adam
> 
>> Rich,
>> 
>> This was _absolutely_ tremendously helpful. Thanks.
>> 
>> /Michael
>> 
>> 
>> #!/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__
>> 
>> 
> 

Reply via email to