[Samba] universal netlogon script

Ryan Novosielski novosirj at umdnj.edu
Wed Sep 3 15:56:52 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brad C wrote:
> Hi Guys,
> 
> Advise, I have 200 users, they all have access to 20 shares in different
> combinations. They all have their own netlogon scripts... its a management
> nightmare,
> is there a way to create a universal netlogon script that I can include all
> the shares to mount and it will silently fail on the ones it cant? Perhaps
> there is a smarter way to implement this idea,
> lynching is welcome, so is advice.

On our site, we use a perl script that outputs a batch file called
<username>.bat. I believe we use a root preexec/postexec to run the perl
script. Then the script is pointed at %U.bat.

This was in the manual, last I checked, under a heading similar to
"magic login script" or something like that.

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIvrPEmb+gadEcsb4RAs8pAJ42CdBaLOHv5SYDQqXC/P7lWF5oXgCgzu6B
+oJN1fTEzH/6kHs02XPJc1o=
=fYBH
-----END PGP SIGNATURE-----


More information about the samba mailing list