Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have ubuntu 13.10 with samba 4.2 I use samba with internal DNS. My smb.conf

# Global parameters
#       interfaces =
        workgroup = BAGCHE
        realm = BAGCHE.RU
        netbios name = GLAFIR-PC
        server role = active directory domain controller
        dns forwarder =
        allow dns updates = nonsecure and secure

        path = /usr/local/samba/var/locks/sysvol/
        read only = No

        path = /usr/local/samba/var/locks/sysvol
        read only = No
        path = /media
        comment = Media Share
        read only = No

My DNS answer:

root@glafir-pc:/usr/local/samba/etc# host -t SRV has SRV record 0 100 389
root@glafir-pc:/usr/local/samba/etc# host -t SRV has SRV record 0 100 88
root@glafir-pc:/usr/local/samba/etc# host -t A has address has address has address


        default_realm = BAGCHE.RU
        dns_lookup_realm = false
        dns_lookup_kdc = true


Password for glafir@BAGCHE.RU: 
Warning: Your password will expire in 41 days on Sun Mar 30 07:39:48 2014


Ticket cache: FILE:/tmp/krb5cc_1000
Default principal: glafir@BAGCHE.RU

Valid starting       Expires              Service principal
16.02.2014 09:03:29  16.02.2014 19:03:29  krbtgt/BAGCHE.RU@BAGCHE.RU
        renew until 17.02.2014 09:03:19

smbclient -L localhost

Enter glafir's password: 
**session setup failed: NT_STATUS_OBJECT_NAME_NOT_FOUND**

How to fix it? Help me please!!!

share|improve this question
I'm facing the same! now I'll try to downgrade de source to 4.1.4 and recompile. 12 hours working on it , lets me out ouf this wolrd. and increasing all debug levels on logs , brings me nothing. maybe in that old versio doesn't happen. Cheers – user209591 Feb 16 '14 at 15:46
I suggest having a read through of this as it can help you to improve your question… – Drew Khoury Feb 16 '14 at 22:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.