10-10-2013
Samba broken on clone Ubuntu
I configured freeradius version 2.2.0 running on Ubuntu 12.04 to authenticate against active directory and it is working fine until I decide to clone (vmware) the machine.
Once the machine is clone I changed the IP address, hostname in (/etc/hosts and /etc/hostname) and also changed the name in /etc/samba/smb.conf
Finally I tried to join the clone machine using “net join -U administrator” unfortunately this break the original freeradius machine by no longer authenticating to active directory and the clone machine will not join the Domain also.
I think the clone machine is still referring the original machine which breaks the original machine unfortunately I do not know how to fix it.
How do I fix the original machine?
What else do I change on the clone machine so that I can successfully join it to domain with breaking the original machine?
4 More Discussions You Might Find Interesting
1. Ubuntu
Hi,
I can see a folder is mounted in my Ubuntu 8.04 machine through samba share. But, I could not find it out its actual location in the disk.
If I issue the command
sudo smbclient -L user
its listing the folder as 'sharename' and 'type' as disk
So, anyone help me how can I locate the... (0 Replies)
Discussion started by: royalibrahim
0 Replies
2. Ubuntu
Hi guys, I am total newbie to Linux / Ubuntu but trying it to solve the problem I have.
I have an OKI printer with bad HDD and trying to clone one from the same HDD from working printer. Board it goes on has a Fiery chipset and system used is Linux based / related - to the best of my knowlege. I... (12 Replies)
Discussion started by: Unlimitedbt
12 Replies
3. Ubuntu
Hi guys
I am trying to log full_audit on my samba shares so I know who is creating, deleting, renaming, moving etc. files and directories in the samba/windows share.
In my etc/samba/smb.conf file, under I have:
# Audit settings
full_audit: prefix = %u|%I|%S
full_audit:failure =... (0 Replies)
Discussion started by: Akshay Hegde
0 Replies
4. UNIX for Beginners Questions & Answers
I am trying to use mv or cp rsync to copy folders to a samba share. I can manually copy the folders to the share, but can not seem to access it using command line. Thank you :).
smbclient //path/to/cifs/share <password> -W <domain> -u <user>
WARNING: The "syslog" option is deprecated... (2 Replies)
Discussion started by: cmccabe
2 Replies
Clone(3) User Contributed Perl Documentation Clone(3)
NAME
Clone - recursively copy Perl datatypes
SYNOPSIS
package Foo;
use parent 'Clone';
package main;
my $original = Foo->new;
$copy = $original->clone;
# or
use Clone qw(clone);
$a = { 'foo' => 'bar', 'move' => 'zig' };
$b = [ 'alpha', 'beta', 'gamma', 'vlissides' ];
$c = Foo->new;
$d = clone($a);
$e = clone($b);
$f = clone($c);
DESCRIPTION
This module provides a clone() method which makes recursive copies of nested hash, array, scalar and reference types, including tied
variables and objects.
clone() takes a scalar argument and duplicates it. To duplicate lists, arrays or hashes, pass them in by reference. e.g.
my $copy = clone (@array);
# or
my %copy = %{ clone (\%hash) };
SEE ALSO
Storable's dclone() is a flexible solution for cloning variables, albeit slower for average-sized data structures. Simple and naive
benchmarks show that Clone is faster for data structures with 3 or less levels, while dclone() can be faster for structures 4 or more
levels deep.
COPYRIGHT
Copyright 2001-2012 Ray Finch. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Ray Finch "<rdf@cpan.org>"
Breno G. de Oliveira "<garu@cpan.org>" and Florian Ragwitz "<rafl@debian.org>" perform routine maintenance releases since 2012.
perl v5.16.3 2012-12-09 Clone(3)