Compatible Support Forums: persistent mapped shares on samba / domain login script

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

persistent mapped shares on samba / domain login script

#1 User is offline   SuperChicken 

  • stranger
  • Group: Members
  • Posts: 17
  • Joined: 08-November 02

Posted 04 July 2003 - 08:13 PM

Hello all,

I'm running a network w/ a samba server that acts as a win98 nt-style domain controller for all of my win9x boxes, and as a standard workgroup server for all my nt5x boxes. When the 98's log in, they automatically run the login script, I had to create a shortcut to the script in the startup menu for the win2k+ machines, since they dotn see the samba server as a domain controller the same way the 9x boxes do.

anyway, I am trying to figure out the equivalent of "persistent login" mapped shares for windows 98. in the login script for win2k, I can have a "/persistent" to have the computer forget the shares when the user shuts down or logs off. is there an equivalent i can put in the win98? also, does anyone know of a script i can use in the logon script to have it only use one script for win98 and one for win2k+?

thanks in advace, I'd like to fix this today so i can go home smile
0

#2 User is offline   DS3Circuit 

  • old hand
  • Group: Members
  • Posts: 739
  • Joined: 11-December 02

Posted 06 July 2003 - 03:32 AM

Quote:
does anyone know of a script i can use in the logon script to have it only use one script for win98 and one for win2k+?


Try using the batch file to figure out which OS you are running. IE =

if %OS%!==Windows_NT! set ostype=NT


Heres a link to help you with your further scripting. And if you are supporting both 9X and NT, try kixtart as a scripting language.

http://www.robvanderwoude.com/robnavbat.html
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users