Monday, July 23, 2012

Toshiba Tecra R850 Recovery

In general the Toshiba Tecra R850 is a good laptop. Light for it's size (15.6"), with anti-glare screen, the only negative so far is the smooth keys on keyboard have a slippery feel.

Various forums that state you can hold the "0" key down while turning on the laptop to boot to recovery mode - in fact, this does not work for this model.  To enter recovery mode you must press the F8 key to enter the Windows boot menu, the top item is "Repair Your Computer". This will boot to Windows 7 recovery mode, where the Toshiba Recovery Wizard can be accessed.  The procedure is outlined in the Toshiba manual for Tecra R850.

*If you cannot access the Windows boot menu, you can also mark the recovery partition (the last partition on disk) as Active - it will boot to the Windows 7 recovery mode.

*The recovery partition is required to generate the recovery DVD's.

In the recovered state the Toshiba has the following layout:
Partition 1 = ~1.5GB System partition (hidden,active)
Partition 2 = C:\ drive system partition
Partition 3 = Recovery image partition (hidden)

Friday, July 13, 2012

Samba DC and Windows 7

An incident occurred where Windows 7 clients were giving the error:
"There are currently no logon servers available to service the logon request"
when trying to connect to a Samba 3.4.4 domain controller (eBox). 
The setup had been working fine for approximately 6 months. 
After 1 reboot and many investigations to samba, ldap, DNS configs, IPv6, etc. it was discovered that the nmbd (BIOS name services - WINS) was not stopping when /etc/init.d/samba stop was executed.

Manually killed the service using:
 killall -SIGTERM nmbd
Then everything started working properly again!

Some packet traces revealed the following when trying to re-join a Windows 7 workstation to the domain:
A DNS query is made first.
Followed by NETBIOS-DN name lookups. (UDP port 137)
Followed by the LDAP query.

The server was initialy responding with "ICMP-No response on port 137".
So it looks like in this setup, Samba relies more on WINS(nmbd) than DNS(proper).

Also, we had to comment out the VFS lines in samba.conf,
as described in this post:
http://forum.zentyal.org/index.php?topic=3298.0