[OpenIndiana-discuss] Odd Samba/winbind issue

James Relph james at themacplace.co.uk
Fri Jun 21 12:50:18 UTC 2013


Thanks Laurent, appreciate the help.

> I'm maintaining that package, I do want to keep it running on OI as well, so it's good to know it's working there.

Both cswsamba and cswwinbind do seem to be working fine, they're just not talking to each other!

> It might be a Samba configuration issue, but before trying on a Samba-specific list, we can surely dig here first :-)
> Can you post the output of:
> 
> ldd -v /opt/csw/sbin/smbd /opt/csw/sbin/nmbd /opt/csw/sbin/winbindd

/opt/csw/sbin/smbd:

   find object=libc.so.1; required by /opt/csw/sbin/smbd
        libc.so.1 =>     /lib/libc.so.1
   find version=libc.so.1
        libc.so.1 (SUNW_1.18) =>         /lib/libc.so.1
        libc.so.1 (SUNWprivate_1.1) =>   /lib/libc.so.1

   object=/lib/libc.so.1; filter for /usr/lib/ld.so.1

   object=/lib/libc.so.1; filter for libm.so.2

   find object=libm.so.2; required by /lib/libc.so.1
        libm.so.2 =>     /lib/libm.so.2

   find object=libc.so.1; required by /lib/libm.so.2
   find version=libc.so.1
        libc.so.1 (SUNW_1.1) =>  /lib/libc.so.1
        libc.so.1 (SUNWprivate_1.1) =>   /lib/libc.so.1
/opt/csw/sbin/nmbd:

   find object=libc.so.1; required by /opt/csw/sbin/nmbd
        libc.so.1 =>     /lib/libc.so.1
   find version=libc.so.1
        libc.so.1 (SUNW_1.18) =>         /lib/libc.so.1
        libc.so.1 (SUNWprivate_1.1) =>   /lib/libc.so.1

   object=/lib/libc.so.1; filter for /usr/lib/ld.so.1

   object=/lib/libc.so.1; filter for libm.so.2

   find object=libm.so.2; required by /lib/libc.so.1
        libm.so.2 =>     /lib/libm.so.2

   find object=libc.so.1; required by /lib/libm.so.2
   find version=libc.so.1
        libc.so.1 (SUNW_1.1) =>  /lib/libc.so.1
        libc.so.1 (SUNWprivate_1.1) =>   /lib/libc.so.1
/opt/csw/sbin/winbindd:

   find object=libc.so.1; required by /opt/csw/sbin/winbindd
        libc.so.1 =>     /lib/libc.so.1
   find version=libc.so.1
        libc.so.1 (SUNW_1.18) =>         /lib/libc.so.1
        libc.so.1 (SUNWprivate_1.1) =>   /lib/libc.so.1

   object=/lib/libc.so.1; filter for /usr/lib/ld.so.1

   object=/lib/libc.so.1; filter for libm.so.2

   find object=libm.so.2; required by /lib/libc.so.1
        libm.so.2 =>     /lib/libm.so.2

   find object=libc.so.1; required by /lib/libm.so.2
   find version=libc.so.1
        libc.so.1 (SUNW_1.1) =>  /lib/libc.so.1
        libc.so.1 (SUNWprivate_1.1) =>   /lib/libc.so.1

> ps -edf | egrep 'smbd|nmbd|winbind'

    root 19244 19243   0 06:37:01 ?           1:15 /opt/csw/sbin/winbindd -D
    root 19260 19243   0 06:38:26 ?           0:02 /opt/csw/sbin/winbindd -D
    root 19255 19243   0 06:38:26 ?           0:08 /opt/csw/sbin/winbindd -D
    root 21427 19243   0 09:06:04 ?           1:02 /opt/csw/sbin/winbindd -D
    root 19257 19243   0 06:38:26 ?           0:08 /opt/csw/sbin/winbindd -D
    root 19239 17386   0 06:36:59 ?           0:00 /opt/csw/sbin/smbd -D
    root 19258 19243   0 06:38:26 ?           0:02 /opt/csw/sbin/winbindd -D
    root 19243 17386   0 06:37:01 ?           0:21 /opt/csw/sbin/winbindd -D
    root 19240 19239   0 06:36:59 ?           0:00 /opt/csw/sbin/smbd -D
    root 19251 19243   0 06:37:51 ?           0:00 /opt/csw/sbin/winbindd -D
    root 19254 19243   0 06:38:26 ?           0:08 /opt/csw/sbin/winbindd -D
    root 26205 26165   0 13:48:20 pts/1       0:00 egrep smbd|nmbd|winbind
    root 19256 19243   0 06:38:26 ?           0:07 /opt/csw/sbin/winbindd -D
    root 19261 19243   0 06:38:26 ?           0:08 /opt/csw/sbin/winbindd -D
    root 19238 17386   0 06:36:59 ?           0:06 /opt/csw/sbin/nmbd -D
    root 19252 19243   0 06:37:51 ?           0:00 /opt/csw/sbin/winbindd -D
    root 19262 19243   0 06:38:26 ?           0:08 /opt/csw/sbin/winbindd -D
    root 19259 19243   0 06:38:26 ?           0:08 /opt/csw/sbin/winbindd -D
    root 26201 19239   0 13:48:07 ?           0:00 /opt/csw/sbin/smbd -D


> Also, do you have any log on the AD side about the try, and how it looked?

It didn't seem to even try the AD side, but I can check again.  Obviously just odd that it's working via other apps (ie. those using PAM) but not Samba itself.

> While it s probably not hurting, I think that's not a good idea, and should not be needed in any case.

Using PAM with winbind didn't work until I made those symlinks (and they were recommended elsewhere)?

Thanks,

James.


More information about the OpenIndiana-discuss mailing list