Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 39981

problems with samba share

$
0
0

I have problems with a new samba server (never used it before either), i have a few CIFS (Windows shares) mounted in /mount, with commands like this:

mount -t cifs -o username=Administrator,uid=smbmnt,gid=smbmnt //192.168.1.23/Backups /mount/NAS5-Backups/

My smb.conf is as follows:

[global]
        server string = %h server
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        smb ports = 445
        dns proxy = No
        panic action = /usr/share/samba/panic-action %d
        invalid users = root

[homes]
        comment = Home Directories
        valid users = %S
        create mask = 0700
        directory mask = 0700
        browseable = No

[Storage]
        comment = Storage NAS
        path = /mount/NAS5-Backups
        read only = No

Now i can mount the share on my Win client fine, it works and i can "write through" to the other share - However, this is not what i intended - i basically want to mount N shares in /mount (/mount/NAS4, NAS5 etc) and then have one Samba share over it that i can mount on another machine (behind VPN/LAN) that grants rw permissions like the other shares would be normal dirs.
Something like a CIFS low level mount would fit, but i found nothing in that regard

Any ideas? i'm also open for other sharing methods as long as they are fast, can be mounted on Windows as drive and let me achieve the above.


Viewing all articles
Browse latest Browse all 39981

Trending Articles