Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to have a Samba server that appears as a Primary Domain Controller (PDC) to a bunch of windows lab computers. But instead of having the users have accounts with passwords stored on this Samba PDC, I'd like to have all the account information stored on our functioning LDAP server.

So, when a user logs into a Windows lab machine, they can do so with their LDAP username and password. If I have to change their password, I just have to do it in the LDAP server. The next time they log into this "proxy PDC," they'll be able to use their new LDAP password.

I have a functioning LDAP server and a server that I can use to create the Samba PDC. I've played around with Samba before, but I've always had to have a local Linux account for each user that I wanted to access samba and I had to create a corresponding Samba account for each of those users. Those are the steps that I'd like to avoid if possible.

share|improve this question
2  
I am not sure about this one. There are guides like ubuntuforums.org/showthread.php?t=640760 which look at this issue thoroughly. I find this quite difficult to answer, given all the variables. –  Marcelo Morales Aug 4 '10 at 14:31
    
I think that's an answer right there. I wasn't aware of that guide. So, if you wouldn't mind putting that in an answer, I'd happily accept it. Having multiple links to these types of answers and guides around the web can only make them easier to find in search results. Thanks. –  Jim Aug 4 '10 at 20:36
    
fair enough... copying –  Marcelo Morales Aug 5 '10 at 12:02
add comment

3 Answers

up vote 1 down vote accepted

There are guides like this one which look at this issue thoroughly.

I find this quite difficult to answer, given all the variables. Since samba and openldap need some extra configuration, an answer here might not be complete.

share|improve this answer
add comment

I found a pretty easy howto here and although it was written for Ubuntu 7.10 it still works i just tested it.. Even though i didn't install webmin, i better like editing the DNS (bind9) config files by hand.

share|improve this answer
1  
voted up, but can you state what version it "still works" on? –  SpamapS Aug 9 '10 at 4:51
add comment

Have a look at the Ubuntu Server Guide. It explains the integration of Samba and LDAP and many other topics. It's updated for every Ubuntu Version.

share|improve this answer
add comment

Your Answer

 
discard

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.