progenvrac.com/spip.php?article19
bonjour a tous g suivi a la lettre le tuto et pourtant, toujours des erreur :
entry dc=dev,dc=net already exist.
adding new entry: ou=Users,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 12.
adding new entry: ou=Groups,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 17.
adding new entry: ou=Machines,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 22.
adding new entry: ou=Idmap,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 27.
adding new entry: uid=root,ou=Users,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 55.
adding new entry: uid=nobody,ou=Users,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 83.
adding new entry: cn=Domain Admins,ou=Groups,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 95.
adding new entry: cn=Domain Users,ou=Groups,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 106.
adding new entry: cn=Domain Guests,ou=Groups,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 117.
adding new entry: cn=Domain Computers,ou=Groups,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 128.
adding new entry: cn=Administrators,ou=Groups,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 173.
adding new entry: cn=Account Operators,ou=Groups,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 195.
adding new entry: cn=Print Operators,ou=Groups,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 206.
adding new entry: cn=Backup Operators,ou=Groups,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 217.
adding new entry: cn=Replicators,ou=Groups,dc=dev,dc=net
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 498, line 228.
entry sambaDomainName=DEV,dc=dev,dc=net already exist. Updating it…
failed to modify entry: modifications require authentication at /usr/sbin/smbldap-populate line 491, line 236.
voici mon fichier de config samba :
[color=#BF0000][global]
workgroup = DEV
server string = Controleur de domaine
netbios name = developpement
domain master = yes
local master = yes
domain logons = yes
client lanman auth = yes
client ntlmv2 auth = yes
lanman auth = yes
ntlm auth = yes
security = user
os level = 40
ldap ssl = off
ldap passwd sync = yes
passdb backend = ldapsam:ldap://127.0.0.1
ldap admin dn = cn=admin,dc=dev,dc=net
ldap suffix = dc=dev,dc=net
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\profiles%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
winbind use default domain = Yes
nt acl support = Yes
msdfs root = Yes
hide files = /desktop.ini/ntuser.ini/NTUSER.*/
autre possibilité "veto files = "
Reglage de l’encodage des caracteres :
unix charset = iso-8859-15
display charset = iso-8859-15
dos charset = 850
[netlogon]
path = /home/dev/netlogon
writable = No
browseable = No
write list = Administrateur
[profiles]
path = /home/dev/profiles
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
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers[/color]
après plusieurs test , j’ai même fini par faire un copier collé du tuto et toujours la même erreur.
un autre problème sur mon interface phpldapadmin le UID GID impossible de le faire marché .
alors si vous avez la solution je suis preneur merci d’avance … alain