[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu, 4 Aug 2005 14:58:37 -0400 -->
- <!--x-from-r13: zcjevtug ng fcrrqsnpgbel.arg ([nex Ievtug) -->
- <!--x-message-id: 96C32098-16F2-4B44-A531-[email protected] -->
- <!--x-reference: 4DE88E33-DB2F-4748-A5C4-[email protected] -->
- <!--x-reference: 1DA4A82E-31CD-48C0-9284-[email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Samba setup -->
- <li><em>date</em>: Thu, 4 Aug 2005 14:58:37 -0400</li>
- <li><em>from</em>: mpwright at speedfactory.net (Mark Wright)</li>
- <li><em>in-reply-to</em>: <<a href="msg00045.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00037.html">[email protected]</a>> <<a href="msg00039.html">[email protected]</a>> <<a href="msg00045.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Samba setup</li>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Mark Wright wrote:
>
>> I added a root passwd to the smbpasswd file and then made sure I
>> added
>> myself. I did put a UID for myself on the system. After I did
>> this I
>> have changed the failure message (which I forgot to mention in the
>> original post) Now I am getting a message that says a "machine
>> account
>> does not exist."
>>
>> 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.....
>>
>>
>
> Okay.
>
> You need to create the Machine Trust Account on the domain controller.
> Also, ever user that you want to authenticate, must have a UNIX logon
> and a Samba logon. You do not need to explictly create their home
> share
> - -- only their extra fileshares that they would use for the
> purpose of
> filesharing, and make sure that it has a reasonable umask so that they
> can actually "share".
>
> The Machine Trust Account (both in UNIX and Samba) has a $ in it. So,
> for a computer named "fd0man"
>
> To create the Machine Account:
>
> "To add machine account, use your system script, most likely
> adduser. If
> your system does not support user names with $ (i.e. FreeBSD), you
> must
> edit your password database to add it manualy. So on FreeBSD, use
> vipw."
Using Ubuntu...
here is the machine account script that SAMBA had as default in smb.conf
add machine script = /usr/sbin/useradd -s /bin/false \-d /dev/null %u
>
> And in Samba: smbpasswd -a -m <machine-name>$
>
> "The system accounts for machines do not need login shell neither home
> dir, so use false as login shell and /dev/null as home dir.
> After adding system accounts, you must use smbpasswd to add Samba
> machine account. There you can use $ in usernames."
>
> Now, some of the other quirks that I've found -- I use a mostly
> default
> setup (it's secure and it works).
>
> ** If you need extra drives, then give them those drives via a logon
> script (or scripts) in the \\SERVER\netlogon share.
>
> ** The user that is the Domain Administrator, at least in Samba
> 2.x, not
> sure if this is still true in 3.x, because I haven't tried to go
> against
> it with my network, must be 'root'. This means that Windows NT
> "Administrator" user name can't be a domain administrator. But
> that's okay.
>
> You can map Windows system groups to UNIX groups. If you want a
> user to
> be a Windows Administrator on the local machines when they login to
> them, you can set that. Same for Power User and all of that -- it's
> handled directly on Samba. If you do not do this, I believe they all
> default to Administrators.
>
> You have the [homes] section defined, as well as the multiple user
> definitions. This is redundant -- they will get two shares
> available to
> them, however, Windows NT/2k/XP will connect to the [homes] share --
> that's the one offered as the user's "network home", which will
> hold the
> Windows profile (and be mapped as Drive Z:).
>
> In reference to the above, I'd recommend that you remove your
> dedicated
> [Profiles] section and store that in each user's UNIX home directory.
> This keeps things centralized, and that's their system accountable
> space, anyway. This makes it easier because then the share for the
> "roaming profiles" is always available right with the user's
> automatically mapped Z: drive. (\\server\homes\profile or something
Not sure what you are recommending. The user definitions at the end
of the testparm output were created by the SAMBA scripts. Is this
redundant with the [homes] section "on"?
> like that.)
>
> I would recommend that you create a seperate drive/share so that they
> can share their files amongst each other and keep their home
> directories
> private. Please note that their home directories will also contain
> their registry settings and so forth from Windows. You don't want
> everying having access to that. That's just silly. Put that
> command in
> your logon.bat in your Netlogon share.
I will do this when I get the domain authentication working. I am
going to recommend a backup strategy that uses external drives as the
shared data folders.
I am thinking that one firewire drive could be the shared folder and
I could use rsync to copy it to a second drive that could be removed
to a secure location. With three spare
drives this could provide off site disk backup of their data each week.
>
> Lastly, I would recommend that you upgrade this setup to Samba 3 -- it
> has more up-to-date support for systems on the network, and as your
> userbase there migrates upward towards Windows XP, you won't have any
> issues with the Samba server running 3.0. It does a great job.
It is SAMBA 3
>
> - Mike
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Thunderbird - <a rel="nofollow" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a>
>
> iD8DBQFC8hZ1PXInbkqM7nwRAj6EAJ9dDtnrLPlsn3e0QhE6rt0LP/ZMjwCfXNQe
> PGF9f5WSRyN+a+rDSNDMY2s=
> =N+02
> -----END PGP SIGNATURE-----
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
Mark Wright
NASA Maintenance Specialist
Mark_Wright at NASAsupport.com
www.nasasupport.com
1.800.724.9692
"Whatever It Takes"
-------------- 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="00051" href="msg00051.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>
<li><strong><a name="00039" href="msg00039.html">[ale] Samba setup</a></strong>
<ul><li><em>From:</em> mpwright at speedfactory.net (Mark Wright)</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-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00047.html">[ale] Samba setup</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00049.html">[ale] Video capture cards?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00045.html">[ale] Samba setup</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00051.html">[ale] Samba setup</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00048"><strong>Date</strong></a></li>
<li><a href="threads.html#00048"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>