samba4 adduser

Nicolas.CLEMENTZ at uha.fr Nicolas.CLEMENTZ at uha.fr
Fri Apr 25 13:02:12 GMT 2008


Hi,

      I'm trying to add user on samba4 alpha3, what is best/official way to
proceed ? The howto say to use swat, but it seem thas swat is note
available, so I try with :
- dsa.mcs on WinXP, but I've the error
smbd outpud (-d 4)
   Found account name from PAC: Administrator []
   Warning: 60 extra bytes in incoming RPC request
   Kerberos: TGS-REQ administrator at UHA.FR from 10.252.12.203 for
   kadmin/changepw at UHA.FR [renewable, forwardable]
   Kerberos: TGS-REQ authtime: 2008-04-25T10:46:43 starttime:
   2008-04-25T14:48:17 endtime: 2037-09-13T04:48:05 renew till: unset
   kpasswdd: gensec_update failed: NT_STATUS_LOGON_FAILURE
   using SPNEGO
   Selected protocol [5][NT LM 0.12]
   Found account name from PAC: Administrator []

- bin/smbpython setup/newuser --unixname=user5 user5 (user5 exist in
passwd)
New Password:
Traceback (most recent call last):
  File "setup/newuser", line 54, in <module>
    creds = credopts.get_credentials()
TypeError: get_credentials() takes exactly 2 arguments (1 given)

Thanks,

Nicolas.


More information about the samba-technical mailing list