# uname -rpmi 5.10 sun4u sparc SUNW,UltraAX-i2 I have "clean" samba installation (configured and installed from sources as usual). After logon samba to domain and first run winbindd I see in log.winbindd-idmap: ... Fatal Error: UID range full!! (max: 20000) ... Fatal Error: GID range full!! (max: 20000) ... This errors because in function dbwrap_change_int32_atomic/dbwrap_change_uint32_atomic (file dbwrap_util.c) don't using "byteorder" for new stored values! Why you using simple assigment: data.dptr = (uint8 *)&val; instead byteorder implementation (as in dbwrap_store_[u]int32): SIVAL(&v_store, 0, v); This error exist in all versions 3.4.x
Thanks for your bug report! (In reply to comment #0) > # uname -rpmi > 5.10 sun4u sparc SUNW,UltraAX-i2 > > This errors because in function > dbwrap_change_int32_atomic/dbwrap_change_uint32_atomic (file dbwrap_util.c) > don't using "byteorder" for new stored values! > > Why you using simple assigment: > data.dptr = (uint8 *)&val; > instead byteorder implementation (as in dbwrap_store_[u]int32): > SIVAL(&v_store, 0, v); This is simply an oversight. Thanks for spotting this. I have pushed a fix to branches master and v3-5-test. Next, I'll attach the fix for v3-4-test for review. Cheers - Michael
Created attachment 4972 [details] Fix for v3-4-test (git patchset) I guess this should be in 3.4.4.
*** Bug 6884 has been marked as a duplicate of this bug. ***
Comment on attachment 4972 [details] Fix for v3-4-test (git patchset) Looks good, thanks.
Pushed to v3-4-test. Closing out bug report. Thanks!