Solved

samba &  windows 2000 server

Posted on 2002-06-13
9
212 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
[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
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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

617 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