[Samba] Samba login scripts
Bob Crandell
bob at assuredcomp.com
Fri Jul 2 17:00:21 GMT 2004
Hi Sandy,
You should hit "Reply All" to keep our exchange on the list. At least until
they get it fixed.
Whether you use SuSE's version or the latest is up to your situation. If you
are running into bugs, then get the latest. In my case, I know there are
outstanding bugs but I haven't run into any of them.
Are your workstatons XP/2000, Win98 or mixed?
If XP/2000 then
The user is in a variable. It's up you to learn DOS batch file programming.
If Win98 then
You will need to set logon script = %u.bat
In each user's batch file set variables that determine which group they are
in and call the main login script.
If it's a mixed environment then
It's a little messy but once it's setup adding and changing users is almost
painless.
Good luck.
Sandy McCarthy (sandymccarthy at abesco.net) wrote:
>
> At 16:46 01/07/2004, you wrote:
> >Hi,
> >
> >The login script is just a DOS batch file. Login as Administrator, browse to
> >//server/netlogon and create/edit users.bat with Notepad or Windows Write.
> >Make sure you save it as plain text.
> >
> >This is part of mine:
> >
> >REM Clear previous mappings if present.
> >NET USE * /DEL /YES
> >REM Set the workstation's time.
> >NET TIME \server /SET /YES
> >REM Map the user's home directory.
> >NET USE H: \serverhome
> >
> >I hope this gets you started.
>
> Thanks for that. The * /Del /Yes command is great.
>
> Is it possible to run seperate login scripts for groups or individual users? The
> users.bat seems
> to run for all but I would like to have the flexability to run others like Novell can
> do.
>
> Also what advantages do I get for upgrading to version 3 or should I just stick to what
> Suse is downloading.
>
> Thanks
>
> Sandy
> --
>
>
--
Assured Computing, Inc.
When you need to be sure.
http://www.assuredcomp.com/
P.O. Box 40814
Eugene, OR 97404
Voice - 541-868-0331
FAX - 541-463-1627
More information about the samba
mailing list