On Monday 25 Oct 2010 01:45:09 Michael S. Dunsavage wrote:
On 10/24/2010 08:27 PM, David C. Rankin wrote:
On 10/24/2010 05:10 PM, Bob Williams wrote:
smbclient -U<regular user name> -Lbarrowhillfarm
OK. That gives:
barrowhillfarm:~ # smbclient -Ubob -Lbarrowhillfarm Enter bob's password: Domain=[BARROWHILLFARM] OS=[Unix] Server=[Samba 3.4.3-3.6.1-2426-SUSE-SL11.2]
Sharename Type Comment --------- ---- ------- IPC$ IPC IPC Service (Samba Server 3.4.3-3.6.1-2426-
SUSE-SL11.2)
print$ Disk pictures Disk Photo collection on barrowhillfarm music Disk Music Collection tp0 Printer HP_PhotoSmart_8150 Stylus-CX5200 Printer EPSON Stylus CX5200 Photosmart-8100-series Printer HP Photosmart 8100 series bob Disk Home Directories
Domain=[BARROWHILLFARM] OS=[Unix] Server=[Samba 3.4.3-3.6.1-2426-SUSE-SL11.2]
Server Comment --------- ------- BARROWHILLFARM Samba Server 3.4.3-3.6.1-2426-SUSE-SL11.2
Workgroup Master --------- ------- BARROWHILLFARM BARROWHILLFARM
That all looks good:
alchemy:~> smbclient -Udavid -Lnirvana Enter david's password: Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.5.5]
Sharename Type Comment --------- ---- ------- IPC$ IPC IPC Service (Samba 3.5.5) pdf-gen Printer PDF Generator print-pdf print$ Disk samba Disk Nirvana - Skyline, Pictures, Law LaserJet Printer Home Office Laserjet 4 david Disk Home Directories
Domain=[RB_LAW] OS=[Unix] Server=[Samba 3.5.5]
Server Comment --------- ------- ARCHANGEL Samba 3.5.5 DCRGX dcrgx KILLERZ Zmans KillerZ Box NIRVANA Samba 3.5.5 SUPERSFF Samba 3.5.5 ZION Rankin's Computer
Workgroup Master --------- ------- RB_LAW NIRVANA
also IIRC, there is a limit of 11 characters to the netbios 'workgroup' name. If that still applies the workgroup name 'BARROWHILLFARM' could be your problem. Try changing it to 'BHFARM' and see if that helps.
Windows didn't object to that workgroup name, but I'll take your advice and try the shorter version ... tomorrow, as it's getting rather late here ;)
Windows won't complain, it's samba I'm worried about. Looks like I'm wrong on the netbios name at 11. It is actually a 15 character limit:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsin g.html
WINS: The Windows Internetworking Name Server
Use of WINS (either Samba WINS or MS Windows NT Server WINS) is highly recommended. Every NetBIOS machine registers its name together with a name_type value for each of several types of service it has available. It registers its name directly as a unique (the type 0x03) name. It also registers its name if it is running the LanManager-compatible server service (used to make shares and printers available to other users) by registering the server (the type 0x20) name.
All NetBIOS names are up to 15 characters in length. The name_type variable is added to the end of the name, thus creating a 16 character name. Any name that is shorter than 15 characters is padded with spaces to the 15th character. Thus, all NetBIOS names are 16 characters long (including the name_type information).
WINS can store these 16-character names as they get registered. A client that wants to log onto the network can ask the WINS server for a list of all names that have registered the NetLogon service name_type. This saves broadcast traffic and greatly expedites logon processing. Since broadcast name resolution cannot be used across network segments, this type of information can only be provided via WINS or via a statically configured lmhosts file that must reside on all clients in the absence of WINS.
Also, set log level = 10 in smb.conf and restart smbd. That will make the logs really chatty and can help ID the problem.
Done.
Thanks,
Bob
Good luck
Also, try
local master = Yes preferred master = Yes os level = 65
under glboal
Local master will make it a local network master browser - should be on *one* samba server. Makes it the local browser. preferred browser should be on only *one* samba server - should be master browser for workgroup os level should also be on *one* samba server - this will beat out any NT domain browser, maybe not needed, but maybe w/ Vista. Won't hurt.
Also when restarting samba services after configuration changes, restart nmbd as well.
Done all that, no difference, I'm afraid. As it's looking more and more like Vista problem, it could be considered a bit OT here :( I'm less bothered by the printer sharing problem now, but I would like to be able to share /home on the Vista machine. What this brings home to me is how configurable linux is - just change some settings in a conf file (if you know what to change, of course) whereas in Windows World you are at the mercy of the GUI and whatever tools are provided there. Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.2 64-bit, Kernel 2.6.31.14-0.1-desktop, KDE 4.5.1 Intel Core2 Quad Q9400 2.66GHz, 8GB DDR RAM, nVidia GeForce 9600GT -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org