LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SAMBA PDC & XP can't join (https://www.linuxquestions.org/questions/linux-networking-3/samba-pdc-and-xp-cant-join-144496/)

calabash 02-10-2004 01:00 PM

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

calabash 02-10-2004 04:09 PM

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

calabash 02-10-2004 05:14 PM

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.

jjohnston62 02-11-2004 12:22 PM

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.

calabash 02-11-2004 01:28 PM

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.

calabash 02-16-2004 03:39 PM

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!


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