Operating System - HP-UX
1823065 Members
3065 Online
109645 Solutions
New Discussion юеВ

Re: Samba server promotes its self to master server

 
poundpooch
Advisor

Samba server promotes its self to master server

Hi
I am having an issue with me samba server not recognising my users in my smbusers.map file.when I looked in the log it thinks its a master but I changed this parameter in the smb.conf to 'no' in the master field.Security=ADS and it is using the DC as the password server.Any ideas?
5 REPLIES 5
John Guster
Trusted Contributor

Re: Samba server promotes its self to master server

can you post smb.conf and smbusers.map?
poundpooch
Advisor

Re: Samba server promotes its self to master server

Thanks for you reply I have reinstalled samba on this server so I am just trying to get into the default /tmp first I have attached the two files as requested.I have samba running successfully on 10 other machines so I don't know why this one thinks it is a domain controller.
John Guster
Trusted Contributor

Re: Samba server promotes its self to master server

Before go further, more info such as
1. is it HP CIFS s/w on HP-UX?
2. if yes, what authentication method is used? Kerberos or NTLM if you set security=ads
4. Did you issue command net to join the ads domain?
3. if other 10 systems are working, maybe just copy over smb.conf and smbusers.map file with some reasonable update.

HP CIFS has a tool set up smaba called samba_setup, which is very nice tool.
poundpooch
Advisor

Re: Samba server promotes its self to master server

Yes it is Hp-Cifs v2 .It is using kerberos and I used the setup tool to set up samba .
eric roseme
Respected Contributor

Re: Samba server promotes its self to master server

If you are using a username map file then you need to sync /var/opt/samba/private/smbpasswd with /etc/passwd. Run /opt/samba/bin/syncsmbpasswd (assuming that the users in your username map file are entered in /etc/passwd).

If that does not work, then take a look at this whitepaper about Kerberos set-up. At the end there is a troubleshooting section for authentication - but if you think your auth-n is okay and just your auth-z is hanging up, then the whitepaper is moot.
http://www.docs.hp.com/en/7213/HPCIFSKerberosV103.pdf

Eric Roseme