[Samba] samba with AD help.

Ben George bentech4you at gmail.com
Mon Oct 4 03:16:03 MDT 2010


Hi

please check with this link

http://bentgeorge.com/samba/




>
>
>
> On Fri, Oct 1, 2010 at 5:09 PM, Gaiseric Vandal <gaiseric.vandal at gmail.com
> > wrote:
>
>>  But your output shows
>>
>>
>>     params.c:pm_process() - Processing configuration file
>> "/etc/sfw/smb.conf"
>>
>>
>>
>>
>>
>> On 10/01/2010 07:26 AM, Ben George wrote:
>>
>>
>> yes sunfreeware samba installed under
>>
>> /usr/local/samba
>>
>> configuration file
>>
>> /usr/local/samba/lib  i exported this lib PATH
>>
>> also the testparm is under /usr/local/samba/bin/
>>
>> i exicuted this testparm..that shows the sunfreeware samba's smb.conf
>> settings.
>>
>>
>>
>>
>> On Fri, Oct 1, 2010 at 2:22 PM, Gaiseric Vandal <
>> gaiseric.vandal at gmail.com> wrote:
>>
>>> This reminded me of something:
>>>
>>> Solaris is bundled with Kerberos.   However, with sunfreeware samba you
>>> may
>>> have also installed Kerberos packages from sun freeware.  Assuming the
>>> PATH
>>> is let for /usr/local/bin:/usr/local/sbin:$PATH and LD_LIBRARY_PATH is
>>> set
>>> /usr/local/lib:....  you should be using the sunfreeware versions of
>>> software rather than the sun versions.
>>>
>>> I don't know if sunfreeware Kerberos uses the same config files as sun
>>> Kerberos-  which means you may be have not configured the correct files.
>>>
>>> On a related note,
>>>
>>> Sunfreeware samba uses /usr/local/etc/smb.conf  (or something close to
>>> that)
>>> by default.
>>> The solaris bundled samba uses /etc/sfw/smb.conf
>>>
>>> If you type "which testparm" are you running the correct testparm?
>>> When you run "testparm -v" is it finding the correct smb.conf?
>>>
>>>
>>> Or maybe you already sym linked your smb.conf file.
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: samba-bounces at lists.samba.org [mailto:
>>> samba-bounces at lists.samba.org]
>>> On Behalf Of Max León
>>> Sent: Wednesday, September 29, 2010 8:22 PM
>>> To: samba at lists.samba.org
>>> Subject: Re: [Samba] samba with AD help.
>>>
>>> Can you post the global part of your smb.conf, your nsswitch and your
>>> kerberos.conf?
>>>
>>> On 9/29/10 5:33 AM, Ben George wrote:
>>> > when i try to join the domain in UNIX (Sun Solaris 10 SPARC),i got
>>> error
>>> > message like this
>>> >
>>> >
>>> >
>>> > bash-3.00# ./net ads -d3 join -U Administrator at SRE.COM
>>> >
>>> > [2010/09/29 14:26:02, 3] param/loadparm.c:(5055)
>>> >                   lp_load: refreshing parameters
>>> > [2010/09/29 14:26:02, 3] param/loadparm.c:(1440)
>>> >                   Initialising global parameters
>>> > [2010/09/29 14:26:02, 3] param/params.c:(572)
>>> >    params.c:pm_process() - Processing configuration file
>>> "/etc/sfw/smb.conf"
>>> > [2010/09/29 14:26:02, 3] param/loadparm.c:(3794)
>>> >                   Processing section "[global]"
>>> > [2010/09/29 14:26:02, 2] lib/interface.c:(81)
>>> >    added interface ip=192.168.1.11 bcast=192.168.1.255
>>> nmask=255.255.255.0
>>> > Host is not configured as a member server.
>>> > Invalid configuration.  Exiting....
>>> > Failed to join domain: Invalid domain role
>>> > [2010/09/29 14:26:02, 2] utils/net.c:(1075)
>>> > return code = -1
>>> >
>>> >
>>> > please help me solve this
>>> >
>>> > thanks
>>> >
>>>
>>> --
>>>
>>> Max León
>>> Systems Director
>>> Wire Watchers : enterprise : technology : genius
>>>
>>> ----------------------------------------------------------------------------
>>> --------------------------------------
>>> Avenida 11 y Calle 7-9, Barrio Amón, San José, Costa Rica
>>> cel: +(506) 8364-6261 | fax: +(506) 2258-3695
>>> email: mleon at wirewatchers.com <mailto:mleon at wirewatchers.com> |
>>> www.wirewatchers.com <http://www.wirewatchers.com>
>>>
>>> ----------------------------------------------------------------------------
>>> --------------------------------------
>>>
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>
>>
>>
>>
>


More information about the samba mailing list