[OpenIndiana-discuss] CIFS and openindiana
Daniel Kjar
dkjar at elmira.edu
Wed Jul 10 13:55:07 UTC 2013
Interesting. I tried that pam.conf line and it created havoc. I had
this infinite loop with a dlopen didn't open that locked me out. Had to
go in with a recovery disk. this is a stock a7 install.
I guess I don't understand why the existing permissions don't work for
CIFS. so something other than
drwx------ 81 dsk trouble 211 2013-06-27 10:11 dsk is required?
On 07/10/13 09:04 AM, James Carlson wrote:
> On 07/10/13 07:57, Daniel Kjar wrote:
>> Hello everyone,
>>
>> I am trying to get CIFS working to share a home drive to a windows 8
>> machine. The pool already exists and I don't use auto_home.
>>
>> I tried just zfs set sharesmb=on home and that made it discoverable but
>> when i try to log in I get authentication denied.
>>
>> I looked at the instructions online and saw all kinds of stuff that I am
>> not sure if I really need to do. Most of the instructions I find are
>> either oracle telling me to make a pool from scratch or samba specific.
>> Do I need to do that or can I use the existing pool?
> You should be able to use the existing file system. There are some
> issues with respect to the expected case matching rules for CIFS, but as
> long as you don't play games by creating files that differ only in
> alphabetic case, you should be fine.
>
> The short answer is that you need this in /etc/pam.conf:
>
> other password required pam_smb_passwd.so.1 nowarn
>
> and you then need to change the password for each user who will use the
> CIFS shares. You can "change" it to the same password as it is now.
> The important part is that the change process itself will cache
> information that CIFS needs in order to do authentication.
>
> The above is a one-time issue on a system. Once you do it, it's set.
>
> I suspect that you've already solved this part, but another one-time
> issue is enabling the smb server. "svcadm enable -r smb/server" should
> do the job. You may want to join a workgroup with "smbadm join -w
> workgroupname".
>
> I know that others here have said dreadful things about the CIFS server,
> but I can't say I've understood the fuss. :-/
>
--
Dr. Daniel Kjar
Associate Professor of Biology
Division of Mathematics and Natural Sciences
Elmira College
1 Park Place
Elmira, NY 14901
607-735-1826
http://faculty.elmira.edu/dkjar
"...humans send their young men to war; ants send their old ladies"
-E. O. Wilson
More information about the OpenIndiana-discuss
mailing list