[Samba] Can we change the IP number of the Samba4 AD system?

Arun Khan knura9 at gmail.com
Fri Sep 5 05:22:29 MDT 2014


On Fri, Sep 5, 2014 at 2:52 PM, Sébastien Le Ray
<sebastien-samba at orniz.org> wrote:
> Le 05/09/2014 11:14, Arun Khan a écrit :
>>
>> Greetings,
>>
>> I am experiencing a major problem at a client site.   For proof of
>> concept (PoC), I setup a Samba4 AD (Zentyal 3.2) and I was able to
>> demo all client systems joining it  use it for user auth, file system
>> uid:gid map etc. successfully.
>>
>> The PoC was on a 192.168.3.0/24 network with IP number 192.168.3.2/24
>>
>> I changed the IP number (192.168.1.20) to bring the SMB4 AD  into
>> 192.168.1.0/24 network for
>> migration to production.
>>
>
> Hi,
>
> Have you followed
> https://wiki.samba.org/index.php/Change_IP_address_of_the_DC ?

Thanks for the link, learnt a new trick but more importantly -- the
DC's IP can be changed.  Client bindings on new network should work.

In my case, the systems were powered off and then on.  So the SMB4/AD
plus the clients came up on the 192.168.1.0/24 network fresh.

FWIW, here is the 'id' dump for an user redhat.linux on the two workstations.

####### MAC Workstation ###########


$ id redhat.linux

uid=1465847454(redhat.linux) gid=157835854(MASS\Domain Users)
groups=157835854(MASS\Domain
Users),31839191(MASS\tex),38453246(MASS\pum),54847712(MASS\people),136070221(MASS\ice),611498342(MASS\prod),937332115(MASS\zip),943789798(MASS\lgo),1634451510(MASS\ao2),1777519165(MASS\swnartist),1907739953(MASS\cnb),1969236052(MASS\lite),2056039516(MASS\Domain
Admins),79284988(MASS\tech),229719682(MASS\swnprod),389580424(MASS\cmm),413624907(MASS\ase_test),507063418(MASS\sup),511815653(MASS\sf1),12(everyone),62(netaccounts),885447622(MASS\AD_SUDO),1104925252(MASS\linuxproxy),1444867574(MASS\skp),1542738964(MASS\a02pmo),1769264895(MASS\rsm),1928644924(MASS\lib),2090666068(MASS\a02artist),401(com.apple.sharepoint.group.1),417919610(MASS\Denied
RODC Password Replication Group)


########### Linux Workstations ###############


$ id redhat.linux

uid=3000064(redhat.linux) gid=1901(__USERS__)
groups=1901(__USERS__),3000041(people),4(adm),3000000(Administrators),3000005(Denied
RODC Password Replication
Group),3000009(Users),3000133(a02artist),3000135(a02pmo),3000139(ao2),3000142(ase_test),3000145(cmm),3000146(cnb),3000149(ice),3000150(lgo),3000151(lib),3000153(linuxproxy),3000154(lite),3000159(prod),3000160(pum),3000162(rsm),3000163(sf1),3000165(skp),3000166(AD_SUDO),3000167(sup),3000169(swnartist),3000170(swnprod),3000171(tech),3000172(tex),3000174(zip)

-- Arun Khan


More information about the samba mailing list