Le site de l'éducation et des logiciels libres METTRE UN POSTE LINUX DANS UN DOMAINE SAMBA ! - Education Libre

Skip to main content Help Control Panel

Education Libre

L'éducation en toute liberté

Home «   Articles «   Les services ! «  

METTRE UN POSTE LINUX DANS UN DOMAINE SAMBA !

Tags: SERVICES

Pour pouvoir intégrer une station linux à un domaine .

Pour integrer Linux Mandrake 10.2 (LE2005), j'ai modifier le fichier /etc/nsswitch.conf comme suit :


#smiley sg3agrulesg3ag.gif
# /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 '[NOTFOUND=return]' 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 "db" in front of "files" 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: compat
group: compat winbind

#hosts: db files nisplus nis dns
hosts: files dns wins nis

# 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: db files
netmasks: files
networks: files
protocols: db files
rpc: db files
services: db files

netgroup: nis

publickey: nisplus

automount: files dns wins nis nisplus
aliases: files dns wins nis nisplus


Stay tuned
recent comments
podcasted files
AddThis.com
NetVibes
Yahoo
Newsgator