LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   "No permission to access" linux box (Samba) (https://www.linuxquestions.org/questions/linux-software-2/no-permission-to-access-linux-box-samba-159908/)

TheOneAndOnlySM 03-19-2004 02:29 PM

"No permission to access" linux box (Samba)
 
i have done some reading about configuring samba, but I am unable to get anonymous access working to see my linux shares from windows;

when i double-click my workgroup from windows, i can see my linux box (darkstar) and can read the comment (SambaLinux), but when i double-click the darkstar icon, i get the "no permission" error

when i try to "add a network place" and type \\Darkstar\smhome, it gives me a box to type in a password (though my samba conf file is supposed to allow guest access); trying out several passwords that i use on windows or linux gave no results

any help would be greatly appreciated!

my samba.conf file
# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2004/03/18 22:22:35

# Global parameters
[global]
workgroup = MSHOME
server string = SambaLinux
null passwords = Yes
log level = 3
os level = 33

[smhome]
comment = SM
path = /home/sandeep
guest ok = Yes

*note: i can mount my windows shares and view them/edit them with no problems through linux

AutOPSY 03-19-2004 02:40 PM

if smdeep is a user you should type in the users password.

I have configured samba to share /tmp on my machine with guest access/no password.

but have it disabled because I think Samba is running suid root.

TheOneAndOnlySM 03-20-2004 05:17 PM

sorry for the late reply...

if, say, the guest name is nobody (as i set it for the default by swat), then there should not be any password needed

and if i wanted to make a user smdeep with a password, how would i set that up? i know of the command smbpasswd, but i don't want to mess with anything until i am certain i am doing the right thing (not that i'm not willing to take risks, just not blind risks)

perhaps it would be better if i asked this: may i see a copy of someone's successful samba.conf file (such as shares are accessible from windows and printers can be seen that are attached to a linux box);
if there are other files that were created or setting changed in linux or windows, could i have a list of settings changed?

thx in advance!

*note: i probably won't be responding until Wednesday or Thursday-ish, i just got rid of AOL after *8* years of using it (/me jumps for joy) so i currently have a wireless router and wireless networking card for my computers and am experimenting with that until either SBC or Roadrunner is installed

cparks12 03-21-2004 04:57 PM

Have you checked the permissions on the directory? I think I needed to open them up all the way. Been awhile....


All times are GMT -5. The time now is 05:42 AM.