Browsed by
Category: SAMBA

Samba error: bind failed on port 137

Samba error: bind failed on port 137

Problem Samba will not start and is showing the following errors in the log files. Feb 6 15:27:02 server nmbd[22392]: [2013/02/06 15:27:02, 0] lib/util_sock.c:open_socket_in(822) Feb 6 15:27:02 server nmbd[22392]: bind failed on port 137 socket_addr = 172.16.203.142. Feb 6 15:27:02 server nmbd[22392]: Error = Cannot assign requested address Feb 6 15:27:02 server nmbd[22392]: [2013/02/06 15:27:02, 0] nmbd/nmbd_subnetdb.c:make_subnet(97) Feb 6 15:27:02 server nmbd[22392]: nmbd_subnetdb:make_subnet() Feb 6 15:27:02 server nmbd[22392]: Failed to open nmb socket on interface 172.16.203.142 Feb 6 15:27:02 server…

Read More Read More

Samba Hide Office Temp Files

Samba Hide Office Temp Files

When working on Office documents like Word, Excel they create a temporary file when they are being worked on. This can sometimes confuse people working on SAMBA shares. See example These temp files will begin with a tilde (~) There is an option in SAMBA to hide certain files with a wildcard. Simply add this line: hide files = /~*/ This means any files with tilde will be hidden until ‘Show hidden files’ are selected in Windows explorer. To ensure they are not seen…

Read More Read More

SAMBA: Global parameter guest account found in service section!

SAMBA: Global parameter guest account found in service section!

Problem If you get the following message in /var/log/messages or /var/log/syslog Global parameter guest account found in service section! This means that a global variable has been put in a share section of the smb.conf to fix this remove the global variable in this case it is ‘guest account’ from the share.  Solution If you require this variable put it in the [global] section of smb.conf and not the individual share remove this line from [share] and make sure it…

Read More Read More

Printing from CUPS to a Printer attached to Windows XP/Vista/7

Printing from CUPS to a Printer attached to Windows XP/Vista/7

Summary I find it frequently necessary to configure CUPS to print to a printer that is attached to a Windows PC as many printers do not have network capability. This tutorial will show you how to install an LPD server on Windows It is also possible to configure CUPS to work with Windows Shares using Samba. However this may need authentication and I have found can have more complications when configuring. Guide LPD is a feature that is available on…

Read More Read More