zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Debian join windows domain

December 23, 2010 by Igor Drobot 20 Comments

1. Introduction

I recently was assigned the task of joining a Debian server to a Windows Server 2003 Active Directory domain. Though most of the documentation I read for doing this was rather straightforward, 100% of that documentation turned out to be only 75% useful. While all were easy to follow, at the end of the day I found myself piecing together bits of information from all different sources. Only after deciphering cryptic log messages, consulting my colleagues, and experimenting did I finally have this working. Here I try to provide a complete walkthrough of this joining procedure, paying close attention to the often overlooked details I encountered in my trials.

I use:
Debian squeeze
samba 2:3.2.5-4l
winbind 2:3.2.5-4l
krb5-config 1.22
krb5-user 1.6.dfsg.4
[Read more…]

Filed Under: Debian, Linux, Windows Tagged With: Active Directory, Debian Squeeze AD, join windows Domain, Linux Windows Domain, Windows

Windows powershell

September 12, 2010 by Igor Drobot Leave a Comment


The Windows PowerShell is a free and very useful new task-based command line shell and scripting language for system administration which provides automation for Windows – desktops and servers.

Windows PowerShell makes administrators more productive.

Get Bios Information:

1
Get-WmiObject -class Win32_BIOS

Get-WmiObject -class Win32_BIOS

Get CPU Information:

1
Get-WmiObject -class Win32_Processor

Get-WmiObject -class Win32_Processor

Get mainboard Information:

1
Get-WmiObject -class Win32_Baseboard

Get-WmiObject -class Win32_Baseboard

Get OS Version:

1
Get-WmiObject -class Win32_OperatingSystem

Get-WmiObject -class Win32_OperatingSystem

Get running processes:

1
Get-Process | Where-Object {$_.StartTime -lt (Get-Date).AddMinutes(-1)} | Format-Table ID, Name, StartTime

Get-Process | Where-Object {$_.StartTime -lt (Get-Date).AddMinutes(-1)} | Format-Table ID, Name, StartTime

Filed Under: Windows Tagged With: CMD, Powershell, Windows, Windows 7

Windows 7 and IPv6

July 18, 2010 by Igor Drobot Leave a Comment

IPv6 has been “the ultimate next generation of TCP/IP protocols” for so long that you can be forgiven for thinking that it will never be useful. However, with Windows 7, developer of Microsoft has finally given network administrators and normal users a reason to consider using IPv6.

This screen shot shows you, how easy it is to configure IPv6 address:

Filed Under: Windows Tagged With: Ipv6, networking, Windows, Windows 7

The real Windows 98 Source Code

June 6, 2010 by Igor Drobot Leave a Comment


Windows 98 Source Code
Subject: Windows 98 Source Code
(not too new, but slightly improved)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*
TOP SECRET Microsoft(c) Code
Project: Chicago(tm)
Projected release-date: Summer 1998
*/
 
#include "win31.h"
#include "win95.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#define INSTALL = HARD
 
char make_prog_look_big[1600000];
 
void main()
{
while(!CRASHED)
{
display_copyright_message();
display_bill_rules_message();
do_nothing_loop();
if (first_time_installation)
{
make_50_megabyte_swapfile();
do_nothing_loop();
totally_screw_up_HPFS_file_system();
search_and_destroy_the_rest_of_OS/2();
hang_system();
}
write_something(anything);
display_copyright_message();
do_nothing_loop();
do_some_stuff();
if (still_not_crashed)
{
display_copyright_message();
do_nothing_loop();
basically_run_windows_3.1();
do_nothing_loop();
do_nothing_loop();
}
}
 
if (detect_cache())
disable_cache();
 
if (fast_cpu())
{
set_wait_states(lots);
set_mouse(speed, very_slow);
set_mouse(action, jumpy);
set_mouse(reaction, sometimes);
}
 
/* printf("Welcome to Windows 3.11"); */
/* printf("Welcome to Windows 95"); */
printf("Welcome to Windows 98");
if (system_ok())
{
bsod(random_err());
crash(to_dos_prompt);
}
else
system_memory = open("a:\swp0001.swp", O_CREATE);
 
while(something)
{
sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
sleep(5);
}
create_general_protection_fault();
}

/* TOP SECRET Microsoft(c) Code Project: Chicago(tm) Projected release-date: Summer 1998 */ #include "win31.h" #include "win95.h" #include "evenmore.h" #include "oldstuff.h" #include "billrulz.h" #define INSTALL = HARD char make_prog_look_big[1600000]; void main() { while(!CRASHED) { display_copyright_message(); display_bill_rules_message(); do_nothing_loop(); if (first_time_installation) { make_50_megabyte_swapfile(); do_nothing_loop(); totally_screw_up_HPFS_file_system(); search_and_destroy_the_rest_of_OS/2(); hang_system(); } write_something(anything); display_copyright_message(); do_nothing_loop(); do_some_stuff(); if (still_not_crashed) { display_copyright_message(); do_nothing_loop(); basically_run_windows_3.1(); do_nothing_loop(); do_nothing_loop(); } } if (detect_cache()) disable_cache(); if (fast_cpu()) { set_wait_states(lots); set_mouse(speed, very_slow); set_mouse(action, jumpy); set_mouse(reaction, sometimes); } /* printf("Welcome to Windows 3.11"); */ /* printf("Welcome to Windows 95"); */ printf("Welcome to Windows 98"); if (system_ok()) { bsod(random_err()); crash(to_dos_prompt); } else system_memory = open("a:\swp0001.swp", O_CREATE); while(something) { sleep(5); get_user_input(); sleep(5); act_on_user_input(); sleep(5); } create_general_protection_fault(); }

Filed Under: Fun, Windows Tagged With: Fun, Windows

  • « Previous Page
  • 1
  • 2
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok