<?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: CIFS server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330798#M189040</link>
    <description>I disagree - SECURITY=DOMAIN has been plagued with troubles since it's inception - the only safe way is to have Samba be the domain controller....from Samba Help:&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 yes. 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;&lt;BR /&gt;SECURITY = SERVER&lt;BR /&gt;&lt;BR /&gt;This is the best in a "mixed mode" environment&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;&lt;BR /&gt;As far as pop up, here's my smb.conf:&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;        workgroup = $PCA&lt;BR /&gt;        netbios name = IPRCI&lt;BR /&gt;        netbios aliases = IPRDB&lt;BR /&gt;        interfaces = 192.168.176.30 192.168.176.31 127.0.0.1&lt;BR /&gt;        bind interfaces only = Yes&lt;BR /&gt;        security = SERVER&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        password server = PCBDC01, PCBDC02, PCBDC03, PCBDC04&lt;BR /&gt;        username map = /etc/opt/samba/username.map&lt;BR /&gt;        log level = 2&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 = No&lt;BR /&gt;        domain master = No&lt;BR /&gt;        wins server = PCANS01&lt;BR /&gt;        valid users = gwild, user1, user2,  myadmin, sapservice1, smbnull, doc-link, ardschq, pm_doclink_sap&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;&lt;BR /&gt;Did you restart samba after making changes to your smb.conf?&lt;BR /&gt;&lt;BR /&gt;I have also found that sometimes, you have to add the Unix Server to the Windows Domain as a Workstation in the Domain.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Thu, 15 Jul 2004 07:33:34 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2004-07-15T07:33:34Z</dc:date>
    <item>
      <title>CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330787#M189029</link>
      <description>Is it possible no need popup a window for user password authentication while access HP-UX as CIFS server from windows client ? Because I have a Applicaton need access CIFS Server (hp-ux), and I don't want to see the use login prompt.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jul 2004 00:38:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330787#M189029</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2004-07-14T00:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330788#M189030</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;It's possible, you need to map the user in samba's username.map file</description>
      <pubDate>Wed, 14 Jul 2004 01:51:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330788#M189030</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2004-07-14T01:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330789#M189031</link>
      <description>Where is the user map file? How to configure it ? Thanks in advanced.</description>
      <pubDate>Wed, 14 Jul 2004 02:02:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330789#M189031</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2004-07-14T02:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330790#M189032</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;first create a username.map file in the form&lt;BR /&gt;&lt;BR /&gt;unixuser = ntuser1, ntuser2, ...&lt;BR /&gt;&lt;BR /&gt;store this file wherever you want. But the default name an location is: /etc/opt/samba/username.map&lt;BR /&gt;&lt;BR /&gt;then go to the smb.conf and edit the entry&lt;BR /&gt;&lt;BR /&gt;username map = /etc/opt/samba/username.map&lt;BR /&gt;&lt;BR /&gt;This should do the trick.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Regards Stefan</description>
      <pubDate>Wed, 14 Jul 2004 03:17:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330790#M189032</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2004-07-14T03:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330791#M189033</link>
      <description>Sorry, I still not understanding.&lt;BR /&gt;&lt;BR /&gt;I've using "smbpasswd -a root". You mean I need to set   root = ???   in the username.map ???</description>
      <pubDate>Wed, 14 Jul 2004 03:39:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330791#M189033</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2004-07-14T03:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330792#M189034</link>
      <description>First - what is security = to in your /etc/opt/samba/smb.conf file?&lt;BR /&gt;&lt;BR /&gt;If you live in a Windows domain, then you can use security = SERVER and point password server = NTDOMAINCONTROLLER&lt;BR /&gt;&lt;BR /&gt;That way, all Windows authentication happens on NT - the users will not get prompted.&lt;BR /&gt;&lt;BR /&gt;If you open up a web browser, go to:&lt;BR /&gt;&lt;BR /&gt;http://yourhpserver:901/&lt;BR /&gt;&lt;BR /&gt;Sign in as root, go to "Globals", click on "Advanced View"....scroll down to "username map", then click on "Help".&lt;BR /&gt;&lt;BR /&gt;A lot of good online documentation to help you setup samba.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 14 Jul 2004 07:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330792#M189034</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-07-14T07:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330793#M189035</link>
      <description>I set the smb.conf as below, but it seems windows still pop-up a window for ask me enter username and password.&lt;BR /&gt;Can you tell me what I set wrong? Thanks.&lt;BR /&gt;&lt;BR /&gt;smb.conf&lt;BR /&gt;[global]&lt;BR /&gt;    workgroup = atriecom&lt;BR /&gt;    security  = SERVER&lt;BR /&gt;    encrypt passwords = yes&lt;BR /&gt;    password server = NTDOMAINCONTROLLER&lt;BR /&gt;&lt;BR /&gt;[tmp]&lt;BR /&gt;    comment = Temporayr Directory&lt;BR /&gt;    path  = /tmp/123&lt;BR /&gt;    browseable = yes&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jul 2004 21:24:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330793#M189035</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2004-07-14T21:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330794#M189036</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;password server=&lt;NAME_OF_YOUR_DOMAIN_CONTROLLER&gt;&lt;BR /&gt;You should use the real name not the expression "NTDOMAINCONTROLLER"&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Franky&lt;BR /&gt;&lt;/NAME_OF_YOUR_DOMAIN_CONTROLLER&gt;</description>
      <pubDate>Thu, 15 Jul 2004 02:16:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330794#M189036</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-07-15T02:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330795#M189037</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just to be curious - did my answer help you in any way ?&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Thu, 15 Jul 2004 06:07:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330795#M189037</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-07-15T06:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330796#M189038</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In smb.conf file,&lt;BR /&gt;workgroup = your NT domainname&lt;BR /&gt;security = server&lt;BR /&gt;password server = Your domain controller&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sreejith M&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jul 2004 06:31:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330796#M189038</guid>
      <dc:creator>sreejith_4</dc:creator>
      <dc:date>2004-07-15T06:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330797#M189039</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;if you have an NT Domain it is reconmendet to set the security level to "DOMAIN" and not to "SERVER".&lt;BR /&gt;&lt;BR /&gt;This is more reliable and produces less load on the network.&lt;BR /&gt;&lt;BR /&gt;Also you can have more than one entry in the server field. So if one server is unavailable the authentfication can still be processed.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Regards Stefan</description>
      <pubDate>Thu, 15 Jul 2004 06:36:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330797#M189039</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2004-07-15T06:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330798#M189040</link>
      <description>I disagree - SECURITY=DOMAIN has been plagued with troubles since it's inception - the only safe way is to have Samba be the domain controller....from Samba Help:&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 yes. 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;&lt;BR /&gt;SECURITY = SERVER&lt;BR /&gt;&lt;BR /&gt;This is the best in a "mixed mode" environment&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;&lt;BR /&gt;As far as pop up, here's my smb.conf:&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;        workgroup = $PCA&lt;BR /&gt;        netbios name = IPRCI&lt;BR /&gt;        netbios aliases = IPRDB&lt;BR /&gt;        interfaces = 192.168.176.30 192.168.176.31 127.0.0.1&lt;BR /&gt;        bind interfaces only = Yes&lt;BR /&gt;        security = SERVER&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        password server = PCBDC01, PCBDC02, PCBDC03, PCBDC04&lt;BR /&gt;        username map = /etc/opt/samba/username.map&lt;BR /&gt;        log level = 2&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 = No&lt;BR /&gt;        domain master = No&lt;BR /&gt;        wins server = PCANS01&lt;BR /&gt;        valid users = gwild, user1, user2,  myadmin, sapservice1, smbnull, doc-link, ardschq, pm_doclink_sap&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;&lt;BR /&gt;Did you restart samba after making changes to your smb.conf?&lt;BR /&gt;&lt;BR /&gt;I have also found that sometimes, you have to add the Unix Server to the Windows Domain as a Workstation in the Domain.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 15 Jul 2004 07:33:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330798#M189040</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-07-15T07:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330799#M189041</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this is starting to become an interesting discussion. I have to agree and disagree with Goeff.&lt;BR /&gt;&lt;BR /&gt;I have to disagree that security = DOMAIN is a plague. Our experience is that is much more relieable than security = SERVER.&lt;BR /&gt;&lt;BR /&gt;But i have to agree:&lt;BR /&gt;&lt;BR /&gt;IF you set security = DOMAIN you HAVE to add the samba server to the Domain using smbpassd. If you are NOT willing to do this DONT use security = DOMAIN.&lt;BR /&gt;&lt;BR /&gt;Hope this makes my previous posting clearer.&lt;BR /&gt;&lt;BR /&gt;Regards Stefan</description>
      <pubDate>Thu, 15 Jul 2004 07:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330799#M189041</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2004-07-15T07:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330800#M189042</link>
      <description>Also, with SECURITY=DOMAIN, if your Windows is now using Active Directory (or will be soon) - it will break Samba - unless you are running Samba 3.X - which has limited support for Active Directory.&lt;BR /&gt;&lt;BR /&gt;Don't get me wrong, I run SECURITY=DOMAIN on my home Network, and it works quite well - but I have no NT Servers  - just my Linux server acting as a Domain controller for my 3 Windows clients.&lt;BR /&gt;&lt;BR /&gt;At work, the Windows Guys don't want us in their sandbox - if you catch my drift - that's why we use SECURITY=SERVER.  &lt;BR /&gt;&lt;BR /&gt;Remember - you still need to have Unix accounts = to the Windows accounts and/or map multiple Windows id's to a single Unix id.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 15 Jul 2004 07:59:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-server/m-p/3330800#M189042</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-07-15T07:59:31Z</dc:date>
    </item>
  </channel>
</rss>

