On May 3, 2005, at 4:57 PM, Tom Duerbusch wrote:
It seems like that is what happening. I guess that is ok if it is.
But I hate adding in all these Linux users, Samba shares, and
SMBPASSWD
updates for a bunch of users, just so they can use Samba. Especially
adding them in as Linux users.
I can see adding in Samba shares for each Windows user that points
to a
directory, in which case, the Net Use will not ask for a password
(Win2000 username = Samba Share name)...
Just trying to stream line this process so we don't have a lot of
extra
work adding in users, or maintaining them.
There's a hook in the Samba config for a script you run when you add
a user. man smb.conf should be able to find it pretty quickly. The
idea is that you run the script and it does all the updates. The
annoying part is, as you've realized, keeping smbpasswd in sync with
Linux login and so forth, and the best ultimate solution is to use
LDAP as a back end, and use PAM to authenticate pretty much all
services against it, rather than messing with multiple manually-
synced local authentication stores at all.
The Samba add script can just as easily go out and fire off a process
that adds the user to an LDAP directory as it can do anything else,
so that's the way you really want to go.
Adam
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390