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 <[email protected] <mailto:[email protected]>> 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: [email protected]
    <mailto:[email protected]>
    [mailto:[email protected]
    <mailto:[email protected]>]
    On Behalf Of Max León
    Sent: Wednesday, September 29, 2010 8:22 PM
    To: [email protected] <mailto:[email protected]>
    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 [email protected]
    <mailto:[email protected]>
    >
    > [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: [email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>> |
    www.wirewatchers.com <http://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



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to