Hi, 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 smbldap-populate 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? David N. Trask Technology Teacher/Coordinator Vassalboro Community School dtrask@vcs.u52.k12.me.us (207)923-3100
On Monday 07 February 2005 15:20, David Trask wrote:> Hi, > > 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 > > smbldap-populate > > 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?The way I have resolved this is by way of a symbolic link from /home/root -> /root The other way you can solve this is my changing the actual home directory for root using the smbldap-usermod tool. - John T.> > David N. Trask > Technology Teacher/Coordinator > Vassalboro Community School > dtrask@vcs.u52.k12.me.us > (207)923-3100-- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production.
On Mon, 2005-02-07 at 17:20 -0500, David Trask wrote:> Hi, > > 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 > > smbldap-populate > > 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 Craig
On Monday 07 February 2005 16:33, David Trask wrote:> jht@samba.org on Monday, February 7, 2005 at 5:53 PM +0000 wrote: > >> > smbldap-populate -a root > >> > > >> > instead of just plain > >> > > >> > smbldap-populate > > John, > > Actually it was your advice from a much earlier post that I was > using....thanks! :-) (It cleared up a lot of little quirky behaviors)Acknowledged. I struggle with keeping the documentation up to date and really would like to see a lot more activity and feedback in that area. I am not sensitive to criticism - rather I believe it is the best way to make progress. If I am wrong I am happy to stand corrected. Together, when we work as a team we make much faster progress. - John T.