Samba und OpenLDAP

O

otake666

Einen wunderschönen guten Morgen ... oder so

bei mir (Linuxnoob) tritt folgendes Problem auf

es läuft:
suse 9.3
samba 3.0.12-5-SUSE und
OpenLDAP 2.2.23-6

Samba soll als PDC genutzt werden.
Die Dienste laufen und funtionieren allerdings bekomme beim anlegen eines Users per
smpasswd -a test folgende Meldung:

server1:~ # smbpasswd -a test
New SMB password:
Retype new SMB password:
ldapsam_modify_entry: Failed to add user dn= uid=test,ou=User,dc=blub with: Undefined attribute type
rid: attribute type undefined
ldapsam_add_sam_account: failed to modify/add user with uid = test (dn = uid=test,ou=User,dc=blub)
Failed to add entry for user test.
Failed to modify password entry for user test


Der User existiert als Linuxuser (sonst geht es wohl gar net) und im LDAP sind Gruppen eingerichtet wie Samba sie haben möchte

Der global-Teil der smb.conf ist wiefolgt:
Code:
[global]
	workgroup =blub
	printing = cups
	printcap name = cups
	printcap cache time = 750
	cups options = raw
	printer admin = @ntadmin, root, administrator
	username map = /etc/samba/smbusers
	map to guest = Bad User
	include = /etc/samba/dhcp.conf
	logon path = \\%L\profiles\.msprofile
	logon home = \\%L\%U\.9xprofile
	logon drive = P:
	# Use this for no SSL
	passdb backend = ldapsam_compat:ldap://192.168.1.90
	ldap admin dn = cn=admin,dc=blub
	ldap ssl = no
	ldap suffix = dc=blub
	ldap user suffix = ou=User
	ldap group suffix = ou=Group
	ldap machine suffix = ou=Machine
	domain logons = Yes
	domain master = Yes
	local master = Yes
	netbios name = server1
	os level = 65
	preferred master = Yes
	security = user


Was hab ich vergessen oder falsch gemacht??

Danke schonmal im vorraus
 

Ähnliche Themen

Samba 3.6.25 - OpenLDAP Setup

Samba-Server mit Univention Corporate Server

Samba 4.9.5-Debian - Kennwort von unix übernehmen

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Samba Dateien und Ordner verschieben

Zurück
Oben