[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



That helps.  There is a script that is supposed to create this.  Here  
is the log data from this failure.

[2005/08/03 20:30:08, 0] rpc_server/srv_samr_nt.c:_samr_create_user 
(2324)
   _samr_create_user: Running the command `/usr/sbin/useradd -s /bin/ 
false \-d /dev/null l200772$' gave 1
useradd: unable to lock password file

"unable to lock password file?"  What is that for?  More reading.....

On Aug 4, 2005, at 12:24 AM, Mark Wright wrote:

>
> Hi all,
>
> I am setting up a Domain controller with roaming profiles for a non-
> profit organization that I am donating the server to.  I have messed
> with Samba in the past just out or curiosity and didn't think it
> would be too hard.  I have, and have read the Official Samba 3  Howto
> and ref and I have been printing chapters from an excellent O'Rielly
> book that my Googling turned up.  All this because the Domain I am
> trying to create is not letting me log on with an NT 4 box I have
> kept around.
>
> I want to do all the config work so I can deliver it (to Alabama)
> Friday and sort of just plug and play with their network.  I have set
> up all the users and when I connect it to their current peer to peer
> network I want to be able to join each PC to the domain then set
> permissions so they can share files like they want.
>
> Anyone have some knowledge of this and can take a minute to look?
> Heres the testparm output.   Thanks.....  Mark
>
> # Global parameters
> [global]
>          workgroup = TCCGIRLS
>          server string = %h server (Samba, Ubuntu)
>          obey pam restrictions = Yes
>          passdb backend = tdbsam, guest
>          passwd program = /usr/bin/passwd %u
>          passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew
> \sUNIX\spassword:* %n\n .
>          username map = /etc/samba/smbusers
>          syslog = 0
>          log file = /var/log/samba/log.%m
>          max log size = 1000
>          printcap name = cups
>          add user script = /usr/sbin/useradd -m %u
>          delete user script = /usr/sbin/userdel -r %u
>          add group script = /usr/sbin/groupadd %g
>          delete group script = /usr/sbin/groupdel %g
>          add user to group script = /usr/sbin/suermod -G %g %u
>          add machine script = /usr/sbin/useradd -s /bin/false \-d /
> dev/null %u
>          logon script = scripts\logon.bat
>          logon path = \\%L\Profiles\%U
>          logon drive = H:
>          logon home = \\%L\%U
>          domain logons = Yes
>          os level = 65
>          preferred master = Yes
>          domain master = Yes
>          dns proxy = No
>          panic action = /usr/share/samba/panic-action %d
>          idmap uid = 15000-20000
>          idmap gid = 15000-20000
>          invalid users = root
>          printing = cups
>          print command =
>          lpq command = %p
>          lprm command =
>
> [homes]
>          comment = Home Directories
>          valid users = %S
>          read only = No
>          create mask = 0700
>          directory mask = 0700
>          browseable = No
>
> [netlogon]
>          comment = Network Logon Service
>          path = /var/lib/samba/netlogon
>          admin users = root, casey
>          read only = No
>          browseable = No
>          share modes = No
>
> [Profiles]
>          comment = Roaming Profile Share
>          path = /var/lib/samba/profiles
>          read only = No
>          profile acls = Yes
>          browseable = No
>
> [printers]
>          comment = All Printers
>          path = /var/spool/samba
>          printer admin = root
>          create mask = 0600
>          guest ok = Yes
>          printable = Yes
>          browseable = No
>
> [print$]
>          comment = Printer Drivers
>          path = /var/lib/samba/printers
>          write list = root, casey, mark
>
> [Home]
>          comment = Home folders
>          path = /root
>          read only = No
>          guest ok = Yes
>
> [beckyh]
>          path = /home/beckyh
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> [junem]
>          path = /home/junem
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> [sarahm]
>          path = /home/sarahm
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> [casey]
>          path = /home/casey
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> [mark]
>          path = /home/mark
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> [shirley]
>          path = /home/shirleyk
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> [elainel]
>          path = /home/elainel
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> [peggym]
>          path = /home/peggym
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> [yuchidirector]
>          path = /home/yuchidirector
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> [intakedirector]
>          path = /home/intakedirector
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> [rebeccam]
>          path = /home/rebeccam
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> [yuchihrdept]
>          path = /home/yuchihrdept
>          read only = No
>          guest ok = Yes
>          browseable = No
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;

Mark Wright
NASA Maintenance Specialist
Mark_Wright at NASAsupport.com
www.nasasupport.com

1.800.724.9692

&quot;Whatever It Takes&quot;

-------------- next part --------------
An HTML attachment was scrubbed...



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00041" href="msg00041.html">[ale] Samba setup</a></strong>
<ul><li><em>From:</em> sergio at turbocorp.com (Sergio Chaves)</li></ul></li>
<li><strong><a name="00045" href="msg00045.html">[ale] Samba setup</a></strong>
<ul><li><em>From:</em> fd0man at gmail.com (Michael Trausch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00037" href="msg00037.html">[ale] Samba setup</a></strong>
<ul><li><em>From:</em> mpwright at speedfactory.net (Mark Wright)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00038.html">[ale] Vision impaired magnifier for mouse</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00040.html">[ale] Vision impaired magnifier for mouse</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00037.html">[ale] Samba setup</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00041.html">[ale] Samba setup</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00039"><strong>Date</strong></a></li>
<li><a href="threads.html#00039"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>