==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=7013
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
Priority: P3
Bug ID: 7013
Assignee: [email protected]
Summary: wins/smbfs/cifs name resolution for AFFA
QA Contact: [email protected]
Severity: normal
Classification: Contribs
OS: ---
Reporter: [email protected]
Hardware: ---
Status: UNCONFIRMED
Version: 8.0
Component: smeserver-affa
Product: SME Contribs
After upgrading to sme version 8, the affa backup jobs pulling data from
workstations to the backup server failed. The reason had to do with smb/cifs
name resolution and is easily fixed: add 'wins' to the 'hosts:'-line in
nsswitch.conf. Those interested please find details below.
Initially, backup jobs failed with this report:
Mon_Jun__4_17:30:01[27802]:_Mounting_//WINXP-ID/c$_to_/mnt/id
Mon_Jun__4_17:30:01[27802]:_Exec_Out:_mount:_unknown_filesystem_type_'smbfs'
The reason was that smbmount is no longer available. Switching to cifs...
db affa setprop id AutomountOptions '-t smbfs -o credentials=...'
to
db affa setprop id AutomountOptions '-t cifs -o credentials=...'
...brought back the old problem that netbios names were not resolved and
(fixed) IP-addresses needed:
Mon_Jun__4_19:38:32[30025]:_Mounting_//WINXP-ID/c$_to_/mnt/id
Mon_Jun__4_19:38:32[30025]:_Exec_Out:_mount_error:_could_not_resolve_address_for_WINXP-ID:_Name_or_service_not_known
Mon_Jun__4_19:38:32[30025]:_Exec_Out:_No_ip_address_specified_and_hostname_not_found
Reading a couple of bug reports on related issues taught me that sme server
resolves hostnames by consulting the hosts file and dns but not wins. Editing
/etc/nsswitch.conf...
hosts: files dns
to
hosts: files dns wins
...solves the problem.
Maybe the wins name resolution should be added as default to prevent this and
similar problems?
I found it confusing that “ping 'netbios-name'” works on the workstations but
not on the server, even though the server 'sees' the workstations' netbios
names when the smbtree command is used.
See also the forum thread:
http://forums.contribs.org/index.php/topic,48771.msg242690.html#msg242690
--
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/