Go Premium for a chance to win a PS4. Enter to Win


Windows 2000 access share

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

win2k server
ip =
name =w2kserver

win2k workstation
name w2kWs

win98 workstation
name test98

Linux machine
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


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

# Global parameters
     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 =
     guest account = ftp
     hosts allow = 10.0.0.

     comment = Home Directories
     read only = No
     browseable = No

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

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

Question by:krisjob

Expert Comment

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.
LVL 17

Accepted Solution

psimation earned 400 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.

Author Comment

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
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…
Suggested Courses

877 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