Link to home
Start Free TrialLog in
Avatar of lokesh_kumar
lokesh_kumar

asked on

samba server does not work

hi,
    i have linux 7.2(redhat)  and recently i installed the samba server .we have lan set up which connects 8 computers .now after installing samba although others can view my pc in the workgroup area in windows but nobody can can access it .i have created account for all the users in my pc but whenever others try to access my pc it shows an error tht it can't be accessed as u donot have permission to access it.
   so tht was my problem and i am sure experts out here can help me out.

     lokesh kumar
Avatar of -CrashOverride-
-CrashOverride-

try installing the newest samba or if it does not work use the linux administrator
ASKER CERTIFIED SOLUTION
Avatar of miataman92
miataman92

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
first of all.  what version of winders you got runnin?  second, did you use the -a option or specify a password when you created these users?  are the users you created the same as the windows UID or linux UID or both?  did you remember /etc/init.d/smb start ?

--johnnydog
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If the above doesn't get things working, then I'm going to suggest that you are trying to browse with either a Windows 2000, or windows XP system - If so, then you need to create a machine account as well in the samba system. Ask for more help if this is the case.

Another common fault is that people forget to add samba passwords and accounts:

/etc/samba/smbpasswd

should have a single line for each user, along with the password hash!

man smbpasswd

if you haven't already added them.

Hope that the above helps
Avatar of lokesh_kumar

ASKER

sorry for replying so late.

 but i tried all the things u have told , i created /var /public directory and added the changes but it was of no and another new thing tht has come up is tht , i am also unable to bowse using nfs , others are  unable to mount the directories which i export from my system.

  tell me wht else can i do?

           lokesh
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
make sure smb.conf file is setup correctly
http://us4.samba.org/samba/ftp/docs/htmldocs/Samba-PDC-HOWTO.html

when connecting from your workstation u must use root and root password to auth.

edit your registry
http://www.wlug.org.nz/RequireSignOrSeal 

http://www.oreilly.com/catalog/samba/chapter/book/

also edit host and host allow file in samba and etc dir
lokesh_kumar:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.