pour info, voici a quoi doivent ressembler les fichiers de conf saba:
/etc/samba/smb.conf
# Global parameters
[global]
interfaces = 127.0.0.1 eth1
bind interfaces only = true
workgroup = MON-DOMAINE
realm = mon-domaine
netbios name = HOST
server role = active directory domain controller
server services = smb, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate, dns
allow dns updates = nonsecure
dns forwarder = 8.8.8.8
nsupdate command = /usr/bin/nsupdate
[netlogon]
path = /var/lib/samba/sysvol/mon-domaine/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
/var/lib/samba/private/krb5.conf
[libdefaults]
default_realm = MON-DOMAINE
dns_lookup_kdc = true
dns_lookup_realm = false
# The following krb5.conf variables are only for MIT Kerberos.
krb4_config = /etc/krb.conf
krb4_realms = /etc/krb.realms
kdc_timesync = 1
ccache_type = 4
forwardable = true
proxiable = true
# The following libdefaults parameters are only for Heimdal Kerberos.
v4_instance_resolve = false
v4_name_convert = {
host = {
rcmd = host
ftp = ftp
}
plain = {
something = something-else
}
}
fcc-mit-ticketflags = true
[realms]
MON-DOMAINE = {
kdc = dcwindows.mon-domaine
kdc = host.mon-domaine
default_domain = mon-domaine
admin_server = dcwindows.mon-domaine
}
[domain_realm]
.mon-domaine = MON-DOMAINE
mon-domaine = MON-DOMAINE
[login]
krb4_convert = true
krb4_get_tickets = false
coté occupation CPU/RAM:
root@host:~# free
total used free shared buffers cached
Mem: 2043480 939256 1104224 0 256916 365920
-/+ buffers/cache: 316420 1727060
Swap: 2046972 0 2046972
seulement 316Mo de RAM utilisé !
le CPU se touche, moyenne a 1-2%, c'est xrdp, top et samba qui consomment (rappel Atom N2800)
j'ai des cretes a 100% de temps en temps (2-3sec max), a cause de samba, pas trouvé pk