[Sussex] Active Directory, Logon Scripts and Linux
Matthew Macdonald-Wallace
matthew at truthisfreedom.org.uk
Mon Apr 2 07:36:18 UTC 2007
Quoting Nicholas Butler <nik at reducedhackers.com>:
> Hi Matthew well most of this is straight forward enough but i thought
> Iwould answer the below.
>>
>>
>> This is basically what our current logon script does for the
>> windows boxes - here come the questions:
>>
>> 1) Can I do this in BASH, or is there an alternative "preferred" method?[1]
> Not really , BASH in this case is ideal since your can do for more
> flexible manipulation of the command environment, its what scripting
> languages are for.
>> 2) If I were to use PHP (coz it's what I know!) - using system
>> calls to map drives/add to groups etc - would this pose a serious
>> risk?
> not much but it would probably pose a headache if the
> apache/php/environment was moved , updated. where as 1 has better
> longevity
Agreed, however the plan would be to run this using PHP-CLI, not mod_php.
>> 3) Are there any tutorials out there that people know of on how to
>> do this already?[2]
> Loads. but first stop are you on the samba-maillist ?
/me blushes...
ummm, nope. :o(
>
> https://lists.samba.org/mailman/
>
> also heres some links from my own lookups
Thanks, I'll take a look, they look v. interwesting!
M.
--
Matthew Macdonald-Wallace
Group Co-Ordinator
Thanet Linux User Group
http://www.thanet.lug.org.uk/
matthew at truthisfreedom.org.uk
GPG KEY: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFEA1BC16
More information about the Sussex
mailing list