[Samba] Re: smbldap-tools badly messed up
Bradley W. Langhorst
brad at langhorst.com
Fri Feb 28 14:53:49 GMT 2003
On Fri, 2003-02-28 at 02:51, Jim wrote:
> > no they should work they way that the folks at UNAV (who wrote the
> > tools)
> > want them too...
>
> Who is UNAV? These are IDEALX.
university of navarra - they wrote a nice howto
but i confused myself into thinking they had a hand in the smbldap-tools
stuff too.
>
> I'll look for it. What was the title? Understand that it is not that I
> want only one group per user, it is that I want *at least* one group of
> thier own. In this way the user can change the availability of thier
> files by changeing ownership. chown is a little easier to figure out
> than chmod and an binary/octal numbering system.
chmod g-rw filename
vs
chown mygroupname filename
i dunno - both seem pretty simple to me...
Users can use the windows tools if you set up ACL support.
> Tested it several times. Didn't work. How often do these scripts get
> updated anyway? We had to patch them for Mandrake because Mandrake
> doesn't store any binarys under /usr/local/bin or /usr/local/sbin by
> default. Simple path change though.
dunno mine says
# $Id: smbldap_conf.pm,v 1.14 2002/06/01 04:30:48 olem Exp $
> Line 211 below is an example of what I have. Problem is that you wind
> up with some other stuff, like a file name for example, from somewhere
> other than /etc/samba/smbldap_conf.pm
> I think maybe from smbldap-adduser.pl
if you grep for userProfile in all the smbtools you find
smbldap-populate.pl:profilePath: $_userProfile
smbldap-populate.pl:profilePath: $_userProfile
smbldap-useradd.pl: my $valprofilepath = "$_userProfile$userName";
smbldap_conf.pm:$_userProfile $_userHomeDrive
smbldap_conf.pm:$_userSmbHome $_userProfile $_userHomeDrive $_userScript
smbldap_conf.pm:$_userProfile = q(\\\\BITC\\profiles\\);
so the username is appended to the profile path - youll end up with
$userName for the profile path if you set $_userProfile to ""
I've never wanted to remove this stuff but it would be fairly easy for
you to remove the bits you don't want
brad
--
Bradley W. Langhorst <brad at langhorst.com>
More information about the samba
mailing list