Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-10-2004, 01:00 PM
|
#1
|
|
Member
Registered: Sep 2003
Distribution: FC11
Posts: 128
Rep:
|
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
|
|
|
|
02-10-2004, 04:09 PM
|
#2
|
|
Member
Registered: Sep 2003
Distribution: FC11
Posts: 128
Original Poster
Rep:
|
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
|
|
|
|
02-10-2004, 05:14 PM
|
#3
|
|
Member
Registered: Sep 2003
Distribution: FC11
Posts: 128
Original Poster
Rep:
|
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.
|
|
|
|
02-11-2004, 12:22 PM
|
#4
|
|
Member
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106
Rep:
|
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.
|
|
|
|
02-11-2004, 01:28 PM
|
#5
|
|
Member
Registered: Sep 2003
Distribution: FC11
Posts: 128
Original Poster
Rep:
|
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.
|
|
|
|
02-16-2004, 03:39 PM
|
#6
|
|
Member
Registered: Sep 2003
Distribution: FC11
Posts: 128
Original Poster
Rep:
|
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!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:14 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|