LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2002, 12:08 PM   #1
lee foster
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Rep: Reputation: 0
Thumbs down SAMBA Configuration


Hi guru's

I was wondering if anyone could give me a pointer on SAMBA.

I have editied the smb.conf file to show Workgroup, as below but it will not show in WIndows 0S , it has a dhcp assigned address and has name resoloution.

global]
workgroup = LINUXSER
os level = 2
time server = yes
unix extensions = yes
encrypt passwords = yes
printing = CUPS
printcap name = CUPS
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
wins support = no
character set = ISO8859-15
client code page = 850
veto files = /*.eml/*.nws/riched20.dll/*.{*}/


when i use the command LinuxSer:/etc/samba # smbclient -L localhost

I get the following but there is no server defined, or Workgroup ??

Anonymous login successful
Domain=[LINUXSER] OS=[Unix] Server=[Samba 2.2.5]

Sharename Type Comment
--------- ---- -------
shares Disk Linuxserv01 ETC
cdrom Disk Linuxserv01 CD-ROM
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 2.2.5)
ADMIN$ Disk IPC Service (Samba 2.2.5)

Server Comment
--------- -------

Workgroup Master
--------- -------

This is my first LINUX server and i really LOVE it ...

Its SuSE 8.1 Pro by the way
 
Old 10-22-2002, 10:28 PM   #2
nevets
LQ Newbie
 
Registered: Oct 2002
Location: Southern Indiana
Distribution: Suse 8
Posts: 3

Rep: Reputation: 0
Have you added the Windows username/ password to the linux machine in general, and to Samba as well.

You also don't list any shares, however I'm assuming you have them.

Does the machine show at all in Network Neighborhood?

Also, try setting encrypted passwords to no.

Two more thoughts...

Are you using SWAT to configure Samba?

Have you checked out the O'Reilly book included with Suse. (It was with 8 at least). /usr/share/doc/Samba/html (I think)... I'm ashamed to admit it, but I'm in Windows right now.
 
Old 10-23-2002, 03:08 AM   #3
lee foster
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Original Poster
Rep: Reputation: 0
hi man thanks

i addded the username as a system user in Linux, i will add the user in SAMBA, is this in the /etc/samba Directory, i guess i have to pico the user file ?

As far as listing shares, how is that done exactly, i thought i had done it with this entry

Sharename Type Comment
--------- ---- -------
shares Disk Linuxserv01 ETC
cdrom Disk Linuxserv01 CD-ROM
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 2.2.5)
ADMIN$ Disk IPC Service (Samba 2.2.5)

SWAT ? no i have just manually edited the smb.conf file , and manually started the following

cd /etc/rc.d/./smb start
cd/etc/rc.d/./nmb start

i can see the server in windows 2000 and XP but am unable to browse into the file system ?

H...E...L...P

Many Thanks

Leeroy
 
Old 10-23-2002, 09:39 AM   #4
nevets
LQ Newbie
 
Registered: Oct 2002
Location: Southern Indiana
Distribution: Suse 8
Posts: 3

Rep: Reputation: 0
To add a user to Samba, you use smbpasswd

smbpasswd -a username password

I think
 
Old 10-23-2002, 11:31 AM   #5
lee foster
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Question SWAT

Thanks again,

I Managed to get SWAT up and running, and since i started the configuration from within this app. The server is now browsable.

BUT to EVERYONE , how do i tie it down so that only " root + me " can see resources man ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Configuration BlandoCal Linux - Networking 10 10-29-2008 04:31 PM
SAMBA configuration nawin_g Linux - Networking 9 11-08-2005 04:23 PM
Samba Configuration randy1970 Linux - Newbie 5 07-24-2005 10:22 AM
Samba configuration littlegreenman Linux - Networking 14 09-10-2003 12:55 PM
Need your help on SAMBA configuration vwhk Linux - Software 4 01-14-2002 07:12 AM


All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration