Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I already Setup Samba Domain Controller with LDAP Backend in Ubuntu 12.04 / 13:04
See more at:

In that tutorial shows how to join a windows client to samba domain and it works but how we can join the ubuntu client to samba domain like windows did?

From login system using the user accounts that created from the domain server?

share|improve this question
Take a look at Join an Ubuntu desktop client to samba domain, and login. – Mitch Jul 31 '13 at 6:54
Thanks Mitch I will try that one. I will post an answer if it is work. – ckknight Jul 31 '13 at 9:34
Hello @Mitch it does not work. – ckknight Aug 5 '13 at 9:22
It works it with LDAP-PAM. :) – ckknight Aug 17 '13 at 4:02

1 Answer 1

up vote 1 down vote accepted

Click the link below for the solution:
How to configure Ubuntu as an LDAP client?

Addtional - To make ldap user a sudoer:

I got it from Ubuntu LDAP Admins and GUI Root Passwords.

In file:


Here's what the file looks like:


Simply add in your network group, separated by a semicolon:

AdminIdentities=unix-group:admin;unix-group:Domain Admins
share|improve this answer

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.