Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Been stuck for three days on this one, I have a Ubuntu server 12.10 that I would like to use as an active directory domain server. I have set this up before on the same network but can't seem to replicate that success.

I have followed the tutorial Building a Samba 4 Active Directory Domain (though step 4.1 & 4.2 don't seem applicable anymore)

Everything seems to be working fine via the checks on there, but I can't connect via a win7 pro pc on the same network. I can ping the network and the domain, but when I try to change the domain after the password prompt it says 'Network path was not found'.

I have tried disabling the Windows 7 firewall and the Ubuntu firewall (using the command: 'ufw disable')

Heres my /etc/samba/smb.conf:

#Global parameters
[global]
    server role = active directory domain controller
    workgroup = DISRUPTECH
    realm = DISRUPTECH.LOCAL
    netbios name = DISRUPTECH-LS
    passdb backend = ****

[netlogon]
    path = /var/lib/samba/sysvol/disruptech.local/scripts
    read only = No

[sysvol]
    path = /var/lib/samba/sysvol
    read only = No

[test]
    path=/data/test
    comment = Test Share
    read only = no

Also worth noting I can't access the server by typing in the local ip address on the Windows 7 getting the error message back: "The remote device or resource won't accept the connection - The device or resource (ip address) is not set up to accept connections on port 'The File and printer sharubg (SMB)'"

Any help would be much appreciated, haven't had much lucky with google

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.