November 2, 2008 · Server · Email This Post  Sponsored Link We
have already dicussed how to add ubuntu machine in to windows
Active Directory.In this tutorial we will see how Integrate
windows Active Directory and Samba in Ubuntu.If you want to
access samba shares from windows Active Directory.   Install
samba and kerberos in Ubuntu  sudo aptitude install krb5-user
sudo aptitude install samba smbfs smbclient winbind  Configure
samba  Now likewise-open and samba packages use separate
secrets.tdb (samba password file) files,We need to create a
symlink to be  /var/lib/samba  Take a backupof existing file
Create a link to /var/lib/samba   Configuring samba and kerberos
Edit /etc/samba/smb.conf file  sudo vi /etc/samba/smb.conf
Note:- replace ug01 netbios name with your own  Change the
following parameters  security = ads netbios name = ug01
password server = domainserver.domain.internal workgroup =
DOMAIN idmap uid = 500-10000000 idmap gid = 500-10000000 winbind
separator = + winbind enum users = no winbind