Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: mjlyon on June 04, 2009, 04:42:54 PM
-
Hello All,
I've installed the loginscript contrib and have set up a login script so I can, at first, map the home drives as it was being done before.
Now, no drives are being mapped through the logon process. Obviously, I can easily map once logged on within Windows, but the shares are not being automatically mapped.
My loginscript in server-manager shows:
@ECHO OFF
net use N: /home
The drive letter selected for 'home' is N
-
I don't know about that contrib, but the line used for networkdrive mapping is wrong. It should be something like:
\\<YourServerName>\<ibayName>
Please do a search on the forums or Google for the correct syntax and options.
-
I have the contrib installed, mine looks like this
@ECHO OFF
ECHO Welcome to the TuamWan network
ECHO -----------------------------------
ECHO.
#ifg user
REM Map public-share iBay for users:
NET USE P: \\server\public-share
#endif
and I have set my home drive in the dropdown panel under the script window as U
It seems to work fine when I log in
I assume you are using XP Pro and have sme set as the domain controller and have sucessfully joined the domain.
-
As versa points out "home" already is mapped via the contrib, so you can't have that on the script.
For all the rest of the ibays, use the script.
-
As versa points out "home" already is mapped via the contrib, so you can't have that on the script.
For all the rest of the ibays, use the script.
Home is already mapped via the core samba settings, you do not even need the netlogon.bat script for that on SME Server.
-
mjlyon
I'm gathering all your doing is just setting your home drive to something other then the default Z that SME sets it to.
Whether you want SME to control that or the logon script ... you have to join the domain before your drives show up ... sometimes it may take 2 restarts of the computer to kick start it even.
If all you want is a workgroup .. then map your drives manually and don't use the logon contrib as it won't do it for you.
Regards,
Tib
-
I'm gathering all your doing is just setting your home drive to something other then the default Z that SME sets it to.
If OP is looking for that then that can easily be done using a configuration db change see: http://wiki.contribs.org/DB_Variables_Configuration#Samba_global_settings_.28smbd.29 for LogonDrive.