<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Wed May 22, 2013 1:14 am by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Wed May 22, 2013 1:14 am</pubDate>
  <lastBuildDate>Wed May 22, 2013 1:14 am</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Samba</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=1957#1957</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=297'&gt;grogoreo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue May 17, 2005 9:56 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      hi&lt;br /&gt;
&lt;br /&gt;
I've started again, after a few months laving it, to try and sort a PDC using Samba. I'm sorry for another Samba question as I allways see them and am sure your sick of them! I can get to a point where I am able to enter a username and password to get onto the domain, but it will then tell me Access Denied. Here is my jumbled (Debian default config plus stuff I put in from How To's):&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#91;global&amp;#93;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;workgroup = INTERCONNECT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
add maching script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M $u&lt;br /&gt;
&lt;br /&gt;
logon drive = l&amp;#58;&lt;br /&gt;
logon home = \\GSERVE-1\%U&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
domain logons = yes&lt;br /&gt;
&lt;br /&gt;
local master = yes &lt;br /&gt;
&lt;br /&gt;
os level = 65&lt;br /&gt;
&lt;br /&gt;
preferred master = yes&lt;br /&gt;
&lt;br /&gt;
WINS Server&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;wins support = no&lt;br /&gt;
&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;wins server = w.x.y.z&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;dns proxy = no&lt;br /&gt;
&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;name resolve order = lmhosts host wins bcast&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;log file = /var/log/samba/log.%m&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;max log size = 1000&lt;br /&gt;
&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;syslog only = no&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;syslog = 0&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;panic action = /usr/share/samba/panic-action %d&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;security = user&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;encrypt passwords = true&lt;br /&gt;
&amp;nbsp; &amp;nbsp;smb passwd file = /etc/samba/smbpasswd&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;passdb backend = tdbsam guest&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;obey pam restrictions = yes&lt;br /&gt;
&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;guest account = nobody&lt;br /&gt;
&amp;nbsp; &amp;nbsp;invalid users = root&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;unix password sync = yes&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;passwd program = /usr/bin/passwd %u&lt;br /&gt;
&amp;nbsp; &amp;nbsp;passwd chat = *Enter\snew\sUNIX\spassword&amp;#58;* %n\n *Retype\snew\sUNIX\spassword&amp;#58;* %n\n .&lt;br /&gt;
&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;pam password change = no&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;load printers = yes&lt;br /&gt;
&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;printing = bsd&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;printcap name = /etc/printcap&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;printing = cups&lt;br /&gt;
&amp;nbsp; &amp;nbsp;printcap name = cups&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;printer admin = @ntadmin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;preserve case = yes&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;short preserve case = yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;include = /home/samba/etc/smb.conf.%m&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;socket options = TCP_NODELAY&lt;br /&gt;
&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;message command = /bin/sh -c '/usr/bin/linpopup &amp;quot;%f&amp;quot; &amp;quot;%m&amp;quot; %s; rm %s' &amp;amp;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;domain master = yes&lt;br /&gt;
&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;idmap uid = 10000-20000&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;idmap gid = 10000-20000&lt;br /&gt;
;&amp;nbsp; &amp;nbsp;template shell = /bin/bash&lt;br /&gt;
&lt;br /&gt;
wins support = no&lt;br /&gt;
&amp;#91;homes&amp;#93;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;comment = Home Directories&lt;br /&gt;
&amp;nbsp; &amp;nbsp;browseable = no&lt;br /&gt;
&amp;nbsp; &amp;nbsp;writable = yes&lt;br /&gt;
&amp;nbsp; &amp;nbsp;valid users = %S&lt;br /&gt;
&amp;nbsp; &amp;nbsp;read only = no&lt;br /&gt;
&amp;nbsp; &amp;nbsp;create mode = 0600&lt;br /&gt;
&amp;nbsp; &amp;nbsp;directory mode = 0700&lt;br /&gt;
&lt;br /&gt;
&amp;#91;profiles&amp;#93;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;create mode = 0600&lt;br /&gt;
&amp;nbsp; &amp;nbsp;directory mode = 0700&lt;br /&gt;
&amp;nbsp; &amp;nbsp;path = /home/samba/profiles&lt;br /&gt;
&amp;nbsp; &amp;nbsp;profile acls = yes&lt;br /&gt;
&amp;nbsp; &amp;nbsp;read only = no&lt;br /&gt;
&amp;nbsp; &amp;nbsp;writable - yes&lt;br /&gt;
&lt;br /&gt;
&amp;#91;netlogon&amp;#93;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;comment = Network Logon Service&lt;br /&gt;
&amp;nbsp; &amp;nbsp;path = /home/samba/netlogon&lt;br /&gt;
&amp;nbsp; &amp;nbsp;guest ok = yes&lt;br /&gt;
&amp;nbsp; &amp;nbsp;writable = no&lt;br /&gt;
&amp;nbsp; &amp;nbsp;share modes = no&lt;br /&gt;
&lt;br /&gt;
&amp;#91;printers&amp;#93;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;comment = All Printers&lt;br /&gt;
&amp;nbsp; &amp;nbsp;browseable = no&lt;br /&gt;
&amp;nbsp; &amp;nbsp;path = /tmp&lt;br /&gt;
&amp;nbsp; &amp;nbsp;printable = yes&lt;br /&gt;
&amp;nbsp; &amp;nbsp;public = no&lt;br /&gt;
&amp;nbsp; &amp;nbsp;writable = no&lt;br /&gt;
&amp;nbsp; &amp;nbsp;create mode = 0700&lt;br /&gt;
&lt;br /&gt;
&amp;#91;print$&amp;#93;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;comment = Printer Drivers&lt;br /&gt;
&amp;nbsp; &amp;nbsp;path = /var/lib/samba/printers&lt;br /&gt;
&amp;nbsp; &amp;nbsp;browseable = yes&lt;br /&gt;
&amp;nbsp; &amp;nbsp;read only = yes&lt;br /&gt;
&amp;nbsp; &amp;nbsp;guest ok = no&lt;br /&gt;
&amp;nbsp; &amp;nbsp;write list = root, @ntadmin&lt;br /&gt;
&lt;br /&gt;
&amp;#91;cdrom&amp;#93;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;comment = Samba server's CD-ROM&lt;br /&gt;
&amp;nbsp; &amp;nbsp;writable = no&lt;br /&gt;
&amp;nbsp; &amp;nbsp;locking = no&lt;br /&gt;
&amp;nbsp; &amp;nbsp;path = /cdrom&lt;br /&gt;
&amp;nbsp; &amp;nbsp;public = yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;preexec = /bin/mount /cdrom&lt;br /&gt;
&amp;nbsp; &amp;nbsp;postexec = /bin/umount /cdrom&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
[Link Removed]&lt;br /&gt;
&lt;br /&gt;
I have created a smbpasswd file using the touch command and put it in /etc/samba/. I have used smbpasswd to add users, grogoreo and root and also:&lt;br /&gt;
&lt;br /&gt;
useradd �g smbuser �d /dev/null -�s /dev/null ntclient$&lt;br /&gt;
smbpasswd �a �m ntclient~$&lt;br /&gt;
&lt;br /&gt;
I put ~$ at the end because I went onto Users and Groups, Gnome, and it was on there.&lt;br /&gt;
&lt;br /&gt;
Any ideas? I'm using Debian Sarge&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Greg</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=1957#1957</comments>
                                        <author>grogoreo</author>
                                        <pubDate>Tue May 17, 2005 9:56 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=1957#1957</guid>
                                      </item></channel></rss>