I've recently installed Ubuntu Server 10.04. I already have configured the basics and now I want to associate Windows and Mac OSX machines with the users created on Ubuntu so that when I login in one of these machines, the network be configured automatically with user home directory and permissions.

Currently the network is working with Samba, and the login is typed when a try to access the server. So, what I need now is the login associated with workstations initial login prompt.

Also, in Mac machines I want to automatically mount the network when I login.

I will appreciate if someone provide me some resources and best practices to do such a thing.

  • I see your edit. I happened to have pointed you to the right part of the documentation file. A "Primary Domain Controller" is a central instance that stores login information for Windows computers (IMHO). – Eike Aug 24 '10 at 20:57

For serving files to Windows machines you need Samba.

Samba can also handle user identities, but I think that Samba's passwords and access rights are entirely separate from those of regular Linux users. This piece of documentation makes me think so, go to "Samba as a Primary Domain Controller".

Disclaimer: I have really no knowledge on the subject. I have neither installed nor administrated any Samba server.


This seems to be Sambas's main documentation: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/index.html

Samba has a PAM module for providing login information for Linux. http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/pam.html

  • + 1 For the link. Thanks, I will try and return with my feedback. – Keyne Viana Aug 25 '10 at 12:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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