[Samba] Need Immediate Help:::SAMBA Logon Issues

Yawar Aziz Bhatti yawar.aziz at gmail.com
Tue May 19 03:13:47 MDT 2015


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


More information about the samba mailing list