<div dir="ltr">Nevermind. If I add others read/write on the Samba3 filesystem it works fine. I'll just do that and remove it when I'm done.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 22, 2014 at 3:37 PM, John Wesorick <span dir="ltr"><<a href="mailto:john@wesorick.com" target="_blank">john@wesorick.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Okay, so here's a rather odd question. Does anyone have any idea how to share Samba 3 shares with Samba 4 for shares w/o security? I'm doing a migration from Samba3 /w OpenLDAP to straight up Samba4 running on a different server. I want to do a steady migration of users/servers from Samba3/OpenLDAP to Samba4. I was planning on mounting all of the Samba3 shares with a sort of file share super user who belongs to every group that is used for file share security on my Samba4 server and then setting up the mounts as shares on the Samba4 server. This is working well for all of my group-based file shares, but I have one share that is kind of a free-for-all and doesn't have any security. <div>
<br></div><div>This free-for-all share shows up fine on the Samba4 server, and I can browse it and modify/delete files normally when I am on the actual server, but when I try to mount the Samba4 share from another PC the permissions are all set to the same thing (755) and I can't see anything in any folders.</div>
<div><br></div><div>Does anyone have any idea why this isn't working?</div><div><br></div><div>Samba3 smb.conf:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
[data]<br> comment = Data Drive<br> path = /srv/data<br> public = yes<br> writable = yes<br> create mask = 0660<br> directory mask = 0770<br> guest ok = yes<br> force user = localadmin<br> force group = localadmin<br>
force create mode = 0660<br> force directory mode = 0770</blockquote></div><div><br></div><div>Samba4 smb.conf:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
[data]<br> comment = Data Drive<br> path = /srv/files/data<br> public = yes<br> writable = yes<br> create mask = 0660 <br> directory mask = 0770<br> guest ok = yes<br> force user = migrator<br> force group = migrator<br>
force create mode = 0660 <br> force directory mode = 0770</blockquote></div><div><br></div><div>Samba4 fstab:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
//samba3/data /srv/files/data cifs username=migrator,password=MyPass,_netdev 0 0</blockquote><div><br></div><div>I've tried commenting out most options on Samba4 smb.conf to no avail and just using guest for the mount in fstab, but nothing i do seems to make a difference. I've also tried forcing localadmin on Samba4.</div>
</div>
</blockquote></div><br></div>