Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need major SAMBA help connecting to W2k/NT 1

Status
Not open for further replies.

Tedson99

Technical User
Jun 6, 2001
46
CA
Hello, I was wondering if anyone can help me with setting up Linux to network with the NT/Win2k servers. I have been setting up the Linux box for the past 2 days now and I feel I got Samba installed and configured properly. I even used smbadduser to set an account. I am also hooked into the network in the office, now how come the NT/Win2k network cannot see me? Anything I miss doing? How can I make NT see my Linux box?

Also, is there some sort of Network Neibourhood thing in Linux so that I can see the entire NT/Win2k network in my office?

Thanks...I need this help bad and I am getting frustrated!!

Teddy :p
 
Are you properly networked. Before setting up SAMBA make sure you can ping and telnet to your Linux box from NT. Once you can do that and you have samba running on Linux, make sure you have proper workgroup names in NT. Then on the Linux box open a web browser and start SWAT by going to localhost:901. You can then make all SAMBA configurations from the web interface. Hope this helps. Also, you can download the Samba manual from in PDF format. d3funct
vanya43@yahoo.com
The software required `Windows 95 or better', so I installed Linux.
 
It's been a while since I did this, but I remember there being very specific instructions to follow in the Samba docs for joining an NT domain. Look through /usr/share/doc/samba. I've never used SWAT, so I don't know if that will do it all for you -- it might not. Gook luck.

Charles Nardino
cnardino@bellatlantic.net

 
One of the issues on the samba list, I don't know how relevent this is to your case, is the encription of passwords. You might want to do a web search on the samba and encription.

Bo
 
Bosah is right,

On NT4 there is a registry hack needed to "EnablePlainTextPassword" in order to connect to a SAMBA server (or there was in previous versions anyway). It needs to be done on every PC wanting to access the SAMBA server.
On 2000 they are sure to have made it even more dificult, but I don't know about that.

SWAT will do pretty much everything you need it to apart from this registry hack. Ian

"IF" is not a word it's a way of life
 
If you're having trouble even seeing the linux box in "Network Neighborhood", then your problem may lie with 'nmbd'. 'nmbd' is the NetBIOS name server for linux.

Make sure 'nmbd' is running and that the computer and workgroup names are properly configured (as d3funct pointed out). You may need to set the linux box as the browse master and WINS server, as well.
 
THANK YOU ALL for your generousity and kindness. Your info really helped AND if there is anything more you can add to the info (any at all), I will be so blessed to be hearing from you all. Thanks again!!

I still have problems with Win98 and NT sharing my resources. Windows 2000 seemed to be ok sharing printers but still not quite able to share folders it sees. It requires me to type in a password. Any suggestions there to solve this at least for Win2000? Thanks!!

Tedson99 :p
 
I Just went through this and got it configured to where I can see my Linux box from 2000. You do not want to use plain text p/w's for obvious security reasons. NT should encrypt by default, just make sure your samba.config has encryption set to yes/true. Win98 was what needed a patch to use encryption, as by default it used plain text p/w's.

Make sure to check the permissions of the shares, and what shares you are allowing win NT to access. Hence, are your home dir's browsable, writable, etc. NT won't be able to see anything that is not browsable unless you are logged onto NT with a user login:/p/w that matches what you added per the smbpasswd -a command.

Did you run testparm when you were done? Did you run clientsmb -L ?(<--Think that's right) I believe that command will verify if the server is actually running and listening on the required ports.

The other thing that I didn't mess with myself is if your NT network is setup as a domain master. I understand there could be some tricks to that configuration. Also if NT is setup as a password server. I needed neither, but maybe your problem lies there.

I hope that may give you some ideas, If you could give some more detail, I will try and help anyway I can.

GL,
Eidolen
 
Hi,
This is a smb.conf file that creates home directories and a public share. W2K client have no problems seeing this.



[global]
workgroup = workgroup_name
netbios name = I_use_same_as_hostname
encrypt passwords = Yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
admin users = admin_login_name
hosts allow = 192.168.0. 127.0.0.1
[homes]
read only = No
browseable = No

[test]
comment = For testing only, please
path = /home/samba/test
guest ok = Yes

Hope it helps. Samba is not that hard to setup.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top