svn commit: samba r11814 - in branches/SAMBA_4_0/source/scripting/ejs: .

Andrew Bartlett abartlet at samba.org
Mon Nov 21 23:27:36 GMT 2005


On Mon, 2005-11-21 at 01:19 +0100, Rafal Szczesniak wrote:
> On Mon, Nov 21, 2005 at 09:35:31AM +1100, Andrew Bartlett wrote:
> > On Sun, 2005-11-20 at 21:40 +0000, mimir at samba.org wrote:
> > > Author: mimir
> > > Date: 2005-11-20 21:40:41 +0000 (Sun, 20 Nov 2005)
> > > New Revision: 11814
> > > 
> > > WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11814
> > > 
> > > Log:
> > > 1) Set name resolution methods according to smb.conf
> > > 2) Set credentials workstation name, otherwise rpc bind function
> > >    segfaults on auth stage
> > 
> > This isn't the right way to handle this.  You must call
> > cli_credentials_guess() (if you are trying to guess) or
> > cli_credentials_set_conf() (if you just want defaults like the
> > workstation name).
> 
> OK, but eventually I have to fill some fields explicitly. What is
> correct order of actions in that case ? Do I just need to call
> cli_credentials_set_conf and then assign whatever I need to assign ?

Correct.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.        http://suse.de
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- 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/20051122/26ed92f5/attachment.bin


More information about the samba-technical mailing list