Solved

Windows 2000 access share

Posted on 2001-07-16
3
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PowerShell Core for Advanced Linux Administrators

Understand advanced principals around Powershell Core with a focus on the Linux Administrator.  This course covers how to administer numerous environments across multiple platforms including Linux, Azure, AWS, and Google Cloud from a single shell instance.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

630 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