Koozali.org: home of the SME Server

ibays mounting on locamachines

Offline hasan

  • ***
  • 60
  • +0/-0
ibays mounting on locamachines
« on: April 22, 2008, 06:52:51 AM »
Hello All,
          I have created an ibay "localwork" on the server to maintain the working files of all the users on our local network.
Inside the localwork ibay different directories have been created for all the users.
Now I want to mount only the particular user directory onto the user machines, but it is not allowing me to do the same and giving me the error:

5388: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed


I have used the following line in my fstab file

//192.168.1.100/localwork/files/hasan       /home/hasan/test1   smbfs   credentials=/home/hasan/.sambapass,uid=hasan,gid=hasan,dmask=0770,fmask=0660    0 0

where 192.168.1.100 is my server, /home/hasan/test1 is the destination directory.

But when i try to mount only the localwork directory using the lines as shown below it mounts succesfully, but it shows me all other user directories too.

//192.168.1.100/localwork       /home/hasan/test1   smbfs   credentials=/home/hasan/.sambapass,uid=hasan,gid=hasan,dmask=0770,fmask=0660    0 0

Can anyone please guide me through this problem .

Regards
Hasan




My software is not having any bugs,
It just does some random calculations intelligently :-)

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Re: ibays mounting on localmachines
« Reply #1 on: April 22, 2008, 02:46:30 PM »
Hasan, you are trying to re-invent the wheel.
Every user already has their own home directory on the server. You do not need a separate Ibay to store the user files. They can store them in their home directory.
If you explore the network (Look at My Network Places) you will see listed any Ibay shares AND your own home directory (it is the same as your logon name).
 
If you are not logging into a Domain (ie only using a Workgroup) then use Explorer to map a network drive to the home share. Tick "Reconnect at logon"

If you are logging into a Domain, use a Netlogon script that connects to the share.(The manual will tell you where to put the script)
eg Assume 192.168.0.77 is your server with all the user (plural) shares and we want Petra Kelly's (username petrak) home drive mapped to her local PC:

net use h: \\192.168.0.77\%USERNAME% /persitent:no {this can be everyone's login script)
or
net use h: \\192.168.0.77\petrak /persistent:no {this is only for Petra Kelly}

This should map the user's home share on the server to the local drive h: - and it will un-map the share when the user logs off.

Cheers

Ian

 
___________________
Sydney, NSW, Australia

Offline hasan

  • ***
  • 60
  • +0/-0
Re: ibays mounting on locamachines
« Reply #2 on: April 24, 2008, 06:21:26 AM »
Hello Ian,
          Thanks for the reply,
But I am using unix based server, can you please help me keeping in view the unix system.

Regards
Hasan
My software is not having any bugs,
It just does some random calculations intelligently :-)

Offline kb-ohnemus

  • *****
  • 154
  • +0/-0
    • http://www.kb-ohnemus.de
Re: ibays mounting on locamachines
« Reply #3 on: April 24, 2008, 06:57:25 AM »
You cannot mount subdirectories of shares, only the shares themself. I think this also applies to windows-clients.
So for every mountpoint on the local machine you have to create a seperate ibay on SME-Server. As said the user's home shares are beeing created when creating a new user on SME-Server.

Offline hasan

  • ***
  • 60
  • +0/-0
Re: ibays mounting on locamachines
« Reply #4 on: April 24, 2008, 07:08:48 AM »
Hello kb-ohnemus,
         Thanks for the reply,
   I will take care your suggestion and will create ibays for all users, then I think the problems can be resolved.


Thanks Alot.

Hasan
My software is not having any bugs,
It just does some random calculations intelligently :-)