Professional Web Applications Themes

Loading Samba Shares at Startup - FreeBSD

>> hi there, not really sure if this is appropriate for this list, or if i should be sending it to the samba lists. i'll try here first.  [/ref]  [/ref]  [/ref]  [/ref]  [/ref]  [/ref]         ---------------------------------------------...

  1. #1

    Default Re[2]: Loading Samba Shares at Startup

    >> hi there, not really sure if this is appropriate for this list, or if i should be sending it to the samba lists. i'll try here first.
     [/ref]
     [/ref]
     [/ref]
     [/ref]
     [/ref]
     [/ref]

     
     
     
     

    ---------------------------------------------

    Hexren Guest

  2. #2

    Default Loading Samba Shares at Startup

    hi there, not really sure if this is appropriate for this list, or if i should be sending it to the samba lists. i'll try here first.

    i have a samba server which serves a few windows machines, and i also use it via sharity-light from my freebsd machine running 4.10 RELEASE. i have a script that loads my shares, and i put it in my rc.d folder (i've taken out the user and password info):

    #!/bin/sh
    /usr/local/sbin/shlight //cessna/http /usr/home/iain/development/http/ -U * -u * -g wheel -f 775 -d 775 -P *
    /usr/local/sbin/shlight //cessna/http_inertia /usr/home/iain/development/http_inertia/ -U * -u * -g wheel -f 775 -d 775 -P *
    /usr/local/sbin/shlight //cessna/music /usr/home/iain/music -U * -u * -g wheel -f 775 -d 775 -P *
    /usr/local/sbin/shlight //cessna/dools /usr/home/iain/dools_network -U * -u * -g wheel -f 775 -d 775 -P *

    it runs fine when i start up freebsd, but when i login, i don't have access to the shares. so i put the call to the script inside my .tcshrc file, but this means that, even if i login remotely, and every time i start a new konsole session or scp something, this script runs.

    does anyone have any clues as to why it wouldn't have access to the shares after running this script from inside rc.d? i really only want it to run when the machine starts up, not every time i login.

    cheers

    iain
    Iain Guest

  3. #3

    Default Re: Loading Samba Shares at Startup


    ----- Original Message -----
    From: "Iain Dooley" <com>
    To: <org>
    Sent: Monday, April 11, 2005 12:32 PM
    Subject: Loading Samba Shares at Startup

     

    why u dont use mount_smbfs?
    and dont forgett to set ur devices and trusted ips...

    Lis Guest

Similar Threads

  1. Samba Shares and Unix
    By latte1 in forum Macromedia Contribute Connection Administrtion
    Replies: 1
    Last Post: May 24th, 11:16 PM
  2. win32 samba shares
    By Bill Kurland in forum PERL Modules
    Replies: 2
    Last Post: September 14th, 05:42 PM
  3. How do I mount SAMBA shares at startup?
    By sundog in forum Mac Networking
    Replies: 2
    Last Post: February 7th, 03:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139