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. -- Jason
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. -- Jason
Hello, Thanks for the reply. Yes, I have a line like that. It's a path problem as there is no Z: drive, I believe it needs to be C: to execute. Logon.bat: NET TIME \\COMPAQ /SET /YES NET USE * /D /Y NET USE H: /HOME NET USE M: \\COMPAQ\DRIVERS NET USE P: \\COMPAQ\PROGRAMS NET USE T: \\COMPAQ\TEMP NET USE V: \\COMPAQ\VIPER PAUSE I don't know what to do next. -- Jason ----- Original Message ----- From: "Jason Lieurance" <jason@vipersystems.biz> To: <samba@lists.samba.org> Sent: Wednesday, June 30, 2004 3:57 PM Subject: [Samba] Logon script problem 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. -- Jason
> -------- Original Message -------- > Subject: Re: [Samba] Logon script problem > From: "Jason Lieurance" <jason@vipersystems.biz> > Date: Wed, June 30, 2004 7:28 am > To: admin@riz-saalfeld.de > Cc: samba@lists.samba.org > > Hello, > > Thanks for the reply. Yes, I have a line like that. It's a path problem as there is > no Z: drive, I believe it needs to be C: to execute.When a user logs onto a domain member machine a drive connection is automatically set up to the NETLOGON share. The drive letter used is the last letter available (usually Z:). This connection is mostly dropped on completion of logon. Files can be executed off any drive mapping that is made. What makes you believe otherwise? Cheers, John T.> > Logon.bat: > > NET TIME \\COMPAQ /SET /YES > NET USE * /D /Y > NET USE H: /HOME > NET USE M: \\COMPAQ\DRIVERS > NET USE P: \\COMPAQ\PROGRAMS > NET USE T: \\COMPAQ\TEMP > NET USE V: \\COMPAQ\VIPER > > PAUSE > > I don't know what to do next. > > -- > Jason > > ----- Original Message ----- > From: "Jason Lieurance" <jason@vipersystems.biz> > To: <samba@lists.samba.org> > Sent: Wednesday, June 30, 2004 3:57 PM > Subject: [Samba] Logon script problem > > > 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. > > -- > Jason > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Thanks Tim and anyone else who offered a solution. The problem was the 'net use * /d /y' line at the very beginning of the script. Removing it solved the problem. -- Jason Tim Tait said:> Jason Lieurance wrote: > >>John H Terpstra said: >> >> >> >>>When a user logs onto a domain member machine a drive connection is >>> automatically set up to the NETLOGON share. >>>The drive letter used is the last letter available (usually Z:). This connection >>> is mostly dropped on completion of logon. >>> >>>Files can be executed off any drive mapping that is made. What makes you believe >>> otherwise? >>> >>> >>> >> >>I understand that, but I don't know why it says: >> >>Z:\>NET USE H: /HOME >>The current directory is invalid. >> >>to every 'net use' line. >> >>But with the novell client installed, it works fine. >> >> > The command shell won't execute anything if the current working > directory/drive does not exist. So Z: was mapped during logon as Windows likes to > do. The netlogon then starts running. But for some reason it seems like Z: is > being disconnected before it's done... on my system Z: is the persistent home > dir, and stays mapped until you logout. Anyhow, a quick cheesy fix would be to > add a statement in the logon script to make C: your working drive (ie "C:"). > > Tim