The bug with ID 502 still exists with samba 3.0.22 and 3.0.23c : while adding a user via rpc ("net rpc user add") on a Win2k SP4 DC (or on a Win2k3 SP1 DC), the user is created but is disabled. Thanks.
*** Bug 502 has been marked as a duplicate of this bug. ***
When I add users to a Debain 3.1 Sarge (Samba 3.0.14a) PDC with these commands: net rpc user add <username> -S <server hostname> -U <user to connect as> net rpc password <username> <password> -U <user to connect as> the account is disabled. 'pdbedit -c -u <username>' does not say the account is disabled. 'smbpasswd -e <username> -U winadmin' enables it.
Created attachment 2216 [details] Quick hack to create accounts which aren't disabled
I don't read C very well but from the looks of it are you saying that the account is disabled if its created without a password and the password is created seperately? I create the account and set the password with a second command because I couldn't get the command to work when all done together.
This is still an issue in Samba 3.4. Raising version number.
(In reply to comment #5) > This is still an issue in Samba 3.4. Raising version number. > Added this comment to the wrong bug report. Sorry!
Just tried to reproduce with Samba 3.4.3 and it's no longer an issue. Closing out bug report. Thanks for reporting!