LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-17-2001, 03:53 PM   #16
Danobri
LQ Newbie
 
Registered: Jun 2001
Location: Madison, WI
Distribution: Red Hat 7.1
Posts: 19

Original Poster
Rep: Reputation: 0

Kevin,

Thanks-- I got my Win 98 box set to enable plain text passwords by following the instructions in the file you told me to reference.

As for my smb.conf file, all I have edited is the workgroup name and the server string in the [global] section. The [homes] section reads:

comment: Home Directories
browsable = yes
writable = yes

The [printers] section is also uncommented, and set to the default settings.

What else do I need to do to start sharing files? Right now, I am still getting the same error message (//localhost is not accessible etc.) when I try to access the linux box from Network Neighborhood.

I also have installed LinNeighborhood, and am able to view all computers from LinNeighborhood, but unable to successfully mount any drives. I get the following error message:

<smbmnt must be installed suid root for direct user mounts>

when trying to mount as an SMB user, and I get the following error when I try to mount as root:

<standard in must be a tty>

Any ideas?
 
Old 07-18-2001, 06:58 PM   #17
hazza96
Member
 
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146

Rep: Reputation: 15
Change it back!!! Don't use plaintext passwords!!! Samba can use encrypted passwords, then again it's up to you to compromise your security or not.

The easiest way of setting up and maintaining samba users is to use webmin. It will convert your unix users to samba users and if you use webmin to do maintenance on your users it will create them in samba and reset their samba passwords as well.

Here is my smb.conf file. I use this and set the Windows boxes to login to the domain. The italic sections you should change for your settings.

[global]
workgroup = mydomain
server string = Samba Server
interfaces = 192.168.1.1/255.255.255.0
encrypt passwords = Yes
passwd program =
debug level = 0
name resolve order = lmhosts, host, wins, bcast
keepalive = 30
logon script = logon.bat
logon path = \\hostname\%U\profiles
logon drive = h:
logon home =
domain logons = Yes
os level = 2
preferred master = Yes
domain master = Yes
wins support = Yes

[netlogon]
comment = Logon script
path = /home/system/samba/netlogon
locking = No

[homes]
comment = Home directories
writeable = Yes
create mask = 0750

[cdrom]
comment = Linux CD-ROM
path = /mnt/cdrom
locking = No

[shared]
comment = Shared access to everyone
path = /home/shared
writeable = Yes
browseable = No
locking = No

[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes


Here is my logon.bat that runs when the windows client's login.

@echo off
rem Sync time workstation with Samba server
echo.
echo Syncing time
net time \\hostname /SET /YES

rem Map home dir to drive H
echo.
echo Home drive (H)
net use h: \\hostname\homes

rem Map the CD-ROM drive to O
echo.
echo CD-ROM (O)
net use o: \\hostname\cdrom

rem Map a shared drive to S
echo.
echo Shared drive (S)
net use s: \\hostname\shared
 
Old 07-19-2001, 01:58 AM   #18
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Exactly as Hazz said it. Use encrypted passwords.

Please.

Hazz: I use this as my home dir setup in the netlogon.bat
Code:
net use h: /HOME
...using the home directive in smb.conf.
 
Old 07-20-2001, 04:38 PM   #19
Andre DC
LQ Newbie
 
Registered: Jul 2001
Location: Sint Truiden , Belgium
Distribution: rh7.0
Posts: 3

Rep: Reputation: 0
Hi DanO ,

I'm trying pretty much the same as you , on my w98 box i can see the Linux system , but i also have no access .

i would like to know where i can get LinNeighborhood ?

I'm using RH7.0 .

-------
rgds,
andre
 
Old 07-21-2001, 01:16 AM   #20
Danobri
LQ Newbie
 
Registered: Jun 2001
Location: Madison, WI
Distribution: Red Hat 7.1
Posts: 19

Original Poster
Rep: Reputation: 0
hazza96--

Thanks for the help. I haven't been able to work on this problem in the last several days as I have been very busy with non-linux related stuff, but I imagine I will probably have more questions in the next couple days....

Andre DC--

You can find the link to LinNeighborhood in an earlier part of this thread, in a message written by KevinJ. It's:

www.bnro.de/~schmidjo

Take care all.
 
Old 07-21-2001, 10:43 AM   #21
qsilver
LQ Newbie
 
Registered: Jun 2001
Location: Antartica
Distribution: Windows XP
Posts: 11

Rep: Reputation: 0
Question Encyrpted Passwords

How do I enable encyrpted passwords. It said in the documentation that the whole Samba package must be recompiled, and compiling it took a very long time. Isn't there an easier way to do it.

Please Help
 
Old 07-22-2001, 07:17 AM   #22
hazza96
Member
 
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146

Rep: Reputation: 15
Which distro are you using? What documentation are you looking at?

I run Mandrake 7.2 and 8.0, both of these just require the encrypt passwords = Yes line in the smb.conf to run encrypted passwords.

Go to Phonax, he has a buch of stuff there including a sample smb.conf file that you can download.

That's what I used to get started. It worked but not exactly the way I wanted. I played with the settings and tested what had changed, I learnt alot more and faster that way than trying to decypher the documentation.
 
Old 07-22-2001, 01:07 PM   #23
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Check www.tucows.com

there is a program for network neighborhood I think it's called Lin Neighborhood or something like that
 
  


Reply



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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:37 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
Open Source Consulting | Domain Registration