[GUIDE] SAMBA + CUPS (Security Share)


Recommended Posts

EDIT: Guide Updated

Well I've been trying to get samba and cups to work for a long time and I didn't care how if it had to be with a user name would have done it but wouldn't have liked it. Anyways....

You need to create a user called samba and a group called samba

adduser

follow the steps

add group

groupadd samba

Then you need to edit some samba things. First File

/etc/cups/cupsd.conf

and you go to change this

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>

to this

<Location />
Order Deny,Allow
Deny From All
Allow From All
</Location>

then you need to uncomment the following lines:

/etc/cups/mime.types

application/octet-stream

/etc/cups/mime.convs

application/octet-stream        application/vnd.cups-raw        0      -

Then you edit you samba conf

Edit Samba Config

# Global parameters
[global]
	server string = Matthew
	security = SHARE
	guest account = samba
	printer admin = samba, matthew

[Share]
	read only = No
	guest ok = Yes
	path = /home/samba

[Canoni450]
	comment = Canoni450
	path = /home/samba/spool
	valid users = matthew, samba
	guest ok = Yes
	printable = Yes
	use client driver = Yes

I added a dir so people can see how I setup a share

It is probably necessary to add WORKGROUP = yourworkgroup if you use a different workgroup other than workgroup

Edited by msg43
Link to comment
https://www.neowin.net/forum/topic/320926-guide-samba-cups-security-share/
Share on other sites

  mr_demilord said:
First tell us what kind of network it is. is it linux with a windows machine?

on wich machine is the printer connected, to the windows or linux machine?

585926561[/snapback]

Ok if I Understand you question it is Microsoft Network (SAMBA) and the printer is hooked up to the linux machine

This is for setting a file and print server in Linux or *BSD!

There is a HOW-TO I wrote here if anyone else is interested.

http://www.bsdforums.org/forums/showthread...&threadid=22395

  Kira-Kun said:
This is for setting a file and print server in Linux or *BSD!

There is a HOW-TO I wrote here if anyone else is interested.

http://www.bsdforums.org/forums/showthread...&threadid=22395

585928732[/snapback]

would that be a domain

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • NWinfo 1.4.2 by Razvan Serea NWinfo is a lightweight tool designed to give a quick look at your computer's key details, from hardware to software specs, without any fuss. You don't need to install it; just download, run, and see everything you need on one screen. It displays essential info about your CPU, memory, disk drives, network, and even the system's operating details. Since it’s portable, you can carry NWinfo on a USB stick and use it on any Windows machine, making it a handy tool for both tech enthusiasts and troubleshooting. NWinfo key features: Lightweight and portable—no installation required Simple, user-friendly interface for easy navigation Displays detailed CPU information, including model and speed Shows memory (RAM) specifications and usage Provides disk information, including storage capacity and usage Lists network adapters and IP addresses Displays motherboard details, including model and manufacturer Shows system uptime and operating system version Detects graphics card information and driver details Includes battery status for laptops Provides monitor specifications, including resolution and refresh rate Displays BIOS version and other firmware details Offers a summary of active processes and services Generates detailed logs for sharing or troubleshooting Open-source and free, allowing for customization and community support NWinfo 1.4.2 changelog: Add Polish language support Add support for EFI key options Refactor EFI boot menu enumeration Add FACS table parsing Add SMBIOS support for types 37-39 and 42 Note: NWinfo might trigger a few antivirus alerts or show up with warnings on VirusTotal due to its low download frequency. If you have any concerns, you're welcome to review the full source code available on the developer’s repository. Download: NWinfo 1.4.2 | 2.2 MB (Open Source) View: NWinfo Website | NWinfo@GitHub | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • TSMC's trade secret meltdown exposed by internal monitoring by Paul Hill Taiwan Semiconductor Manufacturing Co. (TSMC) has detected unauthorized activities using “comprehensive and robust monitoring mechanisms”. The chip maker said that it believes trade secrets have been leaked as a result and has taken disciplinary action against the personnel involved and initiated legal proceedings explaining that it has a zero-tolerance policy for compromising trade secrets or harming company interests. As the case is under judicial review, it is unable to provide further details about the case. While TSMC is not speaking on the matter, the leak allegedly involves critical proprietary information on 2-nanometer chip development and production. Production of the 2-nanometer chip is among the leading-edge manufacturing processes in the semiconductor industry right now, which explains why an actor would want to steal related information. TSMC is one of the world’s leading chip makers, with companies like Apple and Nvidia being among its clients. It is also the world’s biggest chip maker and among the most advanced. After this leak, the company has reaffirmed its commitment to safeguarding its core business competitiveness and the shared interests of all its employees. The jury is still out on the motivations behind the leaking of the trade secrets, but those involved have been fired, according to Nikkei. TSMC, similarly to Nvidia, has found itself in the geopolitical struggle between China and the US in recent years. As you likely know, the last several years have seen America really go hard after Huawei over national security concerns, and in more recent years, the US has sought to limit China’s access to AI hardware. Earlier this year, Neowin reported that TSMC faces a $1 billion fine for breaching export controls against Huawei. TSMC had made a chip for the Chinese firm Sophgo, but that same chip was later discovered to be used in Huawei's high-end Ascend 910B AI processor. This discovery was made by TechInsights, a Canadian company, and as a result, TSMC stopped shipments to Sophgo, and the US added Sophgo to its blacklist to prevent further circumvention along that route. It will certainly be fascinating to learn more about the motivation for the theft of trade secrets as more information comes to light. Via: CNBC | Image via Depositphotos.com
    • Apple will probably reciprocate by advertising their home products and mocking Google Home's continued debacles.
    • Files still rely on classic windows indexing rather than methods that 'everything' uses. So search is suboptimal. The compression algorithm list is really lacking not comparable to winrar, 7zip and peazip... The gui looks nice, but windhawk is a thing. I don't understand what files brings in 2025. Just a less efficient, less customizable file explorer. https://i.imgur.com/afVKXBj.png
  • Recent Achievements

    • Week One Done
      Zojaji earned a badge
      Week One Done
    • First Post
      Soeaker4thedead earned a badge
      First Post
    • First Post
      kryptickid earned a badge
      First Post
    • First Post
      Nemesis-IV earned a badge
      First Post
    • First Post
      Aidan Helfrich earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      759
    2. 2
      ATLien_0
      187
    3. 3
      +FloatingFatMan
      151
    4. 4
      Xenon
      117
    5. 5
      wakjak
      113
  • Tell a friend

    Love Neowin? Tell a friend!