[Samba] URGENT! Need to move Samba to another computer

Gary Dale garydale at torfree.net
Sat Feb 17 23:12:24 GMT 2007


Sorry - follow Volker's advice about smbpasswd -J....


boxyzzy at 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 at torfree.net
> Cc: samba at 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 at 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
>




More information about the samba mailing list