I've just started using the Perl API so forgive my ignorance.
I'm trying to add new Unix user to a SVM and according to the documentation, the appropriate call is name-mapping-unix-user-create.
use lib '/netapp-manageability-sdk-5.4/lib/perl/NetApp';
use NaServer;
use NaElement;
$in = NaElement->new("name-mapping-unix-user-create");
$in->child_add_string("user-name",$u);
$in->child_add_string("user-id",$uid);
$in->child_add_string("group-id",$gid);
$in->child_add_string("full-name",$name);
$response = $s->invoke_elem($in);
When this code runs I get the following error.
ERROR: Unable to find API: name-mapping-unix-user-create
Am I missing something obvious? All of my other API calls and Cluster connecttions work. This is the first one that bombs.