[Samba] Group Login Scripts in Samba 2.2.3?

Brian Whitehead bwhitehd at earthlink.net
Mon Mar 25 04:55:05 GMT 2002


I've been using group based logins for a long time.  The logon script will
handle this if you use something like ifmember.exe or a kixtart or perl
script.  The major drawback with the ifmember.exe utility is that it will
not work on Win9x clients.  Again, I've been using this for quite some time
without having to code a C program to handle it.

--
Brian


----- Original Message -----
From: "K. Hawkes" <k.hawkes at zombies.force9.net>
To: "Brian Whitehead" <bwhitehd at earthlink.net>
Cc: <samba at lists.samba.org>
Sent: Sunday, March 24, 2002 3:16 PM
Subject: Re: [Samba] Group Login Scripts in Samba 2.2.3?


> > It would be much easier to just set the variable in the login.bat file
and
> > do what you need inside of the script.   You can't send command line
> > switches to the logon script from this directive.  You could use
multiple
> > logon scripts like '%U.bat'.  This would mean that each user had there
own
> > script.  You could then make this script call another script like
> 'login.bat
> > %username%' or something.  But, by far the easiest method is to use a
> single
> > script that will handle multiple users and groups.
> >
> > --
> > Brian
>
> Brian,
>
> It would be easier yes, but on the Windows' side of things, it does not
have
> access to /etc/passwd or /etc/group,
> so how can I use the single login script to determine what group a user is
> in?  That's why I wrote the C program for, which will
> search for the given username etc...  Windows doesn't have this, I can
port
> it to Win32 but I'd rather not as I'd then need to
> copy the /etc/group and /etc/passwd files.  Each user having their own
> script is a problem, we have 1500+ users and we don't have
> time to setup 1500+ login scripts, we thought it would be easy to
implement
> group-based logins.
>
> Seems that's not the case and never was, anyone out there with any other
> suggestions as to enable the use of group logins?
>
> Thanks
>
> Kris
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>






More information about the samba mailing list