Sponsored Content
Full Discussion: Samba broken on clone Ubuntu
Top Forums UNIX for Advanced & Expert Users Samba broken on clone Ubuntu Post 302862455 by hassan1 on Thursday 10th of October 2013 07:51:00 PM
Old 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

Ubuntu samba server path

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

Can't successfully clone an HDD in Ubuntu, please help

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

Logging samba share in Ubuntu 12.04 LTS

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

Copy files to samba share Ubuntu 14.04

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
MooseX::Clone::Meta::Attribute::Trait::Clone(3pm)	User Contributed Perl Documentation	 MooseX::Clone::Meta::Attribute::Trait::Clone(3pm)

NAME
MooseX::Clone::Meta::Attribute::Trait::Clone - The Moose::Meta::Attribute trait for deeply cloning attributes. SYNOPSIS
# see MooseX::Clone has foo => ( traits => [qw(Clone)], isa => "Something", ); $object->clone; # will recursively call $object->foo->clone and set the value properly DESCRIPTION
This meta attribute trait provides a "clone_value" method, in the spirit of "get_value" and "set_value". This allows clone methods such as the one in MooseX::Clone to make use of this per-attribute cloning behavior. DERIVATION
Deriving this role for your own cloning purposes is encouraged. This will allow your fine grained cloning semantics to interact with MooseX::Clone in the RightX way. ATTRIBUTES
clone_only_objects Whether or not Data::Visitor should be used to clone arbitrary structures. Objects found in these structures will be cloned using clone_object_value. If true then non object values will be copied over in shallow cloning semantics (shared reference). Defaults to false (all reference will be cloned). clone_visitor_config A hash ref used to construct "clone_visitor". Defaults to the empty ref. This can be used to alter the cloning behavior for non object values. clone_visitor The Data::Visitor::Callback object that will be used to clone. It has an "object" handler that delegates to "clone_object_value" and sets "tied_as_objects" to true in order to deeply clone tied structures while retaining magic. Only used if "clone_only_objects" is false and the value of the attribute is not an object. METHODS
clone_value $target, $proto, %args Clones the value the attribute encapsulates from $proto into $target. clone_value_data $value, %args Does the actual cloning of the value data by delegating to a "clone" method on the object if any. If the object does not support a "clone" method an error is thrown. If the value is not an object then it will not be cloned. In the future support for deep cloning of simple refs will be added too. clone_object_value $object, %args This is the actual workhorse of "clone_value_data". clone_any_value $value, %args Uses "clone_visitor" to clone all non object values. Called from "clone_value_data" if the value is not an object and "clone_only_objects" is false. perl v5.10.1 2010-01-01 MooseX::Clone::Meta::Attribute::Trait::Clone(3pm)
All times are GMT -4. The time now is 10:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy