[Samba] samba-tool issue
dwbear75 at gmail.com
Thu Jun 26 12:37:11 MDT 2014
I mis-typed a value using samba tool and had an error:
bin/samba-tool domain passwordsettings set --min-pwd-age=-
ERROR(<type 'exceptions.ValueError'>): uncaught exception - invalid literal
for int() with base 10: '-'
line 175, in _run
return self.run(*args, **kwargs)
1151, in run
min_pwd_age = int(min_pwd_age)
So, yes, I can always retype it. But I was thinking it would be better to
put a check on the parsed value to assure that its an integer.
Is this python code? I may be able to make this change.
mobile: (602) 903-6476
More information about the samba