11-02-2015
Setup Samba Server to always ask user and password
How do I setup a Samba server to always ask to user and password, when a windows user, prints your files using a shared printer through a Samba Linux Server (CUPS)?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am new using Redhat 7.2 and i am trying to configure Samba for the first time. I have three machines RH 7.2, NT SP5, and 2000 Server. I can see the linux machine on my NT box but cant seem to connect to it. I must have not configured the smb.conf file correctly. Also I can't see the Linux box... (2 Replies)
Discussion started by: froggy3132000
2 Replies
2. UNIX for Dummies Questions & Answers
how do i set up samba 2 connect 2 a windows client ? (1 Reply)
Discussion started by: perleo
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have successfully installed the Samba on my Sparc Solaris 8.
Now I want to setup so that my PC users are able to view the files in my unix machine.
But, I don't know how to do the setup and don't know how to start samba.
My eventual goal is to let my PC users to access the files... (1 Reply)
Discussion started by: champion
1 Replies
4. UNIX for Advanced & Expert Users
Hello! Can anyone please assist:
Question:
On Linux Server I have created two users John and Matt. I want to give both the users the ability to run 'more' and 'tail -f' commands on the log file in the directory /var/log/test.log. I do not want to give them SU rights.
Can any one please... (6 Replies)
Discussion started by: sureshcisco
6 Replies
5. UNIX for Dummies Questions & Answers
I have a home network set up that consists of a few windows clients and 3 centos, and 1 suse client. These are all virtual machines, VMware Workstation. One centos vm is set to be the Samba server. Do I need Samba set up on the other Linux clients?I have no problem seeing the windows clients... (0 Replies)
Discussion started by: ktb231
0 Replies
6. Solaris
Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account.
If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies
7. Solaris
Hi guys,
I have also here a Sol-10 with samba configured all is working out but just want to know if i set a password server pointing to a windows domain with Active Directory... do i still have to create a samba user on my Sol-10 or all username/pass authentication will be done on the windows... (2 Replies)
Discussion started by: batas
2 Replies
8. Shell Programming and Scripting
Can someone help in writing some script through which I can transfer file (scp) from root user in abc server to crt user in hfg server and can give the crt user password in script itself so that it doesn't prompt me every time for password (4 Replies)
Discussion started by: Moon1234
4 Replies
9. Solaris
HI Community.
I was trying to create ssh password less authentication for one user called night and it's not working for me.
These are the steps I followed:-
I have logged into the server and issued ssh-ketgen -t rsabash-3.2$ ssh-keygen -t rsa
Generating public/private rsa key pair.... (4 Replies)
Discussion started by: bentech4u
4 Replies
10. UNIX for Beginners Questions & Answers
I have a solaris 10 and a solaris 11 environment. I am trying to setup a Samba Share. Basically what I want to do is have a location on my unix boxes that can be accessed from a windows environment. I have the following entry in my smb.conf file however when i try to access the share from... (1 Reply)
Discussion started by: gm10700
1 Replies
LEARN ABOUT REDHAT
smbspool
SMBSPOOL(8) SMBSPOOL(8)
NAME
smbspool - send print file to an SMB printer
SYNOPSIS
smbspool [ job ] [ user ] [ title ] [ copies ] [ options ] [ filename ]
DESCRIPTION
This tool is part of the Samba suite.
smbspool is a very small print spooling program that sends a print file to an SMB printer. The command-line arguments are position-depen-
dent for compatibility with the Common UNIX Printing System, but you can use smbspool with any printing system or from a program or script.
DEVICE URI
smbspool specifies the destination using a Uniform Resource Identifier ("URI") with a method of "smb". This string can take a number of
forms:
o smb://server/printer
o smb://workgroup/server/printer
o smb://username:password@server/printer
o smb://username:password@workgroup/server/printer
smbspool tries to get the URI from argv[0]. If argv[0] contains the name of the program then it looks in the DEVICE_URI environment vari-
able.
Programs using the exec(2) functions can pass the URI in argv[0], while shell scripts must set the DEVICE_URI environment variable prior to
running smbspool.
OPTIONS
o The job argument (argv[1]) contains the job ID number and is presently not used by smbspool.
o The user argument (argv[2]) contains the print user's name and is presently not used by smbspool.
o The title argument (argv[3]) contains the job title string and is passed as the remote file name when sending the print job.
o The copies argument (argv[4]) contains the number of copies to be printed of the named file. If no filename is provided than this argu-
ment is not used by smbspool.
o The options argument (argv[5]) contains the print options in a single string and is presently not used by smbspool.
o The filename argument (argv[6]) contains the name of the file to print. If this argument is not specified then the print file is read
from the standard input.
VERSION
This man page is correct for version 2.2 of the Samba suite.
SEE ALSO
smbd(8) and samba(7)
AUTHOR
smbspool was written by Michael Sweet at Easy Software Products.
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of
Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/ <URL:ftp://ftp.icce.rug.nl/pub/unix/>) and updated for the Samba 2.0
release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter
19 November 2002 SMBSPOOL(8)