LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-10-2004, 02:00 PM   #1
calabash
Member
 
Registered: Oct 2003
Distribution: FC11
Posts: 128

Rep: Reputation: 15
Unhappy SAMBA PDC & XP can't join


Setup: RH9 / SAMBA 2.2.8 PDC / XP boxes
Problem: Had once joined the PDC w/XP then left. Now cannot join again! I also have new XP boxes and they cannot join. Win98 boxes are working fine.

I have altered the reg for the two dword changes.

I have manually created a machines group and added the machine name to the Linux db, Linux passwd db (no password), SAMBA passwd db (as -m no $).

I have root entered into the smbpasswd db.

The error I am getting now is that the network password is wrong. BUT IT IS NOT!!

I do notice that when I change a password for smbpasswd that it lists that the password has changed twice. I did not think it used to do that.

What the heck happened!? T.I.A.
SMB.CONF file

# Global parameters
[global]
workgroup = ACORN
netbios name = CAP
encrypt passwords = Yes
log level = 2
log file = /etc/samba/smblog-%m.txt
logon path = \\%L\profiles\%u\%m
logon script = logon.bat
logon home = \\%L\%u\.win_profile\%m
time server = Yes
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
preferred master = Yes
preferred master = Yes
domain master = Yes
local master = Yes
preferred master = Yes
os level = 65
security = user
domain logons = yes
domain admin group = root
wins support = Yes
guest account = what
invalid users = nobody root bin daemon adm sync shutdown
oplocks = No
level2 oplocks = No

[netlogon]
path = /usr/local/samba/lib/netlogon
create mask = 0600
directory mask = 0700
browseable = No

[profiles]
path = /ovs/home/samba-ntprof
browsable = no
writable = yes
create mask = 0600
directory mask = 0700

[homes]
read only = No
browseable = No
 
Old 02-10-2004, 05:09 PM   #2
calabash
Member
 
Registered: Oct 2003
Distribution: FC11
Posts: 128

Original Poster
Rep: Reputation: 15
logfile output --

Some more info:

[2004/02/10 10:39:23, 0] smbd/password.c:authorise_login(857)
authorise_login: Invalid guest account what??
[2004/02/10 10:39:23, 2] smbd/service.c:make_connection(331)
Invalid username/password for ipc$ [root]
[2004/02/10 10:39:23, 2] smbd/server.c:exit_server(511)
Closing connections
 
Old 02-10-2004, 06:14 PM   #3
calabash
Member
 
Registered: Oct 2003
Distribution: FC11
Posts: 128

Original Poster
Rep: Reputation: 15
2 changes - more log info

So I changed guest account = nobody and removed nobody from my invalid users list.

Now this is the logfile output: (1 attempt to join)

[2004/02/10 15:21:52, 0] smbd/service.c:make_connection(563)
Can't become connected user!
[2004/02/10 15:21:52, 0] smbd/server.c:exit_server(511)
Closing connections
[2004/02/10 15:21:52, 0] smbd/service.c:make_connection(563)
Can't becomre conneced user!
[2004/02/10 15:21:52, 0] smbd/server.c:exit_server(511)
Closing connections

It seems I was getting further before.
 
Old 02-11-2004, 01:22 PM   #4
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Rep: Reputation: 15
A few things:

- You might check on www.samba.org for Samba 3.02, which provides much better support for the PDC environment.

- You don't mention the process by which you're joining the machine - i assume, then, you're using "root" as the name that has the authority to join?

- There is a step by step example book that will be out in March which provides a good examples for configuring Samba. it's by John Terpstra, Samba 3 - By example - keep it in mind.
 
Old 02-11-2004, 02:28 PM   #5
calabash
Member
 
Registered: Oct 2003
Distribution: FC11
Posts: 128

Original Poster
Rep: Reputation: 15
Sorry. Yes, I'm using root (with a dif password just for SAMBA) to log into the domain. It is this password that it is saying it is incorrect. But, I swear, it is not. I typed it with one finger to be sure!!

So something else is messing up. I'm working over a wireless link that drops the speed down to a pitiful "8 if your lucky" hop to the server. Today I am taking the XP box down to the Lab to eliminate lag as a potential problem.

I do want to upgrade to SAMBA 3.x, however I have no backup controller, I'm new to this, and I need to deploy these 19 boxes in 10 days. I want ACL support.

I have two Samba books and I'm pouring over them feverishly.

Thanks for your help.
 
Old 02-16-2004, 04:39 PM   #6
calabash
Member
 
Registered: Oct 2003
Distribution: FC11
Posts: 128

Original Poster
Rep: Reputation: 15
Smile Solved!

Well, there were two problems.

1) the "machines" account had been deleted

2) invalid users = had root in it. Which resulted in a "bad password" msg. Don't quite get that, but hey!, it works now.

Happy! Happy! Joy! Joy!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 11:39 AM
OpenLDAP & samba PDC paul_mat Linux - Networking 5 08-26-2005 01:01 AM
Samba as PDC- Windows Client cant join gaston7392 Linux - Networking 1 06-24-2005 09:32 AM
How to join a Linux client to a Samba PDC Niceman2005 Linux - Networking 4 11-29-2004 10:23 PM
how do I give a user access to join a samba PDC? rtg2001 Linux - Networking 1 08-04-2004 07:03 PM


All times are GMT -5. The time now is 11:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration