Solved

Windows 2000 access share

Posted on 2001-07-16
3
230 Views
Last Modified: 2010-03-18
I have a windows 2000 domain with the following set-up

win2k server
ip =10.0.0.1
name =w2kserver

win2k workstation
ip 10.0.0.7
name w2kWs

win98 workstation
ip 10.0.0.2
name test98

Linux machine
ip 10.0.0.100
name testLinux

I am testing this in order to convice my boss to use Linux as a file server and then email and fax server and phase out windows servers within our office.

trouble is i cannot access my file shares from my windows pc's I get the following error

\\testlinux is not accesable
the account is not authorised to log in from this station

could anyone help me out as to why this is happening

thanks in advance

kris

======================== sambafile
# Samba config file created using SWAT
# from 10.0.0.1 (10.0.0.1)
# Date: 2001/07/16 23:08:45

# Global parameters
[global]
     workgroup = test     netbios name = testlinux        server string = Samba Server 2
     encrypt passwords = Yes
     map to guest = Bad User
     null passwords = Yes
     log level = 0
     log file = /usr/local/samba/var/log.%m
     max log size = 50
     load printers = No
     os level = 0
     dns proxy = No
     wins server = 10.0.0.1
     guest account = ftp
     hosts allow = 10.0.0.

[homes]
     comment = Home Directories
     read only = No
     browseable = No

[printers]
     comment = All Printers
     path = /usr/spool/samba
     print ok = Yes
     browseable = No

[kris]
     comment = test folder
     path = /storage/kris
     read only = No



0
Comment
Question by:krisjob
3 Comments
 
LVL 3

Expert Comment

by:superschlonz
ID: 6287925
In my config I have the following entry in the global section, perhaps this helps:

guest ok = yes

You can also increase the debuglevel so you have some more information in the logfiles:

debug level = 3

I also had to look that my samba server does not conflict with the domain master so i set everything to the lowes priority:

domain master = no
local master = no
preferred master 0 no
os level = 0

and to create all the files case sensitive (like I type them on Windoze) but to search them case insensitive I added the following lines to all shares:

mangle case = no
mangled names = no
case sensitive = no
preserve case = yes

And you also cannot connect if the path does not exists.
0
 
LVL 17

Accepted Solution

by:
psimation earned 100 total points
ID: 6288830
You probably didn't run the
cat /etc/passwd | mksmbpasswd.sh > /ets/samba/smbpasswd
command after setting up samba and adding your valid users.

Go to my website at www.linuxhelp.co.za and follow the Networking link on the main page, it will show you all the steps to get Linux shared (and windows for that matter) using Samba.
0
 

Author Comment

by:krisjob
ID: 6290754
Thanks it done the trick also your page helped me out with my next task mysql and php
Cheers
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now