From: Amitay Isaacs Date: Thu, 25 Aug 2011 07:25:28 +0000 (+1000) Subject: testdata: Set netbios name in the samba3 configuation X-Git-Tag: samba-4.0.0alpha17~318 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=7017e6b8824e9b1b4035299e42a1f93581406b92 testdata: Set netbios name in the samba3 configuation To correctly find the domain sid, passdb api uses netbios name to look up secrets database. If no nebios name is configured, passdb uses current hostname and adds entry for hostname in secrets and uses that instead of the intended one. Signed-off-by: Andrew Bartlett --- diff --git a/testdata/samba3/smb.conf b/testdata/samba3/smb.conf index b00397d2ee1..cabba5fbc8f 100644 --- a/testdata/samba3/smb.conf +++ b/testdata/samba3/smb.conf @@ -3,6 +3,7 @@ security = user passdb backend = smbpasswd:../testdata/samba3/smbpasswd tdbsam:../testdata/samba3/passdb.tdb ldapsam:tdb://samba3.ldb debug level = 5 + netbios name = BEDWYR [cd1] path = /mnt/cd1