samba4 adduser

Andrew Bartlett abartlet at samba.org
Fri Apr 25 13:25:48 GMT 2008


On Fri, 2008-04-25 at 15:02 +0200, Nicolas.CLEMENTZ at uha.fr wrote:
> 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 []

I'm not sure what is wrong here - perhaps for some reason we are using
the wrong keytab or something.  Sadly this area is not currently tested
in 'make test'. 

> - 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)

This is fixed in the current GIT tree (including tests to ensure it
stays that way!).

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20080425/c57b9b3f/attachment.bin


More information about the samba-technical mailing list