Hi there Plz go through the following info. Everything is working pretty fine but very frequently, I get the following error: "THERE ARE NO LOGON SERVERS CURRENTLY AVAILABLE TO SERVICE YOUR REQUEST" where these configurations work fine occasionally. [global] ;add group script = /usr/sbin/groupadd %g ;add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u ;add user script = /usr/sbin/useradd -m %u ;add user to group script = /usr/sbin/groupmod -G %g %u cups options = raw ;delete user script = /usr/sbin/userdel -r %u dns proxy = no domain logons = yes domain master = yes hosts allow = x.x. idmap gid = 15000-25000 idmap uid = 15000-25000 log file = /var/log/samba/%m.log logon drive = z: logon home = \\%L\%U logon path = \\%L\profiles\%U logon script = srcipts/logon.bat max log size = 50 netbios name = abc os level = 65 passdb backend = tdbsam passwd chat = *New*Unix*Password* %n\n *ReType*new*Unix*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* passwd program = /usr/bin/passwd %u preferred master = yes printcap name = cups printing = cups security = user server string = abc Samba Server socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 time server = yes unix password sync = no workgroup = abc [homes] comment = Home Directories valid users = %U browseable = no read only = no #valid users = %s [netlogon] comment = Network Logon Services path = /var/lib/samba/netlogon browseable = no guest ok = yes admin users = root [Profiles] path = /var/lib/samba/profiles create mask = 0755 directory mask = 0755 writable = yes [public] comment = Public Stuff path = /home/samba/public read only = no public = yes create mask = 0777 directory mask = 0777 [WingLvlShare] comment = Wing Level Sharing path = /home/samba/wing-level-sharing read only = no writable = yes public = no create mask = 0770 directory mask = 0770 I need immediate help plz. Looking forward to your swift response. Thanks/Regards -- =============================Yawar Aziz Bhatti +92 334 5486026
On Tue, 2015-05-19 at 14:13 +0500, Yawar Aziz Bhatti wrote:> Hi there > > Plz go through the following info. Everything is working pretty fine but > very frequently, I get the following error: > > "THERE ARE NO LOGON SERVERS CURRENTLY AVAILABLE TO SERVICE YOUR REQUEST"What exactly are you doing to get that error? Have you taken a network trace? There isn't anything I can see specifically wrong with your smb.conf, so I suspect local network issues are the likely cause, so I suggest investigating with a packet analyser like Wireshark. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
Do you have more than one domain controller? Is this just after rebooting a PC? On 05/25/15 14:39, Andrew Bartlett wrote:> On Tue, 2015-05-19 at 14:13 +0500, Yawar Aziz Bhatti wrote: >> Hi there >> >> Plz go through the following info. Everything is working pretty fine but >> very frequently, I get the following error: >> >> "THERE ARE NO LOGON SERVERS CURRENTLY AVAILABLE TO SERVICE YOUR REQUEST" > What exactly are you doing to get that error? > > Have you taken a network trace? > > There isn't anything I can see specifically wrong with your smb.conf, so > I suspect local network issues are the likely cause, so I suggest > investigating with a packet analyser like Wireshark. > > Andrew Bartlett >