1834150 Members
2099 Online
110064 Solutions
New Discussion

Samba 3

 
SOLVED
Go to solution
Oviwan
Honored Contributor

Samba 3

Hi folk

I have a problem with samba 3.0.22 on a B.11.23 or the network config:

i configured samba with security = domain and i tried to create a computer account on the pdc using: net rpc join -U username

Unable to find a suitable server.

then the traceroute on the server returns:

Warning: Multiple interfaces found; using 192.168.100.212 @ lan2

it should take lan0, has samba the same behaviour as traceroute, i read that traceroute takes the first interface.

how can i set lan0 to the default? or what could be the problem?

Thanks

Regards


6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Samba 3

Shalom,

The domain server set in smb.conf is wrong. That is why the net join fails.

If you were pointed to the right server you would probably not get the error message.

Is the domain server on lan0 or lan2?

Samba will work with either and its not necessary to change the primary interface in /etc/rc.config.d/netconf to accommodate Samba.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Oviwan
Honored Contributor

Re: Samba 3

Thanks,

which parameter is exactly to set for the domain server? i set the pdc to "wins server" and also "password server"... and it is the right pdc.

pdc is on lan0
Geoff Wild
Honored Contributor

Re: Samba 3

Is your Windows network running ADS?

If so, check out my thread here:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949365

It explains how to get CIF's to work in an ADS environment.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Oviwan
Honored Contributor

Re: Samba 3

ty, yes it's running ADS, but the main problem is the resolve of the pdc, i thing it would also not run with ads...

any other ideas?
George Liu_4
Trusted Contributor
Solution

Re: Samba 3

on smb.conf

This line
workgroup= domain_name

defines domain name.

interfaces = lan0
defines ethernet interface lan0 as a dedicated listening device
Oviwan
Honored Contributor

Re: Samba 3

It works now.

workgroup was xyz.ab instead of xyz and the interfaces parameter was not set...

Thanks a lot