Koozali.org: home of the SME Server

Making network Drive.

Lockk

Making network Drive.
« on: June 04, 2007, 03:04:54 PM »
Heya guys,

I'm working on a SME server for school. And Now I need to know how to make my share's a network drive so when I log into an account I get them automaticly.

Thanks

Offline Confucius

  • *****
  • 235
  • +0/-0
Making network Drive.
« Reply #1 on: June 04, 2007, 03:22:21 PM »
That refers to drive mapping.

Mapping while/after logging in is possible but from your message I understand it should be automatic.

When using windows XP it needs to be Pro. Home doesn't support this without patching (the illegal way)

The rest shouldn't be so hard .... command to use is "net use"

Harro

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Making network Drive.
« Reply #2 on: June 04, 2007, 04:36:20 PM »
To make a 'shared' data folder on SME -
- Create a 'group'
- Create an i-bay for your share.  Pick your 'group' and set 'write=group, read=group' permissions
- add all of the users who should have access to the share to 'group'

There is a contrib (search here) to manage the 'netlogon' script on SME - this will work if your workstations are all XP Pro (I presume.  I've never used it...)

On networks with XP Home workstations, I make a folder on the network share called 'netlogon' (or create a new share called 'netlogon' with 'write=admin, read=everyone' permissions), then put a batch file in that share called 'logon.bat' saying 'net use x: \\<servername>\<ibayname>', and put a shortcut to that batch file in the 'startup' folder for 'all users' on each workstation -- works about 90% of the time...

Lockk

Making network Drive.
« Reply #3 on: June 04, 2007, 05:28:20 PM »
Quote from: "mmccarn"
T
On networks with XP Home workstations, I make a folder on the network share called 'netlogon' (or create a new share called 'netlogon' with 'write=admin, read=everyone' permissions), then put a batch file in that share called 'logon.bat' saying 'net use x: \\<servername>\<ibayname>', and put a shortcut to that batch file in the 'startup' folder for 'all users' on each workstation -- works about 90% of the time...


oh hehe, thats sneaky :P don't know if my Teachers apporve that :P

Lockk

Making network Drive.
« Reply #4 on: June 04, 2007, 05:31:33 PM »
Quote from: "mmccarn"
To make a 'shared' data folder on SME -
- Create a 'group'
- Create an i-bay for your share.  Pick your 'group' and set 'write=group, read=group' permissions
- add all of the users who should have access to the share to 'group'


I know they have acces,but when they open "My computer" I want them to have the mappings.

Offline wj

  • *
  • 6
  • +0/-0
"My Computer" folder
« Reply #5 on: June 04, 2007, 10:15:17 PM »
Hello Lockk,

why don't you move your windows "My Documents" folder and point it to a user share or ibay on the server.
I have set-up my user profiles "roaming" on my home-server this way.
The share can be automatic started with drive mapping in windows.

Offline del

  • *
  • 765
  • +0/-0
Making network Drive.
« Reply #6 on: June 04, 2007, 10:38:56 PM »
Unless I have misunderstood the question, can't you just map the network drive through My Computer? I have done this with XP Pro and Home editions. Sorry if I am mistaken with the meaning of mapping a network drive.

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Making network Drive.
« Reply #7 on: June 04, 2007, 10:45:31 PM »
Whenever I rely solely on 'map a network drive' in Explorer I end up w/ frustrated users when the system throws away their drive mapping after 4 months when the user boots up w/ the network unplugged and answers 'don't try again' to the 'reconnect this drive?' message...

So yes, mapping the drive in explorer sort of works.  I don't think that XP home gives you the option to 'reconnect drive at login', either...

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Re: Making network Drive.
« Reply #8 on: June 05, 2007, 12:16:28 AM »
Quote from: "Lockk"
I need to know how to make my share's a network drive so when I log into an account I get them automaticly.
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter7#Setting_up_network_drives

Offline del

  • *
  • 765
  • +0/-0
Making network Drive.
« Reply #9 on: June 05, 2007, 12:49:55 AM »
Hi mmccarn,

Quote
Whenever I rely solely on 'map a network drive' in Explorer I end up w/ frustrated users when the system throws away their drive mapping after 4 months when the user boots up w/ the network unplugged and answers 'don't try again' to the 'reconnect this drive?' message...

So yes, mapping the drive in explorer sort of works. I don't think that XP home gives you the option to 'reconnect drive at login', either...
I must be lucky :D  I have at least 5 XP home machines that have been using the explorer method for over 3 years and they still see the mapped drive each time they are rebooted :D
Quote
I don't think that XP home gives you the option to 'reconnect drive at login', either...
This is available in both pro and home.
Quote
user boots up w/ the network unplugged and answers 'don't try again' to the 'reconnect this drive?'
I think you will find that this message is from previous versions of windows, XP displays a baloon in the taskbar saying that it couldn't connect all drives. Sorry but I just can't see the point in running batch commands just to map a network drive when windows makes it so easy :wink:

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline shell

  • ****
  • 117
  • +0/-0
Making network Drive.
« Reply #10 on: June 05, 2007, 01:39:28 AM »
http://mirror.contribs.org/smeserver/contribs/jbennett/sme7/loginscript/RPM/

Fantastic addon for netlogin.  Managed inside server-manager.  I always use this - in fact it is probably the first addon rpm I install!!

Works automagically for all pc's added to sme domain* and creates the netlogon.bat in each users home directory - which using the rpm are mapped to the H: or Z: drive.

* so need to be xp pro.
Enjoy, and thanks to jon!

Lockk

Making network Drive.
« Reply #11 on: June 05, 2007, 09:11:36 AM »
Great great! Thanks guys, for all the help. For now I just made windows-network mappings. And Tried them mutiple times and works fine. I'll use that in my exam today (about sme) after that I'll try that command based one. (With the wiki link) and try to set it up as it should.

PS. I'm really new to the whole linux and linux server. :)

Oh and I had to do 5 things with the SME. Wich for you guys is the basics. But someone who never worked with it. But I got it all working, mappings(;)) NAT, users and groups,DHCP,DNS (easy with sME) print services. :)

edit: I have my exam at 11.15 (GTM+2) so.. keep your fingers crossed ';)

Offline haymann

  • *
  • 212
  • +0/-0
Making network Drive.
« Reply #12 on: June 05, 2007, 05:56:22 PM »
So if I understand you correctly, you are learning about SME Server for a class? What kind of class is it, if you don't mind me asking.
Ryan