<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: From installation to Active Directory client with CentOS 4.2 &#8211; Part two</title>
	<atom:link href="http://www.nixadmins.net/2006/08/22/from-installation-to-active-directory-client-with-centos-42-part-two/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nixadmins.net/2006/08/22/from-installation-to-active-directory-client-with-centos-42-part-two/</link>
	<description>Blogging for knowledge</description>
	<lastBuildDate>Tue, 07 Feb 2012 06:00:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: kiran</title>
		<link>http://www.nixadmins.net/2006/08/22/from-installation-to-active-directory-client-with-centos-42-part-two/comment-page-1/#comment-260</link>
		<dc:creator>kiran</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-260</guid>
		<description>Has anyone gotten linux clients connected to ADS, work with cached logons. I mean the same behaviour, that windows clients support, which enables users to login in the absence of a DC. This is one of the things that is keeping me from moving over to Linux.

regards
KIRAN</description>
		<content:encoded><![CDATA[<p>Has anyone gotten linux clients connected to ADS, work with cached logons. I mean the same behaviour, that windows clients support, which enables users to login in the absence of a DC. This is one of the things that is keeping me from moving over to Linux.</p>
<p>regards<br />
KIRAN</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diezel</title>
		<link>http://www.nixadmins.net/2006/08/22/from-installation-to-active-directory-client-with-centos-42-part-two/comment-page-1/#comment-261</link>
		<dc:creator>Diezel</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-261</guid>
		<description>With recent distros like CentOS 5 you don&#039;t have to edit anything, if you don&#039;t want to set up something special. Like the fact that Linux by default sets the users home directory to /home/domain/user. I don&#039;t like that, I want them to be in /home/user so I edit the smb.conf file. But otherwise you just fill in the information needed, click use Cached and of you go. It has always worked for me.
</description>
		<content:encoded><![CDATA[<p>With recent distros like CentOS 5 you don&#8217;t have to edit anything, if you don&#8217;t want to set up something special. Like the fact that Linux by default sets the users home directory to /home/domain/user. I don&#8217;t like that, I want them to be in /home/user so I edit the smb.conf file. But otherwise you just fill in the information needed, click use Cached and of you go. It has always worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soumalya Som</title>
		<link>http://www.nixadmins.net/2006/08/22/from-installation-to-active-directory-client-with-centos-42-part-two/comment-page-1/#comment-278</link>
		<dc:creator>Soumalya Som</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-278</guid>
		<description>Sir 

thanks for this study mat. i have configured samba with ads in centos 5. i acn view all the doamin user using getent passwd. 
but my problem is i cant login using any domain user in centos. and the domain users home directory is not visible in /home directory.

pls hem me to solve these proble.

thanks again

Soumalya</description>
		<content:encoded><![CDATA[<p>Sir </p>
<p>thanks for this study mat. i have configured samba with ads in centos 5. i acn view all the doamin user using getent passwd.<br />
but my problem is i cant login using any domain user in centos. and the domain users home directory is not visible in /home directory.</p>
<p>pls hem me to solve these proble.</p>
<p>thanks again</p>
<p>Soumalya</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diezel</title>
		<link>http://www.nixadmins.net/2006/08/22/from-installation-to-active-directory-client-with-centos-42-part-two/comment-page-1/#comment-285</link>
		<dc:creator>Diezel</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-285</guid>
		<description>Could you post a little more information. Your&lt;br /&gt;
&lt;div class=&quot;terminal&quot;&gt;
nsswitch.conf&lt;br /&gt;
smb.conf&lt;br /&gt;
/etc/pam.d/login&lt;br /&gt;
krb.conf&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;
CentOS 5 should be able to join the domain during installation also. You shouldn&#039;t have to go trough this manual.&lt;br /&gt;
Have you tried to log in to a non graphical prompt? Press CTRL+ALT+1 to get to the normal terminal and try to do a domain log in.&lt;br /&gt;
pam_mkhomedir is the module that makes the home directories but if you can&#039;t log in it won&#039;t create the directory either.&lt;br /&gt;
You could also try to log in with the full domain\user. For example NIXADMINS\Administrator.&lt;br /&gt;
Let&#039;s start with that and see if we can get it sorted out.</description>
		<content:encoded><![CDATA[<p>Could you post a little more information. Your</p>
<div class="terminal">
nsswitch.conf<br />
smb.conf<br />
/etc/pam.d/login<br />
krb.conf
</div>
<p>
CentOS 5 should be able to join the domain during installation also. You shouldn&#8217;t have to go trough this manual.<br />
Have you tried to log in to a non graphical prompt? Press CTRL+ALT+1 to get to the normal terminal and try to do a domain log in.<br />
pam_mkhomedir is the module that makes the home directories but if you can&#8217;t log in it won&#8217;t create the directory either.<br />
You could also try to log in with the full domain\user. For example NIXADMINS\Administrator.<br />
Let&#8217;s start with that and see if we can get it sorted out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diezel</title>
		<link>http://www.nixadmins.net/2006/08/22/from-installation-to-active-directory-client-with-centos-42-part-two/comment-page-1/#comment-286</link>
		<dc:creator>Diezel</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-286</guid>
		<description>What happens if you try to switch user as root?
&lt;div class=&quot;terminal&quot;&gt;
#su domainuser
&lt;/div&gt;
Does that work? If not what does your logs say? See if anything comes up in /var/log/messages.
If you can list your domain users you are almost there.</description>
		<content:encoded><![CDATA[<p>What happens if you try to switch user as root?</p>
<div class="terminal">
#su domainuser
</div>
<p>Does that work? If not what does your logs say? See if anything comes up in /var/log/messages.<br />
If you can list your domain users you are almost there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: soumalya</title>
		<link>http://www.nixadmins.net/2006/08/22/from-installation-to-active-directory-client-with-centos-42-part-two/comment-page-1/#comment-287</link>
		<dc:creator>soumalya</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-287</guid>
		<description>whts up sir

i configured thw smb but when i use wbinfo -u its shows all the domain user but not like u said as CENTRALADMINISTRATOR it shows administrator.

[root@telnet ~]# wbinfo -u
Administrator
#Deleted user list#



i also cant login using  domain users


pls help me.

thanks in advance</description>
		<content:encoded><![CDATA[<p>whts up sir</p>
<p>i configured thw smb but when i use wbinfo -u its shows all the domain user but not like u said as CENTRALADMINISTRATOR it shows administrator.</p>
<p>[root@telnet ~]# wbinfo -u<br />
Administrator<br />
#Deleted user list#</p>
<p>i also cant login using  domain users</p>
<p>pls help me.</p>
<p>thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: soumalya</title>
		<link>http://www.nixadmins.net/2006/08/22/from-installation-to-active-directory-client-with-centos-42-part-two/comment-page-1/#comment-297</link>
		<dc:creator>soumalya</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-297</guid>
		<description>thanks for ur reply

smb.conf

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# For a step to step guide on installing, configuring and using samba, 
# read the Samba-HOWTO-Collection. This may be obtained from:
#  http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
#
# Many working examples of smb.conf files can be found in the 
# Samba-Guide which is generated daily and can be downloaded from: 
#  http://www.samba.org/samba/docs/Samba-Guide.pdf
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command &quot;testparm&quot;
# to check that you have not made any basic syntactic errors. 
#
#======================= Global Settings =====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
   workgroup = CENTRAL

# server string is the equivalent of the NT Description field
   server string = Samba Server

# Security mode. Defines in which mode Samba will operate. Possible 
# values are share, user, server, domain and ads. Most people will want 
# user level security. See the Samba-HOWTO-Collection for details.
   security = ADS

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the &quot;loopback&quot; interface. For more examples of the syntax see
# the smb.conf man page
;   hosts allow = 192.168.1. 192.168.2. 127.

# If you want to automatically load your printer list rather
# than setting them up individually then you&#039;ll need this
   load printers = yes

# you may wish to override the location of the printcap file
;   printcap name = /etc/printcap

# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
;   printcap name = lpstat

# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx
;   printing = cups

# This option tells cups that the data has already been rasterized
cups options = raw

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user &quot;nobody&quot; is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/%m.log

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
#   password server = *
    password server = data-server.central.edu 

# Use the realm option only with security = ads
# Specifies the Active Directory realm the host is part of
   realm = CENTRAL.EDU

# Backend to store user information in. New installations should 
# use either tdbsam or ldapsam. smbpasswd is available for backwards 
# compatibility. tdbsam requires no further configuration.
;   passdb backend = tdbsam

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting.
# Note: Consider carefully the location in the configuration file of
#       this line.  The included file is read at that point.
;   include = /usr/local/samba/lib/smb.conf.%m

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24 

# Browser Control Options:
# set local master to no if you don&#039;t want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
   local master = no

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
;   os level = 33

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don&#039;t use this
# if you already have a Windows NT domain controller doing this job
;   domain master = yes 

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
   preferred master = no

# Enable this if you want Samba to be a domain logon server for 
# Windows95 workstations. 
;   domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
;   logon script = %m.bat
# run a specific logon batch file per username
;   logon script = %U.bat

# Where to store roving profiles (only for Win95 and WinNT)
#        %L substitutes for this servers netbios name, %U is username
#        You must uncomment the [Profiles] share below
;   logon path = \\%L\Profiles\%U

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it&#039;s WINS Server
;   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
#	Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one	WINS Server on the network. The default is NO.
   wins proxy = no

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The default is NO.
   dns proxy = no 

# These scripts are used on a domain controller or stand-alone 
# machine to add or delete corresponding unix accounts
;  add user script = /usr/sbin/useradd %u
;  add group script = /usr/sbin/groupadd %g
;  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
;  delete user script = /usr/sbin/userdel %u
;  delete user from group script = /usr/sbin/deluser %u %g
;  delete group script = /usr/sbin/groupdel %g
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
template homedir = /home/%U
template shell = /bin/bash
encrypt passwords = yes 

#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
;   comment = Network Logon Service
;   path = /usr/local/samba/lib/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user&#039;s home directory
;[Profiles]
;    path = /usr/local/samba/profiles
;    browseable = no
;    guest ok = yes


# NOTE: If you have a BSD-style print system there is no need to 
# specifically define each individual printer
[printers]
   comment = All Printers
   path = /usr/spool/samba
   browseable = no
# Set public = yes to allow user &#039;guest account&#039; to print
   guest ok = no
   writable = no
   printable = yes

# This one is useful for people to share files
;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes

# A publicly accessible directory, but read only, except for people in
# the &quot;staff&quot; group
;[public]
;   comment = Public Stuff
;   path = /home/samba
;   public = yes
;   writable = yes
;   printable = no
;   write list = @staff

# Other examples. 
#
# A private printer, usable only by fred. Spool data will be placed in fred&#039;s
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
;   comment = Fred&#039;s Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
;   comment = Fred&#039;s Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writable = yes

# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user&#039;s files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
;   comment = Mary&#039;s and Fred&#039;s stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765
----------------------------------------------------------------------------------------------
login

#%PAM-1.0
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
auth       include      system-auth
account    required     pam_nologin.so
account    include      system-auth
password   include      system-auth
account    required	pam_winbind.so
# pam_selinux.so close should be the first session rule
session	   required	pam_mkhomedir.so skel=/etc/skel umask=002
session    required     pam_selinux.so close
session    include      system-auth
session    required     pam_loginuid.so
session    optional     pam_console.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open
session    optional     pam_keyinit.so force revoke
------------------------------------------------------------------------------------------------
nssswitch

#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry &#039;[NOTFOUND=return]&#039; means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
#	nisplus or nis+		Use NIS+ (NIS version 3)
#	nis or yp		Use NIS (NIS version 2), also called YP
#	dns			Use DNS (Domain Name Service)
#	files			Use the local files
#	db			Use the local database (.db) files
#	compat			Use NIS on compat mode
#	hesiod			Use Hesiod for user lookups
#	[NOTFOUND=return]	Stop searching if not found so far
#

# To use db, put the &quot;db&quot; in front of &quot;files&quot; for entries you want to be
# looked up first in the databases
#
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis

passwd:     compat winbind
shadow:     files
group:      compat winbind

#hosts:     db files nisplus nis dns
hosts:      files dns

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files     

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   nisplus

publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus
---------------------------------------------------
krb5.conf

[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 default_realm = CENTRAL.EDU
 default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc
 default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc 

[realms]
 CENTRAL.EDU = {
  kdc = data-server.central.edu
  default_domain = central.edu
 }

[domain_realm]
 .central.edu = CENTRAL.EDU
 central.edu = CENTRAL.EDU

[kdc]
 profile = /var/kerberos/krb5kdc/kdc.conf
---------------------------------------------------------------------------------------
i have all the domain users in linux users. bu i cant log using domain user ven administrator.

plssssssssssssssssss solve.

thanks for ur reply</description>
		<content:encoded><![CDATA[<p>thanks for ur reply</p>
<p>smb.conf</p>
<p># This is the main Samba configuration file. You should read the<br />
# smb.conf(5) manual page in order to understand the options listed<br />
# here. Samba has a huge number of configurable options (perhaps too<br />
# many!) most of which are not shown in this example<br />
#<br />
# For a step to step guide on installing, configuring and using samba,<br />
# read the Samba-HOWTO-Collection. This may be obtained from:<br />
#  <a href="http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf" rel="nofollow">http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf</a><br />
#<br />
# Many working examples of smb.conf files can be found in the<br />
# Samba-Guide which is generated daily and can be downloaded from:<br />
#  <a href="http://www.samba.org/samba/docs/Samba-Guide.pdf" rel="nofollow">http://www.samba.org/samba/docs/Samba-Guide.pdf</a><br />
#<br />
# Any line which starts with a ; (semi-colon) or a # (hash)<br />
# is a comment and is ignored. In this example we will use a #<br />
# for commentry and a ; for parts of the config file that you<br />
# may wish to enable<br />
#<br />
# NOTE: Whenever you modify this file you should run the command &#8220;testparm&#8221;<br />
# to check that you have not made any basic syntactic errors.<br />
#<br />
#======================= Global Settings =====================================<br />
[global]</p>
<p># workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH<br />
   workgroup = CENTRAL</p>
<p># server string is the equivalent of the NT Description field<br />
   server string = Samba Server</p>
<p># Security mode. Defines in which mode Samba will operate. Possible<br />
# values are share, user, server, domain and ads. Most people will want<br />
# user level security. See the Samba-HOWTO-Collection for details.<br />
   security = ADS</p>
<p># This option is important for security. It allows you to restrict<br />
# connections to machines which are on your local network. The<br />
# following example restricts access to two C class networks and<br />
# the &#8220;loopback&#8221; interface. For more examples of the syntax see<br />
# the smb.conf man page<br />
;   hosts allow = 192.168.1. 192.168.2. 127.</p>
<p># If you want to automatically load your printer list rather<br />
# than setting them up individually then you&#8217;ll need this<br />
   load printers = yes</p>
<p># you may wish to override the location of the printcap file<br />
;   printcap name = /etc/printcap</p>
<p># on SystemV system setting printcap name to lpstat should allow<br />
# you to automatically obtain a printer list from the SystemV spool<br />
# system<br />
;   printcap name = lpstat</p>
<p># It should not be necessary to specify the print system type unless<br />
# it is non-standard. Currently supported print systems include:<br />
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx<br />
;   printing = cups</p>
<p># This option tells cups that the data has already been rasterized<br />
cups options = raw</p>
<p># Uncomment this if you want a guest account, you must add this to /etc/passwd<br />
# otherwise the user &#8220;nobody&#8221; is used<br />
;  guest account = pcguest</p>
<p># this tells Samba to use a separate log file for each machine<br />
# that connects<br />
   log file = /var/log/samba/%m.log</p>
<p># Put a capping on the size of the log files (in Kb).<br />
   max log size = 50</p>
<p># Use password server option only with security = server<br />
# The argument list may include:<br />
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]<br />
# or to auto-locate the domain controller/s<br />
#   password server = *<br />
    password server = data-server.central.edu </p>
<p># Use the realm option only with security = ads<br />
# Specifies the Active Directory realm the host is part of<br />
   realm = CENTRAL.EDU</p>
<p># Backend to store user information in. New installations should<br />
# use either tdbsam or ldapsam. smbpasswd is available for backwards<br />
# compatibility. tdbsam requires no further configuration.<br />
;   passdb backend = tdbsam</p>
<p># Using the following line enables you to customise your configuration<br />
# on a per machine basis. The %m gets replaced with the netbios name<br />
# of the machine that is connecting.<br />
# Note: Consider carefully the location in the configuration file of<br />
#       this line.  The included file is read at that point.<br />
;   include = /usr/local/samba/lib/smb.conf.%m</p>
<p># Configure Samba to use multiple interfaces<br />
# If you have multiple network interfaces then you must list them<br />
# here. See the man page for details.<br />
;   interfaces = 192.168.12.2/24 192.168.13.2/24 </p>
<p># Browser Control Options:<br />
# set local master to no if you don&#8217;t want Samba to become a master<br />
# browser on your network. Otherwise the normal election rules apply<br />
   local master = no</p>
<p># OS Level determines the precedence of this server in master browser<br />
# elections. The default value should be reasonable<br />
;   os level = 33</p>
<p># Domain Master specifies Samba to be the Domain Master Browser. This<br />
# allows Samba to collate browse lists between subnets. Don&#8217;t use this<br />
# if you already have a Windows NT domain controller doing this job<br />
;   domain master = yes </p>
<p># Preferred Master causes Samba to force a local browser election on startup<br />
# and gives it a slightly higher chance of winning the election<br />
   preferred master = no</p>
<p># Enable this if you want Samba to be a domain logon server for<br />
# Windows95 workstations.<br />
;   domain logons = yes</p>
<p># if you enable domain logons then you may want a per-machine or<br />
# per user logon script<br />
# run a specific logon batch file per workstation (machine)<br />
;   logon script = %m.bat<br />
# run a specific logon batch file per username<br />
;   logon script = %U.bat</p>
<p># Where to store roving profiles (only for Win95 and WinNT)<br />
#        %L substitutes for this servers netbios name, %U is username<br />
#        You must uncomment the [Profiles] share below<br />
;   logon path = \\%L\Profiles\%U</p>
<p># Windows Internet Name Serving Support Section:<br />
# WINS Support &#8211; Tells the NMBD component of Samba to enable it&#8217;s WINS Server<br />
;   wins support = yes</p>
<p># WINS Server &#8211; Tells the NMBD components of Samba to be a WINS Client<br />
#	Note: Samba can be either a WINS Server, or a WINS Client, but NOT both<br />
;   wins server = w.x.y.z</p>
<p># WINS Proxy &#8211; Tells Samba to answer name resolution queries on<br />
# behalf of a non WINS capable client, for this to work there must be<br />
# at least one	WINS Server on the network. The default is NO.<br />
   wins proxy = no</p>
<p># DNS Proxy &#8211; tells Samba whether or not to try to resolve NetBIOS names<br />
# via DNS nslookups. The default is NO.<br />
   dns proxy = no </p>
<p># These scripts are used on a domain controller or stand-alone<br />
# machine to add or delete corresponding unix accounts<br />
;  add user script = /usr/sbin/useradd %u<br />
;  add group script = /usr/sbin/groupadd %g<br />
;  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u<br />
;  delete user script = /usr/sbin/userdel %u<br />
;  delete user from group script = /usr/sbin/deluser %u %g<br />
;  delete group script = /usr/sbin/groupdel %g<br />
idmap uid = 10000-20000<br />
idmap gid = 10000-20000<br />
winbind gid = 10000-20000<br />
winbind enum users = yes<br />
winbind enum groups = yes<br />
winbind use default domain = yes<br />
template homedir = /home/%U<br />
template shell = /bin/bash<br />
encrypt passwords = yes </p>
<p>#============================ Share Definitions ==============================<br />
[homes]<br />
   comment = Home Directories<br />
   browseable = no<br />
   writable = yes</p>
<p># Un-comment the following and create the netlogon directory for Domain Logons<br />
; [netlogon]<br />
;   comment = Network Logon Service<br />
;   path = /usr/local/samba/lib/netlogon<br />
;   guest ok = yes<br />
;   writable = no<br />
;   share modes = no</p>
<p># Un-comment the following to provide a specific roving profile share<br />
# the default is to use the user&#8217;s home directory<br />
;[Profiles]<br />
;    path = /usr/local/samba/profiles<br />
;    browseable = no<br />
;    guest ok = yes</p>
<p># NOTE: If you have a BSD-style print system there is no need to<br />
# specifically define each individual printer<br />
[printers]<br />
   comment = All Printers<br />
   path = /usr/spool/samba<br />
   browseable = no<br />
# Set public = yes to allow user &#8216;guest account&#8217; to print<br />
   guest ok = no<br />
   writable = no<br />
   printable = yes</p>
<p># This one is useful for people to share files<br />
;[tmp]<br />
;   comment = Temporary file space<br />
;   path = /tmp<br />
;   read only = no<br />
;   public = yes</p>
<p># A publicly accessible directory, but read only, except for people in<br />
# the &#8220;staff&#8221; group<br />
;[public]<br />
;   comment = Public Stuff<br />
;   path = /home/samba<br />
;   public = yes<br />
;   writable = yes<br />
;   printable = no<br />
;   write list = @staff</p>
<p># Other examples.<br />
#<br />
# A private printer, usable only by fred. Spool data will be placed in fred&#8217;s<br />
# home directory. Note that fred must have write access to the spool directory,<br />
# wherever it is.<br />
;[fredsprn]<br />
;   comment = Fred&#8217;s Printer<br />
;   valid users = fred<br />
;   path = /homes/fred<br />
;   printer = freds_printer<br />
;   public = no<br />
;   writable = no<br />
;   printable = yes</p>
<p># A private directory, usable only by fred. Note that fred requires write<br />
# access to the directory.<br />
;[fredsdir]<br />
;   comment = Fred&#8217;s Service<br />
;   path = /usr/somewhere/private<br />
;   valid users = fred<br />
;   public = no<br />
;   writable = yes<br />
;   printable = no</p>
<p># a service which has a different directory for each machine that connects<br />
# this allows you to tailor configurations to incoming machines. You could<br />
# also use the %U option to tailor it by user name.<br />
# The %m gets replaced with the machine name that is connecting.<br />
;[pchome]<br />
;  comment = PC Directories<br />
;  path = /usr/pc/%m<br />
;  public = no<br />
;  writable = yes</p>
<p># A publicly accessible directory, read/write to all users. Note that all files<br />
# created in the directory by users will be owned by the default user, so<br />
# any user with access can delete any other user&#8217;s files. Obviously this<br />
# directory must be writable by the default user. Another user could of course<br />
# be specified, in which case all files would be owned by that user instead.<br />
;[public]<br />
;   path = /usr/somewhere/else/public<br />
;   public = yes<br />
;   only guest = yes<br />
;   writable = yes<br />
;   printable = no</p>
<p># The following two entries demonstrate how to share a directory so that two<br />
# users can place files there that will be owned by the specific users. In this<br />
# setup, the directory should be writable by both users and should have the<br />
# sticky bit set on it to prevent abuse. Obviously this could be extended to<br />
# as many users as required.<br />
;[myshare]<br />
;   comment = Mary&#8217;s and Fred&#8217;s stuff<br />
;   path = /usr/somewhere/shared<br />
;   valid users = mary fred<br />
;   public = no<br />
;   writable = yes<br />
;   printable = no<br />
;   create mask = 0765<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
login</p>
<p>#%PAM-1.0<br />
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so<br />
auth       include      system-auth<br />
account    required     pam_nologin.so<br />
account    include      system-auth<br />
password   include      system-auth<br />
account    required	pam_winbind.so<br />
# pam_selinux.so close should be the first session rule<br />
session	   required	pam_mkhomedir.so skel=/etc/skel umask=002<br />
session    required     pam_selinux.so close<br />
session    include      system-auth<br />
session    required     pam_loginuid.so<br />
session    optional     pam_console.so<br />
# pam_selinux.so open should only be followed by sessions to be executed in the user context<br />
session    required     pam_selinux.so open<br />
session    optional     pam_keyinit.so force revoke<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
nssswitch</p>
<p>#<br />
# /etc/nsswitch.conf<br />
#<br />
# An example Name Service Switch config file. This file should be<br />
# sorted with the most-used services at the beginning.<br />
#<br />
# The entry &#8216;[NOTFOUND=return]&#8216; means that the search for an<br />
# entry should stop if the search in the previous entry turned<br />
# up nothing. Note that if the search failed due to some other reason<br />
# (like no NIS server responding) then the search continues with the<br />
# next entry.<br />
#<br />
# Legal entries are:<br />
#<br />
#	nisplus or nis+		Use NIS+ (NIS version 3)<br />
#	nis or yp		Use NIS (NIS version 2), also called YP<br />
#	dns			Use DNS (Domain Name Service)<br />
#	files			Use the local files<br />
#	db			Use the local database (.db) files<br />
#	compat			Use NIS on compat mode<br />
#	hesiod			Use Hesiod for user lookups<br />
#	[NOTFOUND=return]	Stop searching if not found so far<br />
#</p>
<p># To use db, put the &#8220;db&#8221; in front of &#8220;files&#8221; for entries you want to be<br />
# looked up first in the databases<br />
#<br />
# Example:<br />
#passwd:    db files nisplus nis<br />
#shadow:    db files nisplus nis<br />
#group:     db files nisplus nis</p>
<p>passwd:     compat winbind<br />
shadow:     files<br />
group:      compat winbind</p>
<p>#hosts:     db files nisplus nis dns<br />
hosts:      files dns</p>
<p># Example &#8211; obey only what nisplus tells us&#8230;<br />
#services:   nisplus [NOTFOUND=return] files<br />
#networks:   nisplus [NOTFOUND=return] files<br />
#protocols:  nisplus [NOTFOUND=return] files<br />
#rpc:        nisplus [NOTFOUND=return] files<br />
#ethers:     nisplus [NOTFOUND=return] files<br />
#netmasks:   nisplus [NOTFOUND=return] files     </p>
<p>bootparams: nisplus [NOTFOUND=return] files</p>
<p>ethers:     files<br />
netmasks:   files<br />
networks:   files<br />
protocols:  files<br />
rpc:        files<br />
services:   files</p>
<p>netgroup:   nisplus</p>
<p>publickey:  nisplus</p>
<p>automount:  files nisplus<br />
aliases:    files nisplus<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
krb5.conf</p>
<p>[logging]<br />
 default = FILE:/var/log/krb5libs.log<br />
 kdc = FILE:/var/log/krb5kdc.log<br />
 admin_server = FILE:/var/log/kadmind.log</p>
<p>[libdefaults]<br />
 default_realm = CENTRAL.EDU<br />
 default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc<br />
 default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc </p>
<p>[realms]<br />
 CENTRAL.EDU = {<br />
  kdc = data-server.central.edu<br />
  default_domain = central.edu<br />
 }</p>
<p>[domain_realm]<br />
 .central.edu = CENTRAL.EDU<br />
 central.edu = CENTRAL.EDU</p>
<p>[kdc]<br />
 profile = /var/kerberos/krb5kdc/kdc.conf<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
i have all the domain users in linux users. bu i cant log using domain user ven administrator.</p>
<p>plssssssssssssssssss solve.</p>
<p>thanks for ur reply</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: soumalya</title>
		<link>http://www.nixadmins.net/2006/08/22/from-installation-to-active-directory-client-with-centos-42-part-two/comment-page-1/#comment-298</link>
		<dc:creator>soumalya</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-298</guid>
		<description>sorry

the doamin users are not in the user management window</description>
		<content:encoded><![CDATA[<p>sorry</p>
<p>the doamin users are not in the user management window</p>
]]></content:encoded>
	</item>
</channel>
</rss>

