[Samba] Logon script problem
rruegner
robert at ruegner.org
Fri Jul 2 01:42:19 GMT 2004
Hi i ,sometimes got trouble with auto home mapping
and solved this with a logon script for this usersgroup
with this parameters loginscript
@echo off
echo %USERNAME%
REM expands to the inlogging user
net use x: \\bdc\%USERNAME% /persistent:no
REM will make sure that the users home is mounted to x:
Perhaps this is a way to solve your problem
Regards
Jason Lieurance schrieb:
> Hello,
>
> I'm running samba 3.02 on freebsd 4.7. Client systems are WinXP Pro Srv Pk 1.
>
> Anyway, the logon script has issues, I added a pause statement to view it.
>
> It says:
>
> There are open files and/or incomplete directory searches pending on the
> connection to Z:
>
> The command completed successfully.
>
> Z:\>NET USE H: /HOME
> The current directory is invalid.
>
> END.
>
>
> Where did Z: come from??? I never modified any path statements in the environment
> varibles on the XP systems. I figured it was because the novell client was
> installed at one time on a few systems and it had to do with that but it does the
> same thing on a system with fresh install of WinXP PRO.
>
> The weird thing is that with the novell client on one of the systems, if you check
> workstation only and login with your domain UN & PW, it logs with the login script
> just fine.
>
> Any help would be greatly appreciated.
>
More information about the samba
mailing list