Tyiell Posted November 17, 2010 Posted November 17, 2010 (edited) Hi all, Right, I can use Likewise to join a domain no problem, but I'd like to use Samba so I can mount windows server shares - so for example my N: drive, on windows I'd just map \\server\myDir and the jobs done. So if it's samba, I figure Winbind is the answer. I have a few guides for doing this and indeed have done it in the past with no problems, but it all seems geared to servers with static ips. This is a client on dhcp - I need is as part of a proof that a *nix distro such as Ubuntu could be a viable alternative to the inaffordable (at least with our budget!) Windows 7. It's early days so if no-one has a guide or some notes I can pinch, I'll just keep tinkering and maybe post my problems! Thanks in advance Edited November 17, 2010 by Tyiell
Tyiell Posted November 17, 2010 Author Posted November 17, 2010 Ok, I have followed a guide and joined a domain with Smaba and Winbind - all worked perfectly (anyone whos interested let me know if you want a copy of the guide I followed). Now my troubles continue... When I have joined a windows domain with likewise, I have immediately been able to log in as a domain user i.e: DOMAIN\Tyiell. Wierdly though, this time with Samba and Winbind I cannot. I get all the correct responses from the wbinfo -t/-u/-g commands, nad the machine has appeared in AD no problem, but when I try to log in with a domain account, I'm given "Autentication Failure". I can't su to my domain account in terminal either. Anyone know what this might be? Many thanks!
NikChillin Posted November 17, 2010 Posted November 17, 2010 Ok, I have followed a guide and joined a domain with Smaba and Winbind - all worked perfectly (anyone whos interested let me know if you want a copy of the guide I followed). I'd be interested in that if poss.
danbuntu Posted November 17, 2010 Posted November 17, 2010 have you seen this: https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto 1
glennda Posted November 17, 2010 Posted November 17, 2010 have you seen this: https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto Thats the one i have used in the past to help me when i forget which files to edit!
Tyiell Posted November 18, 2010 Author Posted November 18, 2010 I used a similar one on HowToForge.com. Doesn't seem to be much different, I can't work out whether I've screwed something up so that it does get wbinfo but can't log in with a domain account, or whether there's another step that everyone forgets to mention!!
glennda Posted November 18, 2010 Posted November 18, 2010 have you added something like this admin:x:117:olduser,ActiveDirectoryUser to the etc/group file? where ActiveDirectoryUser is the username of the person you want to have access? Toby 1
Tyiell Posted November 18, 2010 Author Posted November 18, 2010 have you added something like this admin:x:117:olduser,ActiveDirectoryUser to the etc/group file? where ActiveDirectoryUser is the username of the person you want to have access? Toby I hadn't, but I had added the Domain Admins OU to the sudeors file - as I see it that should do the same thing. I'll try it anyway though, I'm running out of ideas!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now