Koozali.org: home of the SME Server

Domain mount drive question

leiw

Domain mount drive question
« on: May 29, 2007, 03:23:40 AM »
Hello,

   I want different users to create a own drive and public drive when

logging in, how can to that with SME? I already read the document ~



Thanks

leiw

Domain mount drive question
« Reply #1 on: May 29, 2007, 07:25:15 AM »
For example:

I created a user named peter, also peter can login Windows XP,
however peter can see his own drive and public drive for share with
others people when logged in.

I known Samba can use the perter username .bat file in netlogon,
so that when peter login will load peter.bat to map drive, SME
server can do this ?


Thanks

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Domain mount drive question
« Reply #2 on: May 30, 2007, 02:51:49 AM »
Here's a post about a contrib for managing login scripts on SME 7: http://forums.contribs.org/index.php?topic=31221.0

leiw

Domain mount drive question
« Reply #3 on: May 30, 2007, 03:59:33 AM »
Quote from: "leiw"
For example:

I created a user named peter, also peter can login Windows XP,
however peter can see his own drive and public drive for share with
others people when logged in.

I known Samba can use the perter username .bat file in netlogon,
so that when peter login will load peter.bat to map drive, SME
server can do this ?


Thanks


Thank for the reply

Can I use this script for M$ utility "con2prt" ?


Thanks

Offline NickCritten

  • *
  • 245
  • +0/-0
Re: Domain mount drive question
« Reply #4 on: May 30, 2007, 02:05:52 PM »
Quote from: "leiw"
Hello,

   I want different users to create a own drive and public drive when

logging in, how can to that with SME? I already read the document ~



Thanks


Just edit the netlogon.bat file to add public drives as maps to I-Bays...


e.g.

net use h: /home
net use w: \\smeserver\work
net use f: \\smeserver\finance


Each user will get their own Home Drive, plus Public Drives W: & F:

Is this what you were looking for?
...
Nick

"No good deed goes unpunished." :-x...

leiw

Re: Domain mount drive question
« Reply #5 on: May 31, 2007, 01:19:44 AM »
Quote from: "NickCritten"
Quote from: "leiw"
Hello,

   I want different users to create a own drive and public drive when

logging in, how can to that with SME? I already read the document ~



Thanks


Just edit the netlogon.bat file to add public drives as maps to I-Bays...


e.g.

net use h: /home
net use w: \\smeserver\work
net use f: \\smeserver\finance


Each user will get their own Home Drive, plus Public Drives W: & F:

Is this what you were looking for?

Yes, I will try it later

Thanks

leiw

Domain mount drive question
« Reply #6 on: May 31, 2007, 05:30:30 PM »
Can the finance group users only can see the finance drive ? and cannot
see the work drive ? If cannot do this solution, use your script to mount
all drive to each users, and each group users only can access their
group drive ?


Thanks

Offline Stefano

  • *
  • 10,894
  • +3/-0
Domain mount drive question
« Reply #7 on: May 31, 2007, 05:55:13 PM »
Quote from: "leiw"
Can the finance group users only can see the finance drive ? and cannot
see the work drive ? If cannot do this solution, use your script to mount
all drive to each users, and each group users only can access their
group drive ?


Thanks


leiw, have you read what mmccarn told you?

Quote

Here's a post about a contrib for managing login scripts on SME 7: http://forums.contribs.org/index.php?topic=31221.0


if yes, have you tried the contrib?

it does exactly what you are asking for..

Ciao
Stefano

leiw

Domain mount drive question
« Reply #8 on: June 01, 2007, 02:30:59 AM »
Hello,

   I known what mmccarn said, but I use M$ utility "con2prt" to map
network printer, so I think the mmccaarn script cannot to use "con2prt".


Thanks

Quote from: "nenonano"
Quote from: "leiw"
Can the finance group users only can see the finance drive ? and cannot
see the work drive ? If cannot do this solution, use your script to mount
all drive to each users, and each group users only can access their
group drive ?


Thanks


leiw, have you read what mmccarn told you?

Quote

Here's a post about a contrib for managing login scripts on SME 7: http://forums.contribs.org/index.php?topic=31221.0


if yes, have you tried the contrib?

it does exactly what you are asking for..

Ciao
Stefano

Offline Stefano

  • *
  • 10,894
  • +3/-0
Domain mount drive question
« Reply #9 on: June 01, 2007, 08:21:36 AM »
Quote from: "leiw"
Hello,

   I known what mmccarn said, but I use M$ utility "con2prt" to map
network printer, so I think the mmccaarn script cannot to use "con2prt".



well... in your previous post you were talking about drives, not printers ;-)

btw, there isn't any problem to use con2prt in a logon script.

via smeserver-loginscritp you can write things like:

if user=john
con2prt -c \\myprintserver\printer1
net use g \\smeserver\myibay
end if

if group = ....

and so on

hth
ciao
Stefano

leiw

Domain mount drive question
« Reply #10 on: June 01, 2007, 10:07:27 AM »
Thanks you !!!!!!  :D