Bonjour,
Pour commencer, un grand merci pour ce Tuto, sisi c'est normal
je viens poster pour résoudre un problème sur lequel je planche depuis maintenant 2 jours
s
Mon problème :
Je peux me loger via root/mdp au domaine apres avoir intégrer ma machines à celui-ci, et tt semble fonctionner correctement.
MAIS, lorsque j'essaye de me loger via un USER que j'ai crée sous LAM 1.1.1 qui marche trés bien (enfin je pense:p) j'obtiens ce message d'erreur:
/////////////////////////////////////
The system cannot log you on due to the following error:
"A device attached to the system is not functionning"
//////////////////////////////////////
////////
Mes fichiers de conf:
nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat ldap
group: compat ldap
shadow: compat ldap
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
Srvtest:~#
///////////////////////////////
smb.conf
[global]
workgroup = test
### A changer, mettre le meme nom que le nom de votre machine === >
netbios name = Srvtest
server string = Samba-LDAP PDC Server
domain master = Yes
local master = Yes
domain logons = Yes
os level = 40
#passwd program = /usr/sbin/smbldap-passwd ?u %u
ldap passwd sync = Yes
passdb backend = ldapsam:ldap://127.0.0.1/
### A changer === >
ldap admin dn = cn=admin,dc=test,dc=com
### A changer === >
ldap suffix = dc=test,dc=com
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Machines
add user script = /usr/sbin/smbldap-useradd -m "%u"
ldap delete dn = Yes
delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
#delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
logon path = \\%L\profile\%U
logon drive = P:
logon home = \\%L\%U
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
case sensitive = No
default case = lower
preserve case = yes
short preserve case = Yes
#character set = iso8859-1
#domain admin group = @admin
dns proxy = No
wins support = Yes
### A changer si vous n'utilisez pas ce réseau === >
hosts allow = All
winbind use default domain = Yes
nt acl support = Yes
msdfs root = Yes
hide files = /desktop.ini/ntuser.ini/NTUSER.*/
### FIN DE LA PARTIE GLOBALE #####
#### LES PARTAGES #####
[netlogon]
path = /home/netlogon
writable = No
browseable = No
write list = Administrateur
#
[profile]
path = /home/export/profile
browseable = No
writeable = Yes
profile acls = yes
create mask = 0700
directory mask = 0700
#
[homes]
comment = Repertoire Personnel
browseable = No
writeable = Yes
#
[partage]
comment = Repertoire commun
browseable = Yes
writeable = Yes
public = No
path = /home/partage
///////////////////////////////////
ldap.conf
# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.9 2000/09/04 19:57:01 kurt Exp $
#
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
HOST 127.0.0.1
BASE dc=test, dc=com
#BASE dc=example, dc=com
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666
#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
////////////////////////////
slapd.conf
# Features to permit
#allow bind_v2
# Schema and objectClass definitions
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/samba.schema
# Schema check allows for forcing entries to
# match schemas for their objectClasses's
schemacheck on
# Where the pid file is put. The init.d script
# will not stop the server if you change this.
pidfile /var/run/slapd/slapd.pid
# List of arguments that were passed to the server
argsfile /var/run/slapd.args
# Read slapd.conf(5) for possible values
loglevel 0
# Where the dynamically loaded modules are stored
modulepath /usr/lib/ldap
moduleload back_bdb
#######################################################################
# Specific Backend Directives for bdb:
# Backend specific directives apply to this backend until another
# 'backend' directive occurs
backend bdb
checkpoint 512 30
#######################################################################
# Specific Backend Directives for 'other':
# Backend specific directives apply to this backend until another
# 'backend' directive occurs
#backend <other>
#######################################################################
# Specific Directives for database #1, of type bdb:
# Database specific directives apply to this databasse until another
# 'database' directive occurs
database bdb
# The base of your directory in database #1
suffix "dc=test,dc=com"
rootdn "cn=admin,dc=test,dc=com"
rootpw {SSHA}Jxys6QjptbPVIuKHa857GY7dXo7r4hc1
# Where the database file are physically stored for database #1
directory "/var/lib/ldap"
# Indexing options for database #1
index objectClass eq
# Save the time that the entry gets modified, for database #1
lastmod on
# Where to store the replica logs for database #1
# replogfile /var/lib/ldap/replog
# The userPassword by default can be changed
# by the entry owning it if they are authenticated.
# Others should not be able to see it, except the
# admin entry below
# These access lines apply to database #1 only
access to attrs=userPassword
by dn="cn=admin,dc=test,dc=com" write
by anonymous auth
by self write
by * none
# Ensure read access to the base for things like
# supportedSASLMechanisms. Without this you may
# have problems with SASL not knowing what
# mechanisms are available and the like.
# Note that this is covered by the 'access to *'
# ACL below too but if you change that as people
# are wont to do you'll still need this if you
# want SASL (and possible other things) to work
# happily.
access to dn.base="" by * read
# The admin dn has full write access, everyone else
# can read everything.
access to *
by dn="cn=admin,dc=test,dc=com" write
by * read
# For Netscape Roaming support, each user gets a roaming
# profile for which they have write access to
#access to dn=".*,ou=Roaming,o=morsnet"
# by dn="cn=admin,dc=test,dc=com" write
# by dnattr=owner write
#######################################################################
# Specific Directives for database #2, of type 'other' (can be bdb too):
# Database specific directives apply to this databasse until another
# 'database' directive occurs
#database <other>
# The base of your directory for database #2
#suffix "dc=debian,dc=org"
/////////////////////////////////////////
LOG smbd.log
_net_sam_logon: user test\Informatique has user sid S-1-5-21-1834034323-1391460188-3354089218-21000
but group sid S-0-0.
The conflicting domain portions are not supported for NETLOGON calls
[2007/01/08 01:12:53, 0] lib/util_sid.c:string_to_sid(301)
string_to_sid: Sid -512 does not start with 'S-'.
[2007/01/08 01:12:53, 1] passdb/pdb_get_set.c:pdb_set_group_sid_from_string(595)
pdb_set_group_sid_from_string: -512 isn't a valid SID!
[2007/01/08 01:12:53, 0] lib/util_sid.c:string_to_sid(301)
string_to_sid: Sid -512 does not start with 'S-'.
[2007/01/08 01:12:53, 1] passdb/pdb_get_set.c:pdb_set_group_sid_from_string(595)
pdb_set_group_sid_from_string: -512 isn't a valid SID!
[2007/01/08 01:12:53, 0] lib/util_sid.c:string_to_sid(301)
string_to_sid: Sid -512 does not start with 'S-'.
[2007/01/08 01:12:53, 1] passdb/pdb_get_set.c:pdb_set_group_sid_from_string(595)
pdb_set_group_sid_from_string: -512 isn't a valid SID!
[2007/01/08 01:12:54, 0] lib/util_sid.c:string_to_sid(301)
string_to_sid: Sid -512 does not start with 'S-'.
Donc visiblement, c'est un problème de SID mais comment le résoudre ?
Merci de m'avoir lu 
Message édité par against_12 le 30-01-2007 à 15:20:35