Author Topic: Ubuntu Network share auto login script  (Read 2094 times)

irontamoor

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Ubuntu Network share auto login script
« on: September 17, 2014, 08:09:49 pm »
Hello,
I apologise if this is in the wrong area I will move or delete it if it is.
I have been searching all day to find a way of zentyal domain users having their network share folder mapped automatically on ubuntu systems 14.04.
please help or direct me as i have spent a lot of time into this.
thank you

robb

  • Guest
Re: Ubuntu Network share auto login script
« Reply #1 on: September 17, 2014, 09:07:16 pm »
This is for Zentyal 3.0 but still should bring you to some ideas.
https://www.youtube.com/watch?v=pF1Ta20LmYE

irontamoor

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Ubuntu Network share auto login script
« Reply #2 on: September 19, 2014, 11:31:07 pm »
thank you i have taken a look at this, but this does not help me as it does not show me how to auto add network share for ubuntu, when any user logins.

robb

  • Guest
Re: Ubuntu Network share auto login script
« Reply #3 on: September 19, 2014, 11:40:23 pm »
You will have to write a logon script that auto mounts the share.
With a bit of searching I found this: http://askubuntu.com/questions/416535/mount-samba-share-at-login-using-startup-script-not-fstab

Here some more info on how to mount a samba share at logon: http://oreilly.com/openbook/samba/book/ch06_06.html

irontamoor

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Ubuntu Network share auto login script
« Reply #4 on: September 19, 2014, 11:57:12 pm »
thank you do you know if it is possible to do it from zentyal instead of have the client running the script. i want users to be able to log into what ever computer and the zentyal server to run the script instead of me coping the script to each computer.

Syntax

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +1/-0
    • View Profile
Re: Ubuntu Network share auto login script
« Reply #5 on: September 20, 2014, 01:46:17 am »
Yes, you can do it from Zentyal.  The logon script is in a system share "NETLOGON" and can be controlled by uploading a script file in the Zentyal web interface.


irontamoor

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Ubuntu Network share auto login script
« Reply #6 on: September 20, 2014, 11:13:17 pm »
Tried on ubuntu today and failed followed the link given. this is very simple but why does it not work?