I'm a domain administrator for a very old NT4 based network which needs to be taken out back and shot. I had a chat with the colleague who runs the domain, and he wants to move to Samba based NT4 style domain control for authenticating our users to our data servers. He's keen to avoid Active Directory type domain control, as that raises a host of complications with IT services, who run our network (a large university).
So, I've got Samba and LDAP talking to each other OK, but when I try to populate the LDAP database or do anything meaningful, I get:
james@photon:/etc/samba$ sudo net getlocalsid
smbldap_search_domain_info: Adding domain info for ATMOS failed with NT_STATUS_UNSUCCESSFUL
pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain. We cannot work reliably without it.
pdb backend ldapsam:ldap://photon did not correctly init (error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO)
WARNING: Could not open passdb
I'm assuming the problem is that I haven't specified in smb.conf what my domain logon details are, so it's not authenticating me as a domain admin, and I'm not getting domain information sent to me when I request it. Does anyone know how to specify domain credentials in smb.conf?
P.S. Please don't flame - I'm a scientist doing my best with limited resources...