background preloader


Facebook Twitter

An A-Z Index of the Bash command line for Linux. Integrate Linux with Active Directory using Samba, Winbind, and Kerberos. Moment of truth: Join the domain.

Integrate Linux with Active Directory using Samba, Winbind, and Kerberos

Once the /etc/samba/smb.conf file is properly edited, enter the following at the shell: testparm It gives you the rundown of your samba config file, and will let you know if something is wrong. If all is well, it's time to start the smb and winbind services, like so: (depending on *nix flavor) service smb restart service winbind restart or /etc/init.d/smb restart /etc/init.d/winbind restart /etc/rc.d/init.d/smb restart /etc/rc.d/init.d/winbind restart If they both come back up fine, lets move to joining the domain, like so: net ads join -U DOMAIN+username%password Then test the join using: net ads testjoin If it reports "Join is OK", the test winbind: wbinfo -u <lists all of your AD users> wbinfo -g <lists all of your AD groups> If it works, your linux box is now integrated into the AD domain. How To Integrate Samba (File Sharing) Using Active Directory For Authentication.

This tutorial explains how to install a Gentoo samba server and how to share folders with ActiveDirectory permissions.

How To Integrate Samba (File Sharing) Using Active Directory For Authentication

Preparation Active Directory should already be implemented and working. If you need help, there's plenty of help on the net. Your Windows system should be secured and patched. You have Gentoo Linux installed of course With the config files, you need to change to match your domain. Install some utils You have to install some utils. openldap kerberos samba # emerge openldap # emerge mit-krb5 # USE="kerberos ldap winbind" # emerge samba Openldap doesn't need to be configured. Configure Kerberos. CentOS LVM Resize. Since the release of CentOS 5.5 we noticed that the default CentOS install assigns a considerable amount of its available storage space to Swap.

CentOS LVM Resize

If you don’t catch this during the installation don’t worry, Logical Volume Manager or LVM will rectify this post install. LVM is a logical volume manager for the Linux kernel; it manages disk drives and similar mass-storage devices, in particular large ones. The term “volume” refers to a disk drive or partition thereof. Before we start just some general housekeeping.

The XEN virtual CentOS 5.5 server (base install) in this tutorial was assigned 10GB of storage with the default partitioning layout. Let check the amount of disk space available on the file system. 58 Cool Hacks - LXF Wiki. From LXF Wiki (Originally written for Linux Format issue 58, October 2004) Increase your guru points and apply these cunning hacks to boost performance, secure your system and increase productivity - or fun!

58 Cool Hacks - LXF Wiki

One of the great things about Linux is that there's usually more than one way to do something. Chances are, the way you are doing a particular task right now isn't necessarily the best way either. This collection of hacks is the result of a lot of effort: some are functional, some are fun, but they are all cool! DISCLAIMER: Obviously, anything you do to your computer is your responsibility, and while we have made every effort to test these hacks, your mileage may vary. Fix a wonky terminal Difficulty: Easy Application: bash We've all done it - accidentally used less or cat to list a file, and ended up viewing binary instead. Reset and all will be well again. Creating Mozilla keywords Difficulty: Easy Application: Firefox/Mozilla Running multiple X sessions. Alsa. SS64.

Contents OverviewPreface •People •Mailing Lists and Bug Reporting •Development Status •Copying •AcknowledgementsInstallation •Downloading Unison •Running Unison •Upgrading •Building Unison from Scratch Unix Mac OS X Windows Installation OptionsTutorial •Preliminaries •Local Usage •Remote Usage •Remote Shell Method •Socket Method •Using Unison for All Your Files •Using Unison to Synchronize More Than Two Machines •Going FurtherBasic Concepts •Roots •Paths •What is an Update?

•What is a Conflict? Overview Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. Unison runs on both Windows (95, 98, NT, 2k, and XP) and Unix (OSX, Solaris, Linux, etc.) systems. Preface People Benjamin Pierce leads the Unison project. Mailing Lists and Bug Reporting Copying. Linux Directory Structure (File System Structure) Explained with Examples.

By Ramesh Natarajan on September 8, 2010.

Linux Directory Structure (File System Structure) Explained with Examples

Mounting NTFS in CentOS 5.5 « Abu Syahid Codebook.