09-24-2002
Using Samba to join a win 2000 Domain
I am trying to set samba up to join my windows 2000 domain and I am having troubles
If anyone if familiar with this help would be greatly appreciated
I issue the following command
# ./smbpasswd -j DOMAIN -r DOMAINCONTROLER
And the following gets returned
load_client_codepage: filename /usr/local/samba/lib/codepages/codepage.850 does not exist.
load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.850 does not exist.
load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.ISO8859-1 does not exist.
fetch_domain_sid: unable to connect to SMB server on machine domain controller. Error was : SUCCESS - 0.
Failed to get domain SID. Unable to join domain DOMAIN
10 More Discussions You Might Find Interesting
1. Cybersecurity
I need to use the RSH command to run a shell script on my Unix box from Win 2000. I'm using the etc/hosts.equiv file for configuring Unix. In it I have the hostname and username as required. As a test, I enter the following on the Win 2000 dos command: rsh servername -l username df -k.
The... (8 Replies)
Discussion started by: ebergh
8 Replies
2. Programming
Hello.
I am programming in C on HP-UNIX system,i want ftp a file from remote pc which is window 2000 system,i donot how config my HP-UNIX and pc, i donot how program in C or in shell.
Thank you for help. (3 Replies)
Discussion started by: bdyjm
3 Replies
3. Windows & DOS: Issues & Discussions
Dear user
sorry if the subject is not for that fourm .. but I get mad .. I wana solve that problem.. I started my new semster .. and last semster.. and there I use the net under a very huge list of restriction .. no msn massenger .. no yahoo massenger .. no underground site .. no fourms (I am ... (2 Replies)
Discussion started by: RuDe_BuT_CoOoL
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
I have set up Samba on my Unix machine.
I can se the server in the Network on my 2000 and NT machine
but when i try to connect from the 2000 Workstation it says something like "the account can not be used from this machine", when i connect from my NT server the BDC on the network it ask me... (6 Replies)
Discussion started by: sajjan2
6 Replies
5. UNIX for Dummies Questions & Answers
Hi Brothers,
Please, I've just purchased a new PC and I would like to have both win 2000 and freebsd in the same hard drive, ( 40GB and 128Mb ) can you please help how to set up my new hard drive , please!
Thank you.....
aka Polymorphous (2 Replies)
Discussion started by: Polymorphous
2 Replies
6. UNIX for Advanced & Expert Users
I have a samba server and a raid SAN which is actually running samba. Neither one lets me access anything on the samba unix side. I really do not know where to look anymore. there are no errors. When I try to connect to the samba server I get prompted with login and password repeatedly.
Frank (4 Replies)
Discussion started by: frankkahle
4 Replies
7. Linux
Hi everyone,
I wonder if anyone ever came across the idea of unifying AD and Linux user accounts
We have a Linux machine with 'samba' 'winbind' service configured to let Windows AD users to logon locally using their AD accounts and passwords.
I can use 'su' to get to the local user privilege... (0 Replies)
Discussion started by: will_mike
0 Replies
8. Ubuntu
Hi guys,
i am having a problem :confused:actually i never did this before,so please help me to join nis domain to an ubuntu workstation.
As i have configured and running NIS Server on RedHat 4.0 in my network and want to set an ubuntu workstation as client.
please tell all steps......looking for... (2 Replies)
Discussion started by: daya.pandit
2 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I have a barebones XP Pro SP2 with no firewall.
CentOS 5.xx running a Samba 3.xx Domain (PDC)
The XP machine... (2 Replies)
Discussion started by: pogipants
2 Replies
10. Red Hat
Looking for open source software to join my RHEL6.x to AD domain for .
- Domain login
- Group based restriction
Already tested
- Pbis open -> But rejected as some library conflicts
- Realmd -> Not supportive for RHEL 6.x
Please suggest any open source tools (2 Replies)
Discussion started by: Shirishlnx
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)