Setup Samba Server to always ask user and password


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Setup Samba Server to always ask user and password
# 1  
Old 11-02-2015
Hammer & Screwdriver 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)?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Trying to setup Samba

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

2. Solaris

How can i setup ssh password-less login for particular user?

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

3. Shell Programming and Scripting

How to scp File from root user in one server to say crt user in another server and avoid password?

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

4. Solaris

Samba with password server

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

5. Solaris

samba issue: one samba share without password prompting and the others with.

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

6. UNIX for Dummies Questions & Answers

Samba setup in virtual server environment Windows/ Linux

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

7. UNIX for Advanced & Expert Users

Setup SUDO For a User on Linux Server

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

8. UNIX for Dummies Questions & Answers

Setup my Samba

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

9. UNIX for Dummies Questions & Answers

setup samba

how do i set up samba 2 connect 2 a windows client ? (1 Reply)
Discussion started by: perleo
1 Replies

10. UNIX for Dummies Questions & Answers

Samba setup

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
Login or Register to Ask a Question
SMBSPOOL(8)                                                 System Administration tools                                                SMBSPOOL(8)

NAME
smbspool - send a print file to an SMB printer SYNOPSIS
smbspool {job} {user} {title} {copies} {options} [filename] DESCRIPTION
This tool is part of the samba(7) suite. smbspool is a very small print spooling program that sends a print file to an SMB printer. The command-line arguments are position-dependent 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[:port]/printer o smb://workgroup/server[:port]/printer o smb://username:password@server[:port]/printer o smb://username:password@workgroup/server[:port]/printer smbspool tries to get the URI from the environment variable DEVICE_URI. If DEVICE_URI is not present, smbspool will use argv[0] if that starts with "smb://" or argv[1] if that is not the case. 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 then this argument is not used by smbspool. o The options argument (argv[5]) contains the print options in a single string and is currently 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 3 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/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy. Samba 3.5 06/18/2010 SMBSPOOL(8)