<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Winbind\Samba in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869492#M861708</link>
    <description>I believe HP's CIFS based on Samba 2.2 will work with every aspect of your setup except for ADS.&lt;BR /&gt;&lt;BR /&gt;To work with ADS, the technology preview based on Samba 3.07 is the way to go.&lt;BR /&gt;&lt;BR /&gt;A production version based on Samba 3.0.x was promised at HP World and is a bit past due.&lt;BR /&gt;&lt;BR /&gt;Going with HP ported depots is often a better idea than compiling yourself, as fun as that is.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 08 Nov 2004 16:49:06 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-11-08T16:49:06Z</dc:date>
    <item>
      <title>Winbind\Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869490#M861706</link>
      <description>Hi all,&lt;BR /&gt; &lt;BR /&gt;I am trying to get winbind working on HPUX 11.0. We are running Samba 3.0.7 with ADS authentication. Kerberos is configured and I can authenticate to ADS as long as the UNIX user id exists. We would like to avoid creating UNIX id's and use winbind to retrieve the UID/GID information. I can run the wbinfo -u, wbinfo -g, wbinfo -t, wbinfo -m and all looks great.&lt;BR /&gt; &lt;BR /&gt;When connecting from a client that does not exist on the UNIX server I was getting the following message:&lt;BR /&gt;[2004/11/04 10:39:48, 1] smbd/sesssetup.c:reply_spnego_kerberos(250)&lt;BR /&gt;  Username DOMAINNAME+username is invalid on this system&lt;BR /&gt; &lt;BR /&gt;I then created the libnss_winbind.sl using "make nsswitch" while in the Samba source directory. I moved the libnss_winbind.sl file to /lib and created a symbolic link using "ln -s /lib/libnss_winbind.sl /lib/libnss_winbind.1".&lt;BR /&gt; &lt;BR /&gt;I changed my nsswitch.conf file so it contains the entries below:&lt;BR /&gt;passwd:     compat winbind&lt;BR /&gt;group:      compat winbind&lt;BR /&gt; &lt;BR /&gt;Then I tried to map a drive from a W2K client and I receive the following error in the client log file:&lt;BR /&gt;/usr/lib/dld.sl: Unresolved symbol: _nss_winbind_getpwnam_r (code)  from /usr/lib/libnss_winbind.1&lt;BR /&gt; &lt;BR /&gt;I have tried using the gcc 3.3.2 compiler and the HP ANSI C compiler when running the configure and make commands and still have the same result. I have done the make distclean prior to rerunning the configure and make commands.&lt;BR /&gt; &lt;BR /&gt;When running "ldd -r /lib/libnss_winbind.1" I receive the following output:&lt;BR /&gt;        symbol not found: free  (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: getpid        (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: close (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: fcntl (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: lstat (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: geteuid       (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: strncpy       (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: strlen        (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: strncat       (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: memset        (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: socket        (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: connect       (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: select        (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: getsockopt    (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: rand  (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: sleep (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: write (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: read  (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: malloc        (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: getenv        (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: atoi  (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: putenv        (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: __SB_masks    (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _isdigit      (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _nss_winbind_setpwent (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _nss_winbind_endpwent (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _nss_winbind_getpwent_r       (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _nss_winbind_getpwnam_r       (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _nss_winbind_getpwuid_r       (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _nss_winbind_setgrent (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _nss_winbind_endgrent (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _nss_winbind_getgrent_r       (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _nss_winbind_getgrnam_r       (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _nss_winbind_getgrgid_r       (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: _nss_winbind_initgroups_dyn   (/lib/libnss_winbind.1)&lt;BR /&gt;        symbol not found: __sys_atexit  (/usr/ccs/lib/lddstub)&lt;BR /&gt; &lt;BR /&gt;Does this work on the HPUX 11.0 platform at all? Is there something I'm missing on the HPUX server that allows this work?&lt;BR /&gt; &lt;BR /&gt;Any help would be greatly appreciated.&lt;BR /&gt; &lt;BR /&gt;If more information is needed, please let me know. I will be happy to pass it along.&lt;BR /&gt; &lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Walt&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 15:52:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869490#M861706</guid>
      <dc:creator>Walt Dominick_2</dc:creator>
      <dc:date>2004-11-08T15:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Winbind\Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869491#M861707</link>
      <description>HP offers HP-UX supported version of Samba, called CIFS.&lt;BR /&gt;&lt;BR /&gt;HP CIFS Server 2.2k based on Samba version 2.2.12 for HP-UX 11.0, 11i v1 and 11i v2&lt;BR /&gt;&lt;A href="http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA" target="_blank"&gt;http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HP CIFS Server 3 Technology Preview (unsupported)based on Samba version 3.0.5 for HP-UX 11i v1 and 11i v2&lt;BR /&gt;&lt;A href="http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CIFSTP3" target="_blank"&gt;http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CIFSTP3&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Consider upgrading HP-UX to version 11i v1 (11.11) and use HP CIFS Server 3&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Zygmunt&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 16:04:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869491#M861707</guid>
      <dc:creator>Zygmunt Krawczyk</dc:creator>
      <dc:date>2004-11-08T16:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Winbind\Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869492#M861708</link>
      <description>I believe HP's CIFS based on Samba 2.2 will work with every aspect of your setup except for ADS.&lt;BR /&gt;&lt;BR /&gt;To work with ADS, the technology preview based on Samba 3.07 is the way to go.&lt;BR /&gt;&lt;BR /&gt;A production version based on Samba 3.0.x was promised at HP World and is a bit past due.&lt;BR /&gt;&lt;BR /&gt;Going with HP ported depots is often a better idea than compiling yourself, as fun as that is.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 08 Nov 2004 16:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869492#M861708</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-08T16:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Winbind\Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869493#M861709</link>
      <description>Today HP had released HP CIFS Server 3 Technology Preview based on Samba 3.0.7.&lt;BR /&gt;It is available free from:&lt;BR /&gt;&lt;A href="http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CIFSTP3" target="_blank"&gt;http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CIFSTP3&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Zygmunt&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Nov 2004 10:55:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869493#M861709</guid>
      <dc:creator>Zygmunt Krawczyk</dc:creator>
      <dc:date>2004-11-09T10:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Winbind\Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869494#M861710</link>
      <description>I just got this working like so:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Windbind - only works in Samba 3 and up.&lt;BR /&gt;&lt;BR /&gt;For HP-UX - currently, must install CIFS Technology Preview.&lt;BR /&gt;&lt;BR /&gt;First, backup old files:&lt;BR /&gt;&lt;BR /&gt;cp -p /etc/opt/samba/smb.conf /etc/opt/samba/smb.conf.bak&lt;BR /&gt;cp -p /etc/opt/samba/username.map /etc/opt/samba/username.map.bak&lt;BR /&gt;&lt;BR /&gt;Remove old CIFS:&lt;BR /&gt;&lt;BR /&gt;swlist |grep CIFS&lt;BR /&gt;  B8725AA                       A.01.11.03     HP CIFS Server&lt;BR /&gt;&lt;BR /&gt;swremove B8725AA&lt;BR /&gt;&lt;BR /&gt;Interactivley install new Samba (disable KEON just in case as we add LDAP patch):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;swinstall -s mydepotserver:/var/software/hp/samba3 @`hostname`&lt;BR /&gt;&lt;BR /&gt;Select all software...then install.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Verify it is installed:&lt;BR /&gt;&lt;BR /&gt;swlist |grep CIFS&lt;BR /&gt;  CIFSTP3                               T.30.PV.02     HP CIFS Server Technology Preview&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Add to windbind to /etc/nsswitch.conf:&lt;BR /&gt;&lt;BR /&gt;passwd:       files winbind&lt;BR /&gt;group:        files winbind&lt;BR /&gt;&lt;BR /&gt;Add or change /etc/opt/samba/smb.conf&lt;BR /&gt;&lt;BR /&gt;        security = DOMAIN&lt;BR /&gt;&lt;BR /&gt;        idmap uid = 10000-20000&lt;BR /&gt;        idmap gid = 10000-20000&lt;BR /&gt;        template primary group = users&lt;BR /&gt;        winbind separator = +&lt;BR /&gt;&lt;BR /&gt;as well as valid users, example:&lt;BR /&gt;&lt;BR /&gt;        valid users = $NTDOM+Groupid, bb, oracle, $NTDOM+user1&lt;BR /&gt;&lt;BR /&gt;then, for each share, set the valid users as well, example:&lt;BR /&gt;&lt;BR /&gt;[src]&lt;BR /&gt;        path = /usr/local/src&lt;BR /&gt;        valid users = bb, $NTDOM+Groupid, $NTDOM+user1&lt;BR /&gt;        force user = bb&lt;BR /&gt;&lt;BR /&gt;Note: force user sets the Unix permissions to the uid of that user - so it must be a Unix id.&lt;BR /&gt;&lt;BR /&gt;zero out the username.map file - no longer needed.&lt;BR /&gt;&lt;BR /&gt;May or may not need to re-join the $NTDOM domain:&lt;BR /&gt;&lt;BR /&gt;/opt/samba/bin/net rpc join -U ntadmin&lt;BR /&gt;&lt;BR /&gt;Start Samba and windbind from either SWAT ( http://server:901 ) or command line:&lt;BR /&gt;&lt;BR /&gt;/opt/samba/bin/startsmb&lt;BR /&gt;/opt/samba/bin/winbindd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 09 Nov 2004 11:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869494#M861710</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-11-09T11:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Winbind\Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869495#M861711</link>
      <description>Forgot, you need this in the depot:&lt;BR /&gt;&lt;BR /&gt;CIFSTP3          -&amp;gt;   T.30.PV.02      HP CIFS Server Technolog &lt;BR /&gt;&lt;BR /&gt;J4269AA          -&amp;gt;   B.03.30         LDAP-UX Integration        &lt;BR /&gt;&lt;BR /&gt;PHSS_29486       -&amp;gt;   1.0             KRB5-Client Version 1.0 &lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 09 Nov 2004 11:07:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869495#M861711</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-11-09T11:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Winbind\Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869496#M861712</link>
      <description>First, I would like to thank everyone who responded to this post. I really do appreciate the help and ideas. I posted this same message to the Samba mailing list three times and received no response. Thank you very much for the replies.&lt;BR /&gt;&lt;BR /&gt;I agree that HP CIFS version 3 is the way to go, but I was told that our HPUX 11i upgrade is still months away and we needed the ADS authentication. Once we are at 11i, I will be going to HP CIFS version 3 (Although, I will miss the fun of compiling Samba. Not!).&lt;BR /&gt;&lt;BR /&gt;I was able to get Samba 3.0.7 to retrieve the UID/GID from our ADS DC's using winbind. I had to use the libnss_winbind.1 file from the samba-3.0.5-11.11.depot from the Samba site. &lt;BR /&gt;&lt;BR /&gt;Thanks again for the help,&lt;BR /&gt;Walt</description>
      <pubDate>Wed, 10 Nov 2004 13:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869496#M861712</guid>
      <dc:creator>Walt Dominick_2</dc:creator>
      <dc:date>2004-11-10T13:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Winbind\Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869497#M861713</link>
      <description>See previous response!</description>
      <pubDate>Wed, 10 Nov 2004 13:57:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/winbind-samba/m-p/4869497#M861713</guid>
      <dc:creator>Walt Dominick_2</dc:creator>
      <dc:date>2004-11-10T13:57:26Z</dc:date>
    </item>
  </channel>
</rss>

