The Samba-Bugzilla – Bug 1757
default value for "maximum password age" higher than what can be set with pdbedit
Last modified: 2010-04-26 07:07:18 UTC
When still set for the default value, 'pdbedit -P "maximum password age"
account policy value for maximum password age is 4294967295
But, 'pdbedit -P "maximum password age" -C 4294967295' doesn't work. In fact,
the highest value this will let you set is 2147483646. (Hmm... Half the
default value... Is one the max unsigned int and the other the max signed
The problem seems to be signed vs unsigned, as you said. Strangely, 'pdbedit -P "maximum password age" -C -1' works, and when you run it, it reports, 'account policy value for maximum password age is now 4294967295'.
If it's still broken in 3.5, please reopen.
3.0 isn't supported anymore.
I don't think we should close bugs that are easy to reproduce
I asked email@example.com in 2007 for the patches that they created to make Samba on OpenVMS work (http://h71000.www7.hp.com/network/cifs_for_samba.html). The OpenVMS folks might have fixed that, too. I didn't get any answer to by mail though.
the last comment was intended for bug #1820, please ignore it here.