Just wondering if there is a way to get drive namings to change according to who's logged into the network. ie. 'bob' logs into windows networking and gets... E: 'bob' on server kiwi. Now if 'sue' logs into windows networking on the same pc she gets... E: 'bob' on server kiwi. But E: contains sue's stuff. So is there a way into making 'sue' replace 'bob' without remapping the drive everytime? Thanks! -- Steve "We confuse you, or your money back!"
You probably want to look at the logon script stuff and use roaming profiles. Setting up Samba to map a users home directory to a drive letter can be done using the [homes] section in the smb.conf. Additionally, the '%' variables (specifically %U, I think) will come in handy for this. Read the docs that come with Samba and get John Blair's book as well. HTH, -- Seeya, Paul ---- plussier@baynetworks.com Broadband Technology Division - Bay Networks (now a Nortel Company, Eh? :) If you're not having fun, you're not doing it right!
On this topic, maybe someone can explain a behavior to me. I've read the docs and I can't find a sensible explanation for it. I set up a [HOMES] section, each user has a home directory, and in the logon script I have: NET USE U: /HOME I'm almost sure this worked during testing so that my home directory (/home/ken) got mapped to U: What's happening, however, is that the [PROFILES] share is being mapped to U:. I've had to add specific commands to make sure the home directory is mapped to U, and now the command "NET USE P: /HOME" maps to [PROFILES]. Is this the way it's supposed to behave? It's Samba 2.0.3 on Redhat 5.2.> -----Original Message----- > From: Paul L. Lussier [SMTP:plussier@baynetworks.com] > Sent: Monday, May 17, 1999 5:50 PM > To: Multiple recipients of list > Subject: Re: Drive namings... > > > > You probably want to look at the logon script stuff and use roaming > profiles. > Setting up Samba to map a users home directory to a drive letter can be > done > using the [homes] section in the smb.conf. Additionally, the '%' > variables > (specifically %U, I think) will come in handy for this. > > Read the docs that come with Samba and get John Blair's book as well. > > HTH, > > -- > > Seeya, > Paul > ---- > plussier@baynetworks.com > Broadband Technology Division - Bay Networks (now a Nortel Company, Eh? :) > > If you're not having fun, you're not doing it right! >
Steve Mertz wrote:> > Just wondering if there is a way to get drive namings to change according > to who's logged into the network. > > ie. > > 'bob' logs into windows networking and gets... > > E: 'bob' on server kiwi. > > Now if 'sue' logs into windows networking on the same pc she gets... > > E: 'bob' on server kiwi. > > But E: contains sue's stuff. So is there a way into making 'sue' replace > 'bob' without remapping the drive everytime? >We in our company use logon scripts to map drives, and I personally consider it the best solution. For the home directories we had to set browseable = yes in the [homes] section and we map it this way: NET USE H: \\SERVER\HOMES It has a drawback, very little though, that the home directory appears twice in Network Neighborhood: both as <username> and HOMES. You can also use: NET USE \\SERVER\HOMES /HOME, or something alike, but I haven't tested it. Regards, Michal
Steve Mertz wrote:> > Just wondering if there is a way to get drive namings to change according > to who's logged into the network. > > ie. > > 'bob' logs into windows networking and gets... > > E: 'bob' on server kiwi. > > Now if 'sue' logs into windows networking on the same pc she gets... > > E: 'bob' on server kiwi. > > But E: contains sue's stuff. So is there a way into making 'sue' replace > 'bob' without remapping the drive everytime?Do I understand right? This is after a "close and login as new user" and the login script connects to the right share and the contents are what they should be but the label in My Computer is what the previous user had? If so, you need to get your login script to delete some Persistent drive labels from the registry so that they get remade with the right contents. Cheers Martin -- Martin Sapsed Tel: +44 (0)1248 382409 Computing Lab Fax: +44 (0)1248 383826 University of Wales, Bangor m.sapsed@bangor.ac.uk North Wales, LL57 2DG Press any key to continue or any other key to quit...