[Samba] Home shares staying (NT4)

Mats olsson mace2442 at hotmail.com
Thu Feb 14 23:22:04 GMT 2002


Thats not a good idea since you will be deleting the drive you are running 
the script from. The effect will be that all drives gets deleted and then 
the script terminates since the computer cant read the next line since the 
drive it was reading from is gone.

what you can do is to delete the drives on by one excluding the drive you 
run the scripts from. (z: at my setup).

you can probobly delete the script drive as the last you do in the script if 
you want to.
/mats

>From: Martyn Ranyard <ranyardm at lineone.net>
>To: "Christian Barth" <barth at cck.uni-kl.de>, deryk at 0x0a.com, Goetz Rieger 
><goetz.rieger at suse.de>
>CC: samba at samba.org
>Subject: Re: [Samba] Home shares staying (NT4)
>Date: Thu, 14 Feb 2002 11:57:13 +0000
>
>
>Or in the logon scripts do a net use * /delete in the logon scripts and
>then map the drives.
>
>At 12:36 PM 2/14/02 +0100, Christian Barth wrote:
>> > Ahh, I am not alone...
>> >
>> > Are the two of us really the only ones experiencing this problem or is
>>the solution so obvious...
>>NT does not / not allways disconnect all shares when a user logs off.
>>This may be your problem. You should be able to live with this, as
>>long as you have only your rights on the old home share and not the
>>rights of the old user. Compare the remarks to "logon path" in man
>>smb.conf:
>>  Windows clients can sometimes maintain a connection to the [homes]
>>  share, even though there  is  no  user logged  in. Therefore,  it
>>  is vital that the logon path does not include a reference to the
>>  homes share (i.e. setting this parameter to
>>  \\%N\HOMES\profile_path will cause problems).
>>
>>Solution? Force the useres to reboot the PC instead of loggin off.
>>
>>Christian
>>
>>
>> >
>> > ;-)
>> >
>> > Goetz
>> >
>> > On Thu, 14 Feb 2002 16:00:23 +0800
>> > Deryk Robosson <deryk at iitowns.com> wrote:
>> >
>> > > I am having the same trouble with automatically mounted home shares 
>>with
>> > > samba 2.2.1a (PDC, domain logins, roaming profiles) and NT4WS sp6a.  
>>If
>> > > I login as one user, logout, then login as another, I can view the
>> > > previous users home share as well as my newly logged in users home 
>>share
>> > > (lather, rinse, repeat...).  The NT box has a machine account, domain
>> > > logins work, profiles work, login scripts work..everything is just as
>> > > expected except for the multiple home shares issue.  I've also got 
>>Win9x
>> > > boxes logging into the domain and login scripts set for them and they 
>>do
>> > > not have this trouble (yes, I know there are differences between the 
>>two
>> > > OS's and the way they work :))
>> > >
>> > > The following link is to the person who'd originally has the same
>> > > problem I've got at the moment but alas I've not yet been able to 
>>find a
>> > > solution by searching the archives or my samba book.
>> > >
>> > > http://marc.theaimsgroup.com/?l=samba&m=101164606128599&w=2
>> > >
>> > > --
>> > > Regards,
>> > > Deryk Robosson
>> > >
>> > > Robosson Business Services
>> > > 22 Flemington Street
>> > > Albany, WA  6330
>> > > ABN: 56 728 377 499
>> > > Phone: +61 4 0842 9835 Email: deryk at 0x0a.com
>> > >
>> > > --
>> > > To unsubscribe from this list go to the following URL and read the
>> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
>> > >
>> >
>> > --
>> > To unsubscribe from this list go to the following URL and read the
>> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>> >
>>
>>
>>                _(_)_                          wWWWw   _
>>    @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
>>   @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
>>    @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
>>     /      Y       \|    \|/    /(_)    \|      |/      |
>>  \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
>>jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|//
>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>>--
>>To unsubscribe from this list go to the following URL and read the
>>instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>Martyn
>
>Life's a bitch, but so am I.
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba


_________________________________________________________________
MSN Photos är det enklaste sättet att dela ut, redigera och skriva ut foton. 
http://photos.msn.se/Support/WorldWide.aspx





More information about the samba-technical mailing list