10-15-2003
Re: Samba Server
Quote:
Originally posted by erhan_j
I set up Samba so Windows can Access Linux, but how can I access my windows machine from linux (preferably using samba).?
The way I access my windows shares from the linux box is as follows:
mount -t smbfs -o username=username,password=password //server/sharename /mount/mountpoint
But I've no idea how to access my l inux box from Windows, how do you do it?
10 More Discussions You Might Find Interesting
1. Solaris
hi all ,
i have noticed lately the following message in my /var/adm/messages log :
May 10 15:40:56 inetd: netbios-ns/udp server failing (looping), service terminated
May 10 15:51:37 inetd: netbios-ns/udp server failing (looping), service terminated
i did some search on that and found... (1 Reply)
Discussion started by: ppass
1 Replies
2. Linux
Hello everybody.
The problem deals with a schoolserver with linux running on it.
Samba is running so that everybody has his own homedirectory on the server.
Now the Problem:
A directory should be created on which one everybody can write, but not read the files.
We are at the point that... (1 Reply)
Discussion started by: JP_II
1 Replies
3. Linux
hello friend i m new on linux please anyone send me a step by step configuraton about samba server and mail server.
bye (1 Reply)
Discussion started by: IRFAN
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am using Enterprise Linux Server release 5.2, now i am configuring Samba server, i want to access linux directories from Windows xp/2003 desktops. I installed and configured but i am unable to access them, could you please give me suggestion about configurations.
Thanks. (2 Replies)
Discussion started by: marmam
2 Replies
5. UNIX for Dummies Questions & Answers
Hi there,
Hope this forum is adapted to my question. I have :
+ 1 Debian server with Samba set to authenticate users in the domain HOME (workgroup = HOME / domain logons = yes).
+ 3 Windows XP Laptops configured to belong to the domain HOME. So on startup, I'm invited to enter a login password... (2 Replies)
Discussion started by: chebarbudo
2 Replies
6. UNIX for Dummies Questions & Answers
Today I have configured samba server on my linux machine .I thought it would be better if i share it here and get feedback from an experienced users.
This configuration is based on Redhat release 5.
# lsb_release -a
LSB Version: ... (0 Replies)
Discussion started by: pinga123
0 Replies
7. Red Hat
Hi everyone,
I am trying to set up a samba server using either the interface or the command line. However, I am unable to access the files found on the server. Can anyone tell me how to set up this server?
Thanks in advance (2 Replies)
Discussion started by: shakshakshuk
2 Replies
8. UNIX and Linux Applications
Hi,
i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers.
Where you can read how to do it? Or can tell me how to do it?
Thanks.
P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies
9. Shell Programming and Scripting
I'm creating a ubuntu samba server that sends out email notifications when a file a new file is created in the monitored directory.
Currently im using inotifywait to monitor a directory and send out a email notification. Inotify wait works great but it gets triggered whenever any file including... (2 Replies)
Discussion started by: binary-ninja
2 Replies
10. 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
LEARN ABOUT MOJAVE
cupsaddsmb
cupsaddsmb(8) Apple Inc. cupsaddsmb(8)
NAME
cupsaddsmb - export printers to samba for windows clients
SYNOPSIS
cupsaddsmb [ -H samba-server ] [ -U samba-user[%samba-password] ] [ -h cups-server[:port] ] [ -v ] -a
cupsaddsmb [ -H samba-server ] [ -U samba-user[%samba-password] ] [ -h cups-server[:port] ] [ -v ] printer [ ... printer ]
DESCRIPTION
The cupsaddsmb program exports printers to the SAMBA software (version 2.2.0 or higher) for use with Windows clients. Depending on the
SAMBA configuration, you may need to provide a password to export the printers. This program requires the Windows printer driver files
described below.
SAMBA CONFIGURATION
cupsaddsmb uses the RPC-based printing support in SAMBA to provide printer drivers and PPD files to Windows client machines. In order to
use this functionality, you must first configure the SAMBA smb.conf(5) file to support printing through CUPS and provide a printer driver
download share, as follows:
[global]
load printers = yes
printing = cups
printcap name = cups
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browseable = yes
guest ok = no
read only = yes
write list = root
This configuration assumes a FHS-compliant installation of SAMBA; adjust the [printers] and [print$] share paths accordingly on your system
as needed.
MICROSOFT POSTSCRIPT DRIVERS FOR WINDOWS
The base driver for Windows 2000 and higher is the Microsoft PostScript driver, which is available on any system running Windows 2000 or
higher in the %WINDIR%SYSTEM32SPOOLDRIVERSW32X863 folder for 32-bit drivers and %WINDIR%SYSTEM32SPOOLDRIVERSX643 folder for
64-bit drivers.
Copy the 32-bit drivers to the /usr/share/cups/drivers directory and the 64-bit drivers to the /usr/share/cups/drivers/x64 directory
exactly as named below:
ps5ui.dll
pscript.hlp
pscript.ntf
pscript5.dll
Note: Unlike Windows, case is significant - make sure that you use the lowercase filenames shown above, otherwise cupsaddsmb will fail to
export the drivers.
OPTIONS
cupsaddsmb supports the following options:
-H samba-server
Specifies the SAMBA server which defaults to the CUPS server.
-U samba-user[%samba-password]
Specifies the SAMBA print admin username which defaults to your current username. If the username contains a percent (%) character,
then the text following the percent is treated as the SAMBA password to use.
-a Exports all known printers. Otherwise only the named printers are exported.
-h cups-server[:port]
Specifies a different CUPS server to use.
-v Specifies that verbose information should be shown. This is useful for debugging SAMBA configuration problems.
SEE ALSO
rpcclient(1), smbclient(1), smbd(8), smb.conf(5), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
11 June 2014 CUPS cupsaddsmb(8)