[Samba] Not Able to access cifs when AD connected to different network

VigneshDhanraj G vigneshdhanraj.g at gmail.com
Wed Jun 27 20:33:24 UTC 2018


the problem is actually, i have two networks one is 192.168.1.* and
192.168.4.* , I have my linux pc in which samba server is running and it is
in 192.168.1.12 and i have a AD server GNANA.COM in 192.168.1.14.

i have shares which is having permission for only local linux users.

i moved my linux pc from 192.168.1.12 to 192.168.4.12, samba server is
running with the same config when it was running in 192.168.1.12 network.
now i accessing cifs it shows no logon servers directly. Before in samba
4.5.15 i usually do this i will not get any errors it will list the shares
available.

On Thu, Jun 28, 2018 at 1:18 AM Rowland Penny via samba <
samba at lists.samba.org> wrote:

> On Thu, 28 Jun 2018 00:38:23 +0530
> VigneshDhanraj G via samba <samba at lists.samba.org> wrote:
>
> > Hi Team,
> >
> > Recently upgraded samba to 4.7.8 from 4.7.15
> >
> > My PC and was connected under router 192.168.1.x in which i have AD
> > server. now i moved the PC to another network 192.168.4.x.
> >
> > When i am trying to access the cifs it shows ERROR:Currently no logon
> > servers available.
>
> Is your 'new' subnet in AD ?
>
> Can I suggest you try this smb.conf:
>
> [Global]
>     Workgroup = GNANA
>     realm = GNANA.COM
>     security = ADS
>     server string= LenovoEMC~D px4-400d
>
>     kerberos method= secrets and keytab
>
>     idmap config * : backend = tdb
>     idmap config * : range = 5000-9999
>     idmap config GNANA : backend = rid
>     idmap config GNANA : range = 10000000-19999999
>
>     name resolve order= wins host bcast lmhosts
>     dns proxy= no
>     inherit acls= yes
>     winbind offline logon= true
>     template shell= /bin/sh
>     map to guest= Bad User
>     printcap name= lpstat
>     ntlm auth= Yes
>
> It is basically yours, but without all the default lines and 'idmap
> config' set up correctly.
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list