Mailinglist Archive: opensuse (946 mails)
| < Previous | Next > |
Re: [opensuse] Printing from Windows Computers to Suse Printers
- From: "Michael S. Dunsavage" <mikesd1981@xxxxxxxxxxx>
- Date: Sun, 24 Oct 2010 20:45:09 -0400
- Message-id: <4CC4D315.5040902@xxxxxxxxxxx>
On 10/24/2010 08:27 PM, David C. Rankin wrote:
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.
--
Michael S. Dunsavage
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
On 10/24/2010 05:10 PM, Bob Williams wrote:Also, try
That all looks good:smbclient -U<regular user name> -LbarrowhillfarmOK. 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
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
Windows won't complain, it's samba I'm worried about. Looks like I'm wrong onWindows didn't object to that workgroup name, but I'll take your advice andalso 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.
try the shorter version ... tomorrow, as it's getting rather late here ;)
the netbios name at 11. It is actually a 15 character limit:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.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.
Good luckDone.Also, set log level = 10 in smb.conf and restart smbd. That will make the
logs really chatty and can help ID the problem.
Thanks,
Bob
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.
--
Michael S. Dunsavage
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |