Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Graham on March 27, 2002, 05:46:24 PM
-
Hi Smithers,
I am starting to think I am going mad here !
Can anyone point me in the right direction ?
I got Login Scripts working fine if I login as Admin
just not for users ?
I have tried creating new users deleting groups addd users etc etc
Thanks !
-
have you changed the users shell away from the sshell ?
( hint : chsh -s /bin/sh username )
-
Check this thread, it may answer some of your questions:
http://www.e-smith.org/bboard//read.php?f=3&i=13626&t=13626
-Dev
-
Dev,
OK, I started that thread and now have all the info I need on how
to configure the script itself and what files to modify.
I have done that and it works fine - Only for Admin though !
Thanks !
-
Hi !
I havent done anything any different than last time when
it worked seamlessly !
Thanks !
-
verify netlogon.bat : rw- r-- r-- admin:admin
-
Thanks - you got there seconds after me looking at chown.
Its working BUT my smb.conf has been updated again by the system.
Now I have to go away and look at custom templates !
Thanks all !
-
Instructions for custom smb.conf template
(Enables users HOME drive mapping for Netlogon in 9x/NT/2K)
1) Make 3 files with the names / content as below (11logonHome etc)
2) Make a dreictory path /etc/e-smith/templates-custom/etc/smb.conf/
3) Copy the 3 files to that directory
4) Run this command
/sbin/e-smith/ ./expand-template /etc/smb.conf
5) Check over your /etc/smb.conf to see changes !
11logonHome
-----------
{
# users logon home path
# %L substitutes for this logon servers name
# %U is username
return "" unless ($SambaDomainMaster eq "yes");
"logon home = \%L\%U\._winprofiles";
}
-----------
11logonPath
-----------
{
# Where to store roving profiles
# %L substitutes for this logon servers name
# %N substitutes for this servers netbios name
# %U is username
# WinNT/W2K uses logon path
# Win9x uses logon home
return "" unless ($SambaDomainMaster eq "yes");
"logon path = \%L\profiles\%U";
}
-----------
11serverString
--------------
{
# server string is the equivalent of the NT Description field
my $server_string = db_get_prop($confref, 'smb', 'ServerString') ||
' My Linux Server';
"server string = $server_string";
}
---------------
If there is anything I havent grasped here please feel free to add
comments !
Thanks !
-
===========================================================
OK, I started that thread and now have all the info I need on how
to configure the script itself and what files to modify.
I have done that and it works fine - Only for Admin though !
===========================================================
Doh! Caught me not paying attention :)
Not sure why it'd only work for admin...What system are you logging in with? Win98, 2K, XP?
Is the script not working at all or is it just not doing things like mapping home/group drives? For example, does 'net time...' properly synch the client time with the server?
Do other users have access to the netlogon share? When logged in as a normal user try mapping to the netlogon share "net use x: \servername\netlogon"
-Dev
-
Did you edit the file under Linux? If so you may have corrupted it, try logging into your windows machine as admin and browse to the directory and re-edit the file from windows.
-
Thanks, yes good point, fell foul of that before (ie Edit in Win NOT Lin !)
Thanks all for contribs, now all is fine !
-
Graham,
Mind if ask what was the final resolution to fix your problem? (In case I encounter it myself in the future.)
Thanks,
-Dev
-
As gs' mentioned - somehow netlogon.bat had permissions set.
Dont know how ?
So I used MC to change them like this :-
Owner Group
RW R
I didn think i would need eXecute as the bat is being run on client.
Anyways that sorted it out !
Also, the mods to the custom template have worked nicely - Easy
when you know how.
Only thing I havent figured :-
In Daniel Vann Rays CP Add on you could do tests like # i f g
(if group) I would love to know what to modify manually as I cant get
that module working in 5.1.2 (was ok in 4.xx)
Will check out those .exe helpers you talked about (I guess they are
similar to Kickstart)
TTFN
Graham