How To: Disable Authentication within Remote Desktop Connection 6 Client


Je kent het wel, je doet Start – Run – mstsc /v servernaam /console om een server over te nemen en pats het onderstaande scherm verschijnt.

rdp6_2xauthentication.gif

Mijn collega ICT-Freak Jimmy heeft de oplossing gevonden voor het bovenstaande scherm. Hij stuite op de volgende link: http://forums.microsoft.com/TechNet waar IvanBrug de oplossing post. Thanx Ivan.

test

De oplossing voer je als volgt uit, open de default.rdp in wordpad:

Start – Run – Wordpad C:\Documents and Settings\%Username%\My Documents\default.rdp {enter}

Voeg daarna de volgende regel toe aan de default.rdp

EnableCredSSPSupport:i:0

Nu ben je van die vervelende melding af.

Mocht je nog custom RDP files hebben, dan dien je deze ook aan te passen met de bovenstaande regel.



Bron: http://forums.microsoft.com/TechNet

Windows Setup Hangs on Formatting when using a NFS datastore and ESX 3.0.1


Nadat ik het NFS verhaal in Windows geconfigureerd had (zie eerdere post:NFS on Windows 2003) wilde ik deze ook gaan gebruiken als datastore voor een aantal VM’s.

Dus ik had een VM gemaakt voor Windows Server 2003, Standard Edition. Toen ik bij het partitioneren van de hdd de partitie op NTFS quick wilde formateren liep dit helaas vast.

winsetuponnfsdatastore.gif

Het formateren blijft hangen op 20%.
winsetuponnfsdatastore1.gif

Na wat testen liep kwam ik erachter dat de setup alleen door loopt als je de partitie op FAT32 formateerd.
winsetuponnfsdatastore2.gif

Weet je het zeker?
winsetuponnfsdatastore3.gif

De partitie wordt geformateerd.
winsetuponnfsdatastore4.gif

Nadat de Windows installatie klaar is kun je met het volgende commando de partitie converteren naar NTFS
Convert C: /FS:NTFS

IBM: Your roadmap to linux


IBM heeft een stappen plan gemaakt voor degene die van Windows naar Linux over wilt stappen of voor degene die wat meer van Linux wil weten.

Step 1. Thinking in Linux The first step to success in Linux is learning to think in Linux. Take what you already know and redirect it to doing things the Linux way.

Step 2. Console crash course Linux provides great power and flexibility through the console. If it has been a while since you’ve spent much time at the command prompt, take a little time to reacquaint yourself with this environment by reviewing common commands you’ll use all the time.

Step 3. Introduction to Webmin While it is important to know the nuts and bolts of administration, it is often more convenient to have a tool. Also, a higher-level application makes complex configurations easier to handle. Webmin provides point-and-click configuration for beginning and experienced administrators.

Step 4. User administration If a system has no users, is it really a system? Learn about the Linux approach to users.

Step 5. Linux logging Linux makes extensive use of logging. Nothing is hidden from you. Becoming comfortable and familiar with logs will allow you to monitor the health of your system and track activities.

Step 6. Working with file systems File systems are at the heart of every server. Linux provides a lot of flexibility in its file systems.

Step 7. Networking Working unconnected is unthinkable in today’s world. Linux on the network unleashes its full potential. However, Linux networking looks very different on its face. You’ll need to learn some new terminologies and new tools.

Step 8. Backup and recovery The first line of defense against disaster is a backup of the data. Linux provides different options, some of which are very simple to work with.

Step 9. Installing software Linux can use prepackaged binary files, or you can compile programs directly from source code. The tools for installing Linux programs are very useful and provide functionality you might not expect.


Bron: http://www.vmware.com/community/ IBM Windows to Linux Roadmap

How To: Configure SAMBA on Ubuntu 6.10


Op deze pagina leer je hoe eenvoudig het is om SAMBA te installeren en verder te configureren. SAMBA wordt geïnstalleerd op Ubuntu Server 6.06 LTS.
Om te beginnen worden eerst de volgende packages worden geïnstalleerd:

apt-get install samba samba-common samba-doc libcupsys2-gnutls10 libkrb53 winbind smbclient

Daarna moet de smb.conf aangepast worden:

Vi /etc/samba/smb.conf
De smb.conf komt er al volgt uit te zien:

[global]
workgroup = WORKGROUP
netbios name = VMServer
server string = %h server (VMServer)

passdb backend = tdbsam
security = user
username map = /etc/samba/smbusers
name resolve order = wins bcast hosts
domain logons = yes
preferred master = yes
wins support = yes

# Set CUPS for printing
printcap name = CUPS
printing = CUPS
# Default logon
logon drive = H:
logon script = scripts/logon.bat
logon path = \\server1\profile\%U
# Useradd scripts
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody %u
idmap uid = 15000-20000
idmap gid = 15000-20000
# sync smb passwords woth linux passwords
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
passwd chat debug = yes
unix password sync = yes

# set the loglevel
log level = 3

[homes]
comment = Home
valid users = %S
read only = no
browsable = no

[printers]
comment = All Printers
path = /var/spool/samba
printable = yes
guest ok = yes
browsable = no

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
admin users = Administrator
valid users = %U
read only = no

[profile]
comment = User profiles
path = /home/samba/profiles
valid users = %U
create mode = 0600
directory mode = 0700
writable = yes
browsable = no

! Let op: de netbiosnaam in de smb.conf moet hetzelfde zijn als je servernaam.

Voer nu de onderstaande commando’s uit:

mkdir /home/samba
mkdir /home/samba/netlogon
mkdir /home/samba/profiles
mkdir /var/spool/samba
chmod 777 /var/spool/samba/
chown -R root:users /home/samba/
chmod -R 771 /home/samba/

De bovenstaande commando’s maken de benodigde mappen aan en geven gelijk de juiste rechten mee.

Nu moet samba opnieuw worden opgestart. Dit gebeurd met het onderstaande commando:

/etc/init.d/samba restart

Nu moet het bestand /etc/nsswitch.conf aangepast worden:
hosts: files wins dns
Vervolgens moet de hosts file aangepast worden. Voeg hier alle werkstations binnen het netwerk toe.
/etc/hosts
192.168.0.100 server1
192.168.0.110 workstation1
192.168.0.111 workstation2
192.168.0.112 workstation3
192.168.0.113 workstation4

Voor het bewaren van de useraccounts gebruikt SAMBA de password database. Als eerste wordt de root accountaan de SAMBA password database toegevoegd.
smbpasswd -a root

Nadat de user is toegevoegd aan de SAMBA password database moet het volgende bestand aangemaakt worden:
/etc/samba/smbusers
Dit doe je met het onderstaande commando:
echo “root = Administrator” > /etc/samba/smbusers
De bovenstaande regel maakt de alias Administrator aan voor het root account.
De configuratie is nu zover dat er getest kan worden. Dit doe je door het volgende commando uit te voeren:

smbclient -L localhost -U%

Als alles goed staat krijg je geen error meldingen en komt er een soorgelijk logbestand zoals hieronder:

Domain=[MYWORKGROUP] OS=[Unix] Server=[Samba 3.0.14a-Ubuntu]Sharename Type Comment
——— —- ——-
netlogon Disk Network Logon Service
print$ Disk Printer Drivers
IPC$ IPC IPC Service (server1 server (Samba, Ubuntu))
ADMIN$ IPC IPC Service (server1 server (Samba, Ubuntu))
Domain=[MYWORKGROUP] OS=[Unix] Server=[Samba 3.0.14a-Ubuntu]
Server Comment
——— ——-
SERVER1 server1 server (Samba, Ubuntu)
Workgroup Master
——— ——-
MDKGROUP IPRG
MYWORKGROUP SERVER1
Voeg nu de standaard Windows groepen toe:

net groupmap modify ntgroup=”Domain Admins” unixgroup=root
net groupmap modify ntgroup=”Domain Users” unixgroup=users
net groupmap modify ntgroup=”Domain Guests” unixgroup=nogroup
Nu voeg je onderstaande code toe aan de /etc/samba/smb.conf


[vms]
comment = All Virtual Machines
path = /vms
read only = no
browsable = yes

[vmimages]
comment = De ISO bestanden
path = /vmimages
read only = no
browsable = yes

Herstart Samba:
/etc/init.d/samba restart

Nu heb je een share aangemaakt VMs deze kun je benaderen door op je Windows machine te browsen naar \\vmserver\VMs en \\vmserver\vmimages

bron: howtoforge

EventID: 1054


De volgende foutmelding stond er in het evenlog:

Event ID: 1054
Source: Userenv
Type: Error

Description: Windows cannot obtain the domain controller name for your computer network. (The specified domain either does not exist or exist or could not be contacted). Group Policy processing aborted.

In KB326152 vindt je meer informatie over het probleem.

Er is nog geen officiele patch beschikbaar voor dit probleem maar, Micorosft heeft het volgende KB artikel beschikbaar gesteld KB239924/ met daarin een workaround.

In de workaround wordt beschreven hoe je een registry key aan moet passen. Dit kun je doen door de volgende registry key te kopieeren naar kladblok en op te slaan als kb239924.reg.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
“DisableDHCPMediaSense”=dword:00000001

Vervolgens kun je dubbel klikken op het bestand om de registry key te importeren. Na het importeren wordt DHCP Media Sensing uitgeschakeld


bron: KB326152 KB239924/

iSCSI and VMware ESX3


In deze post som ik even een paar punten op waar je rekening mee moet houden als je gebruik gaat maken van iSCSI in een VI3 omgeving.

Network

Network Speed and Duplex: 1 Gigabit and Full duplex

There are two types of ISCSI initiators

Software based: Software based iSCSI initiators have a code built into VMKernel which carries out the transporting job, using software initiators, the ESX server connects to a LAN through an existing NIC card using network stacks, in short you can implement iSCSI without purchasing specialized hardware. You also need to open a firewall port by enabling the iSCSI software client service.

Hardware based : Hardware based iSCSI initiators: requires HBA cards which are specialized to transport iSCSI cmds over LAN to the target. Currently ESX Server supports only Qlogic QLA4010 iSCSI HBA.

Discovery methods

Static: Only available for Hardware based iSCSI initiators, you can manually add additional targets or remove unneeded targets. If you remove a dynamically discovery static target, the target can be returned to the list the next time a rescan happens, the HBA is reset, or the system is rebooted.

Dynamic: to use this method enter the address of the target device so that the initiator can established a discovery session with this target. The target device then responds by forwarding a list of additional targets that the initiator is allowed to access.

Failover

Active/Active = Fixed
Active/Passive = MRU

The initiators can use one of the following formats

IQN (iSCSI qualified name)
EUI (extended unique indentifier)

IQN can be up to 255 characters long and has the following format:

iqn.year-mo.unique_reversed_domain_name:unique_name,where year-mo represents the year and month your domain name was registered,reserved_domain_name

Authentication

ESX does not support Per-target credentials

The authentication type of iSCSI is CHAP (Challenge Handshake Authentication Protocol) only unidirectional CHAP authentication is supported.
Only one set of CHAP credentials per software initiator

Others

Max iSCSI LUNS: 8

Clustering is not official supported for iSCSI


bron: http://www.vmware.com/support/pubs/vi_pubs.html http://esxvmware.spaces.live.com/