![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | printer from different domain In my school there is a student domain and a teacher domain. Each are on different subnets but the subnets can talk to each other. Student printers are mapped depending on the computer name. Admin printers are mapped to all teacher laptops so they can print from anywhere. All printers are shared from either the teacher or student 2003 server. I want to cut and paste a section from the student's logon script to the teacher logon script so that if a teacher logs on to a student machine, using the teacher credentials (log on to the teacher domain but on a computer joined to the student domain), the script realizes the computer is in the other domain so it needs that domain's printers (talk about run on sentences!). So, should my case statement look like: 1. if computer name is student\computer-name, then choose this printer 2. if computer name is computer-name.student.ca, then choose this printer 3. Or should I be looking at saying if the computer is on such and such a subnet, then use this printer. Thanks, |
My System Specs![]() |
| | #2 (permalink) |
| | Re: printer from different domain "Jeremy" <Jeremy@xxxxxx> wrote in message news:63F35E5C-3031-4DC1-95ED-98C4CB9F97FC@xxxxxx Quote: > In my school there is a student domain and a teacher domain. Each are on > different subnets but the subnets can talk to each other. > Student printers are mapped depending on the computer name. policy, or is it assigned to the users in active directory? Quote: > Admin printers are mapped to all teacher laptops so they can print from > anywhere. Quote: > All printers are shared from either the teacher or student 2003 > server. > I want to cut and paste a section from the student's logon script to the > teacher logon script so that if a teacher logs on to a student machine, Quote: > using > the teacher credentials (log on to the teacher domain but on a computer > joined to the student domain), the script realizes the computer is in the > other domain so it needs that domain's printers (talk about run on > sentences!). > > So, should my case statement look like: > 1. if computer name is student\computer-name, then choose this printer > 2. if computer name is computer-name.student.ca, then choose this printer > 3. Or should I be looking at saying if the computer is on such and such a > subnet, then use this printer. or you could just determine the domain that the computer and the user belong to. I would think that to be better (simpler) than looking at subnets. Ours is a single-domain (well, in production, at least), so I do not have any directly relevant experience here. When person A from domain B logs on at computer C from domain D, (where D=B) how is it determined which printer will be mapped? Is it typically the one physically nearest to the workstation, or is it assigned to the individual? /Al |
My System Specs![]() |
| | #3 (permalink) |
| | Re: printer from different domain Thanks Al. I figured out that I could just use a case statement (an if then statement really I guess. if comp name = x then give this printer. So problem solved, but I can still paste the code if you thik it would be valuable. Thanks, Jeremy "Al Dunbar" <alandrub@xxxxxx> wrote in message news:uCLJ9Y2yJHA.4632@xxxxxx Quote: > > "Jeremy" <Jeremy@xxxxxx> wrote in message > news:63F35E5C-3031-4DC1-95ED-98C4CB9F97FC@xxxxxx Quote: >> In my school there is a student domain and a teacher domain. Each are on >> different subnets but the subnets can talk to each other. >> Student printers are mapped depending on the computer name. > Are they mapped by the logon script? is that logon script run through > group policy, or is it assigned to the users in active directory? > Quote: >> Admin printers are mapped to all teacher laptops so they can print from >> anywhere. > And how is that done? > Quote: >> All printers are shared from either the teacher or student 2003 >> server. >> I want to cut and paste a section from the student's logon script to the >> teacher logon script so that if a teacher logs on to a student machine, > try posting the logon script... > Quote: >> using >> the teacher credentials (log on to the teacher domain but on a computer >> joined to the student domain), the script realizes the computer is in the >> other domain so it needs that domain's printers (talk about run on >> sentences!). >> >> So, should my case statement look like: >> 1. if computer name is student\computer-name, then choose this printer >> 2. if computer name is computer-name.student.ca, then choose this >> printer >> 3. Or should I be looking at saying if the computer is on such and such >> a >> subnet, then use this printer. > You could leverage your computer naming convention (assuming NO > exceptions), or you could just determine the domain that the computer and > the user belong to. I would think that to be better (simpler) than looking > at subnets. > > Ours is a single-domain (well, in production, at least), so I do not have > any directly relevant experience here. When person A from domain B logs on > at computer C from domain D, (where D=B) how is it determined which > printer will be mapped? Is it typically the one physically nearest to the > workstation, or is it assigned to the individual? > > /Al > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Need to change external domain without changing the .local domain | Virtual Server | |||
| Active Directory Domain Services Is Currently Not Available- Printer Missing Solution | Vista networking & sharing | |||
| Using Vista Home to connect to printer on WS2003 and XP pro domain | Vista networking & sharing | |||
| Connect laptop to domain printer | Vista networking & sharing | |||
| Printing to a shared printer on a workgroup from a PC on a domain | Vista networking & sharing | |||