Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am facing a strange problem while configuring samba server...
I hv connected two systems using a crossover cable... One runs on RH 9, while other on windows XP... The problems i m facinig are:-
1. After configuring samba, i m able to access the RH 9 system from Windows XP, but if i try to access files from home directory i get the following error message:-
/home/< a directory name > (for ex. /home/dummy/) is not accessible, you might not hv permission, bla bla..
2. When i reboot my linux machine, i hv to reconfigure samba to make it work...
Wat might be the reason for this problem.. Plz help me out...
/home/< a directory name > (for ex. /home/dummy/) is not accessible, you might not hv permission, bla bla..
/home/<directory-name> is designated to a user only; with its username (by default). So you cannot access any other's user home directory.
& as provided in your example, in case of /home/dummy/ ; dummy have to be the username @ xp box to get full rights of this directory to get accessed.
And what is the mode you are running samba in ?
do you have specified a seperate <meta-share> for your homes to be available for all the users in your smb.conf ?
The description you made is also a bit strange.
You have configured /etc/samba/smb.conf from scrap or did you use SWAT?
At 1st you said that you could access the Redhat 9 system from XP ?
What excatly do you mean with access?
Was it a folder so a share on the Redhat System?
regarding your home share
is it in the smb.conf like this?
[homes]
comment = Home Directories
browseable = no
writable = yes
What security method do you use within samba?
User or Share?
if it's user that try on XP to connect \\sambas servers ip\username and also apply with specified user account therefor use the user that you created with smbpasswd -a username
What do you mean with reconfigure?
Do you mean that you have to start the smb service by hand?
If so....
chkconfig smb --list
it will show you in which Runlevel samba will start
then
chkconfig --level 345 smb on (will archiv that samba starts in RL. 3,4,5)
when i reboot my linux machine, i am unable to see the samba share on the workgroup of my Windows XP... Then i hv to start samba again to solve this problem...
And i hv to follow these steps repeatedly, after rebooting my system... So, prob is i dont want to start samba again and again after rebooting my system... I want it permanently...
Run that;
Though it seems that you dont pay attention to the earlier posts; this has been clarified by ODCHEK in the 5th post to this thread.
Checkback.
As we already know... and by the way chkconfig smb on will do exactly the same like I told you before. But if you do a chkconfig smb on or whatever service on then the default values will be used. Just a a hint.
I think we're all glad that you got now what you want.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.