summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-08-25 17:25:28 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-26 10:06:33 +1000
commit7017e6b8824e9b1b4035299e42a1f93581406b92 (patch)
tree344521d553abe3191869c79cec7e0d038a8dc00f /testdata
parentd8465f2a918deb9fb94f4dc5ad85bc07c073bd05 (diff)
downloadsamba-7017e6b8824e9b1b4035299e42a1f93581406b92.tar.gz
samba-7017e6b8824e9b1b4035299e42a1f93581406b92.tar.bz2
samba-7017e6b8824e9b1b4035299e42a1f93581406b92.zip
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 <abartlet@samba.org>
Diffstat (limited to 'testdata')
-rw-r--r--testdata/samba3/smb.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/testdata/samba3/smb.conf b/testdata/samba3/smb.conf
index b00397d2ee..cabba5fbc8 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