Hi i want to know if there is possible to use another login and password in 
Netbios Operations than the login session.

For example i have this code:

##########

use Win32::NetResource;

$servername = "\\\\172.17.4.214";


$ShareInfo = {
                    'path' => "C:\\test",
                    'netname' => "TEST",
                    };

    Win32::NetResource::NetShareAdd( $ShareInfo,$error,$servername ) ;


##########

this code only works if the login and password is the same in local and remote 
machine but if i have different passwords i get the error "access deny". 

Is possible to set the login and password in Netbios operations ?


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to