Solved

samba &  windows 2000 server

Posted on 2002-06-13
9
206 Views
Last Modified: 2013-12-16
I have a net work with a domain using win 2000 server
I have installed samba in another machine and configured it, I can see the linux machine from the server but :
- I can not open it...
- can I browes the other windows machines from the linux mashine and HOW....???



0
Comment
Question by:mombino
9 Comments
 

Expert Comment

by:indyna
ID: 7075411
first I don't know your samba configure.
maybe u can post your configure or mail me (smb.conf)

anywhere use samba server must to add samba users
my way like this to add samba users:

1./usr/sbin/adduser test          (add linux user)
2./usr/bin/smbadduser  test:test  (samba user)
3./usr/bin/smbpasswd -a test      (set your password)

in smb.conf confiure:

[global]
   workgroup = Group
   netbios name = samba_server
   server string = samba Server %v
   log file = /var/log/samba/%m-%I-%a.log
   hosts allow = 192.168.0.0/255.255.255.0
   max log size = 1000
   encrypt passwords = yes
   local master = yes
   os level = 33
   domain master = yes
   preferred master = yes
#  wins support = yes
   client code page = 950
   security = user
   guest account = wa
   shared mem size = 2048576
#  domain logons = yes
#  logon script = %m.bat
#======= Share Definitions =================
[samba_root]
   comment = root Directories
   path = /samba
   valid users = test
   guest ok = yes    
   writable = yes
   share modes = yes
   create mode = 0775
   directory mode = 0775

[test]
   comment = test Directories
   path = /samba/test
   writable = no
   guest ok = yes
   public = yes
   share modes = yes
========================================

if samba directories was in /samba

u must to change /samba  mod and woner.
like thost command :

chmod -R 755 /samba
chown -R test:test /samba

ok ~ to restart your samba server . u must see samba server
and working well .

 



0
 

Author Comment

by:mombino
ID: 7075539
Indyna

although I donot think that there is somthing wrong with my configration...but I Past copy the configratin you send.

actually I get the message (can not find path) when I try to open my linux machin in windows.
and I get the message access deenied always when I tried to open windows machin from linux machien....that's the whole thing.....what do you think
0
 

Expert Comment

by:indyna
ID: 7076046
sorry My post smb.conf have one error .

guest account = wa  <--- set samba guest users
guest account = test

well windows2000 or 98 login name must be "test"  
or other u set users.
login name must on list of samba users .

and what's version that u use ?
samba 2.2.4 is nice for use , faster than win2000.


0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Expert Comment

by:indyna
ID: 7076054
and set your ip address range .

hosts allow = 192.168.0.0/255.255.255.0  <--this line

0
 

Author Comment

by:mombino
ID: 7080436
don't I have to jion the domain some how...???
0
 

Expert Comment

by:indyna
ID: 7080612
in this case , u don't need to joion domain.
just use right login name to into samba server.
0
 

Expert Comment

by:fost0127
ID: 7144586
My 2 cents...
     I had what sounds like the same problem.  The problem is actually with the Win2k Server.  When you 'promoted' it as the PDC you had to relax the authentication for pre-windows 2000 server-trusts.  Otherwise there will be problems authenticating between the two boxes resulting in path not found.  The domain or workgroup would also show up as unknown for the linux box when viewed from the win2k box.
0
 

Expert Comment

by:odewitt
ID: 7232914
Did you enable these in the registry.

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRxSmb\Parameters]
"EnablePlainTextPassword"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters]
"enableplaintextpassword"=dword:00000001
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8276369
All,
I am unlocking this question in preparation for cleanup.  I will return in 7 days to finalize this question.  Please leave any recommendations for the final state of this question, I will take all recommendations into consideration.  Failing any feedback, I may decide in 7 days to delete or PAQ this question with no refund.  Thanks.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

829 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