11-25-2010
Yes, its possbile. Just look at any of a sample smb.conf file. You'll find a tag name either [domain] or [workgroup].
Look at the man pages too.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
With so many diffrent flavors out there, how is a person soposed to know what to go with? I'm not asking for specific discussion here in this forum, but I would like to see various pages and articles dicsussing the pluses and minuses of various unix/linux OS's. I have been searching various... (1 Reply)
Discussion started by: MorderKartoffel
1 Replies
2. UNIX for Advanced & Expert Users
Hi guys,
We have different IP ranges in our LAN, for instance my system IP Add. is in 163.183.37.x range, in the meantime i wish to connect to our printer/plotter which is 163.183.4.x & our LAN in another location with 163.183.38.x.
What shoul i do except defining pesudo IP Add's? as a... (1 Reply)
Discussion started by: nikk
1 Replies
3. UNIX for Dummies Questions & Answers
Can sed be used to take a existing record and reverse the order of defined character placement if there is no delimeters?
existing record:
0123456789CO
expected result:
9876543210CO
if there were delimeters I could define the delimeter and each placement would have an id which I... (1 Reply)
Discussion started by: r1500
1 Replies
4. IP Networking
Hi guys 'n' gals. I have got myself into a state of confusion, and was wondering if you lot could help me out!
I have a G4 Mac OSX 10.3 computer which is my main workstation. Its not running especially fast, and I need to get it as freed up on resources as possible. I use the computer for a... (2 Replies)
Discussion started by: mistafeesh
2 Replies
5. Programming
Hi ALL :
consider the given 2 codes:
//p1.c
#include<stdio.h>
FILE * fp;
main()
{
pid_t pid;
fp=fopen("..........");
// now i am transfering the control to a new process(p2.c).
pid=fork();
if(pid==0)
.....
execl(" p2".....);
....
... (6 Replies)
Discussion started by: bankpro
6 Replies
6. UNIX for Dummies Questions & Answers
After having to replace a video card and having a corrupt root directory, I had to wipe out and reinstall my SCO OpenServer Enterprise System 5.0.2. because nothing would work for the root password. I am now trying to reinstall the Oracel Workgroup Server SCO v7.1.5.2 and it tells me I need to... (1 Reply)
Discussion started by: sheilaj1
1 Replies
7. IP Networking
Hi Guys,
How to find the Workgroup/Domain name of my local machine in unix?
Please suggest some link.
Thanks.
sunil. (3 Replies)
Discussion started by: skumar2011
3 Replies
8. Solaris
Hi,
I have issue with cron.
When i run script manually output is fine but when i add it to cron output file is not as same.
both file attach some junk charecter comming in cron output.
thanx
Jignesh (5 Replies)
Discussion started by: jkmistry
5 Replies
9. Shell Programming and Scripting
I couldn't find the answer anywhere, so I hope you could help me.
I need to change something like the following:
something/bla/aaaa
anything/bbb
to:
something
--bla
----aaaa
anything
--bbb
How do I do this?
Is it possible with sed?
I tried various patterns, but don't know how to... (5 Replies)
Discussion started by: Patwan
5 Replies
10. AIX
Hi guys,
I'm trying to mount a windows share (hosted on a NetApp filer with clustered Ontap 8.3) and I have no luck doing it.
This worked before when we used an old NetApp with Ontap 7.3.
Seems there is an issue with ASCII/non-unicode support.
I'm wondering if anybody here has mounted... (7 Replies)
Discussion started by: mikedavis
7 Replies
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)