Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Win98 Logon batch script question

  • 15-10-2002 4:53pm
    #1
    Closed Accounts Posts: 17


    I've got a linux box running samba to act as a file/print server for a workgroup. It runs a logon batch script to map network shares on the samba server as drives. That's all well and good, but I also want to do the same for a zipdrive connected to one of the workgroup PCs (win98). Is there a way to send a password as part of the logon script, so that only people who have authenticated via the samba server can access it?

    Something like NET USE \\WIN98\ZIPDRIVE PASSWORD=blah?

    AD


Comments

  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    NET USE x: \\machine\share password /USER:domain\username

    that should do it.

    If you want to be prompted for the password set "password" to "*"

    Unless you have a domain controller the domain would be the machine your connecting to.


  • Closed Accounts Posts: 17 afdarcy


    Didn't need a username, 'cos the Win98 PC uses share-level access control. But it works grand - thanks!

    AD


Advertisement