LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-19-2012, 11:46 PM   #1
salsadoom
LQ Newbie
 
Registered: Aug 2012
Distribution: Arch Linux, Scientific Linux
Posts: 2

Rep: Reputation: Disabled
Samba (3.5) PDC, cannot join domain: " The user name could not be found."


Hi guys.

This is all happening on Scientific Linux 6.3, with Samba 3.5.10 (release 125.el6).

Been trying to solve this problem for a number of hours now with no luck. I've read pretty much everything google had on the topic with no luck.

I've made sure root exists in samba.. I check with smbclient.. "pdbedit -Lv root" shows

Unix username: root
NT username:
Account Flags: [U ]
User SID: S-1-5-21-2055525333-3690378097-2155395743-1000
Primary Group SID: S-1-5-21-2055525333-3690378097-2155395743-513
Full Name: root
Home Directory: \\xxxx\root
HomeDir Drive: P:
Logon Script:
Profile Path: \\xxxx\profile\root
Domain: TECDOMAIN
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: never
Kickoff time: never
Password last set: Sun, 19 Aug 2012 22:28:17 CST
Password can change: Sun, 19 Aug 2012 22:28:17 CST
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

Which seems fine to me anyway. root = admin administrator is set in /etc/samba/smbusers if it matters anyway. Oddly, I can browse to a share by entering root and its password and it seems to work fine. So its just dealing with the domain that's the problem as far as I can tell.

Here is my smb.conf -- all the directories and files exist and I believe their permissions to be correct.

[global]
domain logons = yes
domain master = Yes
logon drive = P:
logon home = \\%L\%U
logon path = \\%L\profile\%U
netbios name = xxxx
os level = 255
preferred master = yes
security = user
wins support = yes
workgroup = xxxxdomain
admin users = root
local master = yes
passdb backend = smbpasswd

[profile]
path = /srv/profile
read only = no
profile acls = yes
create mode = 0600
directory mode = 0700
browseable = no

[homes]
valid users = %S
read only = no
browseable = no
create mode = 0600
directory mode = 0700

[public]
guest ok = yes
guest only = yes
path = /srv/pub
read only = no
 
Old 08-20-2012, 01:03 AM   #2
salsadoom
LQ Newbie
 
Registered: Aug 2012
Distribution: Arch Linux, Scientific Linux
Posts: 2

Original Poster
Rep: Reputation: Disabled
Seems I just had to throw myself at the wall a little longer.

I had been changing the machines name at the same time as joining the domain. When I set the machines name first (and thus rebooted), and then attempted to join the domain it joined just fine.

It has another error waiting for me (of course, that is just the nature of Samba I've learned) but I'll see if I can sort that out myself.

Cheers
 
  


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
Samba PDC Domain Join Error - "The Specified computer account could not be found..." scruggsdl Linux - Software 6 09-02-2010 08:53 AM
"Root" Domain Administrator Account Creation on a Samba PDC passedpawn1986 Linux - Server 2 09-23-2009 06:29 PM
SAMBA PDC > "Username could not be found" when attempting to add WinXP client to dom RossR Linux - Server 0 08-21-2009 02:56 PM
Samba 3.0.0 installed on RH WS3, but "net join" command not found chloevu Linux - Networking 0 07-13-2004 03:20 PM
"net ads join" command not found with samba 3.0.2a tisource Linux - Networking 2 04-15-2004 03:38 PM

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

All times are GMT -5. The time now is 01:59 PM.

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