LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba issue with active directory (https://www.linuxquestions.org/questions/linux-server-73/samba-issue-with-active-directory-918702/)

sirtcp 12-14-2011 09:48 AM

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,

manyrootsofallevil 12-15-2011 03:06 AM

Quote:

Originally Posted by sirtcp (Post 4549755)
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.

sirtcp 12-15-2011 06:26 AM

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,


All times are GMT -5. The time now is 08:27 PM.