WinBind authentication with VMware host

6925 pts.
Tags:
Active Directory
Authentication
Microsoft Windows Server 2003
Samba
Ubuntu Linux
VMware
I need to allow Active Directory users to authenticate to our VMware host running on Ubuntu. Would someone using Samba/WinBind share an example vmware-authd file or point me in the right direction? Thanks much. Moderator Note: This is a submitted question

Answer Wiki

Thanks. We'll let you know when a new response is added.

This is a great howto http://www.howtoforge.com/samba_setup_ubuntu_5.10

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • mshen
    Purchasing the vCenter Server license, and installing it on a Windows VM or physical machine will allow you to use Active Directory accounts to connect to the vCenter Server to manage your virtual infrastructure.
    27,385 pointsBadges:
    report
  • AdamJB
    We've been using VMware on Linux Hosts and using AD Authentication for the past couple of years, with great success on both VMware Server 1 & 2. If you already have your Winbind/Samba configuration working and all you need is a working vmware-authd pam file, here is what we use: auth sufficient pam_unix.so shadow nullok auth sufficient pam_winbind.so use_first_pass cached_login account sufficient pam_unix.so account sufficient pam_winbind.so cached_login The 'cached_login' parameter allows Winbind to use cached account info, which allows a domain account that has previously logged in to log in when no domain controllers are available. We found during testing that if Domain Controllers are unavailable, Winbind would not switch to offline mode reliably on it's own. So, we created a simple script to check LDAP connectivity to Domain Controllers, and set Winbind to online or offline mode depending on whether or not the DCs are available. The script is scheduled to run once per minute via cron: DC1=`nmap -sS -p 389 10.2.1.21|grep open|wc -l` DC2=`nmap -sS -p 389 172.21.2.2|grep open|wc -l` WINBINDONLINE=`smbcontrol winbindd onlinestatus|grep 'AINET:Online'|wc -l` if [ "$DC1" -eq "1" -o "$DC2" -eq "1" ]; then if [ "$WINBINDONLINE" -eq "0" ]; then smbcontrol winbindd online echo `date` - Switching winbindd to online mode >> /var/log/samba/smbcontrol fi else if [ "$WINBINDONLINE" -eq "1" ]; then smbcontrol winbindd offline echo `date` - Switching winbindd to offline mode >> /var/log/samba/ smbcontrol fi fi
    20 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following