[plug] login script to samba server
Bennett, Phillip
PBennett at arg.net.au
Mon May 3 15:41:09 WST 2004
I thought the login script executed on the client, rather than the server?
-----Original Message-----
From: Jon Miller [mailto:jlmiller at mmtnetworks.com.au]
Sent: Monday, 3 May 2004 16:15
To: plug at plug.linux.org.au
Subject: [plug] login script to samba server
Need to create a login script for Windows 2000 desktops, one of the lines in
the script needs to check for membership to a certain group. What we've
found is that as the user login the script stops because they do not have
access to the share.
logon.bat
net time \\devnull /set /y
net use h:\\storage\home
net use s: \\storage\shared
if member of "accounts" then
net use j:\\storage\accounts
end
of course the if statement doesn't work.
Does samba have a way of checking if the user that is logging in is a member
of a certain group.
Thanks
Jon L. Miller, MCNE, CNS, ASE
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
"I don't know the key to success, but the key to failure
is trying to please everybody." -Bill Cosby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20040503/bcb41e5f/attachment.html>
More information about the plug
mailing list