Results 1 to 2 of 2

Thread: Why do I have to use sec=ntlm to get CIFS shares mounted?

  1. #1
    Join Date
    Aug 2013
    Beans
    11

    Question Why do I have to use sec=ntlm to get CIFS shares mounted?

    Hi,

    Just a quick question. For years mounting CIFS shares via fstab or mount has worked well for me but it seems to have changed a bit. I now have to add sec=ntlm to het mounting options to get is to mount. Otherwise I get a error 95.

    Why do I need this option "sec=ntlm" and what does it do?

    I'd like to understand the change.

    I hope someone has a clear answer.

    Thanks

  2. #2
    Join Date
    Dec 2009
    Beans
    6,816

    Re: Why do I have to use sec=ntlm to get CIFS shares mounted?

    "sec" is the security mode and determines how passwords are encrypted between server and client ( even if you don't require passwords ).

    ntlm used to be the default which is why you never had to specify it discretely. Things have moved on however so the default is now ntlmssp. If you are accessing something which doesn't speak ntlmssp you have to override the new default with the old one.

    Most NAS devices use older technology so they often require ntlm. If you access an OSX samba share however it requires ntlmssp so before you had to specify that in the mount options but now you don't.

    There are winners and losers with every change.

    If you run the following command you will see the whole range of sec modes available:
    Code:
     man mount.cifs

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •