mount cifs

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

int main() {
    char command[1000];

    snprintf(command, sizeof(command), "sudo mount -t cifs //your_remote_server/share_name /your/mount/point -o username=your_username,password=your_password,domain=your_domain");

    int result = system(command);

    if (result == 0) {
        printf("Mount successful.\n");
    } else {
        printf("Mount failed.\n");
    }

    return 0;
}