Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,244
» Latest member: dangyc
» Forum threads: 4,031
» Forum posts: 16,406

Full Statistics

Online Users
There are currently 453 online users.
» 0 Member(s) | 449 Guest(s)
Baidu, Bing, DuckDuckGo, Google

Latest Threads
how to allow only steam t...
Forum: Xorg Problems
Last Post: moquber
2026-03-17, 09:40 PM
» Replies: 0
» Views: 299
Wi-Fi works for a few min...
Forum: Network Problems
Last Post: kabifff
2025-12-15, 12:57 AM
» Replies: 0
» Views: 669
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 4,029
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 125,239
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 75,394
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 5,407
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 9,227
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 47,569
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 166,527
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 98,054

 
  Print Server Migration
Posted by: Digerati - 2003-12-16, 03:17 PM - Forum: Tips and Tricks - No Replies


When you conduct a print server migration, you must consider the best method for moving your users off the old print servers and onto the new servers. You can manually change each user's installed printers, although this task is time-consuming. Alternatively, you can use a third-party tool or logon scripting with Active Directory's (AD's) Group Policy to automatically install new printers.

 

Automatic methods typically involve giving users access to the new printers without limiting their access to the old printers, then guiding users in selecting their new default printers and deleting the old printer names. This type of scenario can be problematic because if users don't follow instructions correctly, they can experience dead printer connections after you decommission the old print servers. The VBScript code prevents these problems when you run it at logon.

 

To run the script, you need a list of your old and new print queue names in a comma-separated text file. I used C:\printers.txt for the file location, but you can also use a network share. You need to use the following format for the script to work:

 

\\oldserver\oldprinter,

\\newserver\newprinter

 

[VBScript code]

Logon Script to Automatically Install New Printers

On error resume next

 

' This code enumerates the user's current network printer connections.

Set WshNetwork = CreateObject("WScript.Network")

Set oPrinters = WshNetwork.EnumPrinterConnections

 

For j = 0 to oPrinters.Count - 1 Step 2

 

' This code opens a comma-delimited text file containing

' the corresponding old and new printers and assigns

' each line as an array variable.

Const ForReading = 1

Set objFSO = CreateObject("Scripting.FileSystemObject")

Set objTextFile = objFSO.OpenTextFile ("C:\printers.txt", ForReading)

 

Do Until objTextFile.AtEndOfStream

strNextLine = objTextFile.Readline

arrPrinterList = Split(strNextLine , ",")

' This section retrieves the registry value corresponding to the

' default printer and assigns the registry value as a string variable.

const HKEY_CURRENT_USER = &H80000001

strComputer = "."

Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _

& strComputer & "\root\default:StdRegProv")

strKeyPath = "Software\Microsoft\Windows NT\CurrentVersion\Windows"

strValueName = "Device"

oReg.GetStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,strValue

wscript.echo(strValue)

' This code takes both variables defined above and introduces conditional logic.

 

For i = 1 to Ubound(arrPrinterList)

If strValue =(arrPrinterList(0)) then

Wscript.Echo "Your default printer will be changed to: " & arrPrinterList(i)

WshNetwork.AddWindowsPrinterConnection arrPrinterList(i)

WshNetwork.SetDefaultPrinter arrPrinterList(i)

WshNetwork.RemovePrinterConnection arrPrinterList(0)

Else

If oPrinters.Item(j+1)=arrPrinterList(0) then

WshNetwork.RemovePrinterConnection arrPrinterList(0)

WshNetwork.AddWindowsPrinterConnection arrPrinterList(i)

End If

End If

 

wscript.sleep 15000

Next

 

Loop

Next

wscript.echo "<Insert optional notification here.>"

Print this item

  NFS - Problems
Posted by: kZo - 2003-12-16, 03:17 PM - Forum: How Do I? - Replies (4)


How, for the love of me, do you get that stupid NFS working properly?

 

1. I cannot install from CD-rom with bootdisk. (Cdrom doesn't support CDR'S)

2. I cannot install over the internet. (Locks up halfway through the install)

3. I cannot figure out NFS. (Starts to install then can't find the files)

 

 

Wooooo whooooo

Print this item

  Redhat 9.0 Repositories
Posted by: kZo - 2003-12-16, 12:57 PM - Forum: How Do I? - Replies (6)


I'm looking for some additional Repositories for Linux Redhat 9.0. Anyone know of some ones that I can add to my sources.list?

 

For those of you unfamiliar with apt-get, check it out.

 

[/url][url=http://apt.freshrpms.net]http://apt.freshrpms.net

 

apt-get is a great utility for installing and updating packages on your system. It's a very useful utility. I have replaced up2date all together with apt-get.

 

Not to mention it saves you time when you'd like to add a program, or utility for your system. All you do is:

 

[user@snappy]# apt-get install gnome

 

You'll see a progress bar, and you'll be on your way.

Print this item

  Samba/Active Directory/Rdesktop
Posted by: kZo - 2003-12-16, 12:53 PM - Forum: How Do I? - Replies (4)


If anyone has any ideas on how I should go about doing this, I can certainly use the help.

 

My current place of employment has about 5 Pentium 166 computers. I figure if I run any OS on these machines it's going to run slow.

 

With my passion and love for Linux, I have decided that I might turn all 5 machines into client PC's running [/b]RDesktop (Linux Terminal Services Client). I'm not exactly sure the best method for going about this, but I do believe that this is how I'm going to initially try to set it up.

 

5 Machines running Linux Redhat 9. Just the main packages installed, and the packages to allow the aid of X.

 

Option (1)

What I would like to do, is install Samba on each of the 5 machines, allow them to authenticiate from a MS Windows 2003 Active Directory Server. They get a login prompt and then they login.

 

Option (2)

Install samba on the machines, have an auto login to where it automatically logs onto the system, and starts rdesktop. User sees nothing other than the "Windows TS logon"

 

I would like to hear any other suggestions. One of the first problems that I have ran into is:

 

1. Can not install from CDrom. CDrom's do not support "burned" images.

2. Not familiar enough with NFS installs

3. Network install always crashes when installing packages

 

So, I believe I have exhausted my installation methods that I can think of. Unless there is another no-so-terribly-time-consuming way. :)

 

o_O

Print this item

  Good ones
Posted by: kZo - 2003-12-16, 12:40 PM - Forum: Games in Linux - Replies (11)


Games have always been a little bit of a past time for me, however, recently I have not been able to read up on them. I'm looking for some games that will run on a GForce 440 mx 128mb ram.

 

I'm going to be installing a new Redhat box, probably running Fedora, and I'm interested in finding some new games that will run with the Nvidia chipset, and lookg good.

 

Current games I own.

 

Battlefield 1942, <---- Not sure if that runs on *nix or not.

Unreal Tourn. <--- I know it does

Unreal Tourn 2003 <---- I know it does

Warcraft III <---- Not sure

Ghost Recon <---- Not sure

Rainbow Six <---- Not sure

 

If you know, or have any suggestions I'd like to hear them. o_O

Print this item

  welcome to linux-noob.com forums
Posted by: anyweb - 2003-12-16, 09:19 AM - Forum: Site News - No Replies


a quick note to say welcome to the linux-noob.com forums,

 

i've put quite a bit of effort so far into creating these forums and i hope that they will grow and grow over time with lots of new members and lots of good and interesting content,

 

i also want active members to try and get some new members to join, the more the better as long as they post in the forums and use them properly,

 

brief rules here are as follows:-

 

 

1. no bad language.

2. no racism

3. no warez links

4. no pr0n of any sort

 

apart from that have fun and welcome to a growing community

 

I do watch how people post, and I'll soon be annoucing a new Moderator for the forum,

 

cheers

 

anyweb

[/url][url=https://www.linux-noob.com]https://www.linux-noob.com

forums, tips, news, reviews and stuff

Print this item

  howdy
Posted by: morbondu - 2003-12-16, 05:32 AM - Forum: Hello - Replies (11)


howdy ya'll

 

my real name is morgan.

and i'm a linuxaholic.

 

actually i'm new to linux and enjoy'n learning something new everyday.

i'm a college student at Mississippi State University.

I'm also getting into web host reselling and database design for small business.

 

i'm a bassist. i play a few shows every now and then for the extra cash. I'm going

into the recording studio this Spring. If you want a 'free' CD, let me know. I'll try

to pass out as many freebies as I can.

 

linux-noob.com is great place.. i hope it takes off in the future.

 

morbondu

 

grithouse.com

Print this item

  How to create a symbolic link
Posted by: morbondu - 2003-12-16, 04:54 AM - Forum: Tips and Tricks - Replies (2)


I wanted to create a symbolic link from /root to /usr/local/rpms. I like to save my rpms in that dir,

but I'm lazy and I hate to type out or even tab complete /usr/local/rpms when I wanted to read,

execute a rpm package while I located in /root. So a symbolic link is a quick fix.

 

I found this to be the simpliest way of creating a symbolic link.

 

[root@redhat.over-yonder root]# ln --symbolic /usr/local/rpms

 

[root@redhat.over-yonder root]#ls -l

total 192

-rw-r--r-- 1 root root 1167 Aug 21 15:52 anaconda-ks.cfg

-rw------- 1 root root 337 Nov 6 18:27 dead.letter

-rw-r--r-- 1 root root 8850 Aug 21 15:51 install.log

-rw-r--r-- 1 root root 3186 Aug 21 15:52 install.log.syslog

-rw-r--r-- 1 root root 2216 Aug 25 12:45 kudzu-probe.txt

drwx------ 2 root root 4096 Nov 6 18:48 mail

-rw-r--r-- 1 root root 151659 Nov 17 11:21 phpbbbackup.sql

lrwxrwxrwx 1 root root 15 Dec 15 21:44 rpms -> /usr/local/rpms

drwxr-xr-x 2 root root 4096 Nov 19 00:17 tmp

 

wahoo symbolic link rmps -> /usr/local/rpms

quick rundown:

ln --symbolic /usr/local/rpms

ln (link command) --symbolic(what kind of link) /usr/local/rpms(target)

since i didn't name the link the end of the target will be the link's name at /root

 

type: ln --help for more info.

 

morbondu

Print this item

  "Compliments"
Posted by: kZo - 2003-12-15, 06:51 PM - Forum: General Chat - Replies (2)


So, a guy walks into a bar, and it's just him and the bar tender. He orders a drink.

 

The bartender walks away and is making the fellows drink when he hears "nice pants."

 

Astounded the fellow asked the bartender if he said anything. "No, I didn't say a word sir" said the bartender.

 

So he receives is drink and continues to think about the day. The guy hears "Nice shirt."

 

This time with a little hesitation he decides that he's not going to ask the bartender.

 

He's looking around and see's a fellow walk in and sit down at the end of the bar, far enough away to where he can't really have a conversation. After peering around the bar, he hears another voice.

 

"Nice shoes" The voice says.

 

This time the man is in a fury and yells to the bartender, I can't believe that you are saying you aren't saying anything. It's you and I, and I'm not saying anything.

 

At that time, the bartender says, "Oh, it must be the complimentary peanuts."

 

Badda Boom!

Print this item

  RedHat Upgrade
Posted by: kZo - 2003-12-15, 05:28 PM - Forum: How Do I? - Replies (5)


I'm currently Running Redhat 9.0

 

Wondering if the upgrade is worth the effort right now? Let me know.

 

Also, send me some good fast links for the iso's please.

Print this item