[OpenIndiana-discuss] CIFS and openindiana
Roel_D
openindiana at out-side.nl
Wed Jul 10 13:35:53 UTC 2013
If the directory already exists then do chown -R {username}:{groupname} {directoryname}
If you try to retrieve the directory from windows you might give the username as {workgroupname}\{username}
If you have a pc that is part of a domain (like your office pc) then joining a CIFS on a local/private server can be a pain.
Kind regards,
The out-side
Op 10 jul. 2013 om 15:04 heeft James Carlson <carlsonj at workingcode.com> het volgende geschreven:
> 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. :-/
>
> --
> James Carlson 42.703N 71.076W <carlsonj at workingcode.com>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the OpenIndiana-discuss
mailing list