<?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: Samba configuration in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063427#M575334</link>
    <description>Sounds like your HP-UX box hasn't been added to yourdomain....&lt;BR /&gt;&lt;BR /&gt;Try setting security=server instead.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Mon, 08 Sep 2003 14:54:45 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2003-09-08T14:54:45Z</dc:date>
    <item>
      <title>Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063413#M575320</link>
      <description>Hi,&lt;BR /&gt;We have HP-UX 11i and Samba 2.2. We would like to configure it that users authentication doing from our PDC but we don't know how is the configuration.&lt;BR /&gt;Thx.</description>
      <pubDate>Thu, 04 Sep 2003 04:50:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063413#M575320</guid>
      <dc:creator>Orhan Karaman</dc:creator>
      <dc:date>2003-09-04T04:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063414#M575321</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Assuming you are talking about PDC 'Primary Domain Controller', here is a document:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://de.samba.org/samba/devel/docs/html/Samba-HOWTO-Collection.html#samba-pdc" target="_blank"&gt;http://de.samba.org/samba/devel/docs/html/Samba-HOWTO-Collection.html#samba-pdc&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, you can make a search in this forum for similar posts:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe34ab82b2d63d71190080090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe34ab82b2d63d71190080090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Sep 2003 05:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063414#M575321</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2003-09-04T05:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063415#M575322</link>
      <description>security = SERVER &lt;BR /&gt;password server = yourdomaincontroller &lt;BR /&gt;&lt;BR /&gt;where yourdomaincontroller is the name of your Windows domain controller... &lt;BR /&gt;&lt;BR /&gt;encrypt passwords = Yes &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I used to get failed passwords as well, did a search on google and found that sometimes the following helps resolve it: &lt;BR /&gt;&lt;BR /&gt;keepalive = 0 &lt;BR /&gt;&lt;BR /&gt;"The value of the parameter (an integer) represents the number of seconds between keepalive packets. If this parameter is zero, no keepalive packets will be sent. Keepalive packets, if sent, allow the server to tell whether a client is still present and responding. &lt;BR /&gt;&lt;BR /&gt;Keepalives should, in general, not be needed if the socket being used has the SO_KEEPALIVE attribute set on it (see socket options). Basically you should only use this option if you strike difficulties. &lt;BR /&gt;&lt;BR /&gt;Default: keepalive = 300" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Additionally, I would add: &lt;BR /&gt;&lt;BR /&gt;preferred master = False &lt;BR /&gt;domain master = False &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 04 Sep 2003 11:23:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063415#M575322</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-09-04T11:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063416#M575323</link>
      <description>I'd even go further and configure samba in a&lt;BR /&gt;Domain-member security style:&lt;BR /&gt;...smb.conf.....&lt;BR /&gt;&lt;BR /&gt;security=domain&lt;BR /&gt;&lt;BR /&gt;There is a nice paper &lt;BR /&gt;/opt/samba/docs/htmldocs/DOMAIN_MEMBER.html (under standard CIFS900 directories).&lt;BR /&gt;&lt;BR /&gt;Why is it better?&lt;BR /&gt;&lt;BR /&gt;1)If you use trusted win domains:&lt;BR /&gt;&lt;BR /&gt;The advantage to domain-level security is that the authentication in domain-level security is passed down the authenticated RPC channel in exactly the same way that an NT server would do it. This means Samba servers now participate in domain trust relationships in exactly the same way NT servers do (i.e., you can add Samba servers into a resource domain and have the authentication passed on from a resource domain PDC to an account domain PDC.&lt;BR /&gt;&lt;BR /&gt;2)load on NT server:&lt;BR /&gt;&lt;BR /&gt;with security = server every Samba daemon on a server has to keep a connection open to the authenticating server for as long as that daemon lasts. This can drain the connection resources on a Microsoft NT server and cause it to run out of available connections. With security = domain, however, the Samba daemons connect to the PDC/BDC only for as long as is necessary to authenticate the user, and then drop the connection, thus conserving PDC connection resources.&lt;BR /&gt;&lt;BR /&gt;3)I don't know what is the current status on unix-to-nt names (like you should keep mapping your local unix users to nt ones logging to Samba). I think its otherwise with 2k already but may be wrong. &lt;BR /&gt;&lt;BR /&gt;4)With win2k I remember using ACLs (jfs 3.3 and higher on hp-ux) so the permissions of my&lt;BR /&gt;2k domain users were mapped not to usual rwxrwxrwx of hp-ux but to ACLs.&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Thu, 04 Sep 2003 11:44:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063416#M575323</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-09-04T11:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063417#M575324</link>
      <description>Hi,&lt;BR /&gt;We decided to apply Geoff's advice as a starting point. Then we set security to server, password server to our PDC(dns name) and wins server to our wins ip as well. &lt;BR /&gt;&lt;BR /&gt;After creating a share on Unix machine we've tried to connect to machine from several windows clients, it's ok and we could see the list of shared directories, but when we try to get in a directory, it asks for a username/password. I don't know what I am going to enter. Plus, I don't want to enter anything,so  my question is, how can I tell samba accept me for that shared directory without asking a password. ( I mean I want to be authenticated via PDC not from unix)&lt;BR /&gt;&lt;BR /&gt;thnx..&lt;BR /&gt;your quick reply is really appreciated.</description>
      <pubDate>Thu, 04 Sep 2003 12:31:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063417#M575324</guid>
      <dc:creator>Orhan Karaman</dc:creator>
      <dc:date>2003-09-04T12:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063418#M575325</link>
      <description>And in share definitions there are entries like&lt;BR /&gt;this:&lt;BR /&gt;[share]&lt;BR /&gt;valid users = user1 ...&lt;BR /&gt;&lt;BR /&gt;And user1 is translated to the same user on PDC? (user mapping file unix-to-pdc).&lt;BR /&gt;&lt;BR /&gt;Also check under /var/opt/samba/ you&lt;BR /&gt;have logs - log.smbd (to see what's wrong),log.&lt;HOSTNAME&gt; for each &lt;HOSTNAME&gt;.&lt;/HOSTNAME&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Thu, 04 Sep 2003 13:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063418#M575325</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-09-04T13:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063419#M575326</link>
      <description>One more,&lt;BR /&gt;security = server makes your client (pc) to send credentials (user/password) to samba server first and then verified vs password server.I mean your pc still stays non trusted in the whole picture.It just makes you not to use smbpasswd encrypted (or not) file as before.&lt;BR /&gt;&lt;BR /&gt;I guess with domain level security your samba server should be a trusted domain member and it should not verify credentials for client (pc) as they belong to the same domain.Like usual m$win servers.The only thing that stays is unix-to-pdc names mapping (username map option in smb.conf).&lt;BR /&gt;&lt;BR /&gt;regards,</description>
      <pubDate>Thu, 04 Sep 2003 13:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063419#M575326</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-09-04T13:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063420#M575327</link>
      <description>or add your users to the "global"&lt;BR /&gt;&lt;BR /&gt;valid users=ntuser1, ntuser2, etc&lt;BR /&gt;&lt;BR /&gt;I'll post my smb.conf file later - as I'm on course right now...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 04 Sep 2003 17:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063420#M575327</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-09-04T17:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063421#M575328</link>
      <description>Here's my smb.conf&lt;BR /&gt;&lt;BR /&gt;# Samba config file created using SWAT&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;        workgroup = $MYNTDOMAIN&lt;BR /&gt;        netbios name = MYHPSERVER&lt;BR /&gt;        netbios aliases = SAPCI&lt;BR /&gt;        security = SERVER&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        password server = MYNTBDC01, MYNTBDC02&lt;BR /&gt;        log level = 1&lt;BR /&gt;        syslog = 0&lt;BR /&gt;        log file = /var/opt/samba/log.%m&lt;BR /&gt;        max log size = 10000&lt;BR /&gt;        keepalive = 0&lt;BR /&gt;        load printers = No&lt;BR /&gt;        show add printer wizard = No&lt;BR /&gt;        preferred master = False&lt;BR /&gt;        domain master = False&lt;BR /&gt;        valid users = myid, user1, smbnull, otheruser&lt;BR /&gt;        read only = No&lt;BR /&gt;        create mask = 0664&lt;BR /&gt;        force create mode = 0664&lt;BR /&gt;        directory mask = 0775&lt;BR /&gt;        short preserve case = No&lt;BR /&gt;        dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[APPL]&lt;BR /&gt;        comment = APPL&lt;BR /&gt;        path = /export/APPL&lt;BR /&gt;&lt;BR /&gt;[chalk]&lt;BR /&gt;        path = /usr/sap/xfer/chalk&lt;BR /&gt;        valid users = chalk, myid&lt;BR /&gt;[printers]&lt;BR /&gt;        path = /tmp&lt;BR /&gt;        printable = Yes&lt;BR /&gt;        browseable = No&lt;BR /&gt;        available = No&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Sep 2003 23:19:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063421#M575328</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-09-04T23:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063422#M575329</link>
      <description>Hi Geoff,&lt;BR /&gt;&lt;BR /&gt;I've done our smb.conf setting like your's:&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;        workgroup = (our NT domain name)&lt;BR /&gt;        netbios name = (our HP server hostname)&lt;BR /&gt;        server string = s1file&lt;BR /&gt;        security = SERVER&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        password server = (our PDC name)&lt;BR /&gt;        log level = 1&lt;BR /&gt;        syslog = 0&lt;BR /&gt;        log file = /var/opt/samba/log.%m&lt;BR /&gt;        max log size = 1000&lt;BR /&gt;        keepalive = 0&lt;BR /&gt;        preferred master = False&lt;BR /&gt;        local master = No&lt;BR /&gt;        domain master = False&lt;BR /&gt;        wins server = (our wins ip)&lt;BR /&gt;        valid users = o_karaman&lt;BR /&gt;        read only = No&lt;BR /&gt;        short preserve case = No&lt;BR /&gt;        dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[deneme]&lt;BR /&gt;        comment = Deneme&lt;BR /&gt;        path = /tmp/orhan&lt;BR /&gt;&lt;BR /&gt;but we've got this error on log file (/var/opt/samba/log.o_karaman):&lt;BR /&gt;&lt;BR /&gt;[2003/09/05 13:14:14, 0] smbd/password.c:(872)&lt;BR /&gt;authorise_login: rejected invalid user smbnull&lt;BR /&gt;&lt;BR /&gt;Note: o_karaman is my machine name&lt;BR /&gt;&lt;BR /&gt;Any suggestion?</description>
      <pubDate>Fri, 05 Sep 2003 09:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063422#M575329</guid>
      <dc:creator>Orhan Karaman</dc:creator>
      <dc:date>2003-09-05T09:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063423#M575330</link>
      <description>You could try adding smbnull as a valid user.&lt;BR /&gt;&lt;BR /&gt;The other thing is, can you from a Windows box, try:&lt;BR /&gt;&lt;BR /&gt;Start, Run, \\yourhpservername&lt;BR /&gt;&lt;BR /&gt;And if that doesn't work, can you see you HP Server in the Windows Network Neighbourhood?&lt;BR /&gt;&lt;BR /&gt;Is your PDC or WINS server on the same subnet as your HP Server?&lt;BR /&gt;&lt;BR /&gt;Are you running CIFS/9000 or did you compile your own Samba?&lt;BR /&gt;&lt;BR /&gt;I use this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=CIFSTP22" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=CIFSTP22&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Based on Samba 2.2.8a&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 05 Sep 2003 11:30:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063423#M575330</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-09-05T11:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063424#M575331</link>
      <description>Oh - just realized that you stated o_karaman is your machine name - you have to change that to your NT User ID instead.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 05 Sep 2003 11:32:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063424#M575331</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-09-05T11:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063425#M575332</link>
      <description>I don't know whether you're still having difficulty, and whether this will help...&lt;BR /&gt;&lt;BR /&gt;I've got domain authentication working ( for both linux and hpux samba servers).&lt;BR /&gt;&lt;BR /&gt;For me one of the big tricks was in getting the samba server to be a member server in the domain. First, create a machine account on the domain for the new samba server. Second, issue the smbpasswd command from the samba server with the -j switch to specify the domain to join as a member server. (also, the -r switch of course to specify name of PDC). And, on the linux server I was able to use -U to specify a domain administrator account and password, but on the HPUX server I vaguely recall it didn't like that bit and I had to leave out the -U switch and it prompted me to enter an account name and password. Also, it seemed that even though I got a succesful completion of the smbpasswd command, on either the linux or hp server domain authentication still didn't work until I finally removed the samba server from the domain, and rejoined it. Perhaps the key might have been making sure samba was shut down while I was doing the join? Anyway, smbpasswd command like this:&lt;BR /&gt;&lt;BR /&gt;#smbpasswd -j domain_name -r pdc_name -U acct%passwd&lt;BR /&gt;&lt;BR /&gt;or this:&lt;BR /&gt;&lt;BR /&gt;#smbpasswd -j domain_name -r pdc_name&lt;BR /&gt;&lt;BR /&gt;Another tricky thing was the announce version parameter in smb.conf, had to be (for me) 4.2&lt;BR /&gt;&lt;BR /&gt;And there are several key parameters that MUST be right in smb.conf. here's the smb.conf from my hpux server:&lt;BR /&gt;&lt;BR /&gt;# Samba config file created using SWAT&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;        workgroup = KACCTWD&lt;BR /&gt;        netbios name = DEV&lt;BR /&gt;        server string = Development System&lt;BR /&gt;        security = DOMAIN&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        password server = PDCA, BDCA&lt;BR /&gt;        username map =&lt;BR /&gt;        log level = 3&lt;BR /&gt;        syslog = 0&lt;BR /&gt;        log file = /var/opt/samba/log.%m&lt;BR /&gt;        max log size = 1000&lt;BR /&gt;        announce version = 4.2&lt;BR /&gt;        unix extensions = No&lt;BR /&gt;        socket options = SO_RCVBUF=8192 SO_SNDBUF=8192&lt;BR /&gt;        load printers = No&lt;BR /&gt;        groupname map =&lt;BR /&gt;        os level = 0&lt;BR /&gt;        preferred master = False&lt;BR /&gt;        local master = No&lt;BR /&gt;        domain master = False&lt;BR /&gt;        dns proxy = No&lt;BR /&gt;        guest account = nobody&lt;BR /&gt;        read only = No&lt;BR /&gt;        short preserve case = No&lt;BR /&gt;        dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[homes]&lt;BR /&gt;        comment = Home Directories&lt;BR /&gt;        valid users = kittel&lt;BR /&gt;        browseable = No&lt;BR /&gt;&lt;BR /&gt;[qa57]&lt;BR /&gt;        comment = qa57&lt;BR /&gt;        path = /u01/qa57&lt;BR /&gt;        valid users = kittel&lt;BR /&gt;        create mask = 0775&lt;BR /&gt;        force create mode = 0775&lt;BR /&gt;        security mask = 00&lt;BR /&gt;        directory security mask = 00&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Sep 2003 18:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063425#M575332</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2003-09-05T18:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063426#M575333</link>
      <description>hello,&lt;BR /&gt;here is our smb.conf file.&lt;BR /&gt;&lt;BR /&gt;[global]&lt;BR /&gt;        workgroup = NTD_EBI&lt;BR /&gt;        netbios name = S1FILE&lt;BR /&gt;        server string = s1file&lt;BR /&gt;        security = DOMAIN&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        password server = istebidc01&lt;BR /&gt;        username map =&lt;BR /&gt;        log level = 3&lt;BR /&gt;        syslog = 0&lt;BR /&gt;        log file = /var/opt/samba/log.%m&lt;BR /&gt;        max log size = 1000&lt;BR /&gt;        announce version = 4.2&lt;BR /&gt;        unix extensions = No&lt;BR /&gt;        socket options = SO_RCVBUF=8192 SO_SNDBUF=8192&lt;BR /&gt;        load printers = No&lt;BR /&gt;        groupname map =&lt;BR /&gt;        os level = 0&lt;BR /&gt;        preferred master = False&lt;BR /&gt;        local master = No&lt;BR /&gt;        domain master = False&lt;BR /&gt;        dns proxy = No&lt;BR /&gt;        guest account = nobody&lt;BR /&gt;        read only = No&lt;BR /&gt;        short preserve case = No&lt;BR /&gt;        dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[deneme]&lt;BR /&gt;        comment = Deneme&lt;BR /&gt;        path = /tmp/orhan&lt;BR /&gt;        valid users = o_karaman&lt;BR /&gt;        browseable = No&lt;BR /&gt;&lt;BR /&gt;I'm trying to connect from my pc (computer name o_karaman) with my user_id o_karaman. Following are a few lines from log file generated for my attempt.&lt;BR /&gt;&lt;BR /&gt;[2003/09/08 10:26:28, 0] smbd/password.c:(1335)&lt;BR /&gt;  connect_to_domain_password_server: unable to setup the PDC credentials to machine ISTEBIDC01. Error was : NT_STATUS_OK.&lt;BR /&gt;[2003/09/08 10:26:28, 0] smbd/password.c:(1554)&lt;BR /&gt;  domain_client_validate: Domain password server not available.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Sep 2003 06:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063426#M575333</guid>
      <dc:creator>Orhan Karaman</dc:creator>
      <dc:date>2003-09-08T06:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063427#M575334</link>
      <description>Sounds like your HP-UX box hasn't been added to yourdomain....&lt;BR /&gt;&lt;BR /&gt;Try setting security=server instead.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 08 Sep 2003 14:54:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063427#M575334</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-09-08T14:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063428#M575335</link>
      <description>I tried this post once already and then didn't see it show up, so I'm trying it again. Sorry if it ends up duplicated...&lt;BR /&gt;&lt;BR /&gt;I agree it sounds as though the samba server has not sucessfully joined the domain as a member server. I don't however think you need to set security=server. I've got it working with security=domain and it sounds like that's what you're trying to accomplish.&lt;BR /&gt;&lt;BR /&gt;As I suggested before, have you first created a machine account for the samba server? and second used the smbpasswd -j command to join the domain as a member server?&lt;BR /&gt;&lt;BR /&gt;If you believe you have, it still wouldn't hurt to try re-doing it. In that case shut down samba. Remove the machine account. Recreate it. At this point I'm not sure if samba should be running or not; you could try it both ways. Run command(s) something like:&lt;BR /&gt;&lt;BR /&gt;#smbpasswd -j NTD_EBI -r istebidc01 -U acct%passwd&lt;BR /&gt;&lt;BR /&gt;or just&lt;BR /&gt;&lt;BR /&gt;#smbpasswd -j NTD_EBI -r istebidc01 &lt;BR /&gt;&lt;BR /&gt;For the -U variant, acct%passwd should be a domain admin acct and password.&lt;BR /&gt;&lt;BR /&gt;This must succeed for domain authentication to work.&lt;BR /&gt;&lt;BR /&gt; - John</description>
      <pubDate>Mon, 08 Sep 2003 15:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063428#M575335</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2003-09-08T15:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063429#M575336</link>
      <description>We've been running various versions of samba on HPUX over the years, and the domain authentication works great.&lt;BR /&gt;&lt;BR /&gt;These two lines in your smb.conf are important for that:&lt;BR /&gt;&lt;BR /&gt; security = domain&lt;BR /&gt; password server = [one of your domain controllers]&lt;BR /&gt;&lt;BR /&gt;You do have to create a machine account for the server in your domain. What I usually do is first open my 'Server Manager' in Windows, add the machine in the domain (if it's there, remove and add again) and then issue the already decsribed command on the Unix box:&lt;BR /&gt;&lt;BR /&gt; smbpasswd -j [your-domain-name] -r [name-of-primary-domain-controller]&lt;BR /&gt;&lt;BR /&gt;After that, domain authentication should work like a breeze. You might run into issues on old Win9x clients because of the 'password encryption'. &lt;BR /&gt;&lt;BR /&gt;Should you be forced to disable password encryption to allow win95's to access the server, you will have to configure the newer (win2k, winXP) clients' security policies to not use encrypted passwords. &lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Wout&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Sep 2003 17:13:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063429#M575336</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2003-09-08T17:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063430#M575337</link>
      <description>I don't think you need SECURITY=DOMAIN unless you want the box to act like a PDC...&lt;BR /&gt;&lt;BR /&gt;I run all my samba's as SECURITY=SERVER without any authentication issues.&lt;BR /&gt;&lt;BR /&gt;Here's some info fron the docs:&lt;BR /&gt;&lt;BR /&gt;SECURITY = SERVER &lt;BR /&gt;&lt;BR /&gt;In this mode Samba will try to validate the username/password by passing it to another SMB server, such as an NT box. If this fails it will revert to security = user, but note that if encrypted passwords have been negotiated then Samba cannot revert back to checking the UNIX password file, it must have a valid smbpasswd file to check users against. See the documentation file in the docs/ directory ENCRYPTION.txt for details on how to set this up.&lt;BR /&gt;&lt;BR /&gt;Note that from the client's point of view security = server is the same as security = user. It only affects how the server deals with the authentication, it does not in any way affect what the client sees.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SECURITY = DOMAIN &lt;BR /&gt;&lt;BR /&gt;This mode will only work correctly if smbpasswd(8) has been used to add this machine into a Windows NT Domain. It expects the encrypted passwords parameter to be set to true. In this mode Samba will try to validate the username/password by passing it to a Windows NT Primary or Backup Domain Controller, in exactly the same way that a Windows NT Server would do.&lt;BR /&gt;&lt;BR /&gt;Note that a valid UNIX user must still exist as well as the account on the Domain Controller to allow Samba to have a valid UNIX account to map file access to.&lt;BR /&gt;&lt;BR /&gt;Note that from the client's point of view security = domain is the same as security = user . It only affects how the server deals with the authentication, it does not in any way affect what the client sees.&lt;BR /&gt;&lt;BR /&gt;Note that the name of the resource being requested is not sent to the server until after the server has successfully authenticated the client. This is why guest shares don't work in user level security without allowing the server to automatically map unknown users into the guest account. See the map to guest parameter for details on doing this.&lt;BR /&gt;&lt;BR /&gt;BUG: There is currently a bug in the implementation of security = domain with respect to multi-byte character set usernames. The communication with a Domain Controller must be done in UNICODE and Samba currently does not widen multi-byte user names to UNICODE correctly, thus a multi-byte username will not be recognized correctly at the Domain Controller. This issue will be addressed in a future release.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Sep 2003 19:56:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063430#M575337</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-09-08T19:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063431#M575338</link>
      <description>Hi gurus,&lt;BR /&gt;Thanks all who responded. &lt;BR /&gt;We've decided to install CIFS/9000 Server and Client as HP support recommended. Run setup and joined HP box into our domain(NTD_EBI) as a member server. &lt;BR /&gt;Following lines are from our log file generated for DOMAIN user o_karaman. There is no Unix or Samba user defined as o_karaman it only exists in Domain User Database. What i see from these lines that samba talks Wins Server to resolve PDC's ip after that connects to PDC to authenticate user but it can't authenticate as the error indicates so it switchs to guest account.&lt;BR /&gt;&lt;BR /&gt;[2003/09/09 08:38:58, 3] libsmb/namequery.c:(694)&lt;BR /&gt;  resolve_wins: Attempting wins lookup for name ISTEBIDC01&amp;lt;0x20&amp;gt;&lt;BR /&gt;[2003/09/09 08:38:58, 3] libsmb/namequery.c:(712)&lt;BR /&gt;  resolve_wins: WINS server == &lt;XX.XX.XX.XX&gt;&lt;BR /&gt;[2003/09/09 08:38:58, 3] lib/util_sock.c:(798)&lt;BR /&gt;  bind succeeded on port 0&lt;BR /&gt;[2003/09/09 08:38:58, 2] libsmb/namequery.c:(420)&lt;BR /&gt;  Got a positive name query response from xx.xx.xx.xx ( yy.yy.yy.yy )&lt;BR /&gt;[2003/09/09 08:38:58, 3] lib/util_sock.c:(830)&lt;BR /&gt;  Connecting to yy.yy.yy.yy at port 445&lt;BR /&gt;[2003/09/09 08:38:58, 3] smbd/server.c:(492)&lt;BR /&gt;  Server exit (normal exit)&lt;BR /&gt;[2003/09/09 08:38:59, 3] smbd/reply.c:(1032)&lt;BR /&gt;  No such user o_karaman [NTD_EBI] - using guest account&lt;BR /&gt;[2003/09/09 08:38:59, 1] smbd/reply.c:(1066)&lt;BR /&gt;  Username nobody is invalid on this system&lt;BR /&gt;[2003/09/09 08:38:59, 3] smbd/error.c:(99)&lt;BR /&gt;  error packet at smbd/reply.c(1068) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE&lt;BR /&gt;&lt;BR /&gt;xx.xx.xx.xx = Wins IP&lt;BR /&gt;yy.yy.yy.yy = PDC IP&lt;BR /&gt;&lt;BR /&gt;So in order to have this domain user to be authenticated trough PDC what needs to be done exactly?&lt;BR /&gt;Thanks in advance.&lt;/XX.XX.XX.XX&gt;</description>
      <pubDate>Tue, 09 Sep 2003 04:40:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063431#M575338</guid>
      <dc:creator>Orhan Karaman</dc:creator>
      <dc:date>2003-09-09T04:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063432#M575339</link>
      <description>Hi gurus,&lt;BR /&gt;Thanks all who responded. &lt;BR /&gt;We've decided to install CIFS/9000 Server and Client as HP support recommended. Run setup and joined HP box into our domain(NTD_EBI) as a member server. &lt;BR /&gt;Following lines are from our log file generated for DOMAIN user o_karaman. There is no Unix or Samba user defined as o_karaman it only exists in Domain User Database. What i see from these lines that samba talks Wins Server to resolve PDC's ip after that connects to PDC to authenticate user but it can't authenticate as the error indicates so it switchs to guest account.&lt;BR /&gt;&lt;BR /&gt;[2003/09/09 08:38:58, 3] libsmb/namequery.c:(694)&lt;BR /&gt;  resolve_wins: Attempting wins lookup for name ISTEBIDC01&amp;lt;0x20&amp;gt;&lt;BR /&gt;[2003/09/09 08:38:58, 3] libsmb/namequery.c:(712)&lt;BR /&gt;  resolve_wins: WINS server == &lt;XX.XX.XX.XX&gt;&lt;BR /&gt;[2003/09/09 08:38:58, 3] lib/util_sock.c:(798)&lt;BR /&gt;  bind succeeded on port 0&lt;BR /&gt;[2003/09/09 08:38:58, 2] libsmb/namequery.c:(420)&lt;BR /&gt;  Got a positive name query response from xx.xx.xx.xx ( yy.yy.yy.yy )&lt;BR /&gt;[2003/09/09 08:38:58, 3] lib/util_sock.c:(830)&lt;BR /&gt;  Connecting to yy.yy.yy.yy at port 445&lt;BR /&gt;[2003/09/09 08:38:58, 3] smbd/server.c:(492)&lt;BR /&gt;  Server exit (normal exit)&lt;BR /&gt;[2003/09/09 08:38:59, 3] smbd/reply.c:(1032)&lt;BR /&gt;  No such user o_karaman [NTD_EBI] - using guest account&lt;BR /&gt;[2003/09/09 08:38:59, 1] smbd/reply.c:(1066)&lt;BR /&gt;  Username nobody is invalid on this system&lt;BR /&gt;[2003/09/09 08:38:59, 3] smbd/error.c:(99)&lt;BR /&gt;  error packet at smbd/reply.c(1068) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE&lt;BR /&gt;&lt;BR /&gt;xx.xx.xx.xx = Wins IP&lt;BR /&gt;yy.yy.yy.yy = PDC IP&lt;BR /&gt;&lt;BR /&gt;So in order to have this domain user to be authenticated trough PDC what needs to be done exactly?&lt;BR /&gt;Thanks in advance.&lt;/XX.XX.XX.XX&gt;</description>
      <pubDate>Tue, 09 Sep 2003 04:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration/m-p/3063432#M575339</guid>
      <dc:creator>Orhan Karaman</dc:creator>
      <dc:date>2003-09-09T04:43:35Z</dc:date>
    </item>
  </channel>
</rss>

