Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-17-2001, 03:53 PM
|
#16
|
LQ Newbie
Registered: Jun 2001
Location: Madison, WI
Distribution: Red Hat 7.1
Posts: 19
Original Poster
Rep:
|
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?
|
|
|
07-18-2001, 06:58 PM
|
#17
|
Member
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146
Rep:
|
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
|
|
|
07-19-2001, 01:58 AM
|
#18
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
Exactly as Hazz said it. Use encrypted passwords.
Please.
Hazz: I use this as my home dir setup in the netlogon.bat ...using the home directive in smb.conf.
|
|
|
07-20-2001, 04:38 PM
|
#19
|
LQ Newbie
Registered: Jul 2001
Location: Sint Truiden , Belgium
Distribution: rh7.0
Posts: 3
Rep:
|
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
|
|
|
07-21-2001, 01:16 AM
|
#20
|
LQ Newbie
Registered: Jun 2001
Location: Madison, WI
Distribution: Red Hat 7.1
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
07-21-2001, 10:43 AM
|
#21
|
LQ Newbie
Registered: Jun 2001
Location: Antartica
Distribution: Windows XP
Posts: 11
Rep:
|
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
|
|
|
07-22-2001, 07:17 AM
|
#22
|
Member
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146
Rep:
|
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.
|
|
|
07-22-2001, 01:07 PM
|
#23
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
Check www.tucows.com
there is a program for network neighborhood I think it's called Lin Neighborhood or something like that
|
|
|
All times are GMT -5. The time now is 09:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|