[Samba] schema problems with 3.0.8pre2

Petri Asikainen paca at sci.fi
Thu Nov 4 19:22:35 GMT 2004


Hi list!
(Thanks to Uli Iske for providing new schema file for nds.)

I updated edirectory schema with new files on 3.0.8pre2.
After that I could not change password for accounts just get
-613 syntax violation.
Before this (schema from  3.0.7) everything was working.

I reverted  attributes sambaLMPassword, sambaNTPassword, 
sambaPasswordHistory to versions without size limits, ike they were 
before update. And problem was gone.

I'm not sure if this problem with samba (if its trying to insert too 
long  strings to attributes) or eDirectory (8.7.1.2 on linux and nw) or 
openldap libraries (2.1.29 / 2.1.30 tested).

Cheers,

Petri

Just in case someone could understand eDirectory traces better...
DSTrace from unsuccesfull passwordchange is below. It shows client 
buffers  I was trying to change password.

06:59:24 C19422C0 00000000 LDAP: modifications:
06:59:24 C19422C0 00000000 LDAP:    add: sambaPwdCanChange
06:59:24 C19422C0 00000000 LDAP:    add: sambaPwdMustChange
06:59:24 C19422C0 00000000 LDAP:    add: sambaLMPassword
06:59:24 C19422C0 00000000 LDAP:    add: sambaNTPassword
06:59:24 C19422C0 00000000 LDAP:    add: sambaPasswordHistory
06:59:24 C19422C0 00000000 LDAP:    add: sambaPwdLastSet
06:59:24 C19422C0 00000000 LDAP:    delete: sambaAcctFlags
06:59:24 C19422C0 00000000 LDAP:    add: sambaAcctFlags
06:59:24 C19422C0 00000000 ClBuf: Client Request - Context: 171f0020, DS 
Ping, Seqment: 0, Size:8
06:59:24 C19422C0 00000000 ClBuf:
0000 00 00 00 00 04 00 02 00                         ........

06:59:24 C19422C0 00000000 ClBuf: Client Reply - Context: 171f0020, DS 
Ping, Size:24, succeeded
06:59:24 C19422C0 00000000 ClBuf:
0000 0A 00 00 00 5E 19 10 00 18 00 00 00 4E 00 41 00 ....^.......N.A.
0010 4B 00 4B 00 49 00 4C 00 41 00 2D 00 4E 00 44 00 K.K.I.L.A.-.N.D.
0020 53 00 00 00                                     S...

06:59:24 C19422C0 00000000 ClBuf: Client Request - Context: 171f0020, 
DSAModifyEntry, Seqment: 0, Size:2fc
06:59:24 C19422C0 00000000 ClBuf:
0000 02 00 00 00 00 00 00 00 FF FF FF FF 7C 8E 00 00 ............|...
0010 08 00 00 00 02 00 00 00 24 00 00 00 73 00 61 00 ........$...s.a.
0020 6D 00 62 00 61 00 50 00 77 00 64 00 43 00 61 00 m.b.a.P.w.d.C.a.
0030 6E 00 43 00 68 00 61 00 6E 00 67 00 65 00 00 00 n.C.h.a.n.g.e...
0040 01 00 00 00 04 00 00 00 2C B7 89 41 02 00 00 00 ........,..A....
0050 26 00 00 00 73 00 61 00 6D 00 62 00 61 00 50 00 &...s.a.m.b.a.P.
0060 77 00 64 00 4D 00 75 00 73 00 74 00 43 00 68 00 w.d.M.u.s.t.C.h.
0070 61 00 6E 00 67 00 65 00 00 00 00 00 01 00 00 00 a.n.g.e.........
0080 04 00 00 00 FF FF FF 7F 02 00 00 00 20 00 00 00 ................
0090 73 00 61 00 6D 00 62 00 61 00 4C 00 4D 00 50 00 s.a.m.b.a.L.M.P.
00A0 61 00 73 00 73 00 77 00 6F 00 72 00 64 00 00 00 a.s.s.w.o.r.d...
00B0 01 00 00 00 42 00 00 00 43 00 30 00 36 00 45 00 ....B...C.0.6.E.
00C0 32 00 37 00 37 00 42 00 44 00 35 00 37 00 44 00 2.7.7.B.D.5.7.D.
00D0 46 00 42 00 38 00 37 00 31 00 44 00 37 00 31 00 F.B.8.7.1.D.7.1.
00E0 30 00 36 00 30 00 44 00 38 00 39 00 36 00 42 00 0.6.0.D.8.9.6.B.
00F0 37 00 41 00 34 00 36 00 00 00 00 00 02 00 00 00 7.A.4.6.........

06:59:24 C19422C0 00000000 ClBuf:
0000 20 00 00 00 73 00 61 00 6D 00 62 00 61 00 4E 00 ....s.a.m.b.a.N.
0010 54 00 50 00 61 00 73 00 73 00 77 00 6F 00 72 00 T.P.a.s.s.w.o.r.
0020 64 00 00 00 01 00 00 00 42 00 00 00 32 00 35 00 d.......B...2.5.
0030 35 00 38 00 41 00 42 00 43 00 36 00 42 00 42 00 5.8.A.B.C.6.B.B.
0040 34 00 42 00 43 00 38 00 35 00 43 00 44 00 45 00 4.B.C.8.5.C.D.E.
0050 41 00 36 00 36 00 30 00 31 00 35 00 41 00 38 00 A.6.6.0.1.5.A.8.
0060 39 00 41 00 36 00 46 00 45 00 42 00 00 00 00 00 9.A.6.F.E.B.....
0070 02 00 00 00 2A 00 00 00 73 00 61 00 6D 00 62 00 ....*...s.a.m.b.
0080 61 00 50 00 61 00 73 00 73 00 77 00 6F 00 72 00 a.P.a.s.s.w.o.r.
0090 64 00 48 00 69 00 73 00 74 00 6F 00 72 00 79 00 d.H.i.s.t.o.r.y.
00A0 00 00 00 00 01 00 00 00 82 00 00 00 30 00 30 00 ............0.0.
00B0 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 0.0.0.0.0.0.0.0.
00C0 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 0.0.0.0.0.0.0.0.
00D0 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 0.0.0.0.0.0.0.0.
00E0 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 0.0.0.0.0.0.0.0.
00F0 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 0.0.0.0.0.0.0.0.

06:59:24 C19422C0 00000000 ClBuf:
0000 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 0.0.0.0.0.0.0.0.
0010 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 0.0.0.0.0.0.0.0.
0020 30 00 30 00 30 00 30 00 30 00 30 00 00 00 00 00 0.0.0.0.0.0.....
0030 02 00 00 00 20 00 00 00 73 00 61 00 6D 00 62 00 ........s.a.m.b.
0040 61 00 50 00 77 00 64 00 4C 00 61 00 73 00 74 00 a.P.w.d.L.a.s.t.
0050 53 00 65 00 74 00 00 00 01 00 00 00 04 00 00 00 S.e.t...........
0060 2C B7 89 41 03 00 00 00 1E 00 00 00 73 00 61 00 ,..A........s.a.
0070 6D 00 62 00 61 00 41 00 63 00 63 00 74 00 46 00 m.b.a.A.c.c.t.F.
0080 6C 00 61 00 67 00 73 00 00 00 00 00 01 00 00 00 l.a.g.s.........
0090 1C 00 00 00 5B 00 4E 00 55 00 20 00 20 00 20 00 ....[.N.U.......
00A0 20 00 20 00 20 00 20 00 20 00 20 00 5D 00 00 00 ............]...
00B0 02 00 00 00 1E 00 00 00 73 00 61 00 6D 00 62 00 ........s.a.m.b.
00C0 61 00 41 00 63 00 63 00 74 00 46 00 6C 00 61 00 a.A.c.c.t.F.l.a.
00D0 67 00 73 00 00 00 00 00 01 00 00 00 1C 00 00 00 g.s.............
00E0 5B 00 55 00 20 00 20 00 20 00 20 00 20 00 20 00 [.U.............
00F0 20 00 20 00 20 00 20 00 5D 00 00 00             ........]...

06:59:24 C19422C0 00000000 ClBuf: Client Reply - Context: 171f0020, 
DSAModifyEntry, Size:0, failed, syntax violation (-613)
06:59:24 C19422C0 00000000 LDAP: DDCModifyEntry failed, err = syntax 
violation (-613)
06:59:24 C19422C0 00000000 LDAP: Sending operation result 19:"":"NDS 
error: syntax violation (-613)" to connection 0xcb83c740
06:59:24 C9CB6700 00000000 LDAP: Monitor 0x20c found connection 
0xcb83c740 socket closed, err = -5871




More information about the samba mailing list