Click to See Complete Forum and Search --> : samba


Spazegun2213
01-06-2003, 09:36 PM
alright, i got swat working, and now.. nothing really happens... i can connect to my linux box at all, all the windows says is that the path was not found (even if i give it the IP) I'm on a large school network, so the ip sddress should work.

-thanks


.conf file
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/01/06 20:27:12

# Global parameters
[global]
netbios name = MILLERRO-3
server string = Samba Server
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[collin]
path = /home/collin
username = collin
guest account = ftp
read only = No
guest ok = Yes
hosts allow = kreppscl.student.rose-hulman.edu
max connections = 2

rival51
01-07-2003, 02:10 PM
1) Can you ping the Linux box?
2) have you started smb & nmb?
3) I don't see a workgroup = <WhateverThe WorkGroupIs> line in your [global] section.
4) What documentation do you have on Samba? See www.samba.org.
5) What response to you recieve from smbclient -L <Your HostName>?

Spazegun2213
01-08-2003, 06:07 PM
1. yes, i can ping it
2. Yes both nmb and smb are started
3. i tryed one, just WORKGROUP (like the default for windows)
4. looking... cant find needed info the setup i have "should" work
5. XP pro has no smb client... hmm?? do i need one?

thanks

rival51
01-08-2003, 06:41 PM
Work group should be the name of your windows work group. It looks like you log into a domain (rose-hulman). that may be what you need. We may need someone else to jump in here Looking at the Samba Project Documentation (2.5.1) you may need
security = server
passwork server = "NetBIOS_name_of_PDC"

This is beyond what I currently work with.

smbclient is on your linux box. You can run it to check for many things.

Spazegun2213
01-08-2003, 07:11 PM
This is my first time doing this stuff, so i really have no idea what I'm doing, thanks for the help.

one thing, how do i connect to the linux box (looking for samba stuff) in windows?

thanks

rival51
01-08-2003, 10:32 PM
Well, I'm real new at this too. I have managed to get this working on a two machine network at home. When it is set up it seems to just work. I received some help here & found some documents on the web. I have also seem some stuff about a thing called LinNeighborhood which sounded possibly easier to set up. I haven't tried it though. You might try searching here or on google.

You have kind of a chicken & egg thing trying to get to the Linux box from a Windows box to look up docs. You need to get samba working first. If you can get to the net rom a windows box google for samba. Also http://www.samba.org/ and
http://hr.uoregon.edu/davidrl/samba.html

fretbrner
01-08-2003, 11:17 PM
If you download the newest samba rpm, there is a copy of the samba book from o'reilly, in HTML format bundled in that. You might want to start there.