Samba, Windows .. Domain ??? Problems!!!

smp

Diamond Member
Dec 6, 2000
5,215
0
76
Um.. I just reinstalled windows 2000 on my machine and now I can't browse the network from any computer (I have 2 other windas boxen). When I go into network neighbourhood it says "workgroup is not accessable, the remote computer is not available"

I have a debian gateway running SMB and I used to be able to browse my share on that just fine. I haven't changed anything on the SMB machine either.
When I set up 2000 on this machine, I went into advanced network settings during install to set up my network, I put in my IP and stuff and I said, no this computer is not par tof a domain or will join a domain later (that option, not sure the exact text now).. I'm thinking that maybe this machine (my win2k machine) used to be a domain controller or something? is this possible? I dont' even know what a domain controller is, or if that exists.. but you might know what I'm getting at?
Is there anything I can do or try to get this to work?
Much appreciated, thank you.
 

smp

Diamond Member
Dec 6, 2000
5,215
0
76
I really don't think that it is my Debian machine that is messed up, because my SMB share was working just fine until I reinstalled windows on this box. I messed up the domain part of the network installation....
how do I set up a domain with win2k? I'm gonna try that.. I haven't changed anything on my debian machine.
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
dont do the domain thing unless you have to.

1) can the machines ping each other?
2) just make the workgroup the same as the others on the new machine, same ip address subnet, put the ipaddress of the debian box for the wins server. (if you have that turned on in samba)
 

smp

Diamond Member
Dec 6, 2000
5,215
0
76
1) can the machines ping each other?

yeah.. oh yeah, the Debian box is my gateway and all the machines have internet access.

2) just make the workgroup the same as the others on the new machine, same ip address subnet, put the ipaddress of the debian box for the wins server. (if you have that turned on in samba)

I'm not sure if I do have that turned on in Samba... I'll check it out. All machines are 192.168.0.x and subnet is 255.255.255.0 for all .. this same config was working for a long long time already..
The only thing that I did different on this install is when win2k install asks you if you want to be part of a domain .. I said no .. duh .. when I think I used to always put it in workgropu.. but I don't understand why now the other machines can't see anything.
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
seriously try taking the debian box off the network, then see if the windows boxes can see eachother. it that works then you know it's a samba problem, if not then it's a windows problem most likely.

can you post your smb.conf?
 

smp

Diamond Member
Dec 6, 2000
5,215
0
76
Whoa! Sorry to have doubted you, I really didn't think it would be Samba because I changed nothing .. oh well, looks like you were right, it is something about my Samba config that is doing this...

Here it is for your critiqing pleasure :)
Thanks.
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
have tried restarting the nmbd and smbd processes?
I do find it weird that you haven't changed samba. all you did was add a new windows box correct?

does testparm give any errors?

you have this for wins server in you smb.conf file

wins server = 24.157.92.12 is that your external address?
i'd change the line above to read "wins support = yes"
an comment out the others. Then in your network settings on the windows boxes, set the wins server to the ip address of the debian box

good luck



 

smp

Diamond Member
Dec 6, 2000
5,215
0
76
I changed it .. and I restarted smbd and nmbd like so;

cd /usr/sbin
./smbd restart
./nmbd restart

didn't work :(

edit: update!

Log file says this;

[2002/03/08 03:10:54, 1] smbd/reply.c:reply_sesssetup_and_X(927)
Rejecting user 'administrator': authentication failed
[2002/03/08 03:10:54, 1] smbd/password.c:pass_check_smb(492)
Couldn't find user 'administrator' in UNIX password database.
[2002/03/08 03:10:54, 1] smbd/password.c:pass_check_smb(492)
Couldn't find user 'administrator' in UNIX password database.
[2002/03/08 03:10:54, 1] smbd/reply.c:reply_sesssetup_and_X(927)
Rejecting user 'administrator': authentication failed

It used to prompt me for a user name and password .. hmm
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
did you smbadduser for administrator?
did you add a machine accout for the new box? i know you shouldn't have to but....

BTW which version of samba are you running



good link
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
cd /usr/sbin
./smbd restart
./nmbd restart

didn't work :(



As it shouldn't, smbd and nmbd are the daemon executables and they don't support a 'restart' command line. You need to either do '/etc/init.d/samba restart' or 'killall smbd;killall nmbd;/usr/sbin/smbd -D;/usr/sbin/nmbd -D'
 

smp

Diamond Member
Dec 6, 2000
5,215
0
76
Damn. It's too bad I'm never home or I could go and mess with this some more. Sh!t, even when I am home I'm too busy. :( Never should have gotten myself into school!!