On Thu, May 19, 2005 at 07:56:48PM +0200, Roland Gruber wrote: > Hi Uwe, > > did you try adding samba.schema? > Then I can close this bug. 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 [uid] => steinm [uidNumber] => 1007 [gidNumber] => 1000 [homeDirectory] => /home/steinm [givenName] => Uwe [sn] => Steinmann [shadowExpire] => 21915 [loginShell] => /bin/bash [gecos] => Uwe Steinmann [description] => Uwe Steinmann [shadowMin] => 1 [shadowMax] => 365 [shadowWarning] => 10 [shadowInactive] => 10 [shadowLastChange] => 12922 [userPassword] => {SMD5}Q+9/a4OQ0bHCLK701YJcWfSwZ6c= [ntPassword] => C3BF174334C5A2CFABC83C25F38D10FE [lmPassword] => 065515DC32591F431D71060D896B7A46 [pwdLastSet] => 1116530248 [rid] => 3014 [primaryGroupID] => 3001 [pwdCanChange] => 1041379200 [pwdMustChange] => 1893456000 [acctFlags] => [U ] [displayName] => Uwe Steinmann [smbHome] => \\server\steinm [homeDrive] => U: ) And here ist the output of slapd from syslog: May 19 21:17:15 localhost slapd[7394]: slapd starting May 19 21:17:28 localhost slapd[7396]: conn=0 fd=13 ACCEPT from IP=127.0.0.1:59320 (IP=0.0.0.0:389) May 19 21:17:28 localhost slapd[7396]: conn=1 fd=14 ACCEPT from IP=127.0.0.1:59321 (IP=0.0.0.0:389) May 19 21:17:28 localhost slapd[7399]: conn=0 fd=13 closed May 19 21:17:28 localhost slapd[7400]: conn=1 op=0 BIND dn="cn=admin,dc=steinmann,dc=cx" method=128 May 19 21:17:28 localhost slapd[7400]: conn=1 op=0 BIND dn="cn=admin,dc=steinmann,dc=cx" mech=SIMPLE ssf=0 May 19 21:17:28 localhost slapd[7400]: conn=1 op=0 RESULT tag=97 err=0 text= May 19 21:17:28 localhost slapd[7400]: conn=1 op=1 SRCH base="ou=groups,dc=steinmann,dc=cx" scope=2 deref=0 filter="(objectClass=posixGroup)" May 19 21:17:28 localhost slapd[7400]: conn=1 op=1 SRCH attr=gidNumber cn memberUid sambaSID May 19 21:17:28 localhost slapd[7400]: conn=1 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= 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 May 19 21:17:28 localhost slapd[7400]: conn=1 op=3 UNBIND May 19 21:17:28 localhost slapd[7400]: conn=1 fd=14 closed It looks like the ldap_modify never makes it to the slapd. Do you see a problem? Uwe -- MMK GmbH, Universitaetsstr. 11, 58097 Hagen [EMAIL PROTECTED] Tel: +2331 840446 Fax: +2331 843920
signature.asc
Description: Digital signature