!-- Begin: http://adsensecamp.com/ -->

Configuring samba printer sharing
We can make Linux as a server sharing the printer. Configuration process must be done as user root. At the Ubuntu distro/Debian, open the terminal.

Start Menu -> Accesories -> Terminal
Next entry as the root user, or type the command (On Ubuntu);

$ sudo nano /etc/samba/smb.conf

Some lines must be edited is;

1. At the authentikasi, security add a security = share
2. At the authentikasi, encrypt passwords = true
3. At the authentikasi, guest account = nobody
4. In the printing, load printers = yes
5. In the printing, printing = cups
6. In the printing, printcap name = cups
7. On the share definition, tag printers, browseable = yes
8. On the share definition, tag printers, public = yes

You can enter some additional configuration to make sure samba is running smoothly, as follows;

*
In the networking, the interface is filled with the engine at that time
*
At the global - browsing identification, give a new value called NetBIOS name with the desired name. Most easily, the user name of the machine

Save and restart the samba service using the command:


$ sudo /etc/init.d/samba restart

following the example configuration file samba server that has been modified;

#====================== Global Settings =======================
[global]
workgroup = MSHOME
netbios name = MUSTOFA-TU
server string = %h server (Samba, Ubuntu)
dns proxy = no
interfaces = 10.3.100.200/16 eth0
log file = /var/log/samba/log.%m

max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = share
passdb backend = tdbsam
obey pam restrictions = yes
guest account = nobody
invalid users = root

passwd program = /usr/bin/passwd %u
passwd chat = *EntersnewsUNIXspassword:* %nn *RetypesnewsUNIXspassword:* %nn *passwordsupdatedssuccessfully* .
load printers = yes

printing = cups
printcap name = cups
socket options = TCP_NODELAY
[printers]
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
public = yes
writable = no
create mode = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no


Hopefully Helping.

0 comments

!-- Begin: http://adsensecamp.com/ --> !-- Begin: http://adsensecamp.com/ --> !-- Begin: http://adsensecamp.com/ -->