[Samba] Samba config
Peter Ulrich Kruppa
kruppa at pukruppa.net
Sat Jun 26 16:48:37 GMT 2004
On Thu, 24 Jun 2004, chris wrote:
> Hi Im having difficulty configuring Samba running on FreeBSD. Samba
> version is 2.2.8a. The scenario is that we have an NT4 domain and I am
> looking to migrate the printers onto Samba. All of the printers are
> connected via print servers, mainly HP JetDirect. As far as security is
> concerned I am happy for guest/anonymous logon as the server will only
> be used for printing but I have set security to domain and added samba
> to the domain.
Here is a smb.conf file for a standalone printer server with cups
on FreeBSD:
.........................................................
# Global parameters
[global]
netbios name = SMALL
security = SHARE
passdb backend = guest
ldap ssl = no
hosts allow = 192.168.10.
[hpdj]
path = /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes
........................................................
/var/spool/samba is set to
drwxrwxrwt 2 root wheel 512 19 Jun 11:47 samba
(You do this with
# mkdir samba
# chmod 1777 samba
)
And: enable
application/octet-stream in /usr/local/etc/cups/mime.types
and
application/octet-stream application/vnd.cups-raw 0 -
in /usr/local/etc/cups/mime.convs
Hope this helps,
Uli.
+-------------------------+
| Peter Ulrich Kruppa |
| - Wuppertal - |
| Germany |
+-------------------------+
More information about the samba
mailing list