Hi Uwe, Uwe Steinmann schrieb: > I copied samba.schema into /etc/ldap/schema, included the file > in /etc/ldap/slapd.conf, set the loglevel to 256 and restarted > slapd. The result is still the same. > Here is the contents of the array $attr which is passed as the > third parameter to the failing ldap_modify() > > Array ( [objectClass] => Array ( [0] => posixAccount [1] => > shadowAccount [2] => inetOrgPerson [3] => sambaAccount ) [cn] => steinm > [...] > And here ist the output of slapd from syslog: > > May 19 21:17:28 localhost slapd[7399]: conn=1 op=2 ADD > dn="uid=steinm,ou=People,dc=steinmann,dc=cx" > May 19 21:17:28 localhost slapd[7399]: conn=1 op=2 RESULT tag=105 err=21 > text=objectClass: value #3 invalid per syntax
looks like you selected to use the Samba 2 schema in your LAM configuration (because of sambaAccount instead of sambaSamAccount). If you just copied the file from the Samba sources then all Samba 2 parts are commented. You have to remove the comments or select the Samba 3 schema in your LAM configuration. Concerning your other mail: It is impossible for LAM to depend on Samba or install the schema file with the package. The first reason is that LAM does not depend on a local installation of OpenLDAP, you can have your server anywhere in the network. The other reason is that you might use some other implementation (e.g. Novell eDirectory). The package description tells you that the Samba schema is used and there is also a note in the Readme.Debian. Greetings, Roland
signature.asc
Description: OpenPGP digital signature