LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-14-2011, 09:48 AM   #1
sirtcp
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Rep: Reputation: Disabled
Samba issue with active directory


Dear all,
i am using Debian lenny. actually i am using samba for file sharing and trying to join samba with Active directory it is successful though
via command "net ads join -U administrator"

however the problem is my hostname is "cat-raid" but the computer name which is created in "Activedirecotry user and compouters" is something other.
i double check the /etc/hostname file it showed cat-raid but i can not see Cat-rat instead in Active directory.

Why?

Thank you,
 
Old 12-15-2011, 03:06 AM   #2
manyrootsofallevil
Member
 
Registered: Dec 2010
Distribution: Red Hat, Kubuntu
Posts: 130

Rep: Reputation: 14
Quote:
Originally Posted by sirtcp View Post
Dear all,
i am using Debian lenny. actually i am using samba for file sharing and trying to join samba with Active directory it is successful though
via command "net ads join -U administrator"

however the problem is my hostname is "cat-raid" but the computer name which is created in "Activedirecotry user and compouters" is something other.
i double check the /etc/hostname file it showed cat-raid but i can not see Cat-rat instead in Active directory.

Why?

Thank you,
IF you can't see it in AD, it would seem that the linux box has not successfully joined the AD domain.

What have you done so far? have you followed any guides?

In my experience, simply typing
Code:
net ads join -U adminstrator
will not work, but then again I use RHEL so it might be different in Debian.
 
Old 12-15-2011, 06:26 AM   #3
sirtcp
LQ Newbie
 
Registered: Nov 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thank you for the response. actually i have made necessary changes in krb5-user and krb-config. PAM common-auth and common-accounts. however this was my first time and i was not sure the hostname and netbios name in samba have different functions. i thought that hostname would be registered in again net ads blah blah command but now after doing some research and hit and trial i reviled that the netbios name in samba is the one which register against this command.
so i just change netbios name = @name of my choice and it worked.

Thank you,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Samba Server or Active Directory Central Login via LAM/LDAP/SAMBA metallica1973 Linux - Server 5 06-09-2010 11:27 AM
samba using active directory for authentication- samba caching details wato83 Linux - Server 5 10-06-2009 05:37 PM
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 12:40 PM
Samba and Active Directory Yig Linux - Networking 2 12-11-2006 11:01 AM
Samba in Active Directory bentman78 Linux - General 2 05-06-2003 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration