Solved

Windows 2000 access share

Posted on 2001-07-16
3
260 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux 2 112
recommendations for external nmap pen test (from a Windows laptop) 5 184
Linux Login using LDAP or Active Directory 4 157
unix shell script 4 31
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 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