[OpenIndiana-discuss] CIFS and openindiana

David Brodbeck brodbd at uw.edu
Wed Jul 10 22:13:13 UTC 2013


On Wednesday, July 10, 2013, Daniel Kjar wrote:

> 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?
>


They should work.  The problem isn't permissions, it's password formats.

When you try to log in to a CIFS server, Windows does not send the password
in cleartext.  Instead it sends a hashed version of the password, which the
server is then supposed to compare to its stored hash.  The problem is
Windows uses a different hashing algorithm than OpenSolaris, so there's no
way to authenticate properly.  The pam.conf line creates a Windows-hashed
copy of the password and keeps it in sync.

On a Samba installation this is normally done with the smbpasswd tool,
instead.



-- 
David Brodbeck
System Administrator, Linguistics
University of Washington


More information about the OpenIndiana-discuss mailing list