Can not connect to OpenIndiana/Napp-it SMB share w/ Guest - Help!

Maxwell Smart

Limp Gawd
Joined
Nov 15, 2005
Messages
139
Okay, so I've followed _Gea's guide's to a T to build an OpenIndiana all-in-one box, and I have so far had success up until the point where I need to create an SMB share. After creating a RAID-Z2 pool, when I go to create a ZFS folder using all defaults with Guest access turned on, I get the "Oops..." orange screen, yet the folder gets created anyway. If I delete this folder and create a new one, I do not get the same error. No matter what however, I am unable to access the folder as a guest even though I have enabled the option, from either Windows or Mac hosts. I have tried completely starting from scratch with a new OpenIndiana VM and it still does not work. I have followed the instructions to the letter, including creating a new root pass with "passwd root" to enable a new SMB password, and doing so before using OpenIndiana, but I still get the same issues. If anyone can help I would be extremely grateful. Here are my current settings, and an example of the error:

http://i.imgur.com/nYQa0.png
http://i.imgur.com/uIFu6.png
http://i.imgur.com/rdRji.png
http://i.imgur.com/1bm6G.png
 
Last edited:
Your images are not accessable but mostly there are two reasons:

1. permissions
you need at least everyone@=modify

you can set it via napp-it menu ZFS-folder -acl
set to default root=full and everyone@=modify

2. user id mappings
see also napp-it menu services- smb - user mapping

check if you have any user mappings with command idmap list
if there are any, remove them with command idmap remove -a
(user idmappings are only for domain-mode)
 
_Gea, sorry about the images, I just reuploaded some new ones to show my problem. I'm seriously at a loss because I've followed your guide, including the necessary hardware exactly.

http://img713.imageshack.us/img713/2960/screenshot20120325at651.png
http://img201.imageshack.us/img201/2960/screenshot20120325at651.png
http://img341.imageshack.us/img341/8107/screenshot20120325at645.png
http://img29.imageshack.us/img29/2646/screenshot20120326at114.png
http://img337.imageshack.us/img337/2646/screenshot20120326at114.png
http://img545.imageshack.us/img545/2646/screenshot20120326at114.png


1. After again recreating the ZFS folder, everything is set to default, including permissions where everyone@=modify, and root=full
2. There are no user ID mappings, either in the GUI, or in the command line.

I had seen these issues before which is why I looked for them.
 
1. After again recreating the ZFS folder, everything is set to default, including permissions where everyone@=modify, and root=full
2. There are no user ID mappings, either in the GUI, or in the command line.

I had seen these issues before which is why I looked for them.

- If you create a user with napp-it and sharethe folder without guest, does this work?
- What is your OSX version?
 
When I create a user with napp-it and share the folder without guest, I get the exact same permissions error. The Mac OS X version is 10.7 Lion, when I access the share with Windows 7 and the specially created user, it does work however. But that still does not solve the problem with guest access, and it also doesn't solve why I cannot mount the drive in Mac OS X.
 
Last edited:
When I create a user with napp-it and share the folder without guest, I get the exact same permissions error. The Mac OS X version is 10.7 Lion, when I access the share with Windows 7 and the specially created user, it does work however. But that still does not solve the problem with guest access, and it also doesn't solve why I cannot mount the drive in Mac OS X.

That is this Lion bug
https://www.illumos.org/issues/1718

fixed in OpenIndiana 151 a1
http://wiki.openindiana.org/oi/oi_151a_prestable1+Release+Notes

you must update OI
 
Ah, it is now making sense. I shouldn't have this issue if I just use AFP correct? I think that's what I'm going to end up doing.
 
Okay, so after updating OpenIndiana, I now have my mac successfully connecting to the share over SMB. Now the problem seems to be file transfer speed. When running the DD benchmark I'm getting 750MB/s read and 650MB/s write, yet a transfer of 777GB of data to the OpenIndiana box is set to take 20 hours. Both the OpenIndiana all-in-one box and the mac are connected via Gigabit ethernet to an airport extreme gigabit enabled wireless router, so I'm not exactly sure where the problem could be.

EDIT: Nevermind, figured out it was an issue with my network card, all fixed now, thanks!
 
Last edited:
Back
Top