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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba Installed now what ???

Status
Not open for further replies.

afgs

Technical User
Apr 19, 2002
28
GB
I am running Sco Openserver 5.0.5. I have installed Samba 2.2.2 frome the Caldera site.

What to do now ?

I have tried /etc/init.d/samba start

...nothing

I have no documentation or anything to tell me how to start or configure anything

Please help.

P.S. Is this going to be exactly like VisionFS ?
 
no not exactly like visionfs....samba works.....sorry.


first: check out doc's at
1. go and edit /usr/local/samba/lib/smb.conf or configure with swat
2. then /etc/init.d/samba enable
3. /etc/init.d/samba start
4. check with: ps -ef | grep smb
you should see the smbd and nmbd daemons
 
Hi afgs,

have you checked your start/stop script whether the path for the smbd and the smb.conf file is set correctly?

Usually the start part looks like this:

'start')

BASE=/opt/samba # the dir of your samba installation
$BASE/bin/smbd -D -s$BASE/lib/smb.conf
$BASE/bin/nmbd -D -s$BASE/lib/smb.conf
;;

nmbd is a server that understands and can reply to NetBIOS over IP name service requests.
smbd is the server daemon that provides filesharing and printing services to Windows clients.

The configuration file for the samba service is the file smb.conf.

An example for an entry in that file for a samba share looks like this:

[sharehome]
comment = XYZ User's Samba Share
path = /home/XYZ
valid users = XYZ
public = no
writable = yes
printable = no
follow symlinks = yes
create mask = 0644
force directory mode = 0755
guest ok = no
browsable = yes

Very important for the share are the following entries in smb.conf:

security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd

With the command "smbpasswd" (in the bin dir of your samba installation) the user XYZ who should access a share has to set his SMB password (which then is put into /etc/smbpasswd).

From his Windows workstation the user XYZ then can connect to \\<IP address of the server>\sharehome using his SMB password.

I hope these first explanations will help you.

mrjazz [pc2]
 
cheers lads, will check it out, might take me some time to work it out, I still can't get swat to work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top