+ Post New Thread
Results 1 to 8 of 8
*nix Thread, Guide to joining a Windows Domain in Technical; Hi all, Right, I can use Likewise to join a domain no problem, but I'd like to use Samba so ...
  1. #1
    Tyiell's Avatar
    Join Date
    Apr 2009
    Location
    Like everyone in IT - I'm omnipresent...
    Posts
    373
    Thank Post
    147
    Thanked 67 Times in 44 Posts
    Rep Power
    25

    Guide to joining a Windows Domain

    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
    Last edited by Tyiell; 17th November 2010 at 10:09 AM.

  2. #2
    Tyiell's Avatar
    Join Date
    Apr 2009
    Location
    Like everyone in IT - I'm omnipresent...
    Posts
    373
    Thank Post
    147
    Thanked 67 Times in 44 Posts
    Rep Power
    25
    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!

  3. #3

    NikChillin's Avatar
    Join Date
    Nov 2007
    Location
    on the sofa
    Posts
    1,007
    Thank Post
    78
    Thanked 137 Times in 100 Posts
    Rep Power
    127
    Quote Originally Posted by Tyiell View Post
    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.

  4. #4
    danbuntu's Avatar
    Join Date
    Dec 2009
    Location
    Maidstone, Kent
    Posts
    307
    Thank Post
    0
    Thanked 56 Times in 53 Posts
    Rep Power
    20

  5. Thanks to danbuntu from:

    Tyiell (18th November 2010)

  6. #5

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    351
    Quote Originally Posted by danbuntu View Post
    Thats the one i have used in the past to help me when i forget which files to edit!

  7. #6
    Tyiell's Avatar
    Join Date
    Apr 2009
    Location
    Like everyone in IT - I'm omnipresent...
    Posts
    373
    Thank Post
    147
    Thanked 67 Times in 44 Posts
    Rep Power
    25
    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!!

  8. #7

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    351
    have you added something like this

    Code:
    admin:x:117:olduser,ActiveDirectoryUser
    to the etc/group file?

    where ActiveDirectoryUser is the username of the person you want to have access?

    Toby

  9. Thanks to glennda from:

    Tyiell (18th November 2010)

  10. #8
    Tyiell's Avatar
    Join Date
    Apr 2009
    Location
    Like everyone in IT - I'm omnipresent...
    Posts
    373
    Thank Post
    147
    Thanked 67 Times in 44 Posts
    Rep Power
    25
    Quote Originally Posted by glennda View Post
    have you added something like this

    Code:
    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!!



SHARE:
+ Post New Thread

Similar Threads

  1. Windows 7 client joining to domain problems
    By ranj in forum O/S Deployment
    Replies: 9
    Last Post: 13th September 2011, 10:50 AM
  2. Guide to setup windows server 2008 domain
    By tri_94 in forum Windows Server 2008
    Replies: 1
    Last Post: 8th November 2010, 12:19 PM
  3. Joining MAC's to a Windows 2008 Domain
    By speckytecky in forum Mac
    Replies: 10
    Last Post: 8th January 2010, 11:58 AM
  4. Replies: 1
    Last Post: 30th November 2009, 07:32 PM
  5. Replies: 12
    Last Post: 16th November 2009, 04:30 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •