Sponsored Content
Full Discussion: Trying to setup Samba
Top Forums UNIX for Beginners Questions & Answers Trying to setup Samba Post 303001757 by gm10700 on Thursday 10th of August 2017 05:18:45 PM
Old 08-10-2017
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 windows it prompts for creditials and once I enter them windows gives an error that it is missing a printer driver - and takes me to the install printer drivers screen. I do not want to do any print sharing just file sharing. Ultimately I want this to work for all users but just trying with one for now.

Code:
[DocuShare]
   comment = DocuShare
   path = /DocuShare
   valid users = Samba01
   browseable = yes
   public = yes
   writeable = yes
   printable = yes

Moderator's Comments:
Mod Comment Please use CODE tags when displaying sample input, sample output, and code segments (as required by forum rules).

Last edited by Don Cragun; 08-10-2017 at 06:30 PM.. Reason: Add CODE and ICODE tags.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. UNIX for Dummies Questions & Answers

What is your setup ??

Am looking installing Red Hat 7.2 on an AMD-K6/2 PC and after realising that I can't use my space 80G HD due to BIOS restrictions (have resorted to using a 20G HD), was wondering what setup others use. If "Other" please indicate. (5 Replies)
Discussion started by: Cameron
5 Replies

5. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

6. Solaris

Is it possible to setup a samba share to always mount to a specific Windows drive letter???

I'm trying to setup Samba in a solaris zone... Is there a way to setup Samba so that every Windows machine that tries to connect to the share always gets it mounted under the same drive letter (e.g. H:)??? My Samba share (in smb.conf) /home/pickup I want that all Window users get it mounted... (3 Replies)
Discussion started by: verdepollo
3 Replies

7. 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

8. 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

9. Red Hat

Samba for anonymouse setup but not allowing me to write

Hi Friends, samba for annonymouse setup but not allowing me to write when i tried to browse from windows 7 box conf as below #testparm Load smb config files from /etc/samba/smb.conf Processing section "" Processing section "" Processing section "" Loaded services file OK. Server... (0 Replies)
Discussion started by: heman96
0 Replies

10. UNIX for Advanced & Expert Users

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)? (0 Replies)
Discussion started by: viga
0 Replies
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)
All times are GMT -4. The time now is 09:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy