[Samba] root user in smbldap...how to change home
craigwhite at azapple.com
Mon Feb 7 22:42:18 GMT 2005
On Mon, 2005-02-07 at 17:20 -0500, David Trask wrote:
> I finally have my profiles problem squared away....
> I've done away with the Administrator user in smbldap-tools by running
> smbldap-populate -a root
> instead of just plain
> Thus root is now the samba admin. BUT....when I run getent passwd my
> system shows the home directory as /home/root instead of /root....how can
> I change this...or better yet how can I have my cake and eat it too in the
> sense that when I set up my Samba/LDAP server that the root user has the
> /root directory as home by default?
you're the one in control and can write whatever value you want to LDAP.
probably best to do it outside of your mass populate script
Personally, I find it easier for my state of being NOT to have root in
LDAP but have Administrator with uid=0
More information about the samba