boxyzzy@netscape.net
2007-Feb-17 05:06 UTC
[Samba] URGENT! Need to move Samba to another computer
Since 2004, I've been running Samba 2.0.7 on a Solaris 8 computer as a member of a Windows 2003 Server domain - nothing fancy, just mapping Unix home directories to PC users. Now I must QUICKLY move this same Samba config to another computer, and (for the life of me!) I can't recall the steps necessary to "join" the domain. I've read the associated Samba 2.0.7 doc, that references the "net" command, but it is not a command in this set of tools. Upgrading Samba now is not an option. Below are the statements from my current / working smb.conf (with bogus IP's, etc. for security). I hope that someone can provide the necessary procedure. Thanks, in advance, for your help! --------------------------------------------------------------- [global] interfaces = 123.456.70.59/255.255.255.0 allow hosts = 123.456.70. .dhcp.doodah.edu localhost deny hosts = 0.0.0.0/0 netbios name = BOXYUNIX security = domain workgroup = BOXYZZY wins server = 123.456.70.13 name resolve order = wins hosts bcast dns proxy = yes encrypt passwords = yes password server = boxy2K3a boxy2K3b client use spnego = no os level = 0 preferred master = no local master = no domain master = no guest account = nobody invalid users = root bin sys uucp nuucp daemon adm lp smtp ppp listen dead time = 15 log level = 1 lpq cache time = 30 . . . ________________________________________________________________________ Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.
Use the smbclient command with the -J option. Try it first with no options to get a list of options, or try man smbclient. boxyzzy@netscape.net wrote:> Since 2004, I've been running Samba 2.0.7 on a Solaris 8 computer as a > member of a Windows 2003 Server domain - nothing fancy, just mapping > Unix home directories to PC users. Now I must QUICKLY move this same > Samba config to another computer, and (for the life of me!) I can't > recall the steps necessary to "join" the domain. I've read the > associated Samba 2.0.7 doc, that references the "net" command, but it > is not a command in this set of tools. Upgrading Samba now is not an > option. > > Below are the statements from my current / working smb.conf (with > bogus IP's, etc. for security). > > I hope that someone can provide the necessary procedure. > > Thanks, in advance, for your help! > > --------------------------------------------------------------- > [global] > interfaces = 123.456.70.59/255.255.255.0 > allow hosts = 123.456.70. .dhcp.doodah.edu localhost > deny hosts = 0.0.0.0/0 > netbios name = BOXYUNIX > security = domain > workgroup = BOXYZZY > wins server = 123.456.70.13 > name resolve order = wins hosts bcast > dns proxy = yes > encrypt passwords = yes > password server = boxy2K3a boxy2K3b > client use spnego = no > os level = 0 > preferred master = no > local master = no > domain master = no > guest account = nobody > invalid users = root bin sys uucp nuucp daemon adm lp smtp ppp listen > dead time = 15 > log level = 1 > lpq cache time = 30 > . > . > . > > > ________________________________________________________________________ > Check Out the new free AIM(R) Mail -- 2 GB of storage and > industry-leading spam and email virus protection.
Volker Lendecke
2007-Feb-17 13:33 UTC
[Samba] URGENT! Need to move Samba to another computer
On Sat, Feb 17, 2007 at 08:30:04AM -0500, Gary Dale wrote:> Use the smbclient command with the -J option. Try it first with no > options to get a list of options, or try man smbclient.smbpasswd -j <domain> -r <server> might be more appropriate. Volker
Sorry - follow Volker's advice about smbpasswd -J.... boxyzzy@netscape.net wrote:> Samba 2.0.7 smbclient does not have a -J option: >>>>> smbclient > Usage: smbclient service <password> [options] > Version 2.0.7 > -s smb.conf pathname to smb.conf file > -O socket_options socket options to use > -R name resolve order use these name resolution services only > -M host send a winpopup message to the host > -i scope use this NetBIOS scope > -N don't ask for a password > -n netbios name. Use this name as my netbios name > -d debuglevel set the debuglevel > -P connect to service as a printer > -p port connect to the specified port > -l log basename. Basename for log/debug files > -h Print this help message. > -I dest IP use this IP to connect to > -E write messages to stderr instead of stdout > -U username set the network username > -L host get a list of shares available on a host > -t terminal code terminal i/o code > {sjis|euc|jis7|jis8|junet|hex} > -m max protocol set the max protocol level > -W workgroup set the workgroup name > -T<c|x>IXFqgbNan command line tar > -D directory start from directory > -c command string execute semicolon separated commands > -b xmit/send buffer changes the transmit/send buffer > (default: 65520) > > > > -----Original Message----- > From: garydale@torfree.net > Cc: samba@lists.samba.org > Sent: Sat, 17 Feb 2007 8:30 AM > Subject: Re: [Samba] URGENT! Need to move Samba to another computer > > Use the smbclient command with the -J option. Try it first with no > options to get a list of options, or try man smbclient. > > boxyzzy@netscape.net wrote: >> Since 2004, I've been running Samba 2.0.7 on a Solaris 8 computer as > a > member of a Windows 2003 Server domain - nothing fancy, just > mapping > Unix home directories to PC users. Now I must QUICKLY move > this same > Samba config to another computer, and (for the life of > me!) I can't > recall the steps necessary to "join" the domain. I've > read the > associated Samba 2.0.7 doc, that references the "net" > command, but it > is not a command in this set of tools. Upgrading > Samba now is not an > option. >> >> Below are the statements from my current / working smb.conf (with > > bogus IP's, etc. for security). >> >> I hope that someone can provide the necessary procedure. >> >> Thanks, in advance, for your help! >> >> --------------------------------------------------------------- >> [global] >> interfaces = 123.456.70.59/255.255.255.0 >> allow hosts = 123.456.70. .dhcp.doodah.edu localhost >> deny hosts = 0.0.0.0/0 >> netbios name = BOXYUNIX >> security = domain >> workgroup = BOXYZZY >> wins server = 123.456.70.13 >> name resolve order = wins hosts bcast >> dns proxy = yes >> encrypt passwords = yes >> password server = boxy2K3a boxy2K3b >> client use spnego = no >> os level = 0 >> preferred master = no >> local master = no >> domain master = no >> guest account = nobody >> invalid users = root bin sys uucp nuucp daemon adm lp smtp ppp listen >> dead time = 15 >> log level = 1 >> lpq cache time = 30 >> . >> . >> . >> >> >> > ________________________________________________________________________ > >> Check Out the new free AIM(R) Mail -- 2 GB of storage and > > industry-leading spam and email virus protection. > > -- To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > > > ________________________________________________________________________ > Check Out the new free AIM(R) Mail -- 2 GB of storage and > industry-leading spam and email virus protection. > =0 >
John H Terpstra
2007-Feb-19 01:26 UTC
[Samba] URGENT! Need to move Samba to another computer
On Friday 16 February 2007 23:06, boxyzzy@netscape.net wrote:> Since 2004, I've been running Samba 2.0.7 on a Solaris 8 computer as a > member of a Windows 2003 Server domain - nothing fancy, just mapping > Unix home directories to PC users. Now I must QUICKLY move this same > Samba config to another computer, and (for the life of me!) I can't > recall the steps necessary to "join" the domain. I've read the > associated Samba 2.0.7 doc, that references the "net" command, but it > is not a command in this set of tools. Upgrading Samba now is not an > option.smbpasswd -j -r BOXYZZY If this does not do it, check your smbpasswd command as follows: smbpasswd -? - John T.> Below are the statements from my current / working smb.conf (with bogus > IP's, etc. for security). > > I hope that someone can provide the necessary procedure. > > Thanks, in advance, for your help! > > --------------------------------------------------------------- > [global] > interfaces = 123.456.70.59/255.255.255.0 > allow hosts = 123.456.70. .dhcp.doodah.edu localhost > deny hosts = 0.0.0.0/0 > netbios name = BOXYUNIX > security = domain > workgroup = BOXYZZY > wins server = 123.456.70.13 > name resolve order = wins hosts bcast > dns proxy = yes > encrypt passwords = yes > password server = boxy2K3a boxy2K3b > client use spnego = no > os level = 0 > preferred master = no > local master = no > domain master = no > guest account = nobody > invalid users = root bin sys uucp nuucp daemon adm lp smtp ppp listen > dead time = 15 > log level = 1 > lpq cache time = 30 > . > . > . > > > ________________________________________________________________________ > Check Out the new free AIM(R) Mail -- 2 GB of storage and > industry-leading spam and email virus protection.-- John H Terpstra, CTO PrimaStasys Inc. Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, 2 Ed., ISBN: 0131882228 Samba-3 by Example, 2 Ed., ISBN: 0131882221X Hardening Linux, ISBN: 0072254971 Other books in production.