Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I read a few articles regarding "How to Authenticate Linux Clients with Microsoft Active Directory"

My question before I do it: what will happen to Notebooks that try to login when the Active directory server is not available?

It's not an issue with a Windows Notebook, but I don't have a clue regarding Linux. I have Ubuntu and Fedora Notebooks.

share|improve this question

I am note sure if this works for AD as well, but for a plain LDAP server you can use libpam_ccreds (for "cached credentials") to achieve what you want.

This will store the credentials on the system so it still works in disconnected mode.

Here is a tutorial that explains how to use it on Ubuntu.

share|improve this answer
I'm just wondering how it will work while you connect AD as LDAP. This may be interesting. – Piotr Kieszczyński Jan 2 '13 at 13:32

Also when you are connecting to AD using samba/winbind you can also add it in smb.conf

winbind offline logon = yes

Remeber to add cached_login = yes to /etc/security/pam_winbind.conf while you are using winbind offline logon = yes.

share|improve this answer
thanks, I will try – Shachar ben Jan 3 '13 at 6:57
Please let me know how it goes. – Piotr Kieszczyński Jan 3 '13 at 9:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.