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

Andrew Bartlett abartlet at samba.org
Sun Nov 20 22:35:31 GMT 2005


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

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/20051121/ceab967f/attachment.bin


More information about the samba-technical mailing list