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@0x0a.com
Ahh, I am not alone... Are the two of us really the only ones experiencing this problem or is the solution so obvious... ;-) Goetz On Thu, 14 Feb 2002 16:00:23 +0800 Deryk Robosson <deryk@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@0x0a.com > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
> 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@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@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|// \\|/// \\\|//\\\|/// \|/// \\\|// \\|// \\\|// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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@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@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/sambaMartyn Life's a bitch, but so am I.
Hey, On Thu, 14 Feb 2002 12:36:50 +0100 "Christian Barth" <barth@cck.uni-kl.de> wrote:> NT does not / not allways disconnect all shares when a user logs off. > This may be your problem.Yep, that is what smbstatus shows me. Sometimes the shares are disconnected during logout, sometimes not.> 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.As I mentioned, all the (pseudo)-[homes] shares in the browselist are showing the content of the "real" homes share of the logged-in user. So the issue is solely about user confusion... Compare the remarks to "logon path" in man> smb.conf:I have done that.> Solution? Force the useres to reboot the PC instead of loggin off.Hm, this definitely smells like trouble...;-) Goetz
Hei, On Thu, 14 Feb 2002 11:57:13 +0000 Martyn Ranyard <ranyardm@lineone.net> wrote:> Or in the logon scripts do a net use * /delete in the logon scripts and > then map the drives.I am afraid this will not change the behaviour of the browselist. Goetz
At 01:24 PM 2/14/02 +0100, Goetz Rieger wrote:>Hei, > >On Thu, 14 Feb 2002 11:57:13 +0000 >Martyn Ranyard <ranyardm@lineone.net> wrote: > > > Or in the logon scripts do a net use * /delete in the logon scripts and > > then map the drives. > >I am afraid this will not change the behaviour of the browselist.AFAIK it should actually, because when all connections to the server (whether mapped or unc) are closed (net use does both connection types), it should revert to there being no connections open, and start a new one, in the new username.>Goetz-------------- Martyn Ranyard I am not a member of the samba team, and anything that I say may not be as accurate as a response from one of the team. I reply to save those more qualified time, which can more usefully be spent developing SAMBA further.
Hey, On Thu, 14 Feb 2002 12:30:22 +0000 Martyn Ranyard <ranyardm@lineone.net> wrote:> AFAIK it should actually, because when all connections to the server > (whether mapped or unc) are closed (net use does both connection types), it > should revert to there being no connections open, and start a new one, in > the new username.OK, thanks, I?ll give it a try. Goetz
Hi ! I experienced the same problem and the problem is not (or not only) caused by Samba. To avoid other user?s home directories to be available to users logging onto the same machine later, you have to take care of the permissions under /home/ The owner of the home directories should be either username.username or username.users. The permissions set for each home directory should be 700 or even better 2700. You have to take care of the settings in smb.conf, too ! The smb.conf settings you can find when you follow the link you submitted need to be modified. This is what the section [HOMES] should look alike: [HOMES] comment = Home directories browseable = no writeable = yes create mask = 0700 directory mask = 0700 # or if you prefer = 2700 public = no I hope this will solve your problem. By the way, this behaviour ist platform independent - it appears with any Windows version, even with Win 98/Me with activated user management. With best regards to the Samba community, Florian + BCOMS Bavaria Computer Service GmbH - Linux Networking Services -----+ | Florian Spickenreither (Managing Director) | | Postfach 100 116, 83001 Rosenheim - Germany | | Tel:0700/CALL-LINUX [2255-5468] Fax:0721/151-439691 | + E-Mail: florian.spickenreither@bcoms.de, URL: http://www.bcoms.de ---+ -----Urspr?ngliche Nachricht----- Von: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org] Im Auftrag von Deryk Robosson Gesendet: Donnerstag, 14. Februar 2002 09:00 An: samba@samba.org Betreff: [Samba] Home shares staying (NT4) 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@0x0a.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Hi ! I experienced the same problem and the problem is not (or not only) caused by Samba. To avoid other user?s home directories to be available to users logging onto the same machine later, you have to take care of the permissions under /home/ The owner of the home directories should be either username.username or username.users. The permissions set for each home directory should be 700 or even better 2700. You have to take care of the settings in smb.conf, too ! The smb.conf settings you can find when you follow the link you submitted need to be modified. This is what the section [HOMES] should look alike: [HOMES] comment = Home directories browseable = no writeable = yes create mask = 0700 directory mask = 0700 # or if you prefer = 2700 public = no I hope this will solve your problem. By the way, this behaviour ist platform independent - it appears with any Windows version, even with Win 98/Me with activated user management. With best regards to the Samba community, Florian + BCOMS Bavaria Computer Service GmbH - Linux Networking Services -----+ | Florian Spickenreither (Managing Director) | | Postfach 100 116, 83001 Rosenheim - Germany | | Tel:0700/CALL-LINUX [2255-5468] Fax:0721/151-439691 | + E-Mail: florian.spickenreither@bcoms.de, URL: http://www.bcoms.de ---+ -----Urspr?ngliche Nachricht----- Von: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org] Im Auftrag von Deryk Robosson Gesendet: Donnerstag, 14. Februar 2002 09:00 An: samba@samba.org Betreff: [Samba] Home shares staying (NT4) 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@0x0a.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Hey, On Thu, 14 Feb 2002 13:37:39 +0100 "Spickenreither Florian" <florian.spickenreither@bcoms.de> wrote:> I experienced the same problem and the problem is not (or not only) > caused by Samba.I don?t thought that at all....;-)> To avoid other user?s home directories to be available > to users logging onto the same machine later, you have to take care of > the permissions under /home/That is true...but I have taken care of that. As mentioned, the logged-on user can not access other users homes, but the other shares are staying in the list. I was hoping for some workaround, I will try "net use * \delete" as suggested by Martyn. Thanks, Goetz
Changing home dir permissions to 0700 stops the users from being able to access them but even with the NET USE * /D /Y they still show up in the browse list. The logon path global was set properly yet still doesn't make much difference if I switch it back to the value that was suggested to not work right. I've had previous samba servers (2.0.6/7 days) working fine with these similar target setups but have never experienced this particular problem before. This is just a test setup to verify the current abilities of samba if a need to roll out a current stable release to a client arrises and my family gets to be the guinnea pigs. :) -- Regards, Deryk Robosson Robosson Business Services 22 Flemington Street Albany, WA 6330 ABN: 56 728 377 499 Phone: +61 4 0842 9835 Email: deryk@0x0a.com
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@lineone.net> >To: "Christian Barth" <barth@cck.uni-kl.de>, deryk@0x0a.com, Goetz Rieger ><goetz.rieger@suse.de> >CC: samba@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@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@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